<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 02/28/2018 07:08 AM, Eliot Miranda
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:00CA4B4B-1867-4411-B99A-C05EB3706770@gmail.com">
<blockquote type="cite" style="color: #000000;">
<pre wrap="">I built a debug VM, and as expected running under GDB produced no new
info, the process just prints the error and exits.
</pre>
</blockquote>
<pre wrap="">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.
</pre>
</blockquote>
<p>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.</p>
<p>Regards,</p>
<p>-Martin</p>
<p>(gdb) break exit<br>
Breakpoint 1 at 0x1c2d0<br>
(gdb) run ~/apps/Pharo7Builds/2018-02-26-32bit/scratch.image<br>
Starting program:
/home/martin/Repositories/opensmalltalk-vm/build.linux32x86/pharo.cog.spur/build.debug/squeak
~/apps/Pharo7Builds/2018-02-26-32bit/scratch.image<br>
[Thread debugging using libthread_db enabled]<br>
Using host libthread_db library "/lib64/libthread_db.so.1".<br>
[New Thread 0xf7833b40 (LWP 26198)]<br>
XIO: fatal IO error 14 (Bad address) on X server ":0"<br>
after 2906 requests (2872 known processed) with 0 events
remaining.<br>
<br>
Thread 1 "squeak" hit Breakpoint 1, 0xf7d4b470 in exit () from
/lib32/libc.so.6<br>
(gdb) where<br>
#0 0xf7d4b470 in exit () from /lib32/libc.so.6<br>
#1 0xf7950688 in _XDefaultIOError () from /usr/lib32/libX11.so.6<br>
#2 0xf79508ed in _XIOError () from /usr/lib32/libX11.so.6<br>
#3 0xf794df16 in _XEventsQueued () from /usr/lib32/libX11.so.6<br>
#4 0xf793f652 in XPending () from /usr/lib32/libX11.so.6<br>
#5 0xf7fc0743 in handleEvents () at
/home/martin/Repositories/opensmalltalk-vm/platforms/unix/vm-display-X11/sqUnixX11.c:3952<br>
#6 0xf7fc077c in xHandler (fd=0x3, data=0x0, flags=0x2)<br>
at
/home/martin/Repositories/opensmalltalk-vm/platforms/unix/vm-display-X11/sqUnixX11.c:3964<br>
#7 0x5663f51c in aioPoll (microSeconds=0x0) at
/home/martin/Repositories/opensmalltalk-vm/platforms/unix/vm/aio.c:292<br>
#8 0x5657271d in ioProcessEvents () at
/home/martin/Repositories/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c:652<br>
#9 0x565e9d7f in checkForEventsMayContextSwitch
(mayContextSwitch=0x1)<br>
at
/home/martin/Repositories/opensmalltalk-vm/spursrc/vm/gcc3x-cointerp.c:60739<br>
#10 0x565f0836 in handleStackOverflowOrEventAllowContextSwitch
(mayContextSwitch=0x1)<br>
at
/home/martin/Repositories/opensmalltalk-vm/spursrc/vm/gcc3x-cointerp.c:63988<br>
#11 0x56591a1c in activateCoggedNewMethod (inInterpreter=0x0)<br>
at
/home/martin/Repositories/opensmalltalk-vm/spursrc/vm/gcc3x-cointerp.c:14059<br>
#12 0x56598fc4 in executeNewMethod () at
/home/martin/Repositories/opensmalltalk-vm/spursrc/vm/gcc3x-cointerp.c:17329<br>
#13 0x56597216 in ceSendsupertonumArgs (selector=0x5758a480,
superNormalBar=0x1, rcvr=0x57b7e788, numArgs=0x0)<br>
at
/home/martin/Repositories/opensmalltalk-vm/spursrc/vm/gcc3x-cointerp.c:16371<br>
#14 0x5680034a in ?? ()<br>
#15 0x5657789d in interpret () at
/home/martin/Repositories/opensmalltalk-vm/spursrc/vm/gcc3x-cointerp.c:2706<br>
#16 0x56576175 in main (argc=0x2, argv=0xffffc8c4,
envp=0xffffc8d0)<br>
at
/home/martin/Repositories/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c:2099<br>
<br>
</p>
</body>
</html>