New issue
Advanced search Search tips

Issue 656153 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug

Blocking:
issue 618454



Sign in to add a comment

WelcomeHandler sometimes has browser_ null in ctor

Project Member Reported by tmartino@chromium.org, Oct 14 2016

Issue description

The variable browser_ does not always properly initialize in the constructor of WelcomeHandler. This causes a segfault when browser_->ShowModalSigninWindow() is invoked. The solution will likely be to inline the call to FindBrowserWithWebContents(), as I suspect the problem is that the Browser is not yet available at construct-time in some cases.
 
Blocking: 618454
Labels: -Pri-3 M-55 OS-Linux OS-Mac OS-Windows Pri-1

Comment 2 by coron...@gmail.com, Oct 18 2016

I uploaded CL for this issue https://codereview.chromium.org/2431543003 
Labels: Merge-Request-55
Status: Fixed (was: Available)
Verified, segfault no longer occurs.

Comment 5 by dimu@chromium.org, Oct 20 2016

Labels: -Merge-Request-55 Merge-Approved-55 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M55 (branch: 2883)
Project Member

Comment 6 by bugdroid1@chromium.org, Oct 20 2016

Labels: -merge-approved-55 merge-merged-2883
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4c184ff72b80c664143f4968afd2a8f8b4227c16

commit 4c184ff72b80c664143f4968afd2a8f8b4227c16
Author: Anthony Vallee-Dubois <anthonyvd@chromium.org>
Date: Thu Oct 20 20:12:43 2016

[Merge] Fix WelcomeHandler crash when signin link is clicked.

BUG= 656153 

Review-Url: https://codereview.chromium.org/2431543003
Cr-Commit-Position: refs/heads/master@{#426092}
(cherry picked from commit 9ae964cc90a742835cd7c86d8c2d249dde19b4e4)

Review URL: https://codereview.chromium.org/2440813002 .

Cr-Commit-Position: refs/branch-heads/2883@{#220}
Cr-Branched-From: 614d31daee2f61b0180df403a8ad43f20b9f6dd7-refs/heads/master@{#423768}

[modify] https://crrev.com/4c184ff72b80c664143f4968afd2a8f8b4227c16/chrome/browser/ui/webui/welcome_handler.cc
[modify] https://crrev.com/4c184ff72b80c664143f4968afd2a8f8b4227c16/chrome/browser/ui/webui/welcome_handler.h

Project Member

Comment 7 by bugdroid1@chromium.org, Oct 27 2016

Labels: merge-merged-2840
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4c184ff72b80c664143f4968afd2a8f8b4227c16

commit 4c184ff72b80c664143f4968afd2a8f8b4227c16
Author: Anthony Vallee-Dubois <anthonyvd@chromium.org>
Date: Thu Oct 20 20:12:43 2016

[Merge] Fix WelcomeHandler crash when signin link is clicked.

BUG= 656153 

Review-Url: https://codereview.chromium.org/2431543003
Cr-Commit-Position: refs/heads/master@{#426092}
(cherry picked from commit 9ae964cc90a742835cd7c86d8c2d249dde19b4e4)

Review URL: https://codereview.chromium.org/2440813002 .

Cr-Commit-Position: refs/branch-heads/2883@{#220}
Cr-Branched-From: 614d31daee2f61b0180df403a8ad43f20b9f6dd7-refs/heads/master@{#423768}

[modify] https://crrev.com/4c184ff72b80c664143f4968afd2a8f8b4227c16/chrome/browser/ui/webui/welcome_handler.cc
[modify] https://crrev.com/4c184ff72b80c664143f4968afd2a8f8b4227c16/chrome/browser/ui/webui/welcome_handler.h

Comment 8 by dimu@google.com, Nov 4 2016

[Automated comment] removing mislabelled merge-merged-2840

Comment 9 by dimu@google.com, Nov 4 2016

Labels: -merge-merged-2840
[Automated comment] removing mislabelled merge-merged-2840

Sign in to add a comment