[Bug 1165] - Photoshop6 hangs, can potentially lock X server, and machine.

wine-bugs at winehq.com wine-bugs at winehq.com
Thu Nov 28 10:23:25 CST 2002


http://bugs.winehq.com/show_bug.cgi?id=1165

7ownq0k402 at sneakemail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|wine-misc                   |wine-x11driver



------- Additional Comments From 7ownq0k402 at sneakemail.com  2002-11-28 10:23 -------
Did some serious gdb debugging on the problem.
Conclusion: This is an X11driver problem, moving to x11driver component


Motes on the debug session follows:

The problem occurs as 1st wine processs exits with error code 1.
After this the wineserver process (and possibly another wine process seem to go
mad).
They cause 100% kernel load, and 100% use of swap.



did breakpoint on exit()
in gdb wine, on the 1st process (desktop???)

got following stack trace

#0  0x402761dd in exit () from /lib/libc.so.6
#1  0x4106913a in _XDefaultError () from /usr/X11R6/lib/libX11.so.6
#2  0x40ff66bd in error_handler (display=0x80a0e08, error_evt=0x406d18a4)
    at x11drv_main.c:136
#3  0x4106924d in _XError () from /usr/X11R6/lib/libX11.so.6
#4  0x4106787b in _XReply () from /usr/X11R6/lib/libX11.so.6
#5  0x4106319a in XSync () from /usr/X11R6/lib/libX11.so.6
#6  0x40fef7c4 in TSXSync (a0=0x80a0e08, a1=0) at ts_xlib.c:614
#7  0x40ff148f in X11DRV_CreateWindow (hwnd=0x10051, cs=0x406d1c00, unicode=0)
    at window.c:893
#8  0x4086c1d0 in WIN_CreateWindowEx (cs=0x406d1c00, classAtom=49155,
    type=WIN_PROC_32A) at ../../windows/win.c:1166
#9  0x4086c63b in CreateWindowExA (exStyle=0, className=0x10156c0 "edit",
    windowName=0x10974a4 "", style=1073807488, x=5, y=6, width=101, height=16,
    parent=0x10026, menu=0x177b, instance=0x400000, data=0x0)
    at ../../windows/win.c:1320



The contents of error_evt was:
(gdb) print error_evt
$1 = (XErrorEvent *) 0x406d18a4
(gdb) print error_evt->type
$2 = 0
(gdb) print error_evt->display
$3 = (Display *) 0x80a0e08
(gdb) print error_evt->resourceid
$4 = 77594636
(gdb) print error_evt->serial
$5 = 911
(gdb) print error_evt->error_code
$6 = 8 '\b'
(gdb) print error_evt->request_code
$7 = 7 '\a'
(gdb) print error_evt->minor_code
$8 = 0 '\000'

And what's the error:
(gdb) call XGetErrorText(display,error_evt->error_code,1076119904,1000)
$15 = 0
(gdb) print (char*)(1076119904)
$16 = 0x40244960 "BadMatch (invalid parameter attributes)"


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1165>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list