Closed Bug 376709 Opened 18 years ago Closed 17 years ago

Thunderbird 2.0 crashes at shutdown [@ nsUrlClassifierDBService::Shutdown ] [@ nsUrlClassifierDBService::Observe] ... [@ kernel32.dll + 0x16fd7]

Categories

(Thunderbird :: General, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 321024

People

(Reporter: jeanmichel.reghem, Assigned: mscott)

References

Details

(Keywords: crash, helpwanted, topcrash)

Crash Data

Got 3 crashes in the last 2 weeks ... each times when i shut down TB Windows Vista Business Intel Core 2 Duo, used with long hibernation mode Thunderbird 2.0.0.0pre (build 2007040404) Extensions: Buttons! 0.5.3.1 Nighly Tester Tools 1.2.1 (+ TalkBack) TB30912606Y Incident ID: 30912606 Stack Signature nsUrlClassifierDBService::Shutdown abadd9b9 Product ID Thunderbird2 Build ID 2007040404 Trigger Time 2007-04-05 07:34:41.0 Platform Win32 Operating System Windows NT 6.0 build 6000 Module thunderbird.exe + (003e4923) URL visited crash at close User Comments crash at close Since Last Crash 15482 sec Total Uptime 15482 sec Trigger Reason Access violation Source File, Line No. e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/toolkit/components/url-classifier/src/nsUrlClassifierDBService.cpp, line 1105 Stack Trace nsUrlClassifierDBService::Shutdown [mozilla/toolkit/components/url-classifier/src/nsUrlClassifierDBService.cpp, line 1105] nsUrlClassifierDBService::Observe [mozilla/toolkit/components/url-classifier/src/nsUrlClassifierDBService.cpp, line 1062] NS_ShutdownXPCOM_P [mozilla/xpcom/build/nsXPComInit.cpp, line 814] ScopedXPCOMStartup::~ScopedXPCOMStartup [mozilla/toolkit/xre/nsAppRunner.cpp, line 743] main [mozilla/mail/app/nsMailApp.cpp, line 62] kernel32.dll + 0x43833 (0x761a3833) ntdll.dll + 0x3a9bd (0x772fa9bd) Similar Talkback: TB30700813W TB30519299Z I'm using TB 2.0 before alpha 1 and never see this bug before. I was on Windows XP and now on Vista for begining of march ... Don't find a similar bug on bugzilla ...
Flags: blocking-thunderbird2?
http://talkback-public.mozilla.org/search/start.jsp?search=1&searchby=stacksig&match=contains&searchfor=nsUrlClassifierDBService::Shutdown&vendor=MozillaOrg&product=Thunderbird2&platform=All&buildid=&sdate=&stime=&edate=&etime=&sortby=bbid 121 crashes found where the Stack Signature contains 'nsurlclassifierdbservice::shutdown' and the Deployment ID looks like 'MozillaOrgThunderbird2%%' and the sort is by ID --> Windows Vista, windows XP, Linux etc --> setting OS to ALL Major comments was about crash at close. Only one with "Tagging a message then trying to move to a folder. This happens OFTEN on three different T-Bird 2.0 beta2 installs (2 PC, 1 Mac). Usually it just kind of hangs up the IMAP and you can't move the message or read anything else until you go out and back" ... don't know if this is really the TB related to the bug
OS: Windows Vista → All
Thanks for the great report, Jean-Michel. The code that uses the URL Classifier landed in Thunderbird back in November of '06, so this regression (assuming it is one) might have been caused by some recent changes to the URL Classifier itself. It doesn't look like there are any crashes with this signature for Firefox...
Summary: TB 2.0pre crashes at shutdown [ @nsUrlClassifierDBService::Shutdown ] → TB 2.0pre crashes at shutdown [@ nsUrlClassifierDBService::Shutdown ]
OK, so it looks like this crash has been around for a while in both Firefox2, Thunderbird2 and ThunderbirdTrunk (since Dec. '06, which would be the oldest incidents in the DB). It occurs much more often in Thunderbird than Firefox, though.
This sounds like bug 366528 or bug 321024. Last time I looked at it (a while ago) I wasn't able to reproduce on Firefox on OSX. It looks like it happens a lot more frequently to tbird, so I can try to repro there (may take some time as I learn how to checkout/build).
Depends on: 321024
Maybe bug 321024 ... i don't know if the fix of version in trunk (1.21 of nsUrlClassifierDBService.cpp http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/components/url-classifier/src/nsUrlClassifierDBService.cpp&rev=1.21&root=/cvsroot ) can fix this bug on the branch ... yet got 2 crash in the last week: TB31486211G TB30912606Y (same stack)
Summary: TB 2.0pre crashes at shutdown [@ nsUrlClassifierDBService::Shutdown ] → Thunderbird 2.0 crashes at shutdown [@ nsUrlClassifierDBService::Shutdown ]
Scott, David, this bug is on rank 14 of the topcrasher list for Thunderbird 2.0. Do you see any chance to get this fixed for the 1.8 branch? See comment 5 for a possible fix.
Keywords: topcrash
Not targed for Thunderbird 2.0 yet. Removing target flag.
Target Milestone: Thunderbird2.0 → ---
Version 1.21 of nsUrlClassifierDBService.cpp didn't fix the crash for firefox.
Keywords: helpwanted
Every stack I examined on talkback is the same nsUrlClassifierDBService::Shutdown nsUrlClassifierDBService::Observe NS_ShutdownXPCOM_P ScopedXPCOMStartup::~ScopedXPCOMStartup main kernel32.dll + 0x43833 (0x761a3833) ntdll.dll except some lack the "ntdll.dll". Most are in user initiated shutdown - but there are two other common themes - user sending and deleting mail, eg TB37789267 send (vista) TB37749864 send (XP) TB37373273 deleting junk e-mail. TB37224597 reading and deleting TB37404411 using Dragon NaturallySpeaking Isn't it odd that the stack is so short, like it got stomped on? And that users who were not shutting down got the _same_ stack? (In reply to comment #8) > Version 1.21 of nsUrlClassifierDBService.cpp didn't fix the crash for firefox. stack for FF bug 321024 is different - so there is no clear link to this bug. But, patch is picked in TB 2.0.0.9 pre. Jean-Michel, 1. what % of your shutdowns result in crash? 2. can you try TB 2.0.0.9 RC and see if your crash disappears? http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/2.0.0.9-candidates/rc1/ > ...this bug is on rank 14 of the topcrasher list for Thunderbird 2.0. #6 now in the TB 2.0.0.6 crash ranking - so deserving of more attention. _no_ crashes on breakpad/trunk - does that imply anything useful? perhaps that bug 321024 did help on trunk (I think it landed before TB trunk crashes started going to crash-stats)
Summary: Thunderbird 2.0 crashes at shutdown [@ nsUrlClassifierDBService::Shutdown ] → Thunderbird 2.0 crashes at shutdown [@ nsUrlClassifierDBService::Shutdown ] [@ nsUrlClassifierDBService::Observe] ... [@ kernel32.dll + 0x16fd7]
Sorry, but i don't get this crash anymore because i got an other crash at shutdown ... maybe it comes before :-) --> bug 394129 I got this crash for TB 2.0.0.7pre or FF 2.0.0.10pre (20071105)
Flags: blocking-thunderbird2?
(In reply to comment #10) > Sorry, but i don't get this crash anymore Resolving WFM. (Most of the talkback reports are also inaccessible at the time of writing) Please feel free to comment if the crash still occurs in the latest 2.0.0.x or trunk nightlies.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
(In reply to comment #11) > Resolving WFM. (Most of the talkback reports are also inaccessible at the time > of writing) It shouldn't occur anymore because it was fixed by bug 321024 for v1.8.1.8. Marking as dupe of bug 321024.
Hardware: PC → All
Resolution: WORKSFORME → DUPLICATE
Crash Signature: [@ nsUrlClassifierDBService::Shutdown ] [@ nsUrlClassifierDBService::Observe] [@ kernel32.dll + 0x16fd7]
You need to log in before you can comment on or make changes to this bug.