Overview
| Artifact ID: | 719278a65ec56ef82a98e6f7ad895f626965a4e2 |
|---|---|
| Ticket: | 707174ffffffffffffffffffffffffffffffffff
stub entry != function --> infinite loop |
| User & Date: | dgp on 2003-03-20 22:23:44 |
Changes
- assignee changed to: "kennykb"
- cmimetype changed to: "text/plain"
- comment changed to:
On RedHat Linux 6.2 on Alpha, using the compiler: $ ccc -V Compaq C V6.2-504 on Linux 2.2.18 alpha Compiler Driver V6.2-504 (Linux) cc Driver And using the default configuration options (--enable-shared in particular), I see: $ make test ... TCL_LIBRARY="/home/dgp/itl/tcl/library"; export TCL_LIBRARY; \ ./tcltest ./../tests/all.tcl make: *** [test] Error 139 Just trying to run the tcltest executable: $ ./tcltest Segmentation fault The problem is an infinite loop in Tcl_DeleteFileHandler. Lines 489-492: if (tclStubs.tcl_DeleteFileHandler != Tcl_DeleteFileHandler) { tclStubs.tcl_DeleteFileHandler(fd); return; } With this platform/compiler/linker, the two addresses compared are in fact not the same, yet calling each of them lead (eventually) to the same routine, Tcl_DeleteFileHandler executing. Perhaps these are some unwise shenanigans by this linker, but it would be best if Tcl were not broken out of the box. Strangely, the tclsh executable works fine, and everything is fine if built with --disable-shared. - foundin changed to: "obsolete: 8.4.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "01. Notifier"
- title changed to: "stub entry != function --> infinite loop"
- type changed to: "Bug"