Sonar crashes when closing Markers View with NVDA running

Bug #1090586 reported by James Teh
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NVDA Sonar
Fix Released
Critical
Unassigned

Bug Description

Chris Belle reported that Sonar crashes for him when he creates a marker, opens the Markers View and then closes the Markers View. This only happens for him while NVDA is running. It does not happen with Window Eyes. He is running Windows XP and Sonar 8.5.3.

I can't reproduce this with the same version of Sonar, so perhaps this is XP specific; I'm running 7.

Chris sent me a minidump. It looks like the crash has something to do with destroying a window. However, I can't see any of NVDA's code in the stack for the crashing thread, so I can't figure out how NVDA is causing this.

Related branches

Revision history for this message
James Teh (jteh) wrote :
Revision history for this message
James Teh (jteh) wrote :

This isn't a bug in this app module, but I figured I'd hold off on filing a bug against NVDA until we can figure out what is going on here, since I can't reproduce it.

Revision history for this message
James Teh (jteh) wrote :
Download full text (8.7 KiB)

Technical: WinDBG output:

0:000> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************

Unable to load image C:\WINDOWS\system32\oleacc.dll, Win32 error 0n2
*** WARNING: Unable to verify timestamp for oleacc.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols for CJLibrary.dll -
*** ERROR: Module load completed but symbols could not be loaded for TTSRES85.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols for DShowProxy.dll -
Unable to load image C:\Program Files\Cakewalk\Shared Plugins\DeWire.dll, Win32 error 0n2
*** WARNING: Unable to verify timestamp for DeWire.dll
*** ERROR: Module load completed but symbols could not be loaded for DeWire.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols for TTSlame.dll -
Unable to load image C:\WINDOWS\system32\msdmo.dll, Win32 error 0n2
*** WARNING: Unable to verify timestamp for msdmo.dll
Unable to load image C:\WINDOWS\system32\quartz.dll, Win32 error 0n2
*** WARNING: Unable to verify timestamp for quartz.dll
Unable to load image C:\WINDOWS\system32\devenum.dll, Win32 error 0n2
*** WARNING: Unable to verify timestamp for devenum.dll
Unable to load image C:\WINDOWS\system32\msasn1.dll, Win32 error 0n2
*** WARNING: Unable to verify timestamp for msasn1.dll
Unable to load image C:\WINDOWS\system32\shlwapi.dll, Win32 error 0n2
*** WARNING: Unable to verify timestamp for shlwapi.dll
Unable to load image C:\WINDOWS\system32\urlmon.dll, Win32 error 0n2
*** WARNING: Unable to verify timestamp for urlmon.dll
*************************************************************************
*** ***
*** ***
*** Your debugger is not using the correct symbols ***
*** ***
*** In order for this command to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** ***
*** Type referenced: kernel32!pNlsUserInfo ***
*** ***
*************************************************************************
*************************************************************************
*** ...

Read more...

Revision history for this message
James Teh (jteh) wrote :

Chris, does it make any difference if you start NVDA before Sonar as compared to starting it afterwards?

Revision history for this message
chris belle (cb1963) wrote : Re: [Bug 1090586] Re: Sonar crashes when closing Markers View with NVDArunning

YOu know, I don't think so, but I'll try it again and see.

For all your audio production needs and technology training, visit us at
www.affordablestudioservices.com
Chris Belle <email address hidden>
Stephie Belle <email address hidden> for customized web design
----- Original Message -----
From: "James Teh" <email address hidden>
To: <email address hidden>
Sent: Friday, December 14, 2012 5:02 PM
Subject: [Bug 1090586] Re: Sonar crashes when closing Markers View with
NVDArunning

Chris, does it make any difference if you start NVDA before Sonar as
compared to starting it afterwards?

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1090586

Title:
  Sonar crashes when closing Markers View with NVDA running

Status in NVDA App Module for Cakewalk Sonar:
  New

