Status: Untriaged
Owner: ----
CC: [email protected],  [email protected]
Labels: Type-Bug Pri-2 OS-Mac Area-Misc Size-Medium

New issue 19169 by [email protected]: Mac Firefox importer hangs; when  
cancelled, crashes
http://code.google.com/p/chromium/issues/detail?id=19169

I am having terrible luck getting the Safari and Firefox bookmark importers
to work in my unbranded (Chromium) development build.  I haven't tested
this with a branded Google Chrome.

What steps will reproduce the problem?
1. Remove the profile directory, ~/Library/Application Support/Chromium.
If working with the branded Google Chrome, use ~/Library/Application
Support/Google/Chrome instead.
2. Launch Chromium.app (or Google Chrome.app).
3. In the first run window, leave the “Import bookmarks from” checkbox
checked, and select “Mozilla Firefox” from the pop-up.
4. Click “Start Google Chrome” (the name is wrong for Chromium builds, a
separate bug has been filed).

What is the expected output? What do you see instead?
Expect: Successful bookmark import.
Observe: The import window appears, but makes no progress.  Attaching a
debugger, it is obvious that all threads are blocked waiting for something
to do.  The following message is logged, which may or may not be
significant:

[88135:2067:212846331837339:ERROR:/chrome/trunk/src/chrome/brow
ser/importer/importer.cc(493)] Not implemented reached in void
ImporterHost::ShowWarningDialog()

If “Cancel” is clicked in the import window, the application hits an  
assertion
and dies.

[88135:24103:212888112002257:ERROR:/chrome/trunk/src/net/disk_cac
he/block_files.cc(243)] Failed to open /Users/mark/Library/Application
Support/Chromium/Default/Cache/data_0
[88135:2067:212888258591003:FATAL:/chrome/trunk/src/chrome/brows
er/renderer_host/browser_render_process_host.cc(608)] Check failed:
user_script_master.

#0  DebugUtil::BreakDebugger () at debug_util_posix.cc:116
#1  0x05871c0a in logging::LogMessage::~LogMessage (this=0xbfffcd6c)
at logging.cc:535
#2  0x05652076 in BrowserRenderProcessHost::InitUserScripts
(this=0x3e27d0) at browser_render_process_host.cc:608
#3  0x0565339f in BrowserRenderProcessHost::Init (this=0x3e27d0) at
browser_render_process_host.cc:501
#4  0x0566b81c in RenderViewHost::CreateRenderView (this=0x3e7e90) at
render_view_host.cc:174
#5  0x0574be95 in TabContents::CreateRenderViewForRenderManager
(this=0x8b7e00, render_view_host=0x3e7e90) at tab_contents.cc:2353
#6  0x05747538 in RenderViewHostManager::Navigate (this=0x8b7ea0,
ent...@0x3d9010) at render_view_host_manager.cc:83
#7  0x0574ea4f in TabContents::NavigateToPendingEntry (this=0x8b7e00,
reload=false) at tab_contents.cc:663
#8  0x05739ecb in NavigationController::NavigateToPendingEntry
(this=0x8b7e2c, reload=false) at navigation_controller.cc:926
#9  0x0573aa6d in NavigationController::LoadEntry (this=0x8b7e2c,
entry=0x3d9010) at navigation_controller.cc:215
#10 0x0573aab2 in NavigationController::LoadURL (this=0x8b7e2c,
u...@0xbfffd858, referr...@0xbfffd938, transition=1) at
navigation_controller.cc:395
#11 0x053f2bdf in Browser::CreateTabContentsForURL (this=0x3cda70,
u...@0xbfffd858, referr...@0xbfffd938, profile=0x33b130, transition=1,
defer_load=false, instance=0x0) at browser.cc:1520
#12 0x053f685d in Browser::AddTabWithURL (this=0x3cda70,
u...@0xbfffd980, referr...@0xbfffd938, transition=1, foreground=true,
index=-1, force_index=false, instance=0x0) at browser.cc:568
#13 0x053f69e3 in Browser::AddBlankTabAt (this=0x3cda70, index=-1,
foreground=true) at browser.cc:1457
#14 0x053eebe0 in Browser::AddBlankTab (this=0x3cda70,
foreground=true) at browser.cc:1452
#15 0x053f79fd in Browser::OpenEmptyWindow (profile=0x33b130) at
browser.cc:320
#16 0x05370801 in -[AppController
applicationShouldHandleReopen:hasVisibleWindows:] (self=0x329590,
_cmd=0x96c28e28, theApplication=0x3208f0, flag=0 '\0') at
app_controller_mac.mm:499
#17 0x951b169d in -[NSApplication(NSAppleEventHandling)
_handleAEReopen] ()
#18 0x94eea014 in -[NSApplication(NSAppleEventHandling)
_handleCoreEvent:withReplyEvent:] ()
#19 0x91d9ca9f in -[NSAppleEventManager
dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
#20 0x91d9c7af in _NSAppleEventManagerGenericHandler ()
#21 0x94d21648 in aeDispatchAppleEvent ()
#22 0x94d2157e in dispatchEventAndSendReply ()
#23 0x94d21425 in aeProcessAppleEvent ()
#24 0x90d8a981 in AEProcessAppleEvent ()
#25 0x94ee78e9 in _DPSNextEvent ()
#26 0x94ee6f88 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#27 0x94edff9f in -[NSApplication run] ()
#28 0x0587ed13 in base::MessagePumpNSApplication::DoRun
(this=0x3274c0, delegate=0xbfffea88) at message_pump_mac.mm:482
#29 0x0587f045 in base::MessagePumpCFRunLoopBase::Run
(this=0x3274c0, delegate=0xbfffea88) at message_pump_mac.mm:146
#30 0x0587559c in MessageLoop::RunInternal (this=0xbfffea88) at
message_loop.cc:199
#31 0x058755b7 in MessageLoop::RunHandler (this=0xbfffea88) at
message_loop.cc:181
#32 0x0587561b in MessageLoop::Run (this=0xbfffea88) at
message_loop.cc:155
#33 0x0546ca36 in StartImportingWithUI (parent_window=0x0, items=31,
coordinator=0x343290, source_profi...@0x343c00,
target_profile=0x33b130, observer=0x3374c0, first_run=true) at
import_progress_dialog.mm:175
#34 0x055471f3 in FirstRunController::DoFirstRun (this=0x3374c0,
profile=0x33b130, process_singleton=0xbfffecd0) at
first_run_mac.mm:153
#35 0x055472bb in OpenFirstRunDialog (profile=0x33b130,
homepage_defined=false, process_singleton=0xbfffecd0) at
first_run_mac.mm:69
#36 0x0540ad22 in BrowserMain (paramete...@0xbffff2ec) at
browser_main.cc:609
#37 0x052cc608 in ChromeMain (argc=1, argv=0xbffff764) at
/chrome/trunk/src/chrome/app/chrome_dll_main.cc:560
#38 0x00001ffe in main (argc=1, argv=0xbffff764) at
/chrome/trunk/src/chrome/app/chrome_exe_main.mm:17
#39 0x00001fba in start ()

I believe it's an error to try to spin up the browser window with
OpenFirstRunDialog still on the stack.

4.0.202.0 r23183

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to