Overview
| Artifact ID: | 7b0ec8509d0da88bae272079fcbfc83df93cfc07 |
|---|---|
| Ticket: | 1503729fffffffffffffffffffffffffffffffff
TclpDlopen latent bug now crashes after SunOS linker patch |
| User & Date: | dkf on 2006-06-13 16:51:36 |
Changes
- icomment:
Logged In: YES user_id=79902 Tcl most certainly isn't waiting a long time between calling dlopen() and dlerror(); it only does a few calls between to perform minor memory management and which are unlikely to cause any OS traps at all (malloc implementations being the way they are). As you note, the problem is the compiler. According to the Sun documentation, the pragma should mean that TclpDlOpen() doesn't get optimized - not a big deal from our perspective and surely not that hard for a compiler to do! - and therefore the bug is definitely compiler-caused. So not our fault! :-) A workaround might be to try to compile that file with gcc by hand...? Messy though. Another possibility might be to put the result of dlerror() into a local variable before passing it to Tcl_AppendResult(); if that stops the compiler from going wrong, please reopen this issue and let me know so that we can add a suitable kludge...
- login: "dkf"
- mimetype: "text/plain"
- status changed to: "Pending"
- username: "dkf"