Deadlock between devman and locsrv
|Reported by:||Ondra Hlavatý||Owned by:||Jakub Jermář|
|Blocker for:||Depends on:|
In yet undiscovered conditions, a deadlock while booting occurs. The kernel is still alive, but devman is stuck and the compositor won't start. It does happen quite frequently on "bad" builds, but "bad" build happens very sparsely. It seems to be a result of a race condition. Also, level of optimization is related - it happens more on optimized builds, never happened with -O0.
In the attached image, you can see the waiting IPC calls. We already discussed on this on IRC and mailing list, but then it happened once again, so here you have the bug report.
There is a cycle, which I haven't noticed at first. It is probably the cause of the deadlock, but I'm not able to identify the root cause myself.
Of course, there is a possibility that our xhci driver is causing it. But in every case, faulty driver should not block devman.
Change History (10)
comment:1 by , 6 years ago
|Component:||helenos/unspecified → helenos/srv/loc|
|Priority:||minor → major|
|Status:||new → assigned|
comment:4 by , 6 years ago
|Summary:||Randomly occuring IPC deadlock on boot → Deadlock between devman and locsrv|