[Vm-dev] Fwd: [Pharo-dev] Pharo 7 Repeatable crash: XIO: fatal IO error 14 (Bad address) on X server ":0"
martin at hand2mouse.com
Fri Mar 2 06:05:45 UTC 2018
On 02/28/2018 07:08 AM, Eliot Miranda wrote:
>> I built a debug VM, and as expected running under GDB produced no new
>> info, the process just prints the error and exits.
> That's strange. Can you put a breakpoint in write or exit so that gdb does stop rather than exit? Martin, if I were trying t debug this I would be trying to get the error to occur within gdb said I could poke around. I don't know any better way if solving problems like this than by first because no able to examine the exception in situ. I get that it's frustrating but there's no magic bullet. One has the keep trying until one can find out what caused the crash.
By putting a breakpoint in exit I was able to get the stack below. I
hope this gives you a clue as to where to look next. Once again, what
I'm doing at the point of failure is dragging the corner of the X window
to resize it larger.
(gdb) break exit
Breakpoint 1 at 0x1c2d0
(gdb) run ~/apps/Pharo7Builds/2018-02-26-32bit/scratch.image
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0xf7833b40 (LWP 26198)]
XIO: fatal IO error 14 (Bad address) on X server ":0"
after 2906 requests (2872 known processed) with 0 events remaining.
Thread 1 "squeak" hit Breakpoint 1, 0xf7d4b470 in exit () from
#0 0xf7d4b470 in exit () from /lib32/libc.so.6
#1 0xf7950688 in _XDefaultIOError () from /usr/lib32/libX11.so.6
#2 0xf79508ed in _XIOError () from /usr/lib32/libX11.so.6
#3 0xf794df16 in _XEventsQueued () from /usr/lib32/libX11.so.6
#4 0xf793f652 in XPending () from /usr/lib32/libX11.so.6
#5 0xf7fc0743 in handleEvents () at
#6 0xf7fc077c in xHandler (fd=0x3, data=0x0, flags=0x2)
#7 0x5663f51c in aioPoll (microSeconds=0x0) at
#8 0x5657271d in ioProcessEvents () at
#9 0x565e9d7f in checkForEventsMayContextSwitch (mayContextSwitch=0x1)
#10 0x565f0836 in handleStackOverflowOrEventAllowContextSwitch
#11 0x56591a1c in activateCoggedNewMethod (inInterpreter=0x0)
#12 0x56598fc4 in executeNewMethod () at
#13 0x56597216 in ceSendsupertonumArgs (selector=0x5758a480,
superNormalBar=0x1, rcvr=0x57b7e788, numArgs=0x0)
#14 0x5680034a in ?? ()
#15 0x5657789d in interpret () at
#16 0x56576175 in main (argc=0x2, argv=0xffffc8c4, envp=0xffffc8d0)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev