#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 Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | -----------------------------+------------------------------ This is r43630 (but I've seen this with older revisions as well) When I doubleclick text files (and less frequently images), StyledEdit starts up, gets added to Deskbar but never shows the document. Deadlocked was mmlr's first diagnosis in IRC. Here are the ProcessController-debugged backtraces of StyledEdit's two threads: ''StyledEdit's main thread:'' {{{ [tcsetpgrp failed in terminal_inferior: Invalid Argument] [Switching to team /boot/system/apps/StyledEdit (2923) thread StyledEdit (2923)] 0xffff0114 in ?? () (gdb) bt #0 0xffff0114 in ?? () #1 0x0084450d in acquire_sem_etc () from /boot/system/lib/libroot.so #2 0x00431544 in BLocker::AcquireLock () from /boot/system/lib/libbe.so #3 0x0043137e in BLocker::Lock () from /boot/system/lib/libbe.so #4 0x00808518 in BPrivate::MutableLocaleRoster::LoadCatalog () from /boot/system/lib/liblocale.so #5 0x007f3c62 in BCatalog::SetCatalog () from /boot/system/lib/liblocale.so #6 0x00804e7c in BLocaleRoster::_GetCatalog () from /boot/system/lib/liblocale.so #7 0x02195555 in BLocaleRoster::GetCatalog () from /boot/system/add-ons/Translators/JPEG2000Translator #8 0x0216fb31 in __static_initialization_and_destruction_0 () from /boot/system/add-ons/Translators/JPEG2000Translator #9 0x0216fb96 in global constructors keyed to SSlider::SSlider () from /boot/system/add-ons/Translators/JPEG2000Translator #10 0x02195648 in __do_global_ctors_aux () from /boot/system/add-ons/Translators/JPEG2000Translator #11 0x0216c325 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 0x00842674 in load_add_on () from /boot/system/lib/libroot.so #16 0x004f0af5 in BTranslatorRoster::Private::CreateTranslators () ---Type <return> to continue, or q <return> to quit--- from /boot/system/lib/libtranslation.so #17 0x004f0295 in BTranslatorRoster::Private::AddPath () from /boot/system/lib/libtranslation.so #18 0x004efed6 in BTranslatorRoster::Private::AddDefaultPaths () from /boot/system/lib/libtranslation.so #19 0x004f3a38 in BTranslatorRoster::AddTranslators () from /boot/system/lib/libtranslation.so #20 0x004f3985 in BTranslatorRoster::Default () from /boot/system/lib/libtranslation.so #21 0x004ed911 in BTranslationUtils::GetStyledText () from /boot/system/lib/libtranslation.so #22 0x0020f0a1 in StyledEditView::GetStyledText () #23 0x00217d76 in StyledEditWindow::_LoadFile () #24 0x00212be4 in StyledEditWindow::OpenFile () #25 0x0020f8fd in StyledEditWindow::StyledEditWindow () #26 0x0020e6f1 in StyledEditApp::OpenDocument () #27 0x0020e991 in StyledEditApp::RefsReceived () #28 0x002ef0b9 in BApplication::DispatchMessage () from /boot/system/lib/libbe.so #29 0x002f9bf5 in BLooper::task_looper () from /boot/system/lib/libbe.so #30 0x002edd7a in BApplication::Run () from /boot/system/lib/libbe.so #31 0x0020ec3b in main () }}} ''StyledEdit's open (file panel, right?) thread:'' {{{ [tcsetpgrp failed in terminal_inferior: Invalid Argument] [Switching to team /boot/system/apps/StyledEdit (3725) thread w>StyledEdit: Open (3729)] 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 0x0010159b in get_symbol () from /boot/system/runtime_loader #4 0x008426f1 in get_image_symbol () from /boot/system/lib/libroot.so #5 0x00805479 in BPrivate::CatalogAddOnInfo::MakeSureItsLoaded () from /boot/system/lib/liblocale.so #6 0x00808589 in BPrivate::MutableLocaleRoster::LoadCatalog () from /boot/system/lib/liblocale.so #7 0x007f3a38 in BCatalog::BCatalog () from /boot/system/lib/liblocale.so #8 0x00804b81 in BLocaleRoster::GetLocalizedFileName () from /boot/system/lib/liblocale.so #9 0x00605065 in BPrivate::Model::CacheLocalizedName () from /boot/system/lib/libtracker.so #10 0x00604ea2 in BPrivate::Model::OpenNodeCommon () from /boot/system/lib/libtracker.so #11 0x00604ad9 in BPrivate::Model::OpenNode () from /boot/system/lib/libtracker.so #12 0x00622333 in BPrivate::BPoseView::CreatePoses () from /boot/system/lib/libtracker.so #13 0x0062374a in BPrivate::BPoseView::MessageReceived () from /boot/system/lib/libtracker.so #14 0x002f82cb in BLooper::DispatchMessage () from /boot/system/lib/libbe.so #15 0x003ca241 in BWindow::DispatchMessage () from /boot/system/lib/libbe.so ---Type <return> to continue, or q <return> to quit--- #16 0x005d6291 in BPrivate::TFilePanel::DispatchMessage () from /boot/system/lib/libtracker.so #17 0x003ce5c8 in BWindow::task_looper () from /boot/system/lib/libbe.so #18 0x002f97e7 in BLooper::_task0_ () from /boot/system/lib/libbe.so #19 0x008448d3 in thread_entry () from /boot/system/lib/libroot.so #20 0x78033fec in ?? () }}} -- Ticket URL: <http://dev.haiku-os.org/ticket/8275> Haiku <http://dev.haiku-os.org> Haiku - the operating system.