Hi all,
Since I updated my Wine version this evening, Wine crashes at start-up
in XOpenIM :
(gdb) r
Starting program: /usr/local/src/Wine/Build_01/bin/wine
Could not stat /mnt/fd0, ignoring drive A:
Program received signal SIGSEGV, Segmentation fault.
0x407702dd in _XimParseStringFile (fp=0x807e870, ptop=0x807e70c) at imLcPrs.c:495
495 {
(gdb) bt
#0 0x407702dd in _XimParseStringFile (fp=0x807e870, ptop=0x807e70c) at imLcPrs.c:495
#1 0x4076efad in _XimCreateDefaultTree (im=0x807e6c0) at imLcIm.c:189
#2 0x4076f065 in _XimLocalOpenIM (im=0x807e6c0) at imLcIm.c:230
#3 0x4076e633 in _XimOpenIM (lcd=0x8079038, dpy=0x8077d90, rdb=0x0, res_name=0x0,
res_class=0x0) at imInt.c:258
#4 0x40744b0c in XOpenIM (display=0x8077d90, rdb=0x0, res_name=0x0, res_class=0x0) at
IMWrap.c:128
#5 0x406738a3 in TSXOpenIM (a0=0x8077d90, a1=0x0, a2=0x0, a3=0x0) at ts_xlib.c:1374
#6 0x40652cb7 in process_attach () at x11drv_main.c:196
#7 0x40652df2 in X11DRV_Init (hinst=1226047488, reason=1, reserved=0x0) at
x11drv_main.c:266
#8 0x400f7126 in PE_InitDLL (wm=0x403ce31c, type=1, lpReserved=0x0) at pe_image.c:1053
#9 0x400f2389 in MODULE_InitDll (wm=0x403ce31c, type=1, lpReserved=0x0) at
module.c:118
#10 0x400f24f7 in MODULE_DllProcessAttach (wm=0x403ce31c, lpReserved=0x0) at
module.c:195
#11 0x400f4296 in LoadLibraryExA (libname=0x404f6cdc "x11drv", hfile=0, flags=0) at
module.c:1152
#12 0x400f46b6 in LoadLibraryA (libname=0x404f6cdc "x11drv") at module.c:1261
#13 0x8048f65 in MAIN_EmulatorRun () at main.c:50
The problem is that there is no changes that were done that could
explain such a crash (by commenting out this line, Wine works great).
Moreover, the crash location seems strange :
(gdb) list
490
491 void
492 _XimParseStringFile(fp, ptop)
493 FILE *fp;
494 DefTree **ptop;
495 {
496 char tb[65535];
497 char* tbp;
498 struct stat st;
499
Could this be some kind of stack overflow / corruption (with the
'char tb[65535];' the culprit) ? And if yes, why do I see this today and
not yesterday ?
--
Lionel Ulmer - [EMAIL PROTECTED]