Bug description:
  Chris Belle reported that Sonar crashes for him when he creates a
  marker, opens the Markers View and then closes the Markers View. This
  only happens for him while NVDA is running. It does not happen with
  Window Eyes. He is running Windows XP and Sonar 8.5.3.

  I can't reproduce this with the same version of Sonar, so perhaps this
  is XP specific; I'm running 7.

  Chris sent me a minidump. It looks like the crash has something to do
  with destroying a window. However, I can't see any of NVDA's code in
  the stack for the crashing thread, so I can't figure out how NVDA is
  causing this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nvda-sonar/+bug/1090586/+subscriptions

Revision history for this message
chris belle (cb1963) wrote :

Well, we are running two different operating systems.

I might slip in my win7 caddy and install nvda on it and see if she behaves
or not.

For all your audio production needs and technology training, visit us at
www.affordablestudioservices.com
Chris Belle <email address hidden>
Stephie Belle <email address hidden> for customized web design
----- Original Message -----
From: "James Teh" <email address hidden>
To: <email address hidden>
Sent: Friday, December 14, 2012 4:47 PM
Subject: [Bug 1090586] Re: Sonar crashes when closing Markers View with
NVDArunning

This isn't a bug in this app module, but I figured I'd hold off on
filing a bug against NVDA until we can figure out what is going on here,
since I can't reproduce it.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1090586

Title:
  Sonar crashes when closing Markers View with NVDA running

Status in NVDA App Module for Cakewalk Sonar:
  New

Bug description:
  Chris Belle reported that Sonar crashes for him when he creates a
  marker, opens the Markers View and then closes the Markers View. This
  only happens for him while NVDA is running. It does not happen with
  Window Eyes. He is running Windows XP and Sonar 8.5.3.

  I can't reproduce this with the same version of Sonar, so perhaps this
  is XP specific; I'm running 7.

  Chris sent me a minidump. It looks like the crash has something to do
  with destroying a window. However, I can't see any of NVDA's code in
  the stack for the crashing thread, so I can't figure out how NVDA is
  causing this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nvda-sonar/+bug/1090586/+subscriptions

Revision history for this message
chris belle (cb1963) wrote :

Hey, i can't go back before window-eyes was installed.

That'll teach me to put that bugware on my images, but I guess it's a catch
22, I installed the screen-reader to make some settings which you can't
hardly do with narrator, and even though I often image and restore in dos, I
guess I never thought it'd be a problem.

But I should have thought better, ofcourse anything you install can be a
potential problem.

So i have early images that don't even have the realtek drivers installed,
but no window-eyes free installs.

ah well, such is life.

s

For all your audio production needs and technology training, visit us at
www.affordablestudioservices.com
Chris Belle <email address hidden>
Stephie Belle <email address hidden> for customized web design
----- Original Message -----
From: "James Teh" <email address hidden>
To: <email address hidden>
Sent: Friday, December 14, 2012 4:47 PM
Subject: [Bug 1090586] Re: Sonar crashes when closing Markers View with
NVDArunning

This isn't a bug in this app module, but I figured I'd hold off on
filing a bug against NVDA until we can figure out what is going on here,
since I can't reproduce it.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1090586

Title:
  Sonar crashes when closing Markers View with NVDA running

Status in NVDA App Module for Cakewalk Sonar:
  New

Bug description:
  Chris Belle reported that Sonar crashes for him when he creates a
  marker, opens the Markers View and then closes the Markers View. This
  only happens for him while NVDA is running. It does not happen with
  Window Eyes. He is running Windows XP and Sonar 8.5.3.

  I can't reproduce this with the same version of Sonar, so perhaps this
  is XP specific; I'm running 7.

  Chris sent me a minidump. It looks like the crash has something to do
  with destroying a window. However, I can't see any of NVDA's code in
  the stack for the crashing thread, so I can't figure out how NVDA is
  causing this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nvda-sonar/+bug/1090586/+subscriptions

Revision history for this message
chris belle (cb1963) wrote :

Hey Jamie?

I tested this on win7 and it didn't blow up, so I think it's an xp and nvda
clash.

On w7. I exitted the markers view with no problems.

