[haiku-bugs] Re: [Haiku] #1555: [Deskbar] crash in DeleteMenuWindow

  • From: "diver" <trac@xxxxxxxxxxxx>
  • Date: Wed, 18 Apr 2012 14:58:58 -0000

#1555: [Deskbar] crash in DeleteMenuWindow
------------------------------------+----------------------------
   Reporter:  diver                 |      Owner:  jackburton
       Type:  bug                   |     Status:  reopened
   Priority:  normal                |  Milestone:  R1
  Component:  Applications/Deskbar  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------
Changes (by diver):

 * status:  closed => reopened
 * resolution:  fixed =>
 * version:  R1/pre-alpha1 => R1/Development
 * component:  Kits/Interface Kit => Applications/Deskbar


Old description:

> vm_soft_fault: va 0xa5 not covered by area in address space
> vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at
> 0xa5, ip 0x360cb3, write 0, user 1, thread 0x1ad
> vm_page_fault: sending team "/boot/beos/system/Deskbar" 0x49 SIGSEGV, ip
> 0x360cb3 ("libbe.so_seg0ro" +0x115cb3)
> stack trace:
>   0x003632ea (libbe.so_seg0ro + 0x1182ea)
>   0x00362ccd (libbe.so_seg0ro + 0x117ccd)
>   0x006c4ad0 (libroot.so_seg0ro + 0x20ad0)
>   0x7003ffec (menu_tracking_1ad_stack + 0x3ffec)
> vm_soft_fault: va 0x0 not covered by area in address space
> vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at
> 0x0, ip 0x8009b92c, write 0, user 0, thread 0x1ad
> debug_server: Thread 429 entered the debugger: Segment violation
> stack trace, current PC 0x360cb3  _DeleteMenuWindow__5BMenu + 0x3b:
>   (0x7003fedc)  0x3632ea  Track__8BMenuBarPllb + 0x59a
>   (0x7003ff4c)  0x362ccd  TrackTask__8BMenuBarPv + 0x7d
>   (0x7003ffac)  0x6c4ad0  _get_next_team_info + 0x5c (closest symbol)
>

> Found with r22510 in vmware.
> Don't know how to reproduce it yet.

New description:

 {{{
 vm_soft_fault: va 0xa5 not covered by area in address space
 vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at
 0xa5, ip 0x360cb3, write 0, user 1, thread 0x1ad
 vm_page_fault: sending team "/boot/beos/system/Deskbar" 0x49 SIGSEGV, ip
 0x360cb3 ("libbe.so_seg0ro" +0x115cb3)
 stack trace:
   0x003632ea (libbe.so_seg0ro + 0x1182ea)
   0x00362ccd (libbe.so_seg0ro + 0x117ccd)
   0x006c4ad0 (libroot.so_seg0ro + 0x20ad0)
   0x7003ffec (menu_tracking_1ad_stack + 0x3ffec)
 vm_soft_fault: va 0x0 not covered by area in address space
 vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0x0,
 ip 0x8009b92c, write 0, user 0, thread 0x1ad
 debug_server: Thread 429 entered the debugger: Segment violation
 stack trace, current PC 0x360cb3  _DeleteMenuWindow__5BMenu + 0x3b:
   (0x7003fedc)  0x3632ea  Track__8BMenuBarPllb + 0x59a
   (0x7003ff4c)  0x362ccd  TrackTask__8BMenuBarPv + 0x7d
   (0x7003ffac)  0x6c4ad0  _get_next_team_info + 0x5c (closest symbol)
 }}}

 Found with r22510 in vmware.
 Don't know how to reproduce it yet.

--

Comment:

 This is hrev44053, gcc4hybrid.

 This crash occured when I was trying to close Deskbar Applications menu by
 holding Esc key for a couple of seconds:

 {{{
 Thread 5543 caused an exception: Segment violation
 [...]
 [Switching to team /boot/system/Deskbar (135) thread menu_tracking (5543)]
 0x00000000 in ?? ()
 (gdb) bt
 #0  0x00000000 in ?? ()
 #1  0x00380aaf in BMenu::_DeleteMenuWindow () from
 /boot/system/lib/libbe.so
 #2  0x003840c2 in BMenu::_Track () from /boot/system/lib/libbe.so
 #3  0x003859f0 in BMenuBar::_Track () from /boot/system/lib/libbe.so
 #4  0x00385f32 in BMenuBar::_TrackTask () from /boot/system/lib/libbe.so
 #5  0x006b1247 in thread_entry () from /boot/system/lib/libroot.so
 #6  0x78137fec in ?? ()
 (gdb)

 vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0x0,
 ip 0x0, write 0, user 1, thread 0x15a7
 vm_page_fault: thread "menu_tracking" (5543) in team "Deskbar" (135) tried
 to read address 0x0, ip 0x0 ("???" +0x0)
 debug_server: Thread 5543 entered the debugger: Segment violation
 stack trace, current PC (nil)  :
   (0x78137ddc)  0x3840c2  _ZN5BMenu6_TrackEPil + 0x610
   (0x78137eac)  0x3859f0  _ZN8BMenuBar6_TrackEPllb + 0x1e2
   (0x78137f5c)  0x385f32  _ZN8BMenuBar10_TrackTaskEPv + 0x74
   (0x78137fbc)  0x6b1247  thread_entry + 0x1d
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/1555#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: