Closed Bug 432323 Opened 17 years ago Closed 15 years ago

Trying to delete the "Smart Bookmarks" folder crashes Firefox [@ nsNavHistoryResult::OnItemChanged]

Categories

(Firefox :: Bookmarks & History, defect)

3.0 Branch
All
macOS
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: whimboo, Unassigned)

Details

(Keywords: crash)

Crash Data

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9pre) Gecko/2008050209 Minefield/3.0pre ID:2008050209 Trying to delete a folder on the Bookmarks Toolbar crashes Firefox. Currently I cannot give clear STR because it is not reproducible at the moment. Crash id: eb4983c5-1aeb-11dd-90ce-001cc4e2bf68 First 20 frames: 0 XUL nsNavHistoryResult::OnItemChanged mozilla/toolkit/components/places/src/nsNavHistoryResult.cpp:4117 1 XUL nsNavBookmarks::OnItemAnnotationRemoved mozilla/toolkit/components/places/src/nsNavBookmarks.cpp:2771 2 XUL nsAnnotationService::RemoveItemAnnotations mozilla/toolkit/components/places/src/nsAnnotationService.cpp:1574 3 XUL nsNavBookmarks::RemoveItem mozilla/toolkit/components/places/src/nsNavBookmarks.cpp:1027 4 XUL NS_InvokeByIndex_P mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_x86.cpp:179 5 XUL XPCWrappedNative::CallMethod mozilla/js/src/xpconnect/src/xpcwrappednative.cpp:2369 6 XUL XPC_WN_CallMethod mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp:1473 7 libmozjs.dylib js_Invoke mozilla/js/src/jsinvoke.c:1296 8 libmozjs.dylib js_Interpret mozilla/js/src/jsinterp.c:4851 9 libmozjs.dylib js_Invoke mozilla/js/src/jsinvoke.c:1312 10 XUL nsXPCWrappedJSClass::CallMethod mozilla/js/src/xpconnect/src/xpcwrappedjsclass.cpp:1523 11 XUL nsXPCWrappedJS::CallMethod mozilla/js/src/xpconnect/src/xpcwrappedjs.cpp:559 12 XUL PrepareAndDispatch mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:93 13 XUL nsXPTCStubBase::Stub3 mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:1 14 XUL NS_InvokeByIndex_P mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_x86.cpp:179 15 XUL XPCWrappedNative::CallMethod mozilla/js/src/xpconnect/src/xpcwrappednative.cpp:2369 16 XUL XPC_WN_CallMethod mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp:1473 17 libmozjs.dylib js_Invoke mozilla/js/src/jsinvoke.c:1296 18 libmozjs.dylib js_Interpret mozilla/js/src/jsinterp.c:4851 19 libmozjs.dylib js_Invoke mozilla/js/src/jsinvoke.c:1312 20 XUL nsXPCWrappedJSClass::CallMethod mozilla/js/src/xpconnect/src/xpcwrappedjsclass.cpp:1523
Flags: blocking-firefox3?
This is responsible for a single crash in the 2008050209 build - maybe it has to do with the fact that you were deleting that depricated folder? If so, this doesn't block, though I'm sure it might be annoying to some of our early beta testers.
Flags: blocking-firefox3? → blocking-firefox3-
Yeah, I tried to delete the "Smart Bookmarks" folder. After the restart the folder was still existent. Doing the deletion again doesn't crash the browser. So no idea if this is really happening due to the deprecated folder.
Summary: Trying to delete a Bookmark Toolbar folder crashes Firefox [@ nsNavHistoryResult::OnItemChanged] → Trying to delete the "Smart Bookmarks" folder crashes Firefox [@ nsNavHistoryResult::OnItemChanged]
(In reply to comment #2) > Yeah, I tried to delete the "Smart Bookmarks" folder. After the restart the > folder was still existent. Is this reliably reproduceable? Can you provide a places.sqlite that exhibits the behavior? > Doing the deletion again doesn't crash the browser. > So no idea if this is really happening due to the deprecated folder. > Regardless of deprecation, it was just a regular folder, with some smart bookmarks in it. At that point, I think it's creation was managed by a pref, so it didn't even have any special annotations.
Crashes with this stack are still reported against Firefox 3.0.3. There are about 57 within the last month: http://crash-stats.mozilla.com/report/list?product=Firefox&query_search=signature&query_type=contains&query=nsNavHistoryResult%3A%3AOnItemChanged&date=&range_value=1&range_unit=months&do_query=1&signature=nsNavHistoryResult%3A%3AOnItemChanged(long%20long%2C%20nsACString_internal%20const%26%2C%20int%2C%20nsACString_internal%20const%26) Two available comments: * Tried the google bookmark this time and yup crashed again. What is it with FF3 and bookmarks? * a folder called "Bookmarks Folder" appeared in my bookmark bar; I opened "Organize Bookmarks" selected "Bookmarks Folder" in my bookmarks bar, pressed delete, and FireFox disappeared (crashed)
Hardware: PC → All
Version: Trunk → 3.0 Branch
imo this was the same as bug 487040, and the crash was due to us trying to notify a cycle collected result. Unless you still see reports for this crash i'd suggest to mark this as WFM.
yes, that has been fixed in 3.5, so what we are interested into is finding any report with 3.5. I guess we can wait a month after 3.5 has been released and then if no reports are present, close this.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h". In Thunderbird 3.0b, you do that as follows: Tools | Message Filters Make sure the correct account is selected. Click "New" Conditions: Body contains places-to-b-and-h Change the action to "Delete Message". Select "Manually Run" from the dropdown at the top. Click OK. Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter. Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
Crash Signature: [@ nsNavHistoryResult::OnItemChanged]
You need to log in before you can comment on or make changes to this bug.