http://bugs.winehq.org/show_bug.cgi?id=19236
Summary: division by zero in CreateUrlCacheEntryW in wininet Product: Wine Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: wininet AssignedTo: wine-bugs@winehq.org ReportedBy: dillinger417@yahoo.com
the value stored in register eax is being divided by the value stored in register ecx which is 0.
http://bugs.winehq.org/show_bug.cgi?id=19236
--- Comment #1 from dillinger417 dillinger417@yahoo.com 2009-07-08 10:42:19 --- Created an attachment (id=22256) --> (http://bugs.winehq.org/attachment.cgi?id=22256) output from winedbg Wow.exe
http://bugs.winehq.org/show_bug.cgi?id=19236
dillinger417 dillinger417@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #22256|application/octet-stream |text/text mime type| |
http://bugs.winehq.org/show_bug.cgi?id=19236
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #22256|text/text |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=19236
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal
--- Comment #2 from Juan Lang juan_lang@yahoo.com 2009-07-08 10:53:02 --- Not a blocker: http://bugs.winehq.org/page.cgi?id=fields.html#importance
Please get a backtrace from a version of Wine with debug symbols.
http://bugs.winehq.org/show_bug.cgi?id=19236
--- Comment #3 from dillinger417 dillinger417@yahoo.com 2009-07-08 14:57:28 --- (In reply to comment #2)
Not a blocker: http://bugs.winehq.org/page.cgi?id=fields.html#importance
Please get a backtrace from a version of Wine with debug symbols.
I would be happy to, but I'm not sure how to do that exactly. Is there some further information you could point me to?
http://bugs.winehq.org/show_bug.cgi?id=19236
--- Comment #4 from Austin English austinenglish@gmail.com 2009-07-08 15:02:22 --- (In reply to comment #3)
(In reply to comment #2)
Not a blocker: http://bugs.winehq.org/page.cgi?id=fields.html#importance
Please get a backtrace from a version of Wine with debug symbols.
I would be happy to, but I'm not sure how to do that exactly. Is there some further information you could point me to?
It should be automatic. If not, try running under winedbg. Also, see http://wiki.winehq.org/Backtraces
http://bugs.winehq.org/show_bug.cgi?id=19236
--- Comment #5 from dillinger417 dillinger417@yahoo.com 2009-07-08 15:10:33 --- (In reply to comment #4)
(In reply to comment #3)
(In reply to comment #2)
Not a blocker: http://bugs.winehq.org/page.cgi?id=fields.html#importance
Please get a backtrace from a version of Wine with debug symbols.
I would be happy to, but I'm not sure how to do that exactly. Is there some further information you could point me to?
It should be automatic. If not, try running under winedbg. Also, see http://wiki.winehq.org/Backtraces
The backtrace in the attachment isn't sufficient?
http://bugs.winehq.org/show_bug.cgi?id=19236
--- Comment #6 from Austin English austinenglish@gmail.com 2009-07-08 15:25:31 --- (In reply to comment #5)
The backtrace in the attachment isn't sufficient?
=>0 0x7d8935ee CreateUrlCacheEntryW+0x38e() in wininet (0x0869c7e8) 1 0x7d880fc9 HTTP_HttpSendRequestW+0x15c9() in wininet (0x0869e9c8)
those should show line numbers for the code.
http://bugs.winehq.org/show_bug.cgi?id=19236
--- Comment #7 from dillinger417 dillinger417@yahoo.com 2009-07-08 15:49:26 --- (In reply to comment #6)
(In reply to comment #5)
The backtrace in the attachment isn't sufficient?
=>0 0x7d8935ee CreateUrlCacheEntryW+0x38e() in wininet (0x0869c7e8) 1 0x7d880fc9 HTTP_HttpSendRequestW+0x15c9() in wininet (0x0869e9c8)
those should show line numbers for the code.
It should be automatic. If not, try running under winedbg. Also, see http://wiki.winehq.org/Backtraces
Please see the attachment 'Output from two terminals'. I have tried the steps as indicated in the link.
http://bugs.winehq.org/show_bug.cgi?id=19236
--- Comment #8 from dillinger417 dillinger417@yahoo.com 2009-07-08 15:50:37 --- Created an attachment (id=22270) --> (http://bugs.winehq.org/attachment.cgi?id=22270) Output from two terminals as described in http://wiki.winehq.org/Backtraces
http://bugs.winehq.org/show_bug.cgi?id=19236
--- Comment #9 from Austin English austinenglish@gmail.com 2009-07-08 16:01:44 --- (In reply to comment #8)
Created an attachment (id=22270)
--> (http://bugs.winehq.org/attachment.cgi?id=22270) [details]
Output from two terminals as described in http://wiki.winehq.org/Backtraces
Your copy of wine lacks debugging symbols...you need to either compile it, or possibly install wine-dev or wine-dbg from your package manager.
http://bugs.winehq.org/show_bug.cgi?id=19236
dillinger417 dillinger417@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #10 from dillinger417 dillinger417@yahoo.com 2009-07-13 15:38:53 --- I did go ahead and build wine from source for debugging symbols, but during that time I was trying some other things, and I fixed the problem by deleting my ~/.wine folder. Perhaps wine killed the previous session before a configuration file used could be fully written to. I would suggest that there is still a bug, in that there should be a better way to handle the situation than crashing the app because of an attempted divide by zero. Perhaps some sort of default value to use in the case of reading a zero. Or a check to make sure the configuration file is complete/valid. This is just guesswork on my part. I don't know enough about Wine to say. My $.02.
Anyway, even though I saved out my ~/.wine to ~/.wine-bak, and after compiling restored it, I was unable to reproduce the bug.
Thanks for the help and patience.
http://bugs.winehq.org/show_bug.cgi?id=19236
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|ABANDONED |INVALID
--- Comment #11 from Ken Sharp kennybobs@o2.co.uk 2009-07-13 16:04:49 --- Invalid then.
http://bugs.winehq.org/show_bug.cgi?id=19236
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Ken Sharp kennybobs@o2.co.uk 2009-07-13 16:05:13 --- Closing.