[Bug 19407] New: Segfault running cmd.exe
http://bugs.winehq.org/show_bug.cgi?id=19407 Summary: Segfault running cmd.exe Product: Wine Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: michel.gutierrez(a)gmail.com Created an attachment (id=22504) --> (http://bugs.winehq.org/attachment.cgi?id=22504) Crash log Tracking down a wine crash in running a .bat file from cmd, i narrowed down the issue to a simple command line: Z:\home\mig>IF DEFINED FOO () works (of course it does nothing) Z:\home\mig>IF NOT DEFINED FOO () crashes: wine: Unhandled page fault on read access to 0x00000000 at address 0x7ed18893 (thread 0028), starting debugger... ... ... Traces attached as separate file ... The problem appears using wine-1.0.1 but it was also there in win-1.0 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19407 michel.gutierrez(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michel.gutierrez(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19407 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |programs Version|unspecified |1.0.1 Ever Confirmed|0 |1 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> 2009-07-21 11:43:01 --- Confirming with 1.1.26. It crashes like that: --- wine: Unhandled page fault on read access to 0x00000000 at address 0x7ec0418b (thread 0009), starting debugger... wine: Unhandled page fault on read access to 0x00000028 at address 0x7ebc4524 (thread 0024), starting debugger... wine: Unhandled page fault on read access to 0x00000028 at address 0x7ebcd524 (thread 0026), starting debugger... wine: Unhandled page fault on read access to 0x00000028 at address 0x7ebcd524 (thread 0028), starting debugger... --- with new thread each time I close fault reporting dialog. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19407 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19407 --- Comment #2 from Juan Lang <juan_lang(a)yahoo.com> 2009-08-12 19:39:28 --- Created an attachment (id=23033) --> (http://bugs.winehq.org/attachment.cgi?id=23033) Patch: Don't crash if command is NULL This fixes it for me, I'll send it in. Would you mind testing it to make sure it doesn't break anything else? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19407 --- Comment #3 from Juan Lang <juan_lang(a)yahoo.com> 2009-08-12 20:13:20 --- Actually, I don't like the patch all that much. I'll attach one I like better in a sec. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19407 Juan Lang <juan_lang(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #23033|0 |1 is obsolete| | --- Comment #4 from Juan Lang <juan_lang(a)yahoo.com> 2009-08-12 20:14:57 --- Created an attachment (id=23034) --> (http://bugs.winehq.org/attachment.cgi?id=23034) Patch: Only execute non-empty commands I think this one's better. Would you mind checking it doesn't break your batch programs in other places? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19407 Juan Lang <juan_lang(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Juan Lang <juan_lang(a)yahoo.com> 2009-08-13 10:45:02 --- Fixed in commit 9c7ded0973e5956ef8668301e76314b351c7aa6f. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19407 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> 2009-08-21 12:54:08 --- Closing bugs fixed in 1.1.28. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19407 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|programs |cmd -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org