[Bug 2181] Civ2: wine crashes because of WM_SETFOCUS message
Wine Bugs
wine-bugs at winehq.org
Tue Oct 18 11:34:18 CDT 2005
http://bugs.winehq.org/show_bug.cgi?id=2181
vitaliy at kievinfo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |major
Status|UNCONFIRMED |NEW
Component|wine-binary |wine-user
Ever Confirmed| |1
Summary|Civ2: wine crashes, probably|Civ2: wine crashes because
|when starting sound |of WM_SETFOCUS message
Version|unspecified |CVS
------- Additional Comments From vitaliy at kievinfo.com 2005-18-10 11:34 -------
This is not sound related. Removing
user/focus.c:67: SendMessageW( hwnd, WM_SETFOCUS, (WPARAM)previous, 0 );
fixes the problem. I have not verified what windows does, but it looks like wine
sends this message at the wrong time.
Backtrace:
=>1 0x0040f81f in civ2 (+0xf81f) (0x4055e140)
2 0x005d2bbe in civ2 (+0x1d2bbe) (0x4055e170)
3 0x405fea77 WINPROC_wrapper+0x17 in user32 (0x4055e194)
4 0x405ff3e9 WINPROC_CallWndProc+0x59(wParam=0x90028, lParam=0x0)
[/usr/local/src/wine-build/dlls/user/../../../wine/dlls/user/winproc.c:417] in
user32 (0x4055e1c8)
5 0x40601b5a CallWindowProcW(func=0x4065f1ae, hwnd=0x30054, msg=0x7,
wParam=0x90028, lParam=0x0)
[/usr/local/src/wine-build/dlls/user/../../../wine/dlls/user/winproc.c:3091] in
user32 (0x4055e6ac)
6 0x405d7467 call_window_proc+0xb7(lparam=0x0, unicode=0x1, same_thread=0x1)
[/usr/local/src/wine-build/dlls/user/../../../wine/dlls/user/message.c:1515] in
user32 (0x4055e710)
7 0x405d7b19 SendMessageTimeoutW+0x139(hwnd=0x30054, msg=0x7, wparam=0x90028,
lparam=0x0, flags=0x0, timeout=0x0, res_ptr=0x4055e78c)
[/usr/local/src/wine-build/dlls/user/../../../wine/dlls/user/message.c:2349] in
user32 (0x4055e768)
8 0x405d7b65 SendMessageW(hwnd=0x30054, msg=0x7, wparam=0x90028, lparam=0x0)
[/usr/local/src/wine-build/dlls/user/../../../wine/dlls/user/message.c:2430] in
user32 (0x4055e794)
9 0x405bf334 set_focus_window
[/usr/local/src/wine-build/dlls/user/../../../wine/dlls/user/focus.c:67] in
user32 (0x4055e834)
10 0x405bfa7a SetFocus+0x15a(hwnd=0x30054)
[/usr/local/src/wine-build/dlls/user/../../../wine/dlls/user/focus.c:286] in
user32 (0x4055e850)
11 0x005eaac2 in civ2 (+0x1eaac2) (0x4055e874)
12 0x005eac60 in civ2 (+0x1eac60) (0x4055e8a0)
13 0x005c5c20 in civ2 (+0x1c5c20) (0x4055e8c4)
14 0x0040863c in civ2 (+0x863c) (0x4055e8dc)
15 0x00408607 in civ2 (+0x8607) (0x4055e8f4)
16 0x005a5cdf in civ2 (+0x1a5cdf) (0x4055e964)
17 0x005a5ffb in civ2 (+0x1a5ffb) (0x4055ea8c)
18 0x0041cf55 in civ2 (+0x1cf55) (0x4055ef00)
19 0x0041f271 in civ2 (+0x1f271) (0x4055f674)
20 0x0041fd3a in civ2 (+0x1fd3a) (0x4055fe6c)
21 0x004c428b in civ2 (+0xc428b) (0x4055fe80)
22 0x0055ae20 in civ2 (+0x15ae20) (0x4055fe9c)
23 0x005f7075 EntryPoint+0x1e5 in civ2 (0x4055ff2c)
24 0x7b8682d6 start_process+0xc6(arg=0x0)
[/usr/local/src/wine-build/dlls/kernel/../../../wine/dlls/kernel/process.c:992]
in kernel32 (0x4055fff4)
25 0x4001c981 wine_switch_to_stack+0x11 in libwine.so.1 (0x00000000)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list