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

When we display the first run Progress dialog we use  
MessageLoop::current()->Run() to spin a normal non-modal run loop.  This  
calls through to
[NSApp run] which processes OS events.

The problem is that some of the events processed in the loop which can  
trigger a new browser window to open, since we haven't finished app init,
this will cause a crash.

Easy ways to induce this:
* Click on the Chrome icon in the dock to make a new window open.
* Set Chrome to the default browser, delete the Chrome folder so first run  
is opened again and click a URL to open the browser.

The fix for this is to spin a modal runloop which will filter out these  
types of events (they'll trigger later).

--
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