Last Comment Bug 632341 - ###!!! ASSERTION: Shutdown called when mLibrary is null?: 'mLibrary'
: ###!!! ASSERTION: Shutdown called when mLibrary is null?: 'mLibrary'
Status: RESOLVED FIXED
: assertion
Product: Core
Classification: Components
Component: Widget: Win32 (show other bugs)
: unspecified
: x86 Windows Vista
: -- trivial (vote)
: ---
Assigned To: Doug Turner (:dougt)
:
: Jim Mathies [:jimm]
Mentors:
Depends on:
Blocks: 513233
  Show dependency treegraph
 
Reported: 2011-02-08 03:39 PST by neil@parkwaycc.co.uk
Modified: 2011-07-17 17:32 PDT (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
patch v.1 (859 bytes, patch)
2011-07-15 11:03 PDT, Doug Turner (:dougt)
blassey.bugs: review+
Details | Diff | Splinter Review

Description neil@parkwaycc.co.uk 2011-02-08 03:39:50 PST
Steps to reproduce problem:
1. View an accelerator-enabled page
2. View a different page
Comment 1 Jesse Ruderman 2011-07-14 13:10:33 PDT
I've hit this while fuzzing.
Comment 2 Jesse Ruderman 2011-07-14 13:11:02 PDT
###!!! ASSERTION: Shutdown called when mLibrary is null?: 'mLibrary', file dom/system/windows/nsDeviceMotionSystem.cpp, line 101
Comment 3 Doug Turner (:dougt) 2011-07-15 11:03:29 PDT
Created attachment 546193 [details] [diff] [review]
patch v.1

On some windows boxes, sensor.dll isn't present.  This causes Startup() to fail -- which is fine.  The problem though, is when Shutdown() is called, we assert that mLibrary (which is the handle to the dll) is null.  This is clearly bogus.
Comment 4 Brad Lassey [:blassey] (use needinfo?) 2011-07-15 11:06:54 PDT
Comment on attachment 546193 [details] [diff] [review]
patch v.1

Review of attachment 546193 [details] [diff] [review]:
-----------------------------------------------------------------
Comment 6 Joe Drew (not getting mail) 2011-07-17 17:32:43 PDT
http://hg.mozilla.org/mozilla-central/rev/e91cb57c884d

Note You need to log in before you can comment on or make changes to this bug.