[Openmcl-devel] ccl crashes

Mario S. Mommer m_mommer at yahoo.com
Tue Jan 19 14:46:11 PST 2010


Hi,

"R. Matthew Emerson" <rme at clozure.com> writes:
> On Jan 19, 2010, at 4:23 PM, Mario S. Mommer wrote:
>
>> the attached file contains some simple code that can be used to crash
>> ccl 1.4. I downloaded ccl 1.4 using subversion. I'm running it on Ubuntu
>> Jaunty (9.04), 64 bits, and on a stock kernel.
[...]
> How long?  Seconds, minutes, hours?  I've let it run for 10 minutes,
> and no crash yet...

Less than a minute, although sometimes it lasts for more than a few
minutes. Ocasionally, it has lasted long enough for me to lose patience
and kill it.

> When you get the lisp from svn, it includes a set of binaries.  These
> binaries are not always up-to-date with the source code, but they are
> sufficient to rebuild the lisp.
>
> Please do (rebuild-ccl :full t) to pick up all the bug-fixes that have
> been checked in to the 1.4 release branch since its release.  (See
> http://trac.clozure.com/ccl/wiki/UpdatingFromSource).
>
> This may or may not have anything to do with your bug, but we might as
> well eliminate the possibility.

I've done that before and observed the same behavior. I just did it
again, and nothing changed.

mommer at padme:~/local/src/ccl$ lx86cl64 
Welcome to Clozure Common Lisp Version 1.4-r13391M  (LinuxX8664)!
? (load "coretest")
#P"/home/mommer/local/src/ccl/coretest.lx64fsl"
? (coretest::start-threads 2 #'coretest::consing-f)
NIL
? Segmentation fault
mommer at padme:~/local/src/ccl$ 

No idea if this has anything to do with it, but starting ccl in gdb
leads to an immediate segfault.

mommer at padme:~/local/src/ccl$ gdb lx86cl64 
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) run
Starting program: /home/mommer/local/src/ccl/lx86cl64 
[Thread debugging using libthread_db enabled]
[New Thread 0x7f001b9ce880 (LWP 11131)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f001b9ce880 (LWP 11131)]
0x0000300040dfdcbf in ?? ()
(gdb) bt
#0  0x0000300040dfdcbf in ?? ()
#1  0x000030004114088f in ?? ()
#2  0x00007f001adbcff0 in ?? ()
#3  0x00000000004120cc in toplevel_loop () at ../x86-subprims64.s:60
Backtrace stopped: frame did not save the PC
(gdb) quit
The program is running.  Exit anyway? (y or n) EOF [assumed Y]
mommer at padme:~/local/src/ccl$ 

anything else to try for obtaining a good backtrace?

Regards,
        Mario.




More information about the Openmcl-devel mailing list