help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Segfault of gst from 1.96.2 release


From: Rik Hemsley
Subject: [Help-smalltalk] Segfault of gst from 1.96.2 release
Date: Fri, 4 Jan 2002 20:02:18 +0000

gst crashes when run, even with no args...

I didn't get much in the backtrace, so set CFLAGS and CXXFLAGS to -g3
and started a fresh build, using --with-pic flag for configure.

This is what I get during 'make':

gcc -g3 -fstrict-aliasing -fno-gcse -o gst main.o -Wl,--export-dynamic
libgst/.libs/libgst.a -ldl -lnsl -lm -lreadline
SMALLTALK_KERNEL=`cd ./kernel; pwd`; \
export SMALLTALK_KERNEL; \
/gst -iQ dummy_file
gst: Segmentation violation
gst: Error occurred while not in byte code interpreter!!
make[2]: *** [gst.im] Error 139
make[2]: Leaving directory `/x/unpacked/smalltalk-1.96.2'
make[1]: *** [all-recursive] Error 1

Here is what happens in 'gdb ./gst':

(gdb) run
Starting program: /x/unpacked/smalltalk-1.96.2/./gst 

Program received signal SIGSEGV, Segmentation fault.
0x080751e8 in nilFill (oopPtr=0x50017058, oopCount=1) at dict.inl:302
302       UNROLL_BY_8(oopCount);
(gdb) bt
#0  0x080751e8 in nilFill (oopPtr=0x50017058, oopCount=1) at
dict.inl:302
#1  0x08074c49 in instantiateWith (classOOP=0x600169c0,
numIndexFields=367)
    at dict.inl:399
#2  0x08073fa9 in systemDictionaryNewInstance () at dict.c:1442
#3  0x08072a2d in initSmalltalkDictionary () at dict.c:814
#4  0x080724e7 in initDictionary () at dict.c:637
#5  0x080509d5 in initSmalltalk () at lib.c:453
#6  0x0805051e in main (argc=1, argv=0xbffff344) at main.c:50
#7  0x400a77ee in __libc_start_main () from /lib/libc.so.6
(gdb) 
#0  0x080751e8 in nilFill (oopPtr=0x50017058, oopCount=1) at
dict.inl:302
#1  0x08074c49 in instantiateWith (classOOP=0x600169c0,
numIndexFields=367)
    at dict.inl:399
#2  0x08073fa9 in systemDictionaryNewInstance () at dict.c:1442
#3  0x08072a2d in initSmalltalkDictionary () at dict.c:814
#4  0x080724e7 in initDictionary () at dict.c:637
#5  0x080509d5 in initSmalltalk () at lib.c:453
#6  0x0805051e in main (argc=1, argv=0xbffff344) at main.c:50
#7  0x400a77ee in __libc_start_main () from /lib/libc.so.6
(gdb) 

Sorry, I have no idea what's wrong there. The source is... interesting ;)

SuSE Linux 7.3 (x86), kernel 2.4.10, gcc 2.95.3

Cheers,
Rik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]