Overview
| Artifact ID: | ea60151e18211dd2af59ac790cba4e7a6a9fa313 |
|---|---|
| Ticket: | 1503729fffffffffffffffffffffffffffffffff
TclpDlopen latent bug now crashes after SunOS linker patch |
| User & Date: | kenstir on 2006-06-13 01:20:12 |
Changes
- icomment:
Logged In: YES user_id=246646 I take it back. The Tcl code was not the root cause of the crash. Though it is probably bad style to wait a long-ish time after calling dlopen() and before calling dlerror(), it is not an error unless you call some other dl* function in between. I verified with truss that Tcl was not. The real problem appears to be an optimizer bug in the Sun Forte 6 (cc: Sun WorkShop 6 2000/06/19 C 5.1 Patch 109491-02) compiler exacerbated by the linker patch. The linker patch included a patch to a system header file which did this: #pragma unknown_control_flow(dlopen, dlsym, dlclose, dlerror) With this change, the compiler generated different (and apparently bad) assembler code.
- login: "kenstir"
- mimetype: "text/plain"
- username: "kenstir"