[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Reproduceable Segmentation fault while saving images (#444)

Alistair Grant notifications at github.com
Fri Nov 15 08:28:56 UTC 2019


Running with the assert VM in lldb:

```
(lldb) run Pharo.image gccrash.st
Process 251 launched: '/home/alistair/pharo8/gccrash/vm/lib/pharo/5.0-201911140223/pharo' (x86_64)

((classIndex >= 1) && (classIndex <= (classTablePageSize()))) 50170

((classIndex >= 1) && (classIndex <= (classTablePageSize()))) 50170
Process 251 stopped
* thread #1, name = 'pharo', stop reason = signal SIGIO
    frame #0: 0x00007ffff6a2403f libc.so.6`__select + 95
libc.so.6`__select:
->  0x7ffff6a2403f <+95>:  cmpq   $-0x1000, %rax            ; imm = 0xF000 
    0x7ffff6a24045 <+101>: ja     0x7ffff6a2407a            ; <+154>
    0x7ffff6a24047 <+103>: movl   %r9d, %edi
    0x7ffff6a2404a <+106>: movl   %eax, 0xc(%rsp)
(lldb) bt
* thread #1, name = 'pharo', stop reason = signal SIGIO
  * frame #0: 0x00007ffff6a2403f libc.so.6`__select + 95
    frame #1: 0x00000000004a91ce pharo`aioPoll(microSeconds=50000) at aio.c:316
    frame #2: 0x00007ffff358d6de vm-display-X11.so`display_ioRelinquishProcessorForMicroseconds(microSeconds=<unavailable>) at sqUnixX11.c:4943
    frame #3: 0x0000000000419d3e pharo`ioRelinquishProcessorForMicroseconds(us=<unavailable>) at sqUnixMain.c:588
    frame #4: 0x0000000000468de6 pharo`primitiveRelinquishProcessor at gcc3x-cointerp.c:34635
    frame #5: 0x00000000004235f9 pharo`interpret at gcc3x-cointerp.c:6203
    frame #6: 0x000000000042b5f1 pharo`enterSmalltalkExecutiveImplementation at gcc3x-cointerp.c:16294
    frame #7: 0x000000000041d6d1 pharo`interpret at gcc3x-cointerp.c:2772
    frame #8: 0x000000000041bae6 pharo`main(argc=3, argv=0x00007fffffffe288, envp=<unavailable>) at sqUnixMain.c:2150
    frame #9: 0x00007ffff692eb97 libc.so.6`__libc_start_main + 231
    frame #10: 0x00000000004197ca pharo`_start + 42
```

Thanks, Eliot!

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/444#issuecomment-554263028
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20191115/0088d8d0/attachment.html>


More information about the Vm-dev mailing list