[haiku-bugs] Re: [Haiku] #8275: Deadlocking apps when opening documents

  • From: "humdinger" <trac@xxxxxxxxxxxx>
  • Date: Fri, 27 Jan 2012 22:33:43 -0000

#8275: Deadlocking apps when opening documents
-------------------------------+----------------------------
   Reporter:  humdinger        |      Owner:  pulkomandy
       Type:  bug              |     Status:  new
   Priority:  normal           |  Milestone:  R1
  Component:  Kits/Locale Kit  |    Version:  R1/Development
 Resolution:                   |   Keywords:
 Blocked By:                   |   Blocking:
Has a Patch:  0                |   Platform:  All
-------------------------------+----------------------------

Comment (by humdinger):

 I was just about to open a new ticket when I saw that the backtraces are
 similar to the ones in this ticket. Seems like the JPEG is involved
 somehow; the Translator? Here's the text I was going to put in the new
 ticket:


 I added a JPEG by drag&dropping it into the frame in the People app and
 saved. Now I cannot open that Person file anymore. It shows up in Deskbar,
 but doesn't open it's window...

 Here are the backtraces of People's two threads from debugging them with
 ProcessController:

 People thread:
 {{{
 [Switching to team /boot/system/apps/People (1697) thread People (1697)]
 0xffff0114 in ?? ()
 (gdb) bt
 #0  0xffff0114 in ?? ()
 #1  0x0074750d in acquire_sem_etc () from /boot/system/lib/libroot.so
 #2  0x0042d544 in BLocker::AcquireLock () from /boot/system/lib/libbe.so
 #3  0x0042d37e in BLocker::Lock () from /boot/system/lib/libbe.so
 #4  0x0070b518 in BPrivate::MutableLocaleRoster::LoadCatalog ()
    from /boot/system/lib/liblocale.so
 #5  0x006f6c62 in BCatalog::SetCatalog () from
 /boot/system/lib/liblocale.so
 #6  0x00707e7c in BLocaleRoster::_GetCatalog ()
    from /boot/system/lib/liblocale.so
 #7  0x02194555 in BLocaleRoster::GetCatalog ()
    from /boot/system/add-ons/Translators/JPEG2000Translator
 #8  0x0216eb31 in __static_initialization_and_destruction_0 ()
    from /boot/system/add-ons/Translators/JPEG2000Translator
 #9  0x0216eb96 in global constructors keyed to SSlider::SSlider ()
    from /boot/system/add-ons/Translators/JPEG2000Translator
 #10 0x02194648 in __do_global_ctors_aux ()
    from /boot/system/add-ons/Translators/JPEG2000Translator
 #11 0x0216b325 in _init ()
    from /boot/system/add-ons/Translators/JPEG2000Translator
 #12 0x0010090c in init_dependencies () from /boot/system/runtime_loader
 #13 0x00101064 in load_library () from /boot/system/runtime_loader
 #14 0x00104222 in export_load_add_on () from /boot/system/runtime_loader
 #15 0x00745674 in load_add_on () from /boot/system/lib/libroot.so
 #16 0x006d8af5 in BTranslatorRoster::Private::CreateTranslators ()
    from /boot/system/lib/libtranslation.so
 #17 0x006d8295 in BTranslatorRoster::Private::AddPath ()
    from /boot/system/lib/libtranslation.so
 #18 0x006d7ed6 in BTranslatorRoster::Private::AddDefaultPaths ()
    from /boot/system/lib/libtranslation.so
 #19 0x006dba38 in BTranslatorRoster::AddTranslators ()
    from /boot/system/lib/libtranslation.so
 #20 0x006db985 in BTranslatorRoster::Default ()
    from /boot/system/lib/libtranslation.so
 #21 0x00215a89 in PictureView::_LoadPicture ()
 #22 0x002139cc in PictureView::Update ()
 #23 0x002136fe in PictureView::PictureView ()
 #24 0x0020ed39 in PersonView::PersonView ()
 #25 0x002114fb in PersonWindow::PersonWindow ()
 #26 0x0020e05c in TPeopleApp::_NewWindow ()
 #27 0x0020dec4 in TPeopleApp::RefsReceived ()
 #28 0x002eb0b9 in BApplication::DispatchMessage ()
    from /boot/system/lib/libbe.so
 #29 0x002f5bf5 in BLooper::task_looper () from /boot/system/lib/libbe.so
 #30 0x002e9d7a in BApplication::Run () from /boot/system/lib/libbe.so
 #31 0x0020c78f in main ()
 (gdb)
 }}}

 w>People: open thread:
 {{{
 [Switching to team /boot/system/apps/People (1753) thread w>People: Open
 (1758)]
 0xffff0114 in ?? ()
 (gdb) bt
 #0  0xffff0114 in ?? ()
 #1  0x0010b6c2 in mutex_lock () from /boot/system/runtime_loader
 #2  0x001088ad in recursive_lock_lock () from /boot/system/runtime_loader
 #3  0x00100f1f in load_library () from /boot/system/runtime_loader
 #4  0x00104222 in export_load_add_on () from /boot/system/runtime_loader
 #5  0x00745674 in load_add_on () from /boot/system/lib/libroot.so
 #6  0x0070845d in BPrivate::CatalogAddOnInfo::MakeSureItsLoaded ()
    from /boot/system/lib/liblocale.so
 #7  0x0070b589 in BPrivate::MutableLocaleRoster::LoadCatalog ()
    from /boot/system/lib/liblocale.so
 #8  0x006f6a38 in BCatalog::BCatalog () from /boot/system/lib/liblocale.so
 #9  0x00707b81 in BLocaleRoster::GetLocalizedFileName ()
    from /boot/system/lib/liblocale.so
 #10 0x005e9065 in BPrivate::Model::CacheLocalizedName ()
    from /boot/system/lib/libtracker.so
 #11 0x005e8ea2 in BPrivate::Model::OpenNodeCommon ()
    from /boot/system/lib/libtracker.so
 #12 0x005e8ad9 in BPrivate::Model::OpenNode ()
    from /boot/system/lib/libtracker.so
 #13 0x00606333 in BPrivate::BPoseView::CreatePoses ()
    from /boot/system/lib/libtracker.so
 #14 0x0060774a in BPrivate::BPoseView::MessageReceived ()
    from /boot/system/lib/libtracker.so
 #15 0x002f42cb in BLooper::DispatchMessage () from
 /boot/system/lib/libbe.so
 #16 0x003c6241 in BWindow::DispatchMessage () from
 /boot/system/lib/libbe.so
 #17 0x005ba291 in BPrivate::TFilePanel::DispatchMessage ()
    from /boot/system/lib/libtracker.so
 #18 0x003ca5c8 in BWindow::task_looper () from /boot/system/lib/libbe.so
 #19 0x002f57e7 in BLooper::_task0_ () from /boot/system/lib/libbe.so
 #20 0x007478d3 in thread_entry () from /boot/system/lib/libroot.so
 #21 0x78033fec in ?? ()
 (gdb)
 }}}

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

Other related posts: