Public bug reported:

Binary package hint: cmucl

Ubuntu intrepid 8.10
cmucl 19a-release-20040728-9
i686

cmucl gets a segmentation violation on the second call to ext:load-
foreign.

Example:

(ext:load-foreign "/lib/libc.so.6")
;;; Opening shared library /lib/libc.so.6 ...
;;; Done.
(ext:load-foreign "/lib/libc.so.6")
;;; Opening shared library /lib/libc.so.6 ...

Error in function UNIX::SIGSEGV-HANDLER:  Segmentation Violation at #xB80E9372.
   [Condition of type SIMPLE-ERROR]


At this stage cmucl becomes unusable.  Selecting restart abort just results in 
an new segv.
It does not matter which library is loaded, it always fails on the second call, 
even when loading two different libraries.

I have tracked this down to dlopen. The bug can also be reproduced like this:
(system::dlopen "/lib/libc.so.6" (logior system::rtld-lazy system::rtld-global))
(system::dlopen "/lib/libc.so.6" (logior system::rtld-lazy system::rtld-global))

** Affects: cmucl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
CMUCL crashes when loading foreign library
https://bugs.launchpad.net/bugs/273931
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to