[haiku-bugs] [Haiku] #6250: Deskbar occasionally crashes in ICU date formatting functions

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Thu, 01 Jul 2010 23:12:17 -0000

#6250: Deskbar occasionally crashes in ICU date formatting functions
----------------------------------+-----------------------------------------
 Reporter:  anevilyak             |       Owner:  pulkomandy    
     Type:  bug                   |      Status:  new           
 Priority:  normal                |   Milestone:  R1            
Component:  Applications/Deskbar  |     Version:  R1/Development
 Keywords:                        |   Blockedby:                
    Patch:  0                     |    Platform:  All           
 Blocking:                        |  
----------------------------------+-----------------------------------------
 After a difficult to ascertain amount of time (at least several hours),
 Deskbar reliably crashes for me with a backtrace like the following:

 {{{

 (gdb) bt
 #0  0xffff0114 in ?? ()
 #1  0x0067e173 in debugger () from /boot/system/lib/libroot.so
 #2  0x00687287 in __assert_fail () from /boot/system/lib/libroot.so
 #3  0x006ee716 in BPrivate::hoardHeap::moveSuperblock ()
    from /boot/system/lib/libroot.so
 #4  0x006f73b9 in BPrivate::hoardHeap::findAvailableSuperblock ()
    from /boot/system/lib/libroot.so
 #5  0x006f26c9 in BPrivate::threadHeap::malloc ()
    from /boot/system/lib/libroot.so
 #6  0x006f3c85 in malloc () from /boot/system/lib/libroot.so
 #7  0x00820bf8 in uprv_malloc_4_2 () from /boot/system/lib/libicu-
 common.so.4.2
 #8  0x00899308 in icu_4_2::UMemory::operator new ()
    from /boot/system/lib/libicu-common.so.4.2
 #9  0x00a0d13e in icu_4_2::SimpleTimeZone::clone ()
    from /boot/system/lib/libicu-i18n.so.4.2
 #10 0x009e2246 in icu_4_2::OlsonTimeZone::operator= ()
    from /boot/system/lib/libicu-i18n.so.4.2
 #11 0x009e3e7e in icu_4_2::OlsonTimeZone::OlsonTimeZone ()
    from /boot/system/lib/libicu-i18n.so.4.2
 #12 0x009e3ed2 in icu_4_2::OlsonTimeZone::clone ()
    from /boot/system/lib/libicu-i18n.so.4.2
 #13 0x00a1e3a5 in icu_4_2::TimeZone::createDefault ()
    from /boot/system/lib/libicu-i18n.so.4.2
 #14 0x00a0f05b in icu_4_2::SimpleDateFormat::initializeCalendar ()
 ---Type <return> to continue, or q <return> to quit---
    from /boot/system/lib/libicu-i18n.so.4.2
 #15 0x00a11478 in icu_4_2::SimpleDateFormat::construct ()
    from /boot/system/lib/libicu-i18n.so.4.2
 #16 0x00a11c14 in icu_4_2::SimpleDateFormat::SimpleDateFormat ()
    from /boot/system/lib/libicu-i18n.so.4.2
 #17 0x0099d309 in icu_4_2::DateFormat::create ()
    from /boot/system/lib/libicu-i18n.so.4.2
 #18 0x0099d42c in icu_4_2::DateFormat::createTimeInstance ()
    from /boot/system/lib/libicu-i18n.so.4.2
 #19 0x0062b916 in BCountry::FormatTime () from
 /boot/system/lib/liblocale.so
 #20 0x0062b61d in BCountry::FormatTime () from
 /boot/system/lib/liblocale.so
 #21 0x002362ef in TTimeView::GetCurrentTime ()
 #22 0x0023650c in TTimeView::Update ()
 #23 0x002367bd in TTimeView::Pulse ()
 #24 0x003a8802 in BView::_Pulse () from /boot/system/lib/libbe.so
 #25 0x003a8815 in BView::_Pulse () from /boot/system/lib/libbe.so
 #26 0x003a8815 in BView::_Pulse () from /boot/system/lib/libbe.so
 #27 0x003a8815 in BView::_Pulse () from /boot/system/lib/libbe.so
 #28 0x003a8815 in BView::_Pulse () from /boot/system/lib/libbe.so
 #29 0x003bab3b in BWindow::DispatchMessage () from
 /boot/system/lib/libbe.so
 #30 0x00225bf1 in TBarWindow::DispatchMessage ()
 #31 0x003b6921 in BWindow::task_looper () from /boot/system/lib/libbe.so
 #32 0x003015ee in BLooper::_task0_ () from /boot/system/lib/libbe.so
 #33 0x00681e7c in thread_entry () from /boot/system/lib/libroot.so
 }}}

 This was not the case prior to the ICU-based locale changes for time
 formatting.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6250>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: