Hi,
I'm looking for some help in finding the source of a repeatable,
driver-independent (I think) crash I'm causing in PositionWindow . I'm
using the source RPM from RedHat (4.1.0-3) and the Savage driver on a
ThinkPad. I can also cause the crash using the nv driver.
Scenario:
Multi-executable suite of cooperating programs. Close a window. Go to
another window's title bar and try to move the window. X server crashes
(in both gnome and kde). I can construct a use path where I can repeat it
about 70% of the time.
The program that I'm using uses a GlxMDraw widget.
I'm sure I have a program bug, although why in the world it would cause an
X Server crash, I don't know...
Anyway, I'd like to trace it down and I don't know how to get to the
PositionWindow symbol to expand my stack trace down to where the seg fault
happens.
Running XFree86 in gdb, I can get to the following stack trace:
Program received signal SIGSEGV, Segmentation fault.
0x084ce604 in ?? () at eval.c:41
41 eval.c: No such file or directory.
in eval.c
(gdb) where
#0 0x084ce604 in ?? () at eval.c:41
#1 0x08472686 in ?? () at eval.c:41
#2 0x082f006b in ?? () at eval.c:41
#3 0x082effc7 in ?? () at eval.c:41
#4 0x08511fd1 in ?? () at eval.c:41
#5 0x0850a07c in ?? () at eval.c:41
#6 0x08390910 in ?? () at eval.c:41
#7 0x0846db30 in ?? () at eval.c:41
#8 0x083fd4bf in ?? () at eval.c:41
#9 0x080f7ba3 in ResizeChildrenWinSize (pWin=0x89d34e8, dx=5, dy=-17, dw=
0, dh=0)
at window.c:1831
#10 0x081c7302 in miMoveWindow (pWin=0x89d34e8, x=330, y=369,
pNextSib=0x88a5300,
kind=VTMove) at miwindow.c:524
#11 0x080f8fc1 in ConfigureWindow (pWin=0x89d34e8, mask=15,
vlist=0x8784bfc,
client=0x8728d48) at window.c:2504
#12 0x080cff0a in ProcConfigureWindow (client=0x8728d48) at dispatch.c:766
#13 0x080cf5e0 in Dispatch () at dispatch.c:456
#14 0x080e6b95 in main (argc=4, argv=0xbffff914, envp=0xbffff928) at main.
c:449
#15 0x40089507 in __libc_start_main (main=0x80e6550 <main>, argc=4, ubp_av=
0xbffff914,
init=0x806c3a0 <_init>, fini=0x81f2e20 <_fini>, rtld_fini=0x4000dc14
<_dl_fini>,
stack_end=0xbffff90c) at ../sysdeps/generic/libc-start.c:129
The function called at #9 is:
1831 (*pScreen->PositionWindow)(pChild,
1832 pChild->drawable.x,
pChild->drawable.y);
Any ideas?
Thanks,
Jim
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert