FS#33127 - [jack2] libffado is required to start jack after updating

Attached to Project: Community Packages
Opened by Antanas Bružas (antanas) - Tuesday, 18 December 2012, 21:51 GMT
Last edited by Ray Rashif (schivmeister) - Monday, 25 February 2013, 06:25 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ray Rashif (schivmeister)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
When updated to jack2 1.9.9.5-1 I couldn't start jack and I noticed that it was because of the ffado driver. I don't have a firewire device so I never used ffado, but now I needed to install libffado to be able to start jack

Additional info:
Tue Dec 18 23:36:42 2012: Controller activated. Version 1.9.9.5 (unknown) built on Mon Dec 10 23:10:29 2012
Tue Dec 18 23:36:42 2012: ERROR: Could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
Tue Dec 18 23:36:42 2012: ERROR: Could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
Tue Dec 18 23:36:42 2012: ERROR: jack_get_descriptor : dll jack_firewire.so is not a driver
Tue Dec 18 23:36:42 2012: ERROR: Segmentation Fault!
Tue Dec 18 23:36:42 2012: ERROR: info.si_signo = 11
Tue Dec 18 23:36:42 2012: ERROR: info.si_errno = 0
Tue Dec 18 23:36:42 2012: ERROR: info.si_code = 2 (SEGV_ACCERR)
Tue Dec 18 23:36:42 2012: ERROR: info.si_addr = 0x7f486fb3a75e
Tue Dec 18 23:36:42 2012: ERROR: reg[00] = 0x00007f486ff88908
Tue Dec 18 23:36:42 2012: ERROR: reg[01] = 0x0000000000000398
Tue Dec 18 23:36:42 2012: ERROR: reg[02] = 0x665f6b63616a206c
Tue Dec 18 23:36:42 2012: ERROR: reg[03] = 0x0000000000000246
Tue Dec 18 23:36:42 2012: ERROR: reg[04] = 0x00007f486fb3a44e
Tue Dec 18 23:36:42 2012: ERROR: reg[05] = 0x00007fff39e79280
Tue Dec 18 23:36:42 2012: ERROR: reg[06] = 0x0000000000000000
Tue Dec 18 23:36:42 2012: ERROR: reg[07] = 0x0000000000000000
Tue Dec 18 23:36:42 2012: ERROR: reg[08] = 0x00007f486fb3a44e
Tue Dec 18 23:36:42 2012: ERROR: reg[09] = 0x0000000200000000
Tue Dec 18 23:36:42 2012: ERROR: reg[10] = 0x00007f486f6720e0
Tue Dec 18 23:36:42 2012: ERROR: reg[11] = 0x00007f486fb3a44e
Tue Dec 18 23:36:42 2012: ERROR: reg[12] = 0x000000006b636169
Tue Dec 18 23:36:42 2012: ERROR: reg[13] = 0x00000003ffffffff
Tue Dec 18 23:36:42 2012: ERROR: reg[14] = 0x00000003ffffffff
Tue Dec 18 23:36:42 2012: ERROR: reg[15] = 0x00007fff39e78848
Tue Dec 18 23:36:42 2012: ERROR: reg[16] = 0x00007f486fd79220
Tue Dec 18 23:36:42 2012: ERROR: reg[17] = 0x0000000000010206
Tue Dec 18 23:36:42 2012: ERROR: reg[18] = 0x0000000000000033
Tue Dec 18 23:36:42 2012: ERROR: reg[19] = 0x0000000000000007
Tue Dec 18 23:36:42 2012: ERROR: reg[20] = 0x000000000000000e
Tue Dec 18 23:36:42 2012: ERROR: reg[21] = 0x0000000000005a07
Tue Dec 18 23:36:42 2012: ERROR: reg[22] = 0x00007f486fb3a75e
Tue Dec 18 23:36:42 2012: ERROR: Stack trace:
Tue Dec 18 23:36:42 2012: ERROR: 1: 0x7f486fd79220 <(null)+1876398624> (/lib/ld-linux-x86-64.so.2)
Tue Dec 18 23:36:42 2012: ERROR: End of stack trace


Steps to reproduce:
Try to start jack version 1.9.9.5-1 without libffado installed on the system
This task depends upon

Closed by  Ray Rashif (schivmeister)
Monday, 25 February 2013, 06:25 GMT
Reason for closing:  Fixed
Comment by Ricky Sheaves (rickysheaves) - Wednesday, 19 December 2012, 11:21 GMT
I can confirm. After the upgrade to 1.9.9.5-1, jack will not start until libffado is installed. I have no firewire devices, you can see the driver specified is "alsa" in the log below, and the motherboard's onboard firewire is disabled in the BIOS.

06:14:25.140 JACK is starting...
06:14:25.141 /usr/bin/jackd -dalsa -dhw:0 -r48000 -p64 -n3 -Xseq
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
Could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
Could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
jack_get_descriptor : dll jack_firewire.so is not a driver
06:14:25.166 JACK was started with PID=1053.
06:14:25.186 JACK was stopped successfully.
06:14:25.187 JACK has crashed.
06:14:27.211 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started

Installing libffado resolves the issue.
Comment by Vincent Vinel (Narthorn) - Monday, 24 December 2012, 16:11 GMT
I can also confirm this. Previous behavior was that jack would only complain at runtime, but still start.
Manually installing libffado or building jack2 without libffado installed solves the problem.
Comment by pi03k (pi03k) - Tuesday, 19 February 2013, 21:23 GMT
I also confirm. I have no firewire devices. When ladish tries to start jack dbus without libffado I get:

ERROR:dbus.proxies:Introspect error on :1.15:/org/jackaudio/Controller: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
Traceback (most recent call last):
File "/usr/bin/laditray", line 120, in <module>
laditray().run()
File "/usr/bin/laditray", line 43, in __init__
laditools.manager.__init__(self, self.global_config.get_config_section ('ladimenu'), autostart)
File "/usr/lib/python2.7/site-packages/laditools/ladimenu.py", line 54, in __init__
self.jack_start ()
File "/usr/lib/python2.7/site-packages/laditools/ladimenu.py", line 89, in jack_start
self.get_jack_controller().start()
File "/usr/lib/python2.7/site-packages/laditools/jack_controller.py", line 64, in start
self.iface.StartServer ()
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.15 was not provided by any .service files

After instalation of libffado problem doesn't occur
Comment by Ray Rashif (schivmeister) - Sunday, 24 February 2013, 21:23 GMT
Unfortunately, I haven't found out why. Will be pushing an update that depends on it anyway - don't think an extra library like this is going to upset non-FW users.

Loading...