Closed
Bug 670953
Opened 14 years ago
Closed 14 years ago
Crash in mozilla::storage::Connection::getFilename when running the memory reporter
Categories
(Core :: SQLite and Embedded Database Bindings, defect)
Core
SQLite and Embedded Database Bindings
Tracking
()
RESOLVED
DUPLICATE
of bug 662989
People
(Reporter: mounir, Unassigned)
References
Details
(Keywords: crash)
Attachments
(1 file)
4.80 KB,
text/plain
|
Details |
See attached backtrace.
Happened when clicking on GC + CC button.
Comment 1•14 years ago
|
||
Version information? I thought this was already fixed a while ago...
![]() |
||
Comment 2•14 years ago
|
||
Yeah, bug 654573 fixed the crash that was happening after visiting about:permissions.
Bug 662985 is still open -- do you have Test Pilot installed?
And I need to get back to bug 662989 to avoid this once and for all...
Reporter | ||
Comment 3•14 years ago
|
||
(In reply to comment #2)
> Yeah, bug 654573 fixed the crash that was happening after visiting
> about:permissions.
>
> Bug 662985 is still open -- do you have Test Pilot installed?
No. I got that crash on a dev-only profile so no extension.
And I was using trunk. Probably yesterday's tip.
![]() |
||
Comment 4•14 years ago
|
||
Huh. There must be another async connection that isn't being asyncClosed.
Comment 5•14 years ago
|
||
I'm now hitting this crash reliably in Thunderbird whereas I'd never seen it before. It came after bumping my mozilla-central revision. Was there any change in the area over the last couple days?
Comment 6•14 years ago
|
||
Amendment: the crash seems to happen only when telemetry is enabled.
![]() |
||
Comment 7•14 years ago
|
||
(In reply to comment #6)
> Amendment: the crash seems to happen only when telemetry is enabled.
Telemetry triggers the bug because it consults the memory reporters, but neither telemetry or the memory reporters are at fault. An async DB connection somewhere isn't being asyncClosed as it should (see http://blog.mozilla.com/nnethercote/2011/06/09/asynchronous-database-connections-must-be-closed-with-asyncclose/ for details).
I'm about to land the fix for bug 662985 which should stop this crashing. If it happens, there'll still be a leak, and it should show up in about:memory as an entry like "places.sqlite-LEAKED". I'll mark this as a dup of 662989.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
![]() |
||
Comment 8•14 years ago
|
||
(In reply to comment #7)
>
> I'm about to land the fix for bug 662985 which should stop this crashing.
> If it happens, there'll still be a leak
To clarify: if an async DB connection is GC'd without being asyncClosed first, there'll still be a leak.
Updated•6 months ago
|
Product: Toolkit → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•