Ticket #141 (closed defect: fixed)
ladishd occasionally crashes on app stop
| Reported by: | http://nedko.arnaudov.name/ | Owned by: | - |
|---|---|---|---|
| Priority: | major | Milestone: | 0.3 (preview 3) |
| Keywords: | Cc: |
Description (last modified by http://nedko.arnaudov.name/) (diff)
Happens with ladish 93fe0427c1ab0a650b7c294142492205b3e60b9c
Crash does not happen always because it depends on whether the vgraph client was created by a2j or native jack port appear.
The app has to have both alsa seq ports and jack ports. a2j must be active. I'm reproducing this with qarecord.
if the port is created by a2j port appear, the vgraph client is created but because there is no jack client associated with the app yet, it cannot be interlinked. When later the native jack ports appear, the vgraph client is reused but the interlink was not set.
This causes an assert crash on app stop after the a2j port(s) disappear.
Sat Dec 25 00:05:50 2010: ERROR: ladish_virtualizer_is_hidden_app: jack client of app 'qarecord' has no interlinked vgraph client Sat Dec 25 00:05:50 2010: ERROR: ladish_virtualizer_is_hidden_app: Code execution taboo point. function ladish_virtualizer_is_hidden_app in ../daemon/virtualizer.c:1186
