Re: xlogo crashes XWin with Fatal Error (Segmentation Fault)
2012.04.26.18:13:33 UT
Hey cygwin-x folks,
I have not had notable difficulties with
XWin-1.12.0-4. Just about everything that I have
done with it over the past few days has been fine.
However, when I read Yusuke's post, I thought that
I should try one of those old-timey X-programs to
see whether it would crash.
I've been able to reproduce an XWin crash similar
to the one experienced by Yusuke. My XWin did _not_
fail when I was running octave with either the fltk or
its usual gnuplot backends. I was also able to run xfig
with no problem. This was a crash caused when I opened
the xcalc program. I'm not certain that I understand
his experiment with two terminal windows as a method of
narrowing the difficulty to the -multiwindow option.
However like Yusuke, I am starting XWin with the
-mulitwindow option. The crash I observed was with
just a single xterm, and then the xcalc program. Other
programs that opened x-windows seemed fine.
In this instance, I had the debugging symbols
available, and collected information from a backtrace
using (gdb). I've attached gdb.xwin.20120426.txt and
my XWin.0.20120426.log. I did not see anything
interesting in the xwin0-log, and my (gdb) backtrace
is just the output from my glance at Jon Turney's
recipe. I'm tossing it in this list in case it helps
better-informed folks to track down the difficulty
with XWin-1.12.0-4.
If there is more specific or nuanced stuff that
I can log with (gdb) to provide more information,
please e-mail me.
George gbarrick_at_walsh_dot_edu
Continuing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2528.0xf34]
0x0040a41e in winXIconToHICON (pDisplay=0x20279a30, id=10485779,
iconSize=<optimized out>)
at
/opt/wip/cygport-git/xorg-server/xorg-server-1.12.0-4/src/xserver-cygwin-1.12.0-4/hw/xwin/winmultiwindowicons.c:535
535
/opt/wip/cygport-git/xorg-server/xorg-server-1.12.0-4/src/xserver-cygwin-1.12.0-4/hw/xwin/winmultiwindowicons.c:
No such file or directory.
in
/opt/wip/cygport-git/xorg-server/xorg-server-1.12.0-4/src/xserver-cygwin-1.12.0-4/hw/xwin/winmultiwindowicons.c
#0 0x0040a41e in winXIconToHICON (pDisplay=0x20279a30, id=10485779,
iconSize=<optimized out>)
at
/opt/wip/cygport-git/xorg-server/xorg-server-1.12.0-4/src/xserver-cygwin-1.12.0-4/hw/xwin/winmultiwindowicons.c:535
root = <error reading variable root (Cannot access memory at address
0x7fdfcbf8)>
y = <error reading variable y (Cannot access memory at address
0x7fdfcbf0)>
depth = <error reading variable depth (Cannot access memory at address
0x7fdfcbe0)>
xImageIcon = 0x0
x = <error reading variable x (Cannot access memory at address
0x7fdfcbf4)>
width = <error reading variable width (Cannot access memory at address
0x7fdfcbec)>
height = <error reading variable height (Cannot access memory at
address 0x7fdfcbe8)>
border_width = <error reading variable border_width (Cannot access
memory at address 0x7fdfcbe4)>
xImageMask = 0x0
mask = <optimized out>
image = <optimized out>
imageMask = <optimized out>
dst = <optimized out>
src = <optimized out>
planes = 1
bpp = 32
i = <optimized out>
biggest_size = <optimized out>
hDC = <optimized out>
ii = <error reading variable ii (Cannot access memory at address
0x7fdfcbcc)>
hints = 0x203ae1e8
hIcon = 0x0
biggest_icon = <optimized out>
_XA_NET_WM_ICON = <error reading variable _XA_NET_WM_ICON (Cannot
access memory at address 0x5fd554)>
generation = <error reading variable generation (Cannot access memory
at address 0x5fd550)>
icon = <optimized out>
icon_data = 0x0
size = 0
type = 0
format = 0
left = <error reading variable left (Cannot access memory at address
0x7fdfcbfc)>
#1 0x0040a6ab in winUpdateIcon (
hWnd=<error reading variable: Cannot access memory at address 0x7fdfcc70>,
hWnd@entry=<error reading variable: Cannot access memory at address
0x7fdfcc6c>,
pDisplay=<error reading variable: Cannot access memory at address
0x7fdfcc74>,
id=<error reading variable: Cannot access memory at address 0x7fdfcc78>,
hIconNew=<error reading variable: Cannot access memory at address
0x7fdfcc7c>)
at
/opt/wip/cygport-git/xorg-server/xorg-server-1.12.0-4/src/xserver-cygwin-1.12.0-4/hw/xwin/winmultiwindowicons.c:560
hIcon = <optimized out>
hIconSmall = 0x0
hIconOld = <optimized out>
A debugging session is active.
Inferior 1 [process 2528] will be detached.
Quit anyway? (y or n) error return
/netrel/src/gdb-7.3.50-3/gdb/windows-nat.c:1251 was 31
Quitting: Can't detach process 2528 (error 5)
XWin.0.20120426.log
Description: XWin.0.20120426.log
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
