http://bugs.winehq.org/show_bug.cgi?id=10958
Summary: "The Cat In The Hat" crashes ("Segmentation fault (core dumped)") when moused-over Product: Wine Version: 0.9.52. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: atheoi@gmail.com
Running Wine 0.9.52 from the Wine repository in Ubuntu 7.10
Attempting to run "The Cat In The Hat", part of the 'Living Book' series (see http://en.wikipedia.org/wiki/Living_Books_series)
It starts up well enough (Tried in 95, 98, ME and XP modes. I'm using 'emulate a virtual desktop'; it appears to automatically resize to 640 x 480), but if I move my mouse over the window (e.g. to click a button on screen) it consistently crashes with: "Segmentation fault (core dumped)"
As run from Terminal:
--- $ wine CAT32.EXE fixme:mixer:ALSA_MixerInit No master control found on MPU-401 UART, disabling mixer fixme:win:EnumDisplayDevicesW ((null),0,0x34f25c,0x00000000), stub! fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8 Segmentation fault (core dumped) ---
http://bugs.winehq.org/show_bug.cgi?id=10958
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID Summary|"The Cat In The Hat" crashes|"The Cat In The Hat" crashes |("Segmentation fault (core |when moused-over |dumped)") when moused-over |
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2007-12-29 21:06:11 --- What video card do you have? Also note that Wine does not dump cores. This is something else that crashes. You'll have to contact you distro for help with that. As for Wine - doesn't look like a Wine bug to me.
http://bugs.winehq.org/show_bug.cgi?id=10958
Limulus atheoi@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |atheoi@gmail.com
--- Comment #2 from Limulus atheoi@gmail.com 2007-12-29 22:19:40 --- Hmm... interesting.
As per the box, its an MSI RX9250-T128; it uses an ATI Radeon 9250
As per Ubuntu's "Screen and Graphics Preferences" I'm using the "ati" driver.
So is this maybe a flaw in xserver-xorg-video-ati or something?
http://bugs.winehq.org/show_bug.cgi?id=10958
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Status|RESOLVED |UNCONFIRMED Resolution|INVALID |
--- Comment #3 from Dan Kegel dank@kegel.com 2007-12-30 00:43:11 --- Could be a server crash.
http://bugs.winehq.org/show_bug.cgi?id=10958
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2007-12-30 09:17:57 --- (In reply to comment #3)
Could be a server crash.
No it can't. Server says when it's crashing. This has no such message. Of course author welcome to recompile Wine with debug symbols, run it form the source dir and attach the dumped core
http://bugs.winehq.org/show_bug.cgi?id=10958
--- Comment #5 from Limulus atheoi@gmail.com 2007-12-31 01:55:23 --- Vitaliy Margolen wrote in Comment #4:
"author welcome to recompile Wine with debug symbols, run it form the source dir and attach the dumped core"
Oh my :)
I did a little bit of searching and cobbled together a command:
$ WINEDEBUG=all wine CAT32.EXE >cat.txt 2>&1
which seems to output a VERY large 'cat.txt' file (>20MB!) of various things like:
--- trace:virtual:NtAllocateVirtualMemory 0xffffffff 0x7ffe0000 00010000 3000 00000004 trace:virtual:VIRTUAL_DumpView View: 0x7ffe0000 - 0x7ffefffftrace:virtual:VIRTUAL_DumpView (anonymous) trace:virtual:VIRTUAL_DumpView 0x7ffe0000 - 0x7ffeffff c-rw- ---
Is that equivalent to what you wanted? If so, the next thing is to figure out how to get the core dump; as per http://ubuntuforums.org/showthread.php?t=313498 running:
$ ulimit -c unlimited
before running Wine in the same Terminal should work, yet I don't seem to find any core files laying about...
http://bugs.winehq.org/show_bug.cgi?id=10958
--- Comment #6 from Dan Kegel dank@kegel.com 2007-12-31 10:00:58 --- WINEDEBUG=all is AWFUL verbose, only use it in dire circumstances when wine aborts extremely early.
Try instead WINEDEBUG=+seh,+relay That's pretty darn verbose, but nowhere near as verbose as all.
http://bugs.winehq.org/show_bug.cgi?id=10958
--- Comment #7 from Limulus atheoi@gmail.com 2007-12-31 14:52:13 --- Created an attachment (id=9949) --> (http://bugs.winehq.org/attachment.cgi?id=9949) Result from WINEDEBUG=+seh,+relay wine CAT32.EXE > CAT32.txt 2>&1
I ran $ WINEDEBUG=+seh,+relay wine CAT32.EXE > CAT32.txt 2>&1 Here is the output, zipped. Its still very large, but not *quite* as big (~13.5 MB uncompressed). I had the mouse over the Window so it crashed immediately after changing size.
http://bugs.winehq.org/show_bug.cgi?id=10958
--- Comment #8 from Dmitry Timoshkov dmitry@codeweavers.com 2008-01-01 01:04:18 --- (In reply to comment #7)
Created an attachment (id=9949)
--> (http://bugs.winehq.org/attachment.cgi?id=9949) [details]
Result from WINEDEBUG=+seh,+relay wine CAT32.EXE > CAT32.txt 2>&1 I ran $ WINEDEBUG=+seh,+relay wine CAT32.EXE > CAT32.txt 2>&1 Here is the output, zipped. Its still very large, but not *quite* as big (~13.5 MB uncompressed). I had the mouse over the Window so it crashed immediately after changing size.
There is no crash in the log, neither "Segmentation fault" string.
But: the very last relay string generated by CAT32.EXE is 0009:Call user32.WindowFromPoint(000001be,00000119) ret=00426edb
after that explorer.exe exits. So that's not a Wine crash.
Where is the core dump with debug symbols requested by Vitaliy? Have you tried to change TLS option for your ATI driver in xorg.conf?
http://bugs.winehq.org/show_bug.cgi?id=10958
--- Comment #9 from Limulus atheoi@gmail.com 2008-01-03 02:44:18 --- Reply to Comment #8 by Dmitry Timoshkov:
"Where is the core dump with debug symbols requested by Vitaliy?"
Please see comment #5; I do not consider myself competent enough to do the suggested recompiling and the ulimit command doesn't seem to work. I've not made any further progress.
"Have you tried to change TLS option for your ATI driver in xorg.conf?"
Um... no; I try to avoid messing with xorg.conf since Ubuntu does such a good job of dealing with it. Also, see previous section about my competence in such non-GUI matters ;)
If this is an ATI problem though, it shouldn't manifest if I try it on a different computer using a different chipset... I'll try that and report back.
http://bugs.winehq.org/show_bug.cgi?id=10958
--- Comment #10 from Dan Kegel dank@kegel.com 2008-01-03 05:47:02 --- Maybe you're running into http://wiki.winehq.org/fglrx
Try switching display drivers and see if that helps.
http://bugs.winehq.org/show_bug.cgi?id=10958
--- Comment #11 from Austin English austinenglish@gmail.com 2008-01-03 09:52:28 --- (In reply to comment #9)
Please see comment #5; I do not consider myself competent enough to do the suggested recompiling and the ulimit command doesn't seem to work. I've not made any further progress.
$ sudo apt-get install wine-dev
Will give you debugging symbols.
http://bugs.winehq.org/show_bug.cgi?id=10958
--- Comment #12 from Limulus atheoi@gmail.com 2008-01-03 12:29:54 --- Reply to Comment #11 by Austin English
"wine-dev [...] Will give you debugging symbols."
Done. So what command do I run? The same one?
WINEDEBUG=all wine CAT32.EXE >cat.txt 2>&1
The output of that seems to be the same... also, no core dump file that I can find, even running 'ulimit -c unlimited' immediately before.
http://bugs.winehq.org/show_bug.cgi?id=10958
--- Comment #13 from Dan Kegel dank@kegel.com 2008-01-03 13:04:25 --- As I said earlier, don't use all, it's too verbose, use WINEDEBUG=+seh,+relay instead. But it looks like that isn't going to help you find your crash. You might try running wineserver under gdb.
http://bugs.winehq.org/show_bug.cgi?id=10958
--- Comment #14 from Limulus atheoi@gmail.com 2008-01-03 13:12:43 --- I installed Wine on my daughter's computer and ran CAT32.EXE there and it crashes right away, without even getting to make a window :)
I ran
WINEDEBUG=+seh,+relay wine CAT32.EXE > CAT32.txt 2>&1
but the output was so small that I switched back to
WINEDEBUG=all wine CAT32.EXE > CAT32.txt 2>&1
but the result was the same:
--- fixme:mixer:ALSA_MixerInit No master control found on MPU-401 UART, disabling mixer fixme:win:EnumDisplayDevicesW ((null),0,0x34f25c,0x00000000), stub! ---
followed by the "Segmentation fault (core dumped)"
Her computer (old 500 MHz Celeron w/256 MB RAM) uses "Intel 810" for the video with the "intel" driver in Ubuntu 7.10
http://bugs.winehq.org/show_bug.cgi?id=10958
--- Comment #15 from Limulus atheoi@gmail.com 2008-01-03 13:36:50 --- Reply to Comment #13 by Dan Kegel:
"You might try running wineserver under gdb."
Do you mean via the instructions on http://www.winehq.org/site/docs/winedev-guide/dbg-others
If so, here's what I get from winedbg, pointing ddd at /usr/bin/wine-pthread
--- $ winedbg --gdb --no-start CAT32.EXE 000a:000b: create process 'Z:\home\conrad\Desktop\CAT_HAT\CAT32.EXE'/0x1106a8 @0x410000 (0<0>) 000a:000b: create thread I @0x410000 target remote localhost:37564 000a:000b: loads DLL c:\windows\system32\KERNEL32.dll @0x7b820000 (0<0>) 000a:000b: loads DLL c:\windows\system32\ntdll.dll @0x7bc10000 (0<0>) 000a:000b: loads DLL Z:\home\conrad\Desktop\CAT_HAT\CAT32.EXE @0x400000 (0<0>) 000a:000b: loads DLL c:\windows\system32\advapi32.dll @0x7ebe0000 (0<0>) 000a:000b: loads DLL c:\windows\system32\gdi32.dll @0x7ec30000 (0<0>) 000a:000b: loads DLL c:\windows\system32\user32.dll @0x7ecd0000 (0<0>) 000a:000b: loads DLL c:\windows\system32\winmm.dll @0x7ee00000 (0<0>) 000a:000b: loads DLL c:\windows\system32\lz32.dll @0x7ebb0000 (0<0>) 000a:000b: loads DLL c:\windows\system32\version.dll @0x7ebc0000 (0<0>) 000a:000b: loads DLL c:\windows\system32\shlwapi.dll @0x7e9c0000 (0<0>) 000a:000b: loads DLL c:\windows\system32\comctl32.dll @0x7e900000 (0<0>) 000a:000b: loads DLL c:\windows\system32\shell32.dll @0x7ea20000 (0<0>) 000a:000b: loads DLL c:\windows\system32\winspool.drv @0x7e8c0000 (0<0>) 000a:000b: loads DLL c:\windows\system32\comdlg32.dll @0x7eb10000 (0<0>) 000a:000b: loads DLL c:\windows\system32\winex11.drv @0x7e6f0000 (0<0>) 000a:000b: loads DLL c:\windows\system32\imm32.dll @0x7dbc0000 (0<0>) 000a:000b: loads DLL c:\windows\system32\winealsa.drv @0x7db80000 (0<0>) fixme:mixer:ALSA_MixerInit No master control found on MPU-401 UART, disabling mixer 000a:000b: loads DLL c:\windows\system32\msacm32.dll @0x7da80000 (0<0>) 000a:000b: loads DLL c:\windows\system32\msacm32.drv @0x7daa0000 (0<0>) 000a:000b: loads DLL c:\windows\system32\midimap.dll @0x7da60000 (0<0>) 000a:000b: loads DLL c:\windows\system32\uxtheme.dll @0x7da30000 (0<0>) 000a:000b: loads DLL c:\windows\system32\iphlpapi.dll @0x7d900000 (0<0>) 000a:000b: loads DLL c:\windows\system32\rpcrt4.dll @0x7d920000 (0<0>) 000a:000b: loads DLL c:\windows\system32\ole32.dll @0x7d980000 (0<0>) 0000000a:0000000b: exception code=0x80000003 Unknown or malformed query Supported ---
Meanwhile ddd reported (after a bunch of "(no debugging symbols found)" notices) that:
--- 0x7b86eb39 in ?? () from /usr/bin/../lib/wine/kernel32.dll.so ---
Does any of that help?
http://bugs.winehq.org/show_bug.cgi?id=10958
--- Comment #16 from Dan Kegel dank@kegel.com 2008-01-03 18:07:25 --- That's not what I was suggesting. wineserver is a plain old unix app, you can run it directly using wineserver -k gdb wineserver -f and then, in another windows, run the app that dies. If you're lucky, gdb will catch the wineserver abort.
http://bugs.winehq.org/show_bug.cgi?id=10958
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Dan Kegel dank@kegel.com 2008-02-23 10:50:48 --- Closing all invalid bugs more than five weeks old.
http://bugs.winehq.org/show_bug.cgi?id=10958
--- Comment #18 from Limulus atheoi@gmail.com 2008-07-26 06:10:04 --- FWIW, I just tried it again in Ubuntu 8.04 using Wine 1.1.2~winehq0~ubuntu~8.04-2-0ubuntu1 and it works perfectly :)