[haiku-bugs] Re: [Haiku] #5657: [Mail] crashes in BTwoDimensionalLayout::CompoundLayouter::InvalidateLayout ()

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Sun, 28 Mar 2010 13:37:43 -0000

#5657: [Mail] crashes in 
BTwoDimensionalLayout::CompoundLayouter::InvalidateLayout
()
-------------------------------+--------------------------------------------
 Reporter:  diver              |       Owner:  bga           
     Type:  bug                |      Status:  assigned      
 Priority:  normal             |   Milestone:  R1            
Component:  Applications/Mail  |     Version:  R1/Development
 Keywords:                     |   Blockedby:                
 Platform:  All                |    Blocking:                
-------------------------------+--------------------------------------------
Changes (by bonefish):

  * owner:  bonefish => bga
  * status:  in-progress => assigned
  * component:  Kits/Interface Kit => Applications/Mail


Comment:

 The layout API seems innocent in this regard. When running Mail with
 "LD_PRELOAD=libroot_debug.so" it already crashes when changing the "Reply
 preamble":
 {{{
 Thread 223 called debugger(): leak check info has invalid size 6647401 for
 element
 size 16, probably memory has been overwritten past allocation size
 [...]
 [Switching to team /boot/system/apps/Mail (208) thread w>Mail preferences
 (223)]
 0xffff0114 in ?? ()
 (gdb) bt
 #0  0xffff0114 in ?? ()
 #1  0x002253f3 in debugger () from /boot/system/lib/libroot_debug.so
 #2  0x00295a2a in panic () from /boot/system/lib/libroot_debug.so
 #3  0x0029678b in heap_free () from /boot/system/lib/libroot_debug.so
 #4  0x00296dcf in free () from /boot/system/lib/libroot_debug.so
 #5  0x004a4326 in BPrivate::_BTextInput_::InsertText ()
    from /boot/system/lib/libbe.so
 #6  0x004a79ec in BTextView::_DoInsertText () from
 /boot/system/lib/libbe.so
 #7  0x004ac27e in BTextView::Insert () from /boot/system/lib/libbe.so
 #8  0x00349a03 in TPrefsWindow::MessageReceived ()
 #9  0x0040f935 in BLooper::DispatchMessage () from
 /boot/system/lib/libbe.so
 #10 0x004c713a in BWindow::DispatchMessage () from
 /boot/system/lib/libbe.so
 #11 0x004c2a61 in BWindow::task_looper () from /boot/system/lib/libbe.so
 #12 0x00411146 in BLooper::_task0_ () from /boot/system/lib/libbe.so
 #13 0x00229100 in thread_entry () from /boot/system/lib/libroot_debug.so
 #14 0x70102fec in ?? ()
 }}}

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

Other related posts: