Hi all

I reinstalled my Etoile environment and am running into serious issues with the 
Smalltalk compiler again. Many of the unit tests are failing or crashing. I've 
attached the result logs.

My environment is Linux 32bit (Debian 5.0). I using LLVM, clang, gnustep and 
etoile, all from SVN and recently updated. My environment was compiled with 
"gcc (Debian 4.3.2-1.1) 4.3.2" (except where Etoile forces clang).

Please find attached the results log and a backtrace on one of the tests.

Any help on this is greatly appreciated, as its stopping me from doing any 
Smalltalk programming.

Thanks
Chris

--- 

The stack traces are mostly the same (crashing in NSAutoreleasePool). This is a 
stack trace on TestBlockAssignment and many others:

ch...@debian:~/etoile/Etoile/Languages/Smalltalk/Tests/TestBlockAssignment$ gdb 
--args edlc -f test.st
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 "i486-linux-gnu"...
(gdb) run
Starting program: /usr/local/GNUstep/Local/Tools/edlc -f test.st
[Thread debugging using libthread_db enabled]
[New Thread 0xb6de96c0 (LWP 6328)]
[New Thread 0xb6de8b90 (LWP 6331)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6de96c0 (LWP 6328)]
0xb7799fde in GSCurrentThread () at NSThread.m:339
339     {
(gdb) bt
#0  0xb7799fde in GSCurrentThread () at NSThread.m:339
#1  0xb768463d in +[NSAutoreleasePool addObject:] (self=0xb7927500, 
_cmd=0xb7953f48, anObj=0x8fd7510) at NSAutoreleasePool.m:232
#2  0xb772cba7 in -[NSObject autorelease] (self=0x8fd7510, _cmd=0xb572cfc0) at 
NSObject.m:1601
#3  0xb572d177 in ?? ()
#4  0x08fd7510 in ?? ()
#5  0xb572cfc0 in ?? ()
#6  0xb7684624 in +[NSAutoreleasePool currentPool] (self=0x8fd7510, 
_cmd=0xb572cfd8) at NSAutoreleasePool.m:228
#7  0xb572d231 in ?? ()
#8  0x08fd7510 in ?? ()
#9  0xb572cfd8 in ?? ()
#10 0x08fd7510 in ?? ()
#11 0xb572cfc8 in ?? ()
#12 0x08fd7510 in ?? ()
#13 0xb572cfc0 in ?? ()
#14 0x00000000 in ?? ()

Similar is the one for TestKVC and TestPolymorphicSelectors:

ch...@debian:~/etoile/Etoile/Languages/Smalltalk/Tests/TestKVC$ gdb --args edlc 
-f test.st
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 "i486-linux-gnu"...
(gdb) r
Starting program: /usr/local/GNUstep/Local/Tools/edlc -f test.st
[Thread debugging using libthread_db enabled]
[New Thread 0xb6f126c0 (LWP 6528)]
[New Thread 0xb6f11b90 (LWP 6531)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6f126c0 (LWP 6528)]
0xb6f40ed0 in pthread_getspecific () from /lib/i686/cmov/libpthread.so.0
(gdb) bt
#0  0xb6f40ed0 in pthread_getspecific () from /lib/i686/cmov/libpthread.so.0
#1  0xb78c3034 in GSCurrentThread () at NSThread.m:344
#2  0xb77ad63d in +[NSAutoreleasePool addObject:] (self=0xb7a50500, 
_cmd=0xb7a7cf48, anObj=0x8ec31e8) at NSAutoreleasePool.m:232
#3  0xb7855ba7 in -[NSObject autorelease] (self=0x8ec31e8, _cmd=0xb5854660) at 
NSObject.m:1601
#4  0xb58547f7 in ?? ()
#5  0x08ec31e8 in ?? ()
#6  0xb5854660 in ?? ()
#7  0xb77ad624 in +[NSAutoreleasePool currentPool] (self=0x8ec31e8, 
_cmd=0xb5854678) at NSAutoreleasePool.m:228
#8  0xb58548b1 in ?? ()
#9  0x08ec31e8 in ?? ()
#10 0xb5854678 in ?? ()
#11 0x08ec31e8 in ?? ()
#12 0xb5854668 in ?? ()
#13 0x08ec31e8 in ?? ()
#14 0xb5854660 in ?? ()
#15 0x00000000 in ?? ()


This one is for TestCountingWhileTrue, TestFloatBoxing, TestRecursiveBlock and 
TestYourself:

ch...@debian:~/etoile/Etoile/Languages/Smalltalk/Tests/TestCountingWhileTrue$ 
gdb --args edlc -f test.st
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 "i486-linux-gnu"...
(gdb) r
Starting program: /usr/local/GNUstep/Local/Tools/edlc -f test.st
[Thread debugging using libthread_db enabled]
[New Thread 0xb6eca6c0 (LWP 6477)]
[New Thread 0xb6ec9b90 (LWP 6480)]
edlc: Instructions.cpp:2659: llvm::BitCastInst::BitCastInst(llvm::Value*, const 
llvm::Type*, const llvm::Twine&, llvm::Instruction*): Assertion 
`castIsValid(getOpcode(), S, Ty) && "Illegal BitCast"' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6eca6c0 (LWP 6477)]
0xb8038424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb8038424 in __kernel_vsyscall ()
#1  0xb7520640 in raise () from /lib/i686/cmov/libc.so.6
#2  0xb7522018 in abort () from /lib/i686/cmov/libc.so.6
#3  0xb75195be in __assert_fail () from /lib/i686/cmov/libc.so.6
#4  0xb619841f in llvm::BitCastInst::BitCastInst () from 
/usr/local/GNUstep/Local/Library/Frameworks/LanguageKitCodeGen.framework/Versions/Current/./LanguageKitCodeGen
#5  0xb64657e8 in ?? () from 
/usr/local/GNUstep/Local/Library/Frameworks/LanguageKitCodeGen.framework/Versions/Current/./LanguageKitCodeGen
#6  0xb6465fa7 in ?? () from 
/usr/local/GNUstep/Local/Library/Frameworks/LanguageKitCodeGen.framework/Versions/Current/./LanguageKitCodeGen
#7  0x00000a63 in ?? ()
#8  0xb6460da0 in ?? () from 
/usr/local/GNUstep/Local/Library/Frameworks/LanguageKitCodeGen.framework/Versions/Current/./LanguageKitCodeGen
#9  0x00000001 in ?? ()
#10 0x00000000 in ?? ()
(gdb) 

Attachment: result.log
Description: Binary data


--------
Christopher Armstrong
[email protected]





_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à