#1193 Bus error with STDIO streams closed at startup

obsolete: 8.0.3
closed
7
2001-09-13
2000-10-26
Anonymous
No

OriginalBugID: 730 Bug
Version: 8.0.3
SubmitDate: '1998-10-13'
LastModified: '1999-04-22'
Severity: CRIT
Status: Assigned
Submitter: admin
ChangedBy: redman
OS: All
OSVersion: NA
Machine: NA
FixedDate: '2000-10-25'
FixedInVersion: NA
ClosedDate: '2000-10-25'

Several months ago I sent you a problem with TCL8.0 in which it traps with
a bus error when it (tclsh) is started with no standard input, ouptut, or
error (no file descriptors 0 through 2). We are running on HP-UX 10.20.
This problem can easily be reproduced by invoking the following little
script (called "x" here) with this Bourne Shell command line:

#!/opt/tcl-8.0/bin/tclsh
set f [open .profile r]

We have just downloaded your binaries for 8.0.3 and 8.0p2, and have found
that they still have this problem. Would you be able to give us an
indication of when this problem will be fixed? It is preventing us from
migrating to TCL 8, which, along with its increased functionality is also
Y2K compliant, because processes started from "/etc/inittab" in HP-UX do
not have open STDIO streams.

04/22/1999 11:13 - redman - check into the problem with 8.1.1. Should be able to work around the problem by redirecting /dev/null as stdin and stdout manually.

Discussion

  • Andreas Kupries

    Andreas Kupries - 2000-11-17
    • priority: 5 --> 7
     
  • Don Porter

    Don Porter - 2001-04-02
    • labels: 104247 --> 24. Channel Commands
     
  • Andreas Kupries

    Andreas Kupries - 2001-09-07
    • assigned_to: nobody --> andreas_kupries
     
  • Andreas Kupries

    Andreas Kupries - 2001-09-10

    Logged In: YES
    user_id=75003

    The description above leaves out one important fact:
    From where is the script 'x' invoked so that it does
    not have stdin/stdout/stderr ? (Or maybe the bourne shell
    command line is missing from thereport).

     
  • Andreas Kupries

    Andreas Kupries - 2001-09-13

    Logged In: YES
    user_id=75003

    Submitter was < "Dave Mielke" <davem@nortel.ca>>. Mail sent.

     
  • Andreas Kupries

    Andreas Kupries - 2001-09-13
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks