Closed
Bug 321886
Opened 19 years ago
Closed 19 years ago
Crash when importing bookmarks from Firefox
Categories
(Camino Graveyard :: Bookmarks, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
Camino1.0
People
(Reporter: danchr, Assigned: mikepinkerton)
References
Details
(Keywords: fixed1.7.13, fixed1.8.0.1, fixed1.8.1, Whiteboard: [camino-0.8.5])
Attachments
(3 files, 1 obsolete file)
22.50 KB,
text/plain
|
Details | |
1.25 KB,
patch
|
sfraser_bugs
:
superreview+
|
Details | Diff | Splinter Review |
2.13 KB,
patch
|
samuel.sidler+old
:
review+
mikepinkerton
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 I use Firefox 1.5, and I wanted to give Camino 1.0b2 a try. However, it crashed when I attempted to import my bookmarks from Firefox. Reproducible: Always Steps to Reproduce: 1. Launch Camino. 2. File -> Import bookmarks... -> Firefox Actual Results: Camino crashes. Expected Results: Bookmarks are imported. Camino does not crash.
Reporter | ||
Comment 1•19 years ago
|
||
This is the crash reporter output. Please tell me if you need further debug info, for instance from GDB.
Reporter | ||
Comment 2•19 years ago
|
||
I was about to attach my Firefox bookmarks.html to the bug, but I'd rather not upload my bookmarks to a public site like this. I wouldn't mind mailing it to anyone if it's useful for fixing the bug, so please tell me if you want it.
Assignee | ||
Comment 3•19 years ago
|
||
please email to mikepinkerton at mac.com. Thanks!
Target Milestone: --- → Camino1.0
Assignee | ||
Comment 4•19 years ago
|
||
here's the problem <A ADD_DATE="1094590064" LAST_MODIFIED="1135952017" FEEDURL="http://news.bbc.co.uk/rss/newsonline_world_edition/front_page/rss091.xml" ID="rdf:#$ZOE8g">BBC News Online</A> we're assuming that there's an HREF in all anchors and ignoring the fact thatthere might not be one. This used to be ok, until we added the code to check for a menu spacer (bug 309008). Both smfr and i missed this. We need a check for |isAtEnd| before checking the token string for the spacer.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: camino1.0+
Assignee | ||
Comment 5•19 years ago
|
||
this fixes it for the bookmarks set that crashed it. the logic in this area isn't the greatest, and while we could clean it up with some better high-level grouping, i think re-jiggering and re-indenting the if-statements here is overkill. Smfr, what do you think?
Attachment #207184 -
Flags: superreview?(sfraser_bugs)
Comment 6•19 years ago
|
||
Comment on attachment 207184 [details] [diff] [review] patch I wish we could use Gecko to parse the HTML to a DOM and use that.
Attachment #207184 -
Flags: superreview?(sfraser_bugs) → superreview+
Assignee | ||
Comment 7•19 years ago
|
||
fixed on trunk and both branches.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8,
fixed1.8.0.1
Resolution: --- → FIXED
Updated•19 years ago
|
Keywords: fixed1.8 → fixed1.8.1
Assignee | ||
Comment 8•19 years ago
|
||
dan, would it be possible to pull tomorrow's (12/31) nightly build (or any date after that) and verify this fix?
Reporter | ||
Comment 9•19 years ago
|
||
Of course, I was planning to do so anyway :)
Comment 10•19 years ago
|
||
*** Bug 321970 has been marked as a duplicate of this bug. ***
Comment 11•19 years ago
|
||
I eventually got Import to work, but I think you should be aware: 3 reasons (minor bugs) I THOUGHT my Firefox bookmarks were not importing: 1) Blue "Import" button in window did not react after clicking -- i.e. button did not flash, window did not close, no progress bar, nothing but spinning beachball. 2) Beachball spun for a LONG time with no apparent progress. 3) Simultaneously the Command+Option+Esc, Force Quit Applications window showed "Not responding" for Camino. After multiple tries, I decided to try to import from Explorer where I have about 3,000 bookmarks. Same apparent results but just as I was about to Force Quit Explorer, all of a sudden, Camino's bookmarks window filled up. So I decided to try Firefox again (where I have about 5,000 bookmarks) but just let it run a while even though Mac says "Not responding". In about 3 to 4 minutes of spinning beachball, all bookmarks successfully imported. I believe that 1.-3. above should still be reported as "minor" to "medium" level bugs because the Mac OS and Camino are not interfacing the way a Mac user would expect. However, a simple footnote to the effect that, "Note: When importing large numbers of bookmarks, Camino bookmark window may not close, spinning beachball may occur and Mac "Force Quit" window may say Camino is "Not responding", however let Import run at least 5 minutes, as it is probably importing.
Comment 12•19 years ago
|
||
ATTN: Mike Pinkerton From: John Spooner (original bug reporter) Subject: Bug "resolved" My mistake. Import simply needed to run longer and reacted oddly but DID successfully import. Please see my amendments Comment #11). Thanks, John (In reply to comment #8) > dan, would it be possible to pull tomorrow's (12/31) nightly build (or any date > after that) and verify this fix? >
John, can you file a new bug on your comment 11 (Camino appears to be unresponsive/hung when importing huge bookmarks file) and attach your Fx bookmark file? It seems at the very least we should be showing our own wait cursor there... Mike, did this really land on the MOZILLA_1_8_BRANCH? There's nothing in Bonsai for it, only for the trunk and the 1.8.0 branch.
Reporter | ||
Updated•19 years ago
|
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 15•19 years ago
|
||
weird, wehn i tried it on my g5 it took like 5-10 seconds.
Assignee | ||
Comment 16•19 years ago
|
||
i could swear i did. someone want to land it there?
Comment 18•19 years ago
|
||
verified fixed on the branch using Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060110 Firefox/1.5.0.1. Adding keyword.
Keywords: verified1.8.0.1
Updated•19 years ago
|
Keywords: fixed1.8.0.1
Comment 19•19 years ago
|
||
(In reply to comment #18) > verified fixed on the branch using Mozilla/5.0 (Macintosh; U; PPC Mac OS X > Mach-O; en-US; rv:1.8.0.1) Gecko/20060110 Firefox/1.5.0.1. Adding keyword. > Marcia, please verify with a Camino build or, alternatively, don't verify at all for products you're not testing.
Keywords: verified1.8.0.1 → fixed1.8.0.1
Comment 20•19 years ago
|
||
sorry, Samuel. In my haste, did not note this was a Camino bug. (In reply to comment #19) > (In reply to comment #18) > > verified fixed on the branch using Mozilla/5.0 (Macintosh; U; PPC Mac OS X > > Mach-O; en-US; rv:1.8.0.1) Gecko/20060110 Firefox/1.5.0.1. Adding keyword. > > > > Marcia, please verify with a Camino build or, alternatively, don't verify at > all for products you're not testing. >
Blocks: camino-0.8.5
Comment 21•18 years ago
|
||
This is an attempt at a patch for the 1.7 branch (for Camino 0.8.5). Note that this patch includes other changes which correspond to the fix for bug 309008. Requesting review from Simon.
Attachment #213020 -
Flags: review?
Updated•18 years ago
|
Attachment #213020 -
Flags: review? → review?(sfraser_bugs)
Updated•18 years ago
|
Attachment #213020 -
Flags: review?(sfraser_bugs) → review+
Comment 22•18 years ago
|
||
Comment on attachment 213020 [details] [diff] [review] Patch for 1.7 Branch Thank you Simon. :) Requesting sr from Mike. If you approve this, please check it in as well.
Attachment #213020 -
Flags: superreview?(mikepinkerton)
Comment on attachment 213020 [details] [diff] [review] Patch for 1.7 Branch I tested this, and it worked (although we had a slight glitch where the + characters weren't removed by "patch" inexplicably, so just watch after checkin).
Attachment #213020 -
Flags: review+
Comment 24•18 years ago
|
||
This version has fixed line endings. This has r+ from smfr and smokey.
Attachment #213020 -
Attachment is obsolete: true
Attachment #213166 -
Flags: superreview?(mikepinkerton)
Attachment #213166 -
Flags: review+
Attachment #213020 -
Flags: superreview?(mikepinkerton)
Assignee | ||
Comment 25•18 years ago
|
||
Comment on attachment 213166 [details] [diff] [review] Real Patch for 1.7 Branch sr=pink for 17branch
Attachment #213166 -
Flags: superreview?(mikepinkerton) → superreview+
Comment 26•18 years ago
|
||
timeless checked this in to MOZILLA_1_7_BRANCH at 2006-02-27 22:03.
Keywords: fixed1.7.13
Updated•18 years ago
|
Whiteboard: [camino-0.8.5]
You need to log in
before you can comment on or make changes to this bug.
Description
•