http://bugs.winehq.org/show_bug.cgi?id=15209
Summary: winedbg has an infinite loop at wine/programs/winedbg/memory.c:426 Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: winedbg AssignedTo: wine-bugs@winehq.org ReportedBy: florianskarten@web.de
Created an attachment (id=15965) --> (http://bugs.winehq.org/attachment.cgi?id=15965) The backtrace made by another winedbg instance of the other winedbg.
What I did: I typed bt to get the current backtrace. I didn't notice that the backtrace is incomplete and typed list -. I waited some seconds and then I did [control] + [c]. That didn't help and I pressed the key combination again multiple times. As that didn't help I decided to give the program about 10 more minutes, but still the program was frozen. I started another winedbg instance and attached the one who could be in an infinitive loop. With that other instance I tried to find the infinitive loop. I think I have found it at: wine/programs/winedbg/memory.c:426 as I can execute the "n" command multiple times, but the program will not leave the loop. I might be wrong.
Used wine version: c2de38ea47046039d21c2ef38e8c4b01d95663f5 + one test patch of mine.
http://bugs.winehq.org/show_bug.cgi?id=15209
--- Comment #1 from Florian florianskarten@web.de 2008-09-09 14:46:30 --- Created an attachment (id=15966) --> (http://bugs.winehq.org/attachment.cgi?id=15966) the log of the winedbg which is in an infinite loop
http://bugs.winehq.org/show_bug.cgi?id=15209
--- Comment #2 from Florian florianskarten@web.de 2008-09-09 14:47:46 --- I would love to print the value of counter(used as loop condition), but that doesn't work: Wine-dbg>print counter No symbols found for counter
Undefined symbol
http://bugs.winehq.org/show_bug.cgi?id=15209
--- Comment #3 from Florian florianskarten@web.de 2008-09-09 15:07:26 --- Created an attachment (id=15967) --> (http://bugs.winehq.org/attachment.cgi?id=15967) compare of register content between two steps
http://bugs.winehq.org/show_bug.cgi?id=15209
--- Comment #4 from Florian florianskarten@web.de 2008-09-09 15:09:40 --- Created an attachment (id=15968) --> (http://bugs.winehq.org/attachment.cgi?id=15968) compare of stack content between two steps
http://bugs.winehq.org/show_bug.cgi?id=15209
--- Comment #5 from Florian florianskarten@web.de 2008-09-10 02:58:28 --- I where able to reproduce the problem. It always happen when I try to debug a test program I wrote for bug 15188.
I found the bug and committed a patch: http://www.winehq.org/pipermail/wine-patches/2008-September/061239.html
http://bugs.winehq.org/show_bug.cgi?id=15209
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=15209
Florian florianskarten@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #6 from Florian florianskarten@web.de 2008-09-12 08:52:15 --- My patch got accepted and is now commit 49c96a507530b6c361cf25e7dd7a02f70334c434.
http://bugs.winehq.org/show_bug.cgi?id=15209
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2008-09-19 11:17:48 --- Closing bugs fixed in 1.1.5.
http://bugs.winehq.org/show_bug.cgi?id=15209
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified