[Vm-dev] linux 64bit vm running a 32 bit images - networking vm crash

Martin Kuball martinkuball at web.de
Tue May 29 16:39:18 UTC 2007


Hi Tom,

you could try using the appended version of SocketPlugin.c. Copy it to 
plattform/unix/src/vm/intplugins/SocketPlugin and build the vm. If you use 
a different src-folder for the VMMaker stuff change the path acordingly.

I reported that bug some time ago on this list. But I failed to create a 
mantis entry, though. Shame on me.

Martin

Am Tuesday 29 May 2007 schrieb tom:
> hi,
>
> i am running a 64bit vm (elf64 / x86_64) linux, no i
> have no 32bit compat x11 libs and i dont want to have
> them...
> the vm crashes on any network operation, any clues?
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000000416711 in byteSizeOf (oop=-1398317376) at
> gnu-interp.c:2902
> 2902            header = longAt(oop);
> (gdb) bt
> #0  0x0000000000416711 in byteSizeOf (oop=-1398317376)
> at gnu-interp.c:2902
> #1  0x00000000004a376d in
> primitiveResolverStartNameLookup () at
> .../platforms/unix/src/vm/intplugins/SocketPlugin/SocketPlugin.c:318
> #2  0x0000000000416e76 in dispatchFunctionPointer
> (aFunctionPointer=0xaca75ec0) at gnu-interp.c:3953
> #3  0x0000000000416e76 in dispatchFunctionPointer
> (aFunctionPointer=0xaca75ec0) at gnu-interp.c:3953
> #4  0x000000000042abb1 in interpret () at
> gnu-interp.c:7761
> #5  0x0000000000415609 in main (argc=<value optimized
> out>, argv=0x7fff3fd1cce8, envp=<value optimized out>)
>     ...platforms/unix/vm/sqUnixMain.c:1379
>
> Segmentation fault
>
> 23308044 [] in >addressForName:timeout:
> 23308136 [] in Semaphore>critical:
> 23307768 BlockContext>ensure:
> 23307676 Semaphore>critical:
> 23306908 >addressForName:timeout:
> 23299436 >httpGetDocument:args:accept:request:
> 23303844 >httpGet:args:accept:request:
> 23303380 >httpGet:args:user:passwd:
> 23303012 MCHttpRepository>allFileNames
> 23302896 MCFileBasedRepository>allFileNamesOrCache
> 23302788 MCFileBasedRepository>readableFileNames
> 23302696 MCFileRepositoryInspector>refresh
> 23302540
> MCFileRepositoryInspector>setRepository:workingCopy:
> 23302356 >repository:workingCopy:
> 23302264 MCFileBasedRepository>morphicOpen:
> 23302448 [] in MCWorkingCopyBrowser>openRepository
> 23302172 Object>ifNotNilDo:
> 23302080 MCWorkingCopyBrowser>openRepository
> 23301620 PluggableButtonMorph>performAction
> 23301436 PluggableButtonMorphPlus>performAction
> 23301528 [] in PluggableButtonMorph>mouseUp:
> 23301344 SequenceableCollection>do:
> 23301252 PluggableButtonMorph>mouseUp:
> 23301120 PluggableButtonMorphPlus>mouseUp:
> 23301028 Morph>handleMouseUp:
> 23300936 MouseButtonEvent>sentTo:
> 23300568 Morph>handleEvent:
> 23300476 Morph>handleFocusEvent:
> 23300660 [] in HandMorph>sendFocusEvent:to:clear:
> 23300752 [] in PasteUpMorph>becomeActiveDuring:
> 23300384 BlockContext>on:do:
> 23300292 PasteUpMorph>becomeActiveDuring:
> 23300016 HandMorph>sendFocusEvent:to:clear:
> 23299924 HandMorph>sendEvent:focus:clear:
> 23299832 HandMorph>sendMouseEvent:
> 23299344 HandMorph>handleEvent:
> 23293552 HandMorph>processEvents
> 23293668 [] in WorldState>doOneCycleNowFor:
> 23293460 SequenceableCollection>do:
> 23293368 WorldState>handsDo:
> 23293276 WorldState>doOneCycleNowFor:
> 23291300 WorldState>doOneCycleFor:
> 23291208 PasteUpMorph>doOneCycle
> 14434012 [] in >spawnNewProcess
> 14434196 [] in BlockContext>newProcess
>
> thanks in andvance ;)
>
>
>       __________________________________  Kennt man wirklich jeden über
> 3 Ecken? Die Antworten gibt's bei Yahoo! Clever. www.yahoo.de/clever


-------------- next part --------------
A non-text attachment was scrubbed...
Name: SocketPlugin.c
Type: text/x-csrc
Size: 39920 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20070529/5cbaec15/SocketPlugin-0001.c


More information about the Vm-dev mailing list