http://bugs.winehq.org/show_bug.cgi?id=24903
Summary: Regression: NoX game crashes when trying inputting anything in any textbox Product: Wine Version: 1.1.35 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: evengard@trioptimum.com
The NoX game (http://appdb.winehq.org/objectManager.php?sClass=version&iId=4324) is crashing when inputting in any textbox ingame (setting the player name, chatting, inputting in game console) with the following error:
wine: Unhandled page fault on read access to 0xffff0027 at address 0xffff0027 (thread 0009), starting debugger...
I did a regression testing of the bug and found that the 0e270bbd226c34bd2831673c1c546f8db76b0487 commit is the bad one.
If needed, I can post here any backtraces needed (just say what is needed to perform a test).
NOTE: the game works perfectly well in Win98, WinXP, WinVista and Win7
http://bugs.winehq.org/show_bug.cgi?id=24903
--- Comment #1 from Evengard evengard@trioptimum.com 2010-10-26 09:17:51 CDT --- NOTE2: the problem is still present in current GIT
http://bugs.winehq.org/show_bug.cgi?id=24903
Evengard evengard@trioptimum.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |evengard@trioptimum.com
http://bugs.winehq.org/show_bug.cgi?id=24903
Evengard evengard@trioptimum.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.35 |1.3.5
http://bugs.winehq.org/show_bug.cgi?id=24903
--- Comment #2 from Evengard evengard@trioptimum.com 2010-10-26 10:58:17 CDT --- I got this while debugging via winedbg
Unhandled exception: page fault on read access to 0xffff0027 in 32-bit code (0xffff0027). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:ffff0027 ESP:0033f6c8 EBP:0033f6f0 EFLAGS:00010202( R- -- I - - - ) EAX:0103d8f0 EBX:7ed917b8 ECX:00000100 EDX:00010052 ESI:0033f6dc EDI:00010052 Stack dump: 0x0033f6c8: 00573012 00010052 00000100 00000090 0x0033f6d8: 01450001 0033f8c8 000000b0 0103d8f0 0x0033f6e8: cccccccc cccccc01 0033f714 00573ab2 0x0033f6f8: 00010052 00000100 00000090 01450001 0x0033f708: 0033f8c8 0083ab60 0103d8f0 0033f744 0x0033f718: 7ed7262a 00010052 00000100 00000090 000c: sel=0067 base=00000000 limit=00000000 32-bit r-x Backtrace: =>0 0xffff0027 (0x0033f6f0) 1 0x00573ab2 in noxpatched (+0x173ab1) (0x0033f714) 2 0x7ed7262a WINPROC_wrapper+0x19() in user32 (0x0033f744) 3 0x7ed72d7c in user32 (+0xa2d7b) (0x0033f794) 4 0x7ed7524d in user32 (+0xa524c) (0x0033f7e4) 5 0x7ed3705e DispatchMessageA+0x9d() in user32 (0x0033f8d4) 6 0x004453f1 in noxpatched (+0x453f0) (0x7ed3b1e0) 7 0x18a164ec (0x8b55ff8b) 0xffff0027: -- no code accessible --
http://bugs.winehq.org/show_bug.cgi?id=24903
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC|evengard@trioptimum.com | Summary|Regression: NoX game |NoX game crashes when |crashes when trying |trying inputting anything |inputting anything in any |in any textbox |textbox | Severity|major |normal
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2010-10-26 11:19:28 CDT --- http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity
commit 0e270bbd226c34bd2831673c1c546f8db76b0487 Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Dec 14 20:49:52 2009 +0100
wined3d: Send window messages through the swapchain before sending them to the application.
http://bugs.winehq.org/show_bug.cgi?id=24903
--- Comment #4 from Evengard evengard@trioptimum.com 2010-10-26 11:29:23 CDT --- Created an attachment (id=31538) --> (http://bugs.winehq.org/attachment.cgi?id=31538) WINEDEBUG=+all | grep 0009 part
This is te output produced by the "all" channel (not full, only during the error producing, and truncated by using "cat log | grep 0009 > thislog" The exception is occuring on line 7555
http://bugs.winehq.org/show_bug.cgi?id=24903
--- Comment #5 from Evengard evengard@trioptimum.com 2010-10-26 11:40:45 CDT --- Another interesting thing (imm debug channel):
fixme:imm:ImmReleaseContext (0x10062, 0x128c60): stub trace:imm:ImmGetContext 0x10062 trace:imm:ImmGetContext returning 0x128c60 trace:imm:ImmProcessKey 0x10062 0x4190419 90 1450001 0 trace:imm:ImeProcessKey We do no processing via this route trace:imm:ImmGetContext 0x10062 trace:imm:ImmGetContext returning 0x128c60 trace:imm:ImmProcessKey 0x10062 0x4190419 90 1450001 0 trace:imm:ImeProcessKey We do no processing via this route wine: Unhandled page fault on read access to 0xffff0027 at address 0xffff0027 (thread 0009), starting debugger...
What is that "We do no processing via this route"??
http://bugs.winehq.org/show_bug.cgi?id=24903
Evengard evengard@trioptimum.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |evengard@trioptimum.com
http://bugs.winehq.org/show_bug.cgi?id=24903
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hverbeet@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=24903
--- Comment #6 from Evengard evengard@trioptimum.com 2010-10-29 09:11:36 CDT --- Anyone any ideas?
http://bugs.winehq.org/show_bug.cgi?id=24903
--- Comment #7 from Henri Verbeet hverbeet@gmail.com 2010-11-01 09:30:54 CDT --- Created an attachment (id=31648) --> (http://bugs.winehq.org/attachment.cgi?id=31648) patch
Looks like the application replaces the window proc after we put ours in place, and calls it directly instead of using CallWindowProc(). Does the attached patch help?
http://bugs.winehq.org/show_bug.cgi?id=24903
--- Comment #8 from Evengard evengard@trioptimum.com 2010-11-02 07:34:39 CDT --- Yes, the patch fixes the bug! Thank you! Will you add this patch to the git tree?
http://bugs.winehq.org/show_bug.cgi?id=24903
--- Comment #9 from Henri Verbeet hverbeet@gmail.com 2010-11-02 12:02:40 CDT --- Should be fixed by b66478dfbcc57e2f9cde12c1e0ae34ffcff12714.
http://bugs.winehq.org/show_bug.cgi?id=24903
--- Comment #10 from Evengard evengard@trioptimum.com 2010-11-03 08:31:08 CDT --- Yes, indeed, it is fixed in latest GIT. Thank you! Should be the bug marked as FIXED?
http://bugs.winehq.org/show_bug.cgi?id=24903
Evengard evengard@trioptimum.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #11 from Evengard evengard@trioptimum.com 2010-11-03 09:24:54 CDT --- Marking as fixed...
http://bugs.winehq.org/show_bug.cgi?id=24903
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2010-11-12 13:33:38 CST --- Closing bugs fixed in 1.3.7.
https://bugs.winehq.org/show_bug.cgi?id=24903
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b66478dfbcc57e2f9cde12c1e0a | |e34ffcff12714