FS#44760 - [libffado] Crashes

Attached to Project: Arch Linux
Opened by Florus Dastious (dastious) - Tuesday, 28 April 2015, 12:21 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 29 April 2015, 09:46 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ray Rashif (schivmeister)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Well I am on Manjaro Stable, but even if I download the Arch package this append :

jackd -d firewire
jackd 0.124.1
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with System V SHM support.
loading driver ..
1430222189215226: (ffado.cpp)[ 92] ffado_streaming_init: libffado 2.2.1-Unversioned directory built Jun 5 2014 20:16:21
Instruction non permise (core dumped)

Additional info:
If I makepkg from the source it work.

About my config cause I think it's a compilation problem :

Machine: Mobo: ASUSTeK model: P5K Premium v: Rev 1.xx Bios: American Megatrends v: 1101 date: 12/17/2008
CPU: Quad core Intel Core2 Quad Q6600 (-MCP-) cache: 4096 KB
clock speeds: max: 2394 MHz 1: 2394 MHz 2: 1596 MHz 3: 2394 MHz 4: 1596 MHz
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 29 April 2015, 09:46 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.2.1-2.
Comment by Ray Rashif (schivmeister) - Tuesday, 28 April 2015, 19:41 GMT
  • Field changed: Status (Assigned → Unconfirmed)
  • Field changed: Severity (Low → Medium)
You have the wrong bugtracker, Manjaro is not Arch Linux -- it is a derivative of Arch Linux with its own repositories and packages.

I am not able to reproduce this, but because I do not have a device I will wait for reports from those who do (if it is indeed an issue across distros). I will give this 3 days before I close.

Next time, report to a relevant bugtracker with the output from:

LC_ALL=C jackd -d firewire -v4

And, in cases where you get a core dump, check your dmesg.

Thanks!
Comment by Jan de Groot (JGC) - Tuesday, 28 April 2015, 22:07 GMT
Probably caused by the ENABLE-OPTIMIZATION flag passed to cmake for amd64 builds. My guess is that this compiles native for the build system, which causes problems for older cpus.
Comment by Florus Dastious (dastious) - Tuesday, 28 April 2015, 22:26 GMT
I know I already reported on Manjaro, but since Manjaro use the Arch upstream, I downloaded the package from https://www.archlinux.org/packages/extra/x86_64/libffado/ and had the same error. Then I used the source from this webpage and compiled it with makepkg and it worked, so i taugh it was a good idea to report it. I'm bit novice sorry.
Comment by Florus Dastious (dastious) - Tuesday, 28 April 2015, 22:30 GMT
With LC_ALL=C jackd -d firewire -v4

LC_ALL=C jackd -d firewire -v4
jackd 0.124.1
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with System V SHM support.
loading driver ..
1430260124635468: (ffado.cpp)[ 92] ffado_streaming_init: libffado 2.2.1-Unversioned directory built Jun 5 2014 20:16:21
02851643418: Debug (devicemanager.cpp)[ 354] discover: Starting discovery...
02851679881: Debug (devicemanager.cpp)[ 616] discover: driver found for device 0
02851692122: Debug (devicemanager.cpp)[ 653] discover: discovery of node 0 on port 0 done...
02851692159: Debug (devicemanager.cpp)[ 661] discover: Discovery finished...
02851692181: Debug (devicemanager.cpp)[1258] showDeviceInfo: ===== Device Manager =====
02851692196: Debug (Element.cpp)[ 121] show: Element DeviceManager
02851692210: Debug (devicemanager.cpp)[1266] showDeviceInfo: --- IEEE1394 Service 0 ---
02851692224: Debug (devicemanager.cpp)[1276] showDeviceInfo: --- Device 0 ---
02851692237: Debug (devicemanager.cpp)[1279] showDeviceInfo: Clock sync sources:
02851692256: Debug (devicemanager.cpp)[1288] showDeviceInfo: Type: Internal , Id: 0, Valid: 1, Active: 1, Locked 1, Slipping: 0, Description: Internal sync
02851692271: Debug (devicemanager.cpp)[1288] showDeviceInfo: Type: ADAT , Id: 1, Valid: 1, Active: 1, Locked 1, Slipping: 0, Description: ADAT optical
02851692285: Debug (devicemanager.cpp)[1288] showDeviceInfo: Type: SPDIF , Id: 2, Valid: 1, Active: 1, Locked 1, Slipping: 0, Description: SPDIF/Toslink
02851692299: Debug (devicemanager.cpp)[1288] showDeviceInfo: Type: Erratic type , Id: 3, Valid: 0, Active: 0, Locked 0, Slipping: 0, Description: SMPTE
02851692312: Debug (devicemanager.cpp)[1288] showDeviceInfo: Type: WordClock , Id: 4, Valid: 1, Active: 1, Locked 1, Slipping: 0, Description: Wordclock
02851704169: Debug (motu_avdevice.cpp)[1045] prepare: Preparing MotuDevice...
Instruction non permise (core dumped)

In dmesg :
[ 2845.456894] traps: jackd[11955] trap invalid opcode ip:7f95db4f00c4 sp:7ffea99e3550 error:0 in libffado.so.2.2.1[7f95db35c000+295000]
[ 2851.714436] traps: jackd[11988] trap invalid opcode ip:7f535e5430c4 sp:7ffda6ef1ee0 error:0 in libffado.so.2.2.1[7f535e3af000+295000]

Loading...