http://bugs.winehq.org/show_bug.cgi?id=21072
Summary: Dragon NaturallySpeaking freezes then crashes after about a half hour of use. Product: Wine Version: 1.1.35 Platform: x86 URL: http://nuance.com OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus AssignedTo: wine-bugs@winehq.org ReportedBy: susancragin@earthlink.net
Created an attachment (id=25272) --> (http://bugs.winehq.org/attachment.cgi?id=25272) winedbg backtrace BreakOnFirstChance=0
After running well for over half an hour, Dragon NaturallySpeaking freezes up. To repeat behavior:
open Dragon NaturallySpeaking. open Notepad
Within NatSpeak, open the DictationBox and dictate into it. The text appears in the DictationBox. Say "Transfer that" to transfer text to Notepad.
Repeat about ten times.
It doesn't seem to matter if I close and re-open Dictation Box a lot, or if I keep it open until I have dictated a lot of text.
I have attached a backtrace.
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #1 from Vincent Povirk madewokherd@gmail.com 2009-12-18 23:13:44 --- That backtrace doesn't make any sense.
Can you get a +gdiplus,+bitmap log?
http://bugs.winehq.org/show_bug.cgi?id=21072
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=21072
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #2 from Dan Kegel dank@kegel.com 2009-12-19 10:25:21 --- Could that backtrace be a benign one from a dibsection fault?
Susan, how long does it take to reproduce with your short recipe - that doesn't sound like half an hour, it sounds quick, right?
What happens if you run with WINEDEBUG=warn+heap, are there any interesting errors?
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #3 from Vincent Povirk madewokherd@gmail.com 2009-12-19 10:37:00 --- GdipDrawImagePointsRect doesn't actually check whether CreateCompatibleDC and CreateDIBSection succeeded. Although if either of them failed something is terribly wrong.
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #4 from Susan Cragin susancragin@earthlink.net 2009-12-19 20:02:03 --- Created an attachment (id=25293) --> (http://bugs.winehq.org/attachment.cgi?id=25293) winedbg warn heap
Dan, NatSpeak runs for more than a few minutes. Not always for a half-hour, but more than just a couple of minutes. I am attaching a warn-heap message where the program did not crash, but did exhibit what I might call pre-crash behavior. It had been running for almost 30 minutes. Pre-crash behavior is: First, DragonBox opened very slowly. After I dictated some text, it refused to transfer text from the DictationBox to Notepad. (So I "forced" the text transfer using CTL-V.) Then when I closed Notepad and opened it again, Notepad opened without recognizing font-smoothing. Then the program didn't recognize the sound card, and sort of froze. So I closed every thing manually.
The log shows no good gdi stuff. The only two messages I see are very common. fixme:gdiplus:GdipSetPathGradientSurroundColorsWithCount not implemented fixme:gdiplus:GdipSetPathGradientBlend not implemented
On the log, you will notice that there is trouble with alsa, because the sound card becomes not recognized. This may be a separate problem. Problems with alsa come after the program misbehaves.
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #5 from Dan Kegel dank@kegel.com 2009-12-19 21:02:22 --- Your log has scary messages like err:heap:HEAP_ValidateInUseArena Heap 0x110000: in-use arena 0x524c988 next block has PREV_FREE flag which indicates a corrupt heap and means a crash is likely. How soon do the err:heap messages start showing up?
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #6 from Susan Cragin susancragin@earthlink.net 2009-12-19 21:07:21 --- Created an attachment (id=25294) --> (http://bugs.winehq.org/attachment.cgi?id=25294) gdiplus and bitmap log, tail last 1000 lines only
Again, the program didn't actually crash, just exhibited pre-crash buggy behavior, as follows. After a while it was very slow to open DictationBox. Then DictationBox refused to transfer text to Notepad.
I used the program for over forty minutes. The program got buggy behavior after about twenty minutes. Normally, it crashes shortly after behavior turns buggy.
Could it be that using WINEDBG prevents the crash for some reason?
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #7 from Dan Kegel dank@kegel.com 2009-12-19 21:12:26 --- Yeah, WINEDEBUG settings can accidentally make bugs go away (which qualifies them as Heisenbugs :-).
If you see err:heap messages, it typically means you've hit either a wine bug or an app bug, and the next step may be to apply the heap checking patches, do winetricks heapcheck, and see if you get any interesting heap warnings. And the next step after that is to also run the app under valgrind... but that's hard, since it makes the app run Really Slow and take Lots Of Ram, and only pinpoints a bug occasionally. (But when it does, it's really the bomb.)
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #8 from Susan Cragin susancragin@earthlink.net 2009-12-19 21:16:29 ---
How soon do the err:heap messages start showing up?
Well, probably within about 5-10 minutes of starting the program. You have the whole warn heap log, not just the tail.
Those heap messages probably correspond to all the times I was trying to paste text from DictationBox to Notepad. The placement is about right.
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #9 from Dan Kegel dank@kegel.com 2009-12-19 21:18:53 --- Sounds like a smoking gun to me... how quickly can you try that after starting? If you see heap errors after recognizing one word and pasting that to notepad, that's really narrowing down the problem.
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #10 from Susan Cragin susancragin@earthlink.net 2009-12-19 22:10:17 --- Created an attachment (id=25295) --> (http://bugs.winehq.org/attachment.cgi?id=25295) 2 immediate crashes with heap warnings
(In reply to comment #9)
Sounds like a smoking gun to me... how quickly can you try that after starting? If you see heap errors after recognizing one word and pasting that to notepad, that's really narrowing down the problem.
I tried running winedbg with the terminal open so I could see where the heap error messages occurred. It takes the program quite a while to load and "initialize" the dictation engine, and one heap warning pops up before the program can be used.
Twice the program crashed before it finished loading. I don't know what that was about, but have attached one (very short) logs because it contains another heap error:
warn:heap:allocate_large_block Could not allocate block for aaaaaab6 bytes
I'll give it one more try tonight.
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #11 from Susan Cragin susancragin@earthlink.net 2009-12-19 22:53:18 --- Created an attachment (id=25296) --> (http://bugs.winehq.org/attachment.cgi?id=25296) running winedbg in terminal
No, all the heap errors are not related to opening DictationBox. A couple occur before the program has loaded and initialized. The logfile I just attached, One Brief Hello, is the entire logfile when all I did was open the program, get it running, open DictationBox, say Hello into it, Transfer Close, and then closed the program.
http://bugs.winehq.org/show_bug.cgi?id=21072
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|dns-freeze |
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #12 from Susan Cragin susancragin@earthlink.net 2009-12-22 12:35:17 --- I developed another problem by testing this. Somehow my Nuance registration process is not working properly. Normally, I am allowed to re-register using the same permission as long as I have the same machine footprint, but now I am "using up" a new registration each time I re-install. I contacted Nuance and they said no changes there, and wonder if something I have done, or something wine is doing, could affect the recognition of the computer footprint.
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #13 from Vincent Povirk madewokherd@gmail.com 2011-03-10 15:07:11 CST --- Could you try this with the latest Wine? I'm hoping d0e6aa0204a5cd6c7d2f4696019f6f87897cf478 fixed it. (And if not, I finally have the tools to investigate.)
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #14 from Susan Cragin susancragin@earthlink.net 2011-03-14 09:49:29 CDT --- (In reply to comment #13)
I spent quite a bit of time testing this over the weekend. My conclusion is that your patch worked. The crash behavior has either gone or you have extended it very far out into the future. The "freeze' behavior has changed. The entire program doesn't freeze. However, the behavior that preceded it is still there, and is described below.
What's supposed to happen: DictationBox is supposed to open quickly. Then the user dictates text into it, says "Transfer that," and the DictationBox is supposed to close and the text magically transfers into the open non-NatSpeak application. (I use Notepad2 running under wine.)
What now happens: DictationBox works as promised for about 20 minutes. However, after a while the command "Transfer that," becomes buggy. DictationBox does not close right away, and usually text must be transferred manually by using CTL-V.
Solution: (1) close the program and re-open it. (2) Open DictationBox. (3) TYPE one letter into it and then hit "Transfer that." (The text may or may not transfer.) (3) Close the program. (4) Re-open the program.
My suspicion is that there is a buffer to hold DictationBox text, and that buffer is either not being cleared or it's working space is somehow compromised.
HTH.
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #15 from Vincent Povirk madewokherd@gmail.com 2011-05-06 14:45:07 CDT --- Does native gdiplus help?
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #16 from Susan Cragin susancragin@earthlink.net 2011-05-06 15:14:51 CDT --- (In reply to comment #15)
Does native gdiplus help?
If by "native" you mean the wine version, I use that most of the time anyway. I don't think it helps much if at all. It does not remove the behaviour.
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #17 from Dan Kegel dank@kegel.com 2011-05-06 15:20:37 CDT --- No, by native, he means the one from microsoft, e.g. 'winetricks gdiplus'.
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #18 from Susan Cragin susancragin@earthlink.net 2011-05-06 16:02:25 CDT --- (In reply to comment #17)
No, by native, he means the one from microsoft, e.g. 'winetricks gdiplus'.
Sorry. That's what I meant. I use Microsoft's, not wine's. I'm a bit distracted today.
http://bugs.winehq.org/show_bug.cgi?id=21072
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|gdiplus |-unknown
--- Comment #19 from Vincent Povirk madewokherd@gmail.com 2011-05-06 16:07:14 CDT --- Some other component then.
http://bugs.winehq.org/show_bug.cgi?id=21072
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #20 from joaopa jeremielapuree@yahoo.fr 2012-05-13 17:24:53 CDT --- Still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=21072
--- Comment #21 from Susan Cragin susancragin@earthlink.net 2012-05-14 06:30:57 CDT --- This bug has been fixed. I am unable to target exactly what fixed it, but it's been fixed for over three months.
http://bugs.winehq.org/show_bug.cgi?id=21072
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #22 from Nikolay Sivov bunglehead@gmail.com 2012-05-14 06:35:04 CDT --- Thanks for testing.
http://bugs.winehq.org/show_bug.cgi?id=21072
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org 2012-05-25 13:41:04 CDT --- Closing bugs fixed in 1.5.5.