[haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu
- From: "Haiku" <trac@xxxxxxxxxxxx>
- To: undisclosed-recipients: ;
- Date: Fri, 22 Jan 2021 18:29:08 -0000
#16670: Tracker - no icons on Desktop, cannot launch apps from menu
-----------------------------------+----------------------
Reporter: vidrep | Owner: nobody
Type: bug | Status: new
Priority: critical | Milestone: R1/beta3
Component: Applications/Tracker | Version: R1/beta2
Resolution: | Keywords:
Blocked By: | Blocking: 16701
Platform: All |
-----------------------------------+----------------------
Comment (by pulkomandy):
I think there is a deadlock between these first two threads.
The main Tracker one calls BTranslatorRoster::Private::CreateTranslators.
This calls load_add_on, and one of the add-ons (I suspect in its static
constructed objects) uses the locale kit. In
BPrivate::MutableLocaleRoster::LoadCatalog it needs to lock the locale
roster data.
Meanwhile, the TrackerTaskLoop wants to translate some application names.
To do this, it first locks the locale roster lock, and then calls
load_add_on to load the catalog add-ons.
Since load_add_on needs some lock inside the runtime loader, we now have
one thread holding the load_add_on lock and waiting for the locale roster
lock. And the other thread holding the locale roster lock, and waiting for
the load_add_ons one. They now wait for each other indefinitely.
--
Ticket URL: <https://dev.haiku-os.org/ticket/16670#comment:13>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.
Other related posts:
- » [haiku-bugs] [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu - Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku
- » [haiku-bugs] Re: [Haiku] #16670: Tracker - no icons on Desktop, cannot launch apps from menu- Haiku