64bit unix vm, built with WIDTH=32, seg faults when it tries to do something net-ish

Stephen Davies stephen.l.davies at gmail.com
Mon Mar 27 20:39:02 UTC 2006


Hi,

Can anyone help a newbie with the UNIX VM.

I have a Gentoo 64bit system.

I pulled down Squeak-3.8a-2.src.tar.gz, the 64bit sources.

I compiled it with "make WIDTH=32" (I want to run an ordinary 32bit image).

After installing, squeak does start OK.

However, if I try to do anything that does netish stuff - for example
"update code from server", or try to open SqueakMap Package Loader,
then my vm crashes with a Segmentation Fault, something like so:

Segmentation fault

19565880 [] in NetNameResolver class>addressForName:timeout:
19565972 [] in Semaphore>critical:
19565604 BlockContext>ensure:
19565512 Semaphore>critical:
19564480 NetNameResolver class>addressForName:timeout:
19564228 HTTPSocket class>httpGetDocument:args:accept:request:
19562540 HTTPSocket class>httpGetDocument:
19562448 HTTPClient class>httpGetDocument:
19562356 HTTPClient class>httpGet:
19563796 [] in Utilities class>newUpdatesOn:special:throughNumber:
19561652 SequenceableCollection>do:
19563480 Utilities class>newUpdatesOn:special:throughNumber:
19562104 [] in Utilities
class>readServer:special:updatesThrough:saveLocally:updateImage:
19561468 BlockContext>ensure:
19561376 Cursor>showWhile:
19561852 Utilities
class>readServer:special:updatesThrough:saveLocally:updateImage:
19514288 Utilities class>readServerUpdatesThrough:saveLocally:updateImage:
19515092 Utilities class>readServerUpdatesSaveLocally:updateImage:
19515000 Utilities class>updateFromServer
19514816 TheWorldMenu>doMenuItem:with:
19514724 [] in MenuItemMorph>invokeWithEvent:
19514632 BlockContext>ensure:
19514540 Cursor>showWhile:
19514196 MenuItemMorph>invokeWithEvent:
19514100 MenuItemMorph>mouseUp:
19514008 MenuItemMorph>handleMouseUp:
19513776 MouseButtonEvent>sentTo:
19513684 Morph>handleEvent:
19513592 MorphicEventDispatcher>dispatchDefault:with:
19513500 MorphicEventDispatcher>dispatchEvent:with:
19513408 Morph>processEvent:using:
19513316 MorphicEventDispatcher>dispatchDefault:with:
19513208 MorphicEventDispatcher>dispatchEvent:with:
19513076 Morph>processEvent:using:
19512984 Morph>processEvent:
19512892 MenuMorph>handleFocusEvent:
19512616 [] in HandMorph>sendFocusEvent:to:clear:
19512708 [] in PasteUpMorph>becomeActiveDuring:
19512524 BlockContext>on:do:
19512432 PasteUpMorph>becomeActiveDuring:
19512248 HandMorph>sendFocusEvent:to:clear:
19512156 HandMorph>sendEvent:focus:clear:
19512012 HandMorph>sendMouseEvent:
19511920 HandMorph>handleEvent:
19511664 HandMorph>processEvents
19511756 [] in WorldState>doOneCycleNowFor:
19511572 SequenceableCollection>do:
19511480 WorldState>handsDo:
19511388 WorldState>doOneCycleNowFor:
19511296 WorldState>doOneCycleFor:
19511204 PasteUpMorph>doOneCycle
17625536 [] in Project class>spawnNewProcess
17625720 [] in BlockContext>newProcess

This was the same with a 3.9 alpha image, and a seaside-specific image.

I really feel at a loss for how to find the problem.  gdb won't work
on this box due to the use of PaX.

Any pointers would be appreciated.
Thanks,
Steve



More information about the Squeak-dev mailing list