Issue 2139: Chrome main proces crash. All tabs/windows of chrome are closed
http://code.google.com/p/chromium/issues/detail?id=2139

Comment #7 by pbaauw:
Update.. No need to reopen this issue..

Have attached the html's that i have found to have the critical lenght  
needed to crash Chrome, or prevent it from
crashing. If the fixHTLM is loaded before the CrashHTML it no longer  
crashes..

To crash crome again after a fixHTML has been loaded not only chrome has to  
be restarted but also windows has be
be logged off and login again..


I have also reproduced the issue with Chromium.
If i change the file windows.cs i can crash chromium with any website.  
Using the following function:
However if i uncomment the last two lines it no longer crashes.. so it  
seams to be some windows/driver bug..

I have also converted my real PC to a VMwareWorkstation image.. and in  
there i cant reproduce the issue.. Even
tho it has the same software and configuration.. (It does use other display  
drivers i suppose..)

void Window::UpdateWindowTitle() {
   std::wstring window_title = window_delegate_->GetWindowTitle();
   std::wstring localized_text;
   if (l10n_util::AdjustStringForLocaleDirection(window_title,  
&localized_text))
     window_title.assign(localized_text);

   window_title =
L"DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD";
   SetWindowText(GetHWND(), window_title.c_str());

   //window_title = L"AAAA";
   //SetWindowText(GetHWND(), window_title.c_str());
}

Could not find any code affected by what title has been set by the  
SetWindowText() function, so i dont think its
an issue inside Chrome or Chromium.
There would be a workaround of truncating the title at 269 characters.. but  
i think that should not be nessesary.


No need to reopen this issue.. But just wanted to let you know what i  
found..

Thanks for this great browser.

Attachments:
        Minimal lenght to crash Chrome on close.html  348 bytes
        Maximum length that opens and closes OK.html  347 bytes
        Chrome locks-up on close(shorter doesnt fix long title).html  262 bytes
        Chrome fix long title.html  263 bytes



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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to