DESCRIPTION: When closing current tab, tabs view process assert failed at AuthenticationChallengeManager::pageVisibilityChanged(). When web page exit, it delete it self from AuthenticationChallengeManager, and then set it self invisible. Since setting invisible depends on AuthenticationChallengeManager, so it assert failed. HOW TO REPRODUCE: Build debug of webkit repo, then open two tabs, then close the current tab. EXPECTED: The current tab is closed and returns to the tab bar. ACTUAL: Browser crashed at the following assertion failure. Thread [3] (Suspended: Signal 'SIGSEGV' received. Description: Segmentation fault.) 26 WebCore::AuthenticationChallengeManager::pageVisibilityChanged() AuthenticationChallengeManager.cpp:135 0x7e00496c 25 BlackBerry::WebKit::WebPage::setVisible() WebPage.cpp:3241 0x79111e7c 24 BlackBerry::WebKit::WebPagePrivate::~WebPagePrivate() WebPage.cpp:462 0x791059a8 23 BlackBerry::WebKit::WebPagePrivate::~WebPagePrivate() WebPage.cpp:501 0x79105e34 22 BlackBerry::Platform::deleteGuardedObject() BlackBerryPlatformGuardedPointer.cpp:290 0x78bd7ce8 21 BlackBerry::WebKit::WebPage::~WebPage() WebPage.cpp:505 0x79105ea4 20 BlackBerry::WebKit::WebPage::~WebPage() WebPage.cpp:507 0x79105f08 19 BlackBerry::Platform::deleteGuardedObject() BlackBerryPlatformGuardedPointer.cpp:290 0x78bd7ce8 18 BlackBerry::WebKit::WebPage::destroy() WebPage.cpp:3121 0x79111924
Created attachment 170556 [details] patch
Comment on attachment 170556 [details] patch Looks good to me. Need a reviewer to approve it .
Comment on attachment 170556 [details] patch LGTM.
Comment on attachment 170556 [details] patch commit
Comment on attachment 170556 [details] patch Clearing flags on attachment: 170556 Committed r132561: <http://trac.webkit.org/changeset/132561>
All reviewed patches have been landed. Closing bug.