On Tue, August 19, 2008, David Chisnall wrote: > strace provides the system calls called. It is completely useless in > this case. Please provide a stack backtrace from the crash. Also,
Point taken. Here's the output: ~/GNUstep/Local/Applications/Melodie.app % gdb ./Melodie GNU gdb 6.7.1-debian Copyright (C) 2007 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"... Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1". (gdb) run Starting program: /usr/local/GNUstep/Local/Applications/Melodie.app/Melodie [Thread debugging using libthread_db enabled] [New Thread 0xb52f4b50 (LWP 21999)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb52f4b50 (LWP 21999)] CodeGenModule::compile (this=0x81d42a0) at /usr/include/llvm/GlobalValue.h:111 111 void setLinkage(LinkageTypes LT) { Linkage = LT; } Current language: auto; currently c++ (gdb) bt #0 CodeGenModule::compile (this=0x81d42a0) at /usr/include/llvm/GlobalValue.h:111 #1 0xb72e676b in Compile (B=0x81d42a0) at LLVMCodeGenCAPI.cpp:32 #2 0xb72c8eb3 in -[LLVMCodeGen endModule] (self=0x81d3cc8, _cmd=0xb7cba430) at CodeGen.m:32 #3 0xb72ccff8 in -[CompilationUnit compileWith:] (self=0x808d350, _cmd=0xb7cbd118, aGenerator=0x81d3cc8) at Module.m:54 #4 0xb72ce85e in +[SmalltalkCompiler compileString:] (self=0xb7cbcd40, _cmd=0x80549a0, s=0x0) at SmalltalkCompiler.m:38 #5 0x0804c006 in main (argc=1, argv=0xbfa94a14) at main.m:8 (gdb) An interesing effect is that the program starts when I start it from within its source folder within the Etoile build tree. > please try running the Smalltalk examples with the st tool to see if > they generate the same behaviour. Here we go: ~/Etoile/Languages/Smalltalk/examples % for i in *.st; do echo $i; st -f $i; done cat.st 2008-08-20 10:08:04.156 st[22180] Did categories work? 2008-08-20 10:08:04.158 st[22180] Yes! ls.st SmalltalkTool instances must respond to run message mult.st Segmentation fault nsrange.st 2008-08-20 10:08:04.556 st[22183] Creating range from 0 to 9 2008-08-20 10:08:04.557 st[22183] Created Range: 0, 9 2008-08-20 10:08:04.557 st[22183] Create range: 2008-08-20 10:08:04.557 st[22183] {location=0, length=9} st: Uncaught exception NSRangeException, reason: in substringWithRange:, range { 136822320, 65763 } extends beyond size (26) Aborted script.st 2008-08-20 10:08:04.669 st[22184] Symbol: performClose: 2008-08-20 10:08:04.673 st[22184] Semantic error: Unrecognised symbol Tell ERROR: Removing exception handler that is not on top of the stack. (You probably called return in an NS_DURING block.) 2008-08-20 10:08:04.673 st[22184] Failed to compile input. str.st 2008-08-20 10:08:04.808 st[22185] pip! Cheers, Martin -- ----------- / http://herbert.the-little-red-haired-girl.org / ------------- =+= There's only one serious question. And that is: Who knows how to make love stay? Answer me that and I will tell you whether or not to kill yourself. Answer me that and I will ease your mind about the beginning and the end of time. Answer me that and I will reveal to you the purpose of the moon. -- Tom Robbins _______________________________________________ Etoile-discuss mailing list Etoile-discuss@gna.org https://mail.gna.org/listinfo/etoile-discuss