----- Original Message -----
From: "James Teh" <email address hidden>
To: <email address hidden>
Sent: Friday, December 14, 2012 4:47 PM
Subject: [Bug 1090586] Re: Sonar crashes when closing Markers View with
NVDArunning

This isn't a bug in this app module, but I figured I'd hold off on
filing a bug against NVDA until we can figure out what is going on here,
since I can't reproduce it.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1090586

Title:
  Sonar crashes when closing Markers View with NVDA running

Status in NVDA App Module for Cakewalk Sonar:
  New

Bug description:
  Chris Belle reported that Sonar crashes for him when he creates a
  marker, opens the Markers View and then closes the Markers View. This
  only happens for him while NVDA is running. It does not happen with
  Window Eyes. He is running Windows XP and Sonar 8.5.3.

  I can't reproduce this with the same version of Sonar, so perhaps this
  is XP specific; I'm running 7.

  Chris sent me a minidump. It looks like the crash has something to do
  with destroying a window. However, I can't see any of NVDA's code in
  the stack for the crashing thread, so I can't figure out how NVDA is
  causing this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nvda-sonar/+bug/1090586/+subscriptions

Revision history for this message
chris belle (cb1963) wrote :

Oh by the way, I have both 32 and 64 bit sonar installed on my sorely
under-used w7 drive, and I tested with the 32 bit version I didn't get
around to the 64 bit version because window-eyes decided to get in an
infinite loop, and the only way I could get it to quit was to edit the
wineyes.ini file and turn off they're stupid scripts.

It's nuts.

Over-all slightly better experiences with window-eyes on w7 with later
versions, but man they're stufff is buggy, but that's not our concern here,
just saying.

Nvda behaved beautifully like a cheer-leader in her prime.

And so did jaws by the way.

I could only stand it for a couple hours though, now we're back on good old
xp where everything just works right for the most part, and stability is
king.

----- Original Message -----
From: "James Teh" <email address hidden>
To: <email address hidden>
Sent: Friday, December 14, 2012 4:47 PM
Subject: [Bug 1090586] Re: Sonar crashes when closing Markers View with
NVDArunning

This isn't a bug in this app module, but I figured I'd hold off on
filing a bug against NVDA until we can figure out what is going on here,
since I can't reproduce it.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1090586

Title:
  Sonar crashes when closing Markers View with NVDA running

Status in NVDA App Module for Cakewalk Sonar:
  New

Bug description:
  Chris Belle reported that Sonar crashes for him when he creates a
  marker, opens the Markers View and then closes the Markers View. This
  only happens for him while NVDA is running. It does not happen with
  Window Eyes. He is running Windows XP and Sonar 8.5.3.

  I can't reproduce this with the same version of Sonar, so perhaps this
  is XP specific; I'm running 7.

  Chris sent me a minidump. It looks like the crash has something to do
  with destroying a window. However, I can't see any of NVDA's code in
  the stack for the crashing thread, so I can't figure out how NVDA is
  causing this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nvda-sonar/+bug/1090586/+subscriptions

Revision history for this message
James Teh (jteh) wrote :

I was able to reproduce this. It only occurs with Sonar 8.5 (not 8.0) and only in Windows XP. It occurs with Narrator as well. The crash seems to be somewhere in oleacc.dll. Apparently, it doesn't happen with either Window Eyes or JAWS.

After several hours of frustrating debugging, I've tracked this down to a nameChange event for the Markers View toolbar, which causes us to create an object for it. It seems that just creating an object for this toolbar, regardless of when, will eventually lead to a crash. Window Eyes and JAWS probably don't bother to handle the name change event for this, which explains why they are immune.

We can hack around this by monkey patching processGenericWinEvent to ignore nameChange events for window class ToolbarWindow32, control ID 59392.

James Teh (jteh)
Changed in nvda-sonar:
status: New → Fix Committed
James Teh (jteh)
Changed in nvda-sonar:
milestone: none → 0.1
James Teh (jteh)
Changed in nvda-sonar:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.