Status: Unconfirmed
Owner: [EMAIL PROTECTED]
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 5385 by madecoste: Debug break point hit (via NOTREACH) because  
browser view tries to set a negative height to a bounds rect.
http://code.google.com/p/chromium/issues/detail?id=5385

Chrome Version       : Private Chromium build
URLs (if applicable) :
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 3:
     Firefox 3:
          IE 7:

What steps will reproduce the problem?
1. Resize the browser to the absolute minimum size you can give it.
2. Hover the mouse over it
3. et voilĂ , you get the following call stack

What is the expected result?
Everybody should be happy...

What happens instead?
We get a debug breakpoint when running in the debugger, with the following
call stack:
        chrome.dll!DebugUtil::BreakDebugger()  Line 101 C++
        chrome.dll!logging::LogMessage::~LogMessage()  Line 494 C++
        chrome.dll!gfx::Rect::set_height(int height=-10)  Line 103      C++
>       chrome.dll!BrowserView::NonClientHitTest(const gfx::Point & point={...})
  Line 893      C++
        chrome.dll!OpaqueNonClientView::NonClientHitTest(const gfx::Point &
point={...})  Line 538 + 0x33 bytes     C++
        chrome.dll!views::CustomFrameWindow::OnNCHitTest(const WTL::CPoint &
point={...})  Line 1084 + 0x2b bytes    C++
        chrome.dll!views::WidgetWin::_ProcessWindowMessage(HWND__ *
hWnd=0x00061350, unsigned int uMsg=132, unsigned int wParam=0, long
lParam=2753204, long & lResult=0, unsigned long dwMsgMapID=0)  Line 210 +
0x4b bytes      C++
        chrome.dll!views::WidgetWin::ProcessWindowMessage(HWND__ *
hWnd=0x00061350, unsigned int uMsg=132, unsigned int wParam=0, long
lParam=2753204, long & lResult=0, unsigned long dwMsgMapID=0)  Line 159 +
0x47 bytes      C++
        chrome.dll!views::WidgetWin::WndProc(HWND__ * window=0x00061350, 
unsigned
int message=132, unsigned int w_param=0, long l_param=2753204)  Line 913 +
0x1e bytes      C++
        [EMAIL PROTECTED]()  + 0x28 bytes       
        [EMAIL PROTECTED]()  + 0xb7 bytes       
        [EMAIL PROTECTED]()  + 0x51 bytes       
        [EMAIL PROTECTED]()  + 0x1b bytes       
        chrome.dll!views::FocusWindowCallback(HWND__ * window=0x00061350,
unsigned int message=132, unsigned int wParam=0, long lParam=2753204)  Line
198 + 0x1c bytes        C++
        [EMAIL PROTECTED]()  + 0x28 bytes       
        [EMAIL PROTECTED]()  + 0xb7 bytes       
        [EMAIL PROTECTED]()  + 0x4d bytes       
        [EMAIL PROTECTED]()  + 0x24 bytes       
        [EMAIL PROTECTED]()  + 0x13 bytes       
        [EMAIL PROTECTED]()  + 0xc bytes        
        [EMAIL PROTECTED]()  + 0x167 bytes      
        chrome.dll!base::MessagePumpForUI::WaitForWork()  Line 277 + 0x2e bytes 
 
C++
        chrome.dll!base::MessagePumpForUI::DoRunLoop()  Line 233 + 0x8 bytes    
C++

chrome.dll!base::MessagePumpWin::RunWithDispatcher(base::MessagePump::Delegate
* delegate=0x0012f6e4, base::MessagePumpWin::Dispatcher *
dispatcher=0x0536d5b0)  Line 52 + 0xf bytes     C++
        chrome.dll!MessageLoop::RunInternal()  Line 193 C++
        chrome.dll!MessageLoop::RunHandler()  Line 181  C++
        chrome.dll!MessageLoopForUI::Run(base::MessagePumpWin::Dispatcher *
dispatcher=0x0536d5b0)  Line 559        C++
        chrome.dll!BrowserMain(CommandLine & parsed_command_line={...},
sandbox::BrokerServices * broker_services=0x003f9d30)  Line 616 C++
        chrome.dll!ChromeMain(HINSTANCE__ * instance=0x00400000,
sandbox::SandboxInterfaceInfo * sandbox_info=0x0012fe88, wchar_t *
command_line=0x00020a28)  Line 224 + 0x10 bytes C++
        chrome.exe!wWinMain(HINSTANCE__ * instance=0x00400000, HINSTANCE__ *
prev_instance=0x00000000, wchar_t * command_line=0x00020a28, int
__formal=1)  Line 93 + 0x12 bytes       C++
        chrome.exe!__tmainCRTStartup()  Line 324 + 0x35 bytes   C
        chrome.exe!wWinMainCRTStartup()  Line 196       C
        [EMAIL PROTECTED]()  + 0x23 bytes       


Please provide any additional information below. Attach a screenshot if
possible.

-               bv_bounds       {origin_={...} size_={...} }    gfx::Rect
+               origin_ {x_=5 y_=39 }   gfx::Point
+               size_   {width_=113 height_=14 }        gfx::Size
+               point   {x_=96 y_=19 }  const gfx::Point &
+               this    0x04cd42ec {frame_=0x04cd4c40 browser_={...}
active_bookmark_bar_=0x0533f1f8 ...}    BrowserView * const
-               toolbar_        0x04d5a4c0 {controller_=0x04ccdc88 
back_menu_model_={...}
forward_menu_model_={...} ...}  BrowserToolbarView *
-               views::View     {kViewClassName=0x0497b560 "chrome/views/View" 
id_=1000
group_=-1 ...}  views::View
+               views::AcceleratorTarget        {...}   views::AcceleratorTarget
+               kViewClassName  0x0497b560 "chrome/views/View"  char [18]
                id_     1000    int
                group_  -1      int
                enabled_        true    bool
                focusable_      false   bool
-               bounds_ {origin_={...} size_={...} }    gfx::Rect
+               origin_ {x_=0 y_=24 }   gfx::Point
+               size_   {width_=113 height_=40 }        gfx::Size
+               parent_ 0x04cd42ec {frame_=0x04cd4c40 browser_={...}
active_bookmark_bar_=0x0533f1f8 ...}    views::View *
[...]



Attachments:
        Picture 7.png  6.0 KB

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