help-smalltalk
[Top][All Lists]
Advanced

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

[Help-smalltalk] smalltalk-1.95.3 compile bugs


From: Raphael Finkel
Subject: [Help-smalltalk] smalltalk-1.95.3 compile bugs
Date: Mon, 19 Mar 2001 10:06:13 -0500

I am trying to compile smalltalk-1.95.3 on a Solaris 2.8 box.  Problems:

1.  Unless I manually cd to lib-src and do make there, I get errors in the
top-level make that lib-src/library.la is missing.

2.  In the top-level make, I get:

make[2]: Entering directory `/tmp/rfinkel/smalltalk-1.95.3'
SMALLTALK_KERNEL=`cd ./kernel; pwd`; export SMALLTALK_KERNEL; ./gst -iQ 
dummy_file
SmallInteger class(/tmp/rfinkel/smalltalk-1.95.3/kernel/Builtins.st:37: 
Segmentation violation
UndefinedObject>>#executeStatements
<bottom>
Segmentation Fault

gdb shows me that gst is failing as follows:
#0  sendMessageInternal (sendSelector=0x1f2930d0, sendArgs=1, 
    receiver=0x1f290890, methodClass=0x1f291188) at interp-bc.inl:262
#1  0x2c524 in interpret () at interp-bc.inl:2639
#2  0x3fb9c in executeStatements (temporaries=0x0, statements=0x95548, 
    quiet=true) at comp.c:517
#3  0x19b5c in yyparse () at gst.y:129
#4  0x1cef4 in parseStream () at lex.c:927
#5  0x18040 in processFile (
    fileName=0xffbeed38 => "/tmp/rfinkel/smalltalk-1.95.3/kernel/Builtins.st", 
    quiet=true) at lib.c:750
#6  0x17cd8 in loadStandardFiles () at lib.c:640
#7  0x17580 in initSmalltalk () at lib.c:453
#8  0x16f2c in main (argc=3, argv=0xffbef2a4) at main.c:50

The offending line is printObject(methodData->methodClassOOP);  The offending
value is that methodData is null.  Solaris is very sensitive to attempts 
to dereference null pointers.

Raphael Finkel



reply via email to

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