[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Segfault on starting Linux64 (#433)

Nicolas Cellier notifications at github.com
Sat Oct 19 21:52:32 UTC 2019


Same here:

> Program received signal SIGSEGV, Segmentation fault.
> 0x000000000090003a in ?? ()
> (gdb) bt
> #0  0x000000000090003a in ?? ()
> #1  0x0000000000a5e000 in ?? ()
> #2  0x000000000049ce86 in generateStackPointerCapture ()
>     at /media/psf/Home/Smalltalk/OpenSmalltalk/opensmalltalk-vm/spur64src/vm/cogitX64SysV.c:7255
> #3  initializeCodeZoneFromupTo (startAddress=<optimized out>, endAddress=7980952)
>     at /media/psf/Home/Smalltalk/OpenSmalltalk/opensmalltalk-vm/spur64src/vm/cogitX64SysV.c:7903
> #4  0x000000000044c69d in readImageFromFileHeapSizeStartingAt (f=f at entry=0x85df20, 
>     desiredHeapSize=desiredHeapSize at entry=0, imageOffset=imageOffset at entry=0)
>     at /media/psf/Home/Smalltalk/OpenSmalltalk/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:20588
> #5  0x000000000041e142 in imgInit ()
>     at /media/psf/Home/Smalltalk/OpenSmalltalk/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c:1971
> #6  0x000000000041aee1 in main (argc=<optimized out>, argv=0x7fffffffdd88, envp=<optimized out>)
>     at /media/psf/Home/Smalltalk/OpenSmalltalk/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c:2095
> 
> (gdb) call printTrampolineTable()
>           0x900000: ceCheckLZCNTFunction
>           0x900018: ceGetFP
>           0x900020: ceGetSP
>           0x900028: ceCaptureCStackPointers
> 
> (gdb) x/4i 0x900018
>    0x900018:	mov    %rbp,%rax
>    0x90001b:	retq   
>    0x90001c:	int3   
>    0x90001d:	int3   
> (gdb) x/4i 0x900020
>    0x900020:	mov    %rsp,%rax
>    0x900023:	add    $0x8,%rax
>    0x900027:	retq   
>    0x900028:	push   %rbx
> (gdb) x/11i 0x900028
>    0x900028:	push   %rbx
>    0x900029:	mov    $0x79c798,%rbx
>    0x900030:	movabs %rax,0x79c420
> => 0x90003a:	add    %al,(%rax)
>    0x90003c:	add    %cl,-0x77(%rax)
>    0x90003f:	loopne 0x900089
>    0x900041:	add    $0x10,%eax
>    0x900044:	movabs %rax,0x79c418
>    0x90004e:	pop    %rbx
>    0x90004f:	retq   
>    0x900050:	int3   
> 

It looks like the generated method got corrupted again...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/433#issuecomment-544200258
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20191019/5a15beed/attachment.html>


More information about the Vm-dev mailing list