[pulseaudio-tickets] [PulseAudio] #912: SEGFAULT in dbus_connection_send_with_reply_and_block at startup when using pulseaudio with jack

PulseAudio trac-noreply at tango.0pointer.de
Tue Feb 15 11:24:39 PST 2011


#912: SEGFAULT in dbus_connection_send_with_reply_and_block at startup when using
pulseaudio with jack
------------------------+---------------------------------------------------
  Reporter:  darkraven  |       Owner:  lennart      
      Type:  defect     |      Status:  new          
 Milestone:             |   Component:  module-jack-*
Resolution:             |    Keywords:               
------------------------+---------------------------------------------------

Old description:

> When using pulseaudio with jack,pulseaudio crashes quite frequently at
> start up.
> Here is some debug infomation:
> DBus assertion failed:
> 11351: assertion failed "!(connection)->have_connection_lock" file "dbus-
> connection.c" line 3531 function
> dbus_connection_send_with_reply_and_block
>
> Backtrace:
>
> #0  0x00007ffff46ed675 in raise () from /lib/libc.so.6
> #1  0x00007ffff46eeaf6 in abort () from /lib/libc.so.6
> #2  0x00007ffff5518485 in _dbus_abort () at dbus-sysdeps.c:94
> #3  0x00007ffff5506be1 in _dbus_real_assert (condition=<value optimized
> out>,
>     condition_text=0x7ffff551af70 "!(connection)->have_connection_lock",
> file=0x7ffff551a9d7 "dbus-connection.c", line=3531,
>     func=<value optimized out>) at dbus-internals.c:902
> #4  0x00007ffff54e10f1 in dbus_connection_send_with_reply_and_block
> (connection=0x639ea0, message=0x63c820,
>     timeout_milliseconds=-1, error=0x7fffe7ab8d80) at dbus-
> connection.c:3531
> #5  0x00007ffff74f766b in rtkit_make_realtime () from
> /usr/lib/libpulsecommon-0.9.22.so
> #6  0x00007ffff74cf235 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
> #7  0x00007ffff74d00ed in pa_make_realtime () from
> /usr/lib/libpulsecommon-0.9.22.so
> #8  0x00007fffed6503d3 in ?? () from /usr/lib/libjack.so.0
> #9  0x00007fffed667599 in ?? () from /usr/lib/libjack.so.0
> #10 0x00007ffff52b5cb0 in start_thread () from /lib/libpthread.so.0
> #11 0x00007ffff478eaed in clone () from /lib/libc.so.6
> #12 0x0000000000000000 in ?? ()
>
> Jack version: 1.9.6
> rtkit version: 0.9
> libdbus version: 1.4.1
> kernel: 2.6.37

New description:

 When using pulseaudio with jack,pulseaudio crashes quite frequently at
 start up.
 Here is some debug infomation:
 DBus assertion failed:
 {{{
 11351: assertion failed "!(connection)->have_connection_lock" file "dbus-
 connection.c" line 3531 function dbus_connection_send_with_reply_and_block
 }}}

 Backtrace:
 {{{
 #0  0x00007ffff46ed675 in raise () from /lib/libc.so.6
 #1  0x00007ffff46eeaf6 in abort () from /lib/libc.so.6
 #2  0x00007ffff5518485 in _dbus_abort () at dbus-sysdeps.c:94
 #3  0x00007ffff5506be1 in _dbus_real_assert (condition=<value optimized
 out>,
     condition_text=0x7ffff551af70 "!(connection)->have_connection_lock",
 file=0x7ffff551a9d7 "dbus-connection.c", line=3531,
     func=<value optimized out>) at dbus-internals.c:902
 #4  0x00007ffff54e10f1 in dbus_connection_send_with_reply_and_block
 (connection=0x639ea0, message=0x63c820,
     timeout_milliseconds=-1, error=0x7fffe7ab8d80) at dbus-
 connection.c:3531
 #5  0x00007ffff74f766b in rtkit_make_realtime () from
 /usr/lib/libpulsecommon-0.9.22.so
 #6  0x00007ffff74cf235 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
 #7  0x00007ffff74d00ed in pa_make_realtime () from
 /usr/lib/libpulsecommon-0.9.22.so
 #8  0x00007fffed6503d3 in ?? () from /usr/lib/libjack.so.0
 #9  0x00007fffed667599 in ?? () from /usr/lib/libjack.so.0
 #10 0x00007ffff52b5cb0 in start_thread () from /lib/libpthread.so.0
 #11 0x00007ffff478eaed in clone () from /lib/libc.so.6
 #12 0x0000000000000000 in ?? ()
 }}}

 Jack version: 1.9.6[[BR]]
 rtkit version: 0.9[[BR]]
 libdbus version: 1.4.1[[BR]]
 kernel: 2.6.37

--

Comment(by coling):

 Thanks for the report... I've seen some problems with dbus reconnections
 from STR with dbus 1.4.x but never been able to debug properly. This can
 affect the DBUS reservation protocol which is also involved in the
 graceful handover to Jack.

 In what way is jack using PA? Are you trying to configure jack to use PA
 via the ALSA-pulse plugin? If so this doesn't really make much sense, but
 i'm not at all sure if that's what you're doing :)

 Normally Jack would work directly with the alsa drivers and we'd use
 module-jack-sink to allow PA to still output sound (via Jack).

 Can you describe in more detail how things are wired up? Thanks :)

-- 
Ticket URL: <http://pulseaudio.org/ticket/912#comment:2>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list