Overview
| Artifact ID: | 14569cee9a9a165385b5fab85f10752c047647b4 |
|---|---|
| Ticket: | 217990ffffffffffffffffffffffffffffffffff
dumps core if stdout or stderr is not open ass soon as you o |
| User & Date: | nobody on 2000-10-26 00:51:44 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 564 Bug Version: 8.0p2 SubmitDate: '1998-04-15' LastModified: '1998-11-20' Severity: SER Status: Closed Submitter: hershey ChangedBy: rjohnson OS: All OSVersion: NA Machine: NA FixedDate: '2000-10-25' FixedInVersion: NA ClosedDate: '1998-11-20' >Date: 09 Apr 1998 17:19 EDT >Sender: "Dave Mielke" <[email protected]> >To: [email protected] >From: "Dave Mielke" <[email protected]> >Subject: TCL 8.0p2 core dump. >X-MIME-Autoconverted: from quoted-printable to 8bit by pop.scriptics.com id TAA10867 > >Hi: > >TCL 8.0p2 core dumps if it is invoked with standard output and/or >standard error not open as soon as you open a file. For example, from >the Bourne Shell: > > main> cat tcltest > #!/usr/local/bin/tclsh > set f [open .profile r] > > main> tcltest >&- 2>&- > Bus error(coredump) > >This problem is more than just theoretical. We invoke a number of TCL >scripts from "/etc/inittab", and, at least on HP-UX, such processes are >started up with all 3 standard I/O streams closed. > >This problem occurs on our HP-UX (9.05 and 10.20) machines at work, as >well as on my Linux (kernel 2.0.32) machine at home. HP-UX reports it >as a "bus error", whereas Linux reports it as a "segmentation fault". >In the end, they both are probably one and the same thing. > >Thanks. >-- >Dave Mielke | home: 1-613-726-0014 | Nortel Technologies | dept: 7H65 >856 Grenon Ave. | work: 1-613-765-4671 | P.O. Box 3511, Stn. C | mail: stop 274 >Ottawa, Ontario | fax: 1-613-763-9727 | Ottawa, Ontario | locn: 5E.1.L19 >Canada K2B 6G3 | e-mail: [email protected] | Canada K1Y 4H7 | esn: 39-54671 > I can't recreate this problem. I tried exactly what was shown about and could not get a core dump. The code also looks like it is written to handle it. Therefor, I'm closing the bug. 11/20/1998 15:38 - rjohnson -
- foundin changed to: "obsolete: 8.0p2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "62. (unused)"
- title changed to:
dumps core if stdout or stderr is not open ass soon as you o
- type changed to: "Bug"