Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Issue 242119: Attempt at fixing crash during importing. As far as I can tell from... (Closed)

Created:
11 years, 2 months ago by sky
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, kuchhal, ben+cc_chromium.org
Visibility:
Public.

Description

Attempt at fixing crash during importing. As far as I can tell from the crash the BookmarkModel is trying to notifying observers it's going away and one of those observers has been deleted. This is during first run import, so the only observer should be the importer. This may be possible if someone prematurely exits the nested loop started during first run so that the importerhost isn't done when the profile is deleted. BUG=16143 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=28227

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -2 lines) Patch
M chrome/browser/importer/importer.h View 1 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/importer/importer.cc View 1 6 chunks +20 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
sky
11 years, 2 months ago (2009-10-02 03:40:48 UTC) #1
cpu_(ooo_6.6-7.5)
.
11 years, 2 months ago (2009-10-02 17:32:11 UTC) #2
cpu_(ooo_6.6-7.5)
We've seen crashes like this in the past. I've always wonder who could be quitting ...
11 years, 2 months ago (2009-10-02 17:33:48 UTC) #3
cpu_(ooo_6.6-7.5)
Ignore my comment. I need coffee.
11 years, 2 months ago (2009-10-02 17:42:58 UTC) #4
cpu_(ooo_6.6-7.5)
rahul, he indeed is trying to solve the crashing at first run, when the import ...
11 years, 2 months ago (2009-10-05 23:09:28 UTC) #5
sky
http://codereview.chromium.org/242119/diff/1/2 File chrome/browser/importer/importer.cc (right): http://codereview.chromium.org/242119/diff/1/2#newcode542 Line 542: profile_ = target_profile; On 2009/10/05 23:09:28, cpu wrote: ...
11 years, 2 months ago (2009-10-05 23:13:12 UTC) #6
cpu_(ooo_6.6-7.5)
LGTM Since rahul is the main importer guy I'll deffer to him for any objection.
11 years, 2 months ago (2009-10-06 02:38:50 UTC) #7
kuchhal
11 years, 2 months ago (2009-10-06 17:26:27 UTC) #8
lgtm based on offline conversation.

The bug http://code.google.com/p/chromium/issues/detail?id=16143 points to
strange crash which doesn't look like is in importer. The crash server seems to
point to this line (brower_main.cc:453):

return ResultCodes::NORMAL_EXIT_EXP1;

Powered by Google App Engine
This is Rietveld 408576698