Bug 1636905 - jackd cannot start the streaming system with a firewire device
Summary: jackd cannot start the streaming system with a firewire device
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: jack-audio-connection-kit
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Dominik 'Rathann' Mierzejewski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-08 08:48 UTC by zby
Modified: 2019-02-24 22:32 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-02-24 22:32:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
logs diagnostics and a screen-shot (79.75 KB, application/x-xz)
2018-10-08 08:52 UTC, zby
no flags Details
gdb and jackd logs (338.93 KB, application/x-xz)
2018-10-10 08:00 UTC, zby
no flags Details

Description zby 2018-10-08 08:48:51 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Build Identifier: 

   When I start jackd with the firewire driver it fails to start the streaming system. If this is the first attempt jackd crashes with segmentation fault. Every try to start that follows causes jackd to hang failing to hang-up on Ctrl+C signal. Must be paused and killed. All tries complain about the failures to start the streaming system.
   I tested the jackd with alsa driver. It works
   I frequently use the audio device with an old laptop that has a different FW chip (TSB43AB21 IEEE-1394a-2000) and running CentOS 6 32bit. It works.

Command used: jackd -R -P80 -d firewire
Kernel: 4.18.7 #2 SMP PREEMPT Fri Sep 14 11:27:16 CEST 2018 x86_64 x86_64 x86_64 GNU/Linux
jack RPM: jack-audio-connection-kit-1.9.9.5-6.el7.x86_64
Build Host  : buildvm-14.phx2.fedoraproject.org
ffado RPM: libffado-2.1.0-4.el7.x86_64
Build Host  : buildvm-27.phx2.fedoraproject.org
FW Interface: 
  01:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200A PCI Express-to-PCI Bridge (rev 03)
  02:00.0 FireWire (IEEE 1394): Texas Instruments XIO2200A IEEE-1394a-2000 Controller (PHY/Link) (rev 01)
Audio Interface: Edirol FA-101
OS: CentOS Linux release 7.5.1804 (Core), x86_64
RAM: 8GB
Security info:
@realtime   -  rtprio     99
@realtime   -  memlock    unlimited



Reproducible: Always

Steps to Reproduce:
jackd MUST run simply from a command line like this:
1. Boot with the RT kernel
2. From the command line issue: "jackd -R -P80 -d firewire" and wait until the jackd starts the server.
3. If a similar report listed in the "Expected Results" entry field does not occur wait until jackd crashes. If not, hit the Ctrl+C. If jackd does not quit hit Ctrl+Z and issue pkill -9 jackd
4. If the similar report DOES occur, start audacity
5. Make sure the "audio host" option is set to "JACKD Audio Connection Kit" and hit the record button (red). A normal data stream should occur indicating the system is recording at least (Do not forget to hook up a sound source to the input of the audio interface :)  ).
6. When done, quit audacity. jackd should remain running.
7. To quit jackd, simply hit Ctrl+C. No troubles should occur then.
Actual Results:  
A crash followed by a segmentation fault.

Expected Results:  
An example of expected result would be:
jackdmp 1.9.9.5
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 Grame.
jackdmp 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
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 80
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
Using port names patch v0.1 (07.04.2010)


Plus a test recording a stream into eg. audacity/ardour or similar.

  In the file attached I provide a few files with useful data about my system plus a screen-shot with a working Audacity hooked up to jackd with ALSA driver. May that serve a support to the steps to reproduce.
  This problem practically prevents me from moving my recording studio onto a new and more powerful HW.

  The new Firewire interface
  URL: https://www.startech.com/Cards-Adapters/FireWire/2-Port-ExpressCard-IEEE-1394-Firewire-Card~EC13942
  Description: http://www.ti.com/lit/ds/symlink/xio2200a.pdf

Comment 1 zby 2018-10-08 08:52:09 UTC
Created attachment 1491547 [details]
logs diagnostics and a screen-shot

ffado_diag.log
ffado_test.log
lspci.log
jackd.log (verbose level = 3)
Pictures/Screenshot from 2018-10-08 10-28-06.png

Comment 2 Dominik 'Rathann' Mierzejewski 2018-10-08 09:45:24 UTC
Thanks for your report.

However, without all that hardware I can't even dream of trying to reproduce it, so apart from sending me your hardware, the next best thing you can do is post a full backtrace. Please install any relevant debuginfo packages, attach gdb to the jackd process before it crashes and reproduce the crash. Then, capture the backtrace and post it here.

I wonder if it's something fixed in the latest 1.9.12. I'll try to make a build for EPEL7, but it might take a while.

Comment 3 zby 2018-10-08 13:40:16 UTC
> without all that hardware I can't
Well, understandable.

I can provide other info on demand.
I installed all requested packages according the gdb recommendations.
Despite the fact that the jackd is complaining about not being able to use the real-time priority the ffado-diag reports:

Preempt (low latency)... True


ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 31312
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 99
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 4096
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


[zby@fuji01 ~]$ rm -rf .ffado/cache
[zby@fuji01 ~]$ gdb /usr/bin/jackd 
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-110.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/jackd...Reading symbols from /usr/lib/debug/usr/bin/jackd.debug...done.
done.
(gdb) run -R -P80 -d firewire -v 4
Starting program: /usr/bin/jackd -R -P80 -d firewire -v 4
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
jackdmp 1.9.9.5
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 Grame.
jackdmp 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
[New Thread 0x7ffff212a700 (LWP 7022)]
no message buffer overruns
[Thread 0x7ffff212a700 (LWP 7022) exited]
[New Thread 0x7ffff212a700 (LWP 7023)]
no message buffer overruns
[Thread 0x7ffff212a700 (LWP 7023) exited]
[New Thread 0x7ffff212a700 (LWP 7024)]
no message buffer overruns
[Thread 0x7ffff212a700 (LWP 7024) exited]
JACK server starting in realtime mode with priority 80
[New Thread 0x7ffff7fb2700 (LWP 7025)]
[New Thread 0x7ffff212a700 (LWP 7026)]
1539005728671884:  (ffado.cpp)[  92] ffado_streaming_init: libffado 2.1.0-Unversioned directory built Oct 28 2014 09:55:56
[New Thread 0x7fffea056700 (LWP 7027)]
[New Thread 0x7fffe1855700 (LWP 7028)]
[New Thread 0x7fffe9855700 (LWP 7029)]
[New Thread 0x7fffe9054700 (LWP 7030)]
1539005728680810: Error (ieee1394service.cpp)[1701] Execute: Failed to iterate handler
1539005728681892: Error (ieee1394service.cpp)[1701] Execute: Failed to iterate handler
[Thread 0x7fffe9855700 (LWP 7029) exited]
[New Thread 0x7fffe8853700 (LWP 7031)]
1539005728682908: Error (ieee1394service.cpp)[1701] Execute: Failed to iterate handler
[Thread 0x7fffe9054700 (LWP 7030) exited]
[Thread 0x7fffe8853700 (LWP 7031) exited]
[New Thread 0x7fffe3fff700 (LWP 7032)]
[New Thread 0x7fffe37fe700 (LWP 7033)]
[New Thread 0x7fffe2ffd700 (LWP 7034)]
03093387694: Error (PosixThread.cpp)[ 246] AcquireRealTime: Cannot use real-time scheduling (FIFO/85) (3: No such process)03093387707: Debug (devicemanager.cpp)[ 358] discover: Starting discovery...
03093471563: Debug (Configuration.cpp)[ 163] showSetting:   Group: (null)
03093471580: Debug (Configuration.cpp)[ 185] showSetting:     vendorid = 16555 (0x000040AB)
03093471596: Debug (Configuration.cpp)[ 185] showSetting:     modelid = 65608 (0x00010048)
03093471601: Debug (Configuration.cpp)[ 209] showSetting:     vendorname = EDIROL
03093471610: Debug (Configuration.cpp)[ 209] showSetting:     modelname = FA-101
03093471618: Debug (Configuration.cpp)[ 185] showSetting:     driver = 1 (0x00000001)
03093471629: Debug (Configuration.cpp)[ 209] showSetting:     mixer = EdirolFa101Control
03093471632: Debug (Configuration.cpp)[ 185] showSetting:     xmit_max_cycles_early_transmit = 4 (0x00000004)
03093471719: Debug (devicemanager.cpp)[ 620] discover: driver found for device 0
03093543174: Debug (bebob_avdevice.cpp)[ 734] loadFromCache: filename /home/zby/.ffado/cache/0040ab0000c239dc/00000060070b0b04.xml
03093543212: Debug (bebob_avdevice.cpp)[ 738] loadFromCache: "/home/zby/.ffado/cache/0040ab0000c239dc/00000060070b0b04.xml" does not exist
03093543273: Debug (Configuration.cpp)[ 163] showSetting:   Group: (null)
03093543296: Debug (Configuration.cpp)[ 185] showSetting:     vendorid = 16555 (0x000040AB)
03093543300: Debug (Configuration.cpp)[ 185] showSetting:     modelid = 65608 (0x00010048)
03093543308: Debug (Configuration.cpp)[ 209] showSetting:     vendorname = EDIROL
03093543311: Debug (Configuration.cpp)[ 209] showSetting:     modelname = FA-101
03093543320: Debug (Configuration.cpp)[ 185] showSetting:     driver = 1 (0x00000001)
03093543324: Debug (Configuration.cpp)[ 209] showSetting:     mixer = EdirolFa101Control
03093543333: Debug (Configuration.cpp)[ 185] showSetting:     xmit_max_cycles_early_transmit = 4 (0x00000004)
03093558146: Debug (bebob_avdevice_subunit.cpp)[  83] discover: Discovering BeBoB::AudioSubunit...
03093558169: Debug (avc_audiosubunit.cpp)[  56] discover: Discovering BeBoB::AudioSubunit...
03093558174: Debug (avc_subunit.cpp)[ 108] discoverPlugs: Discovering plugs...
03094633166: Debug (bebob_avdevice_subunit.cpp)[ 132] discoverFunctionBlocks: Discovering function blocks...
03094662243: Debug (bebob_functionblock.cpp)[  93] discover: discover function block Feature (nr of input plugs = 1, nr of output plugs = 1)
03094813163: Debug (bebob_functionblock.cpp)[ 132] discoverPlugs: plug 'Feature FB Ext In 1/2' found
03094978122: Debug (bebob_functionblock.cpp)[ 132] discoverPlugs: plug 'Feature FB Ext Out 1/2' found
03094978162: Debug (bebob_functionblock.cpp)[  93] discover: discover function block Feature (nr of input plugs = 1, nr of output plugs = 1)
03095156113: Debug (bebob_functionblock.cpp)[ 132] discoverPlugs: plug 'Feature FB Ext In 3/4' found
03095326176: Debug (bebob_functionblock.cpp)[ 132] discoverPlugs: plug 'Feature FB Ext Out 3/4' found
03095326190: Debug (bebob_functionblock.cpp)[  93] discover: discover function block Feature (nr of input plugs = 1, nr of output plugs = 1)
03095500188: Debug (bebob_functionblock.cpp)[ 132] discoverPlugs: plug 'Feature FB Ext In 5/6' found
03095670177: Debug (bebob_functionblock.cpp)[ 132] discoverPlugs: plug 'Feature FB Ext Out 5/6' found
03095670202: Debug (bebob_functionblock.cpp)[  93] discover: discover function block Feature (nr of input plugs = 1, nr of output plugs = 1)
03095842165: Debug (bebob_functionblock.cpp)[ 132] discoverPlugs: plug 'Feature FB Ext In 7/8' found
03096010175: Debug (bebob_functionblock.cpp)[ 132] discoverPlugs: plug 'Feature FB Ext Out 7/8' found
03096010190: Debug (bebob_functionblock.cpp)[  93] discover: discover function block Feature (nr of input plugs = 1, nr of output plugs = 1)
03096185175: Debug (bebob_functionblock.cpp)[ 132] discoverPlugs: plug 'Feature FB Ext In 9/10' found
03096346168: Debug (bebob_functionblock.cpp)[ 132] discoverPlugs: plug 'Feature FB Ext Out 9/10' found
03096390174: Debug (bebob_avdevice_subunit.cpp)[ 170] discoverFunctionBlocks:              Feature FB, type 0x81, id=1
03096390211: Debug (bebob_avdevice_subunit.cpp)[ 170] discoverFunctionBlocks:              Feature FB, type 0x81, id=2
03096390241: Debug (bebob_avdevice_subunit.cpp)[ 170] discoverFunctionBlocks:              Feature FB, type 0x81, id=3
03096390257: Debug (bebob_avdevice_subunit.cpp)[ 170] discoverFunctionBlocks:              Feature FB, type 0x81, id=4
03096390274: Debug (bebob_avdevice_subunit.cpp)[ 170] discoverFunctionBlocks:              Feature FB, type 0x81, id=5
03096390293: Debug (bebob_avdevice_subunit.cpp)[ 449] discover: Discovering BeBoB::MusicSubunit...
03096390310: Debug (avc_musicsubunit.cpp)[  65] discover: Discovering BeBoB::MusicSubunit...
03096390324: Debug (avc_subunit.cpp)[ 108] discoverPlugs: Discovering plugs...
03099383165: Debug (avc_unit.cpp)[ 366] discoverPlugs: Discovering plugs...
03099397080: Debug (avc_unit.cpp)[ 383] discoverPlugs: number of iso input plugs = 2
03099397136: Debug (avc_unit.cpp)[ 385] discoverPlugs: number of iso output plugs = 2
03099397162: Debug (avc_unit.cpp)[ 387] discoverPlugs: number of external input plugs = 6
03099397179: Debug (avc_unit.cpp)[ 389] discoverPlugs: number of external output plugs = 6
03099397194: Debug (avc_unit.cpp)[ 426] discoverPlugsPCR: Discovering PCR plugs, direction 0...
03099755214: Debug (avc_unit.cpp)[ 448] discoverPlugsPCR: plug 'PCR Compound Input' found
03099897164: Debug (avc_unit.cpp)[ 448] discoverPlugsPCR: plug 'PCR Synch Input' found
03099897190: Debug (avc_unit.cpp)[ 426] discoverPlugsPCR: Discovering PCR plugs, direction 1...
03100273176: Debug (avc_unit.cpp)[ 448] discoverPlugsPCR: plug 'PCR Compound Ouput' found
03100414151: Debug (avc_unit.cpp)[ 448] discoverPlugsPCR: plug 'PCR Synch Output' found
03100414174: Debug (avc_unit.cpp)[ 459] discoverPlugsExternal: Discovering External plugs, direction 0...
03100545163: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'Ext Midi Input' found
03100685176: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'Ext Audio Input 1/2' found
03100826189: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'Ext Audio Input 3/4' found
03100983133: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'Ext Audio Input 5/6' found
03101127177: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'Ext Audio Input 7/8' found
03101275167: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'Ext Audio Input 9/10 SPDIF' found
03101275212: Debug (avc_unit.cpp)[ 459] discoverPlugsExternal: Discovering External plugs, direction 1...
03101403174: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'Ext Midi Ouput' found
03101488167: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'Ext Audio Ouput 1/2' found
03101636163: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'Ext Audio Ouput 3/4' found
03101777174: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'Ext Audio Ouput 5/6' found
03101923173: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'Ext Audio Ouput 7/8' found
03102078148: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'Ext Audio Ouput 9/1 SPDIF0' found
03102078160: Debug (avc_unit.cpp)[ 489] discoverPlugConnections: Discovering PCR plug connections...
03102195186: Debug (avc_unit.cpp)[ 500] discoverPlugConnections: Discovering External plug connections...
03102566137: Debug (bebob_avdevice_subunit.cpp)[ 102] discoverConnections: Discovering connections...
03102566175: Debug (avc_subunit.cpp)[ 148] discoverConnections: Discovering connections...
03102600204: Error (avc_plug.cpp)[1227] discoverConnectionsFromSpecificData: no corresponding plug found for '(0) ASU Wave Output 1/2'
03102600251: Warning (bebob_avplug.cpp)[ 607] discoverConnectionsOutput: Could not discover connections for plug 'ASU Wave Output 1/2'
03102779179: Error (avc_plug.cpp)[1227] discoverConnectionsFromSpecificData: no corresponding plug found for '(6) ASU Ext Audio Output 1/2'
03102779200: Warning (bebob_avplug.cpp)[ 544] discoverConnectionsInput: Could not discover connections for plug 'ASU Ext Audio Output 1/2'
03102861191: Error (avc_plug.cpp)[1227] discoverConnectionsFromSpecificData: no corresponding plug found for '(8) Feature FB Ext Out 1/2'
03102861204: Warning (bebob_avplug.cpp)[ 607] discoverConnectionsOutput: Could not discover connections for plug 'Feature FB Ext Out 1/2'
03102923177: Error (avc_plug.cpp)[1227] discoverConnectionsFromSpecificData: no corresponding plug found for '(10) Feature FB Ext Out 3/4'
03102923198: Warning (bebob_avplug.cpp)[ 607] discoverConnectionsOutput: Could not discover connections for plug 'Feature FB Ext Out 3/4'
03102990177: Error (avc_plug.cpp)[1227] discoverConnectionsFromSpecificData: no corresponding plug found for '(12) Feature FB Ext Out 5/6'
03102990199: Warning (bebob_avplug.cpp)[ 607] discoverConnectionsOutput: Could not discover connections for plug 'Feature FB Ext Out 5/6'
03103051184: Error (avc_plug.cpp)[1227] discoverConnectionsFromSpecificData: no corresponding plug found for '(14) Feature FB Ext Out 7/8'
03103051205: Warning (bebob_avplug.cpp)[ 607] discoverConnectionsOutput: Could not discover connections for plug 'Feature FB Ext Out 7/8'
03103110170: Error (avc_plug.cpp)[1227] discoverConnectionsFromSpecificData: no corresponding plug found for '(16) Feature FB Ext Out 9/10'
03103110189: Warning (bebob_avplug.cpp)[ 607] discoverConnectionsOutput: Could not discover connections for plug 'Feature FB Ext Out 9/10'
03103110194: Debug (avc_subunit.cpp)[ 148] discoverConnections: Discovering connections...
03103837132: Debug (bebob_avdevice.cpp)[ 809] saveCache: filename /home/zby/.ffado/cache/0040ab0000c239dc/00000060070b0b04.xml
03104020765: Debug (devicemanager.cpp)[ 657] discover: discovery of node 0 on port 0 done...
03104020801: Debug (devicemanager.cpp)[ 665] discover: Discovery finished...
03104020811: Debug (devicemanager.cpp)[1269] showDeviceInfo: ===== Device Manager =====
03104020822: Debug (Element.cpp)[ 121] show: Element DeviceManager
03104020833: Debug (devicemanager.cpp)[1277] showDeviceInfo: --- IEEE1394 Service  0 ---
Iso handler info:
Dumping IsoHandlerManager Stream handler information...
 State: 2
03104020897: Debug (devicemanager.cpp)[1287] showDeviceInfo: --- Device  0 ---
03104020915: Debug (bebob_avdevice.cpp)[ 480] showDevice: Device is a BeBoB device
03104020929: Debug (ffadodevice.cpp)[ 215] showDevice: Attached to port.......: 0 (/dev/fw1)
03104020946: Debug (ffadodevice.cpp)[ 216] showDevice: Node...................: 0
03104020961: Debug (ffadodevice.cpp)[ 218] showDevice: Vendor name............: EDIROL
03104020979: Debug (ffadodevice.cpp)[ 220] showDevice: Model name.............: EDIROL FA-101
03104020994: Debug (ffadodevice.cpp)[ 222] showDevice: GUID...................: 0040ab0000c239dc
03104021024: Debug (ffadodevice.cpp)[ 227] showDevice: Assigned ID....: 0040ab0000c239dc
03104021041: Debug (devicemanager.cpp)[1290] showDeviceInfo: Clock sync sources:
03104021056: Debug (devicemanager.cpp)[1299] showDeviceInfo:  Type: Erratic type      , Id:  0, Valid: 1, Active: 0, Locked 1, Slipping: 0, Description: Device Controlled
03104120258: Debug (Configuration.cpp)[ 163] showSetting:   Group: (null)
03104120312: Debug (Configuration.cpp)[ 185] showSetting:     vendorid = 16555 (0x000040AB)
03104120323: Debug (Configuration.cpp)[ 185] showSetting:     modelid = 65608 (0x00010048)
03104120337: Debug (Configuration.cpp)[ 209] showSetting:     vendorname = EDIROL
03104120350: Debug (Configuration.cpp)[ 209] showSetting:     modelname = FA-101
03104120369: Debug (Configuration.cpp)[ 185] showSetting:     driver = 1 (0x00000001)
03104120383: Debug (Configuration.cpp)[ 209] showSetting:     mixer = EdirolFa101Control
03104120400: Debug (Configuration.cpp)[ 185] showSetting:     xmit_max_cycles_early_transmit = 4 (0x00000004)
03104120466: Debug (Configuration.cpp)[ 163] showSetting:   Group: (null)
03104120485: Debug (Configuration.cpp)[ 185] showSetting:     vendorid = 16555 (0x000040AB)
03104120494: Debug (Configuration.cpp)[ 185] showSetting:     modelid = 65608 (0x00010048)
03104120509: Debug (Configuration.cpp)[ 209] showSetting:     vendorname = EDIROL
03104120521: Debug (Configuration.cpp)[ 209] showSetting:     modelname = FA-101
03104120539: Debug (Configuration.cpp)[ 185] showSetting:     driver = 1 (0x00000001)
03104120558: Debug (Configuration.cpp)[ 209] showSetting:     mixer = EdirolFa101Control
03104120577: Debug (Configuration.cpp)[ 185] showSetting:     xmit_max_cycles_early_transmit = 4 (0x00000004)
03104120618: Debug (Configuration.cpp)[ 163] showSetting:   Group: (null)
03104120641: Debug (Configuration.cpp)[ 185] showSetting:     vendorid = 16555 (0x000040AB)
03104120652: Debug (Configuration.cpp)[ 185] showSetting:     modelid = 65608 (0x00010048)
03104120663: Debug (Configuration.cpp)[ 209] showSetting:     vendorname = EDIROL
03104120671: Debug (Configuration.cpp)[ 209] showSetting:     modelname = FA-101
03104120688: Debug (Configuration.cpp)[ 185] showSetting:     driver = 1 (0x00000001)
03104120704: Debug (Configuration.cpp)[ 209] showSetting:     mixer = EdirolFa101Control
03104120719: Debug (Configuration.cpp)[ 185] showSetting:     xmit_max_cycles_early_transmit = 4 (0x00000004)
03104120750: Debug (Configuration.cpp)[ 163] showSetting:   Group: (null)
03104120768: Debug (Configuration.cpp)[ 185] showSetting:     vendorid = 16555 (0x000040AB)
03104120777: Debug (Configuration.cpp)[ 185] showSetting:     modelid = 65608 (0x00010048)
03104120788: Debug (Configuration.cpp)[ 209] showSetting:     vendorname = EDIROL
03104120796: Debug (Configuration.cpp)[ 209] showSetting:     modelname = FA-101
03104120814: Debug (Configuration.cpp)[ 185] showSetting:     driver = 1 (0x00000001)
03104120831: Debug (Configuration.cpp)[ 209] showSetting:     mixer = EdirolFa101Control
03104120849: Debug (Configuration.cpp)[ 185] showSetting:     xmit_max_cycles_early_transmit = 4 (0x00000004)
03104120895: Debug (Configuration.cpp)[ 163] showSetting:   Group: (null)
03104120913: Debug (Configuration.cpp)[ 185] showSetting:     vendorid = 16555 (0x000040AB)
03104120928: Debug (Configuration.cpp)[ 185] showSetting:     modelid = 65608 (0x00010048)
03104120948: Debug (Configuration.cpp)[ 209] showSetting:     vendorname = EDIROL
03104120964: Debug (Configuration.cpp)[ 209] showSetting:     modelname = FA-101
03104120984: Debug (Configuration.cpp)[ 185] showSetting:     driver = 1 (0x00000001)
03104121010: Debug (Configuration.cpp)[ 209] showSetting:     mixer = EdirolFa101Control
03104121031: Debug (Configuration.cpp)[ 185] showSetting:     xmit_max_cycles_early_transmit = 4 (0x00000004)
03104122153: Warning (StreamProcessor.cpp)[1708] updateState: ignoring identity state update from/to ePS_Created
03104122206: Warning (StreamProcessor.cpp)[1708] updateState: ignoring identity state update from/to ePS_Created
libiec61883 warning: iec61883_cmp_create_p2p_output: Failed to set the oPCR[0] plug for node 0.
03104137179: Error (ieee1394service.cpp)[1462] allocateIsoChannelCMP: Could not do CMP from FFC0:00 to FFC1:-1
03104137203: Error (avc_avdevice.cpp)[ 816] startStreamByIndex: Could not allocate ISO channel for SP 0
03104137206: Warning (devicemanager.cpp)[ 867] startStreamingOnDevice: Could not start stream 0 of device 0x6b1840
03104137211: Warning (devicemanager.cpp)[ 904] startStreaming: Could not start streaming on device 0x6b1840!
firewire ERR: Could not start streaming threads
03104137213: Fatal (ffado.cpp)[ 220] ffado_streaming_start: Could not start the streaming system
Cannot start driver
JackServer::Start() failed with -1
Failed to start server
[Thread 0x7fffe37fe700 (LWP 7033) exited]
[Thread 0x7fffe2ffd700 (LWP 7034) exited]
[Thread 0x7fffe3fff700 (LWP 7032) exited]
[Thread 0x7fffe1855700 (LWP 7028) exited]
[Thread 0x7fffea056700 (LWP 7027) exited]
[Thread 0x7ffff7fb2700 (LWP 7025) exited]
no message buffer overruns
[Thread 0x7ffff212a700 (LWP 7026) exited]
[Inferior 1 (process 7018) exited with code 0377]
(gdb) 
(gdb) bt
No stack.
(gdb)

Comment 4 Dominik 'Rathann' Mierzejewski 2018-10-08 13:44:35 UTC
Your gdb session doesn't show any SIGSEGV occurrences, just jackd failing to start successfully. Unsurprisingly, your backtrace is empty, because you asked for it when jackd wasn't running.

Comment 5 Orcan Ogetbil 2018-10-08 16:09:50 UTC
I believe due to the uniqueness of the situation, you will have a better shot seeking help at the ffado-devel mailing list.
https://sourceforge.net/p/ffado/mailman/

Comment 6 zby 2018-10-10 08:00:21 UTC
Created attachment 1492377 [details]
gdb and jackd logs

Hi. Despite the fact that my HW is not an every day case I am attaching gdb and jackd logs. Jackd was run with verbose level 4. Thus the jackd log is quite large.
I also removed the ~/.ffado/cache directory before running the jackd within gdb.
The SIGSEGV does not occur every time. It did in this case though. Rather, jackd hangs frequently and must be stopped and killed. The Ctrl+C does NOT work here.
What bothers me are these lines:
  new 1394 stack present.... False
  new 1394 stack loaded..... True
  new 1394 stack active..... True
  /dev/raw1394 node present. False

The stack is NOT present while it is loaded and active?

Thank you for checking.
Zbynek

Comment 7 zby 2018-10-10 08:04:03 UTC
The 1394 stack messages mentioned above came from the ffado-diag. I am sorry I did not mention it.
The kernel used was:
Linux fuji01 4.18.7 #2 SMP PREEMPT Fri Sep 14 11:27:16 CEST 2018 x86_64 x86_64 x86_64 GNU/Linux

ffado-diag also says:

  kernel version............ 4.18.7
    Preempt (low latency)... True
    RT patched.............. False

Comment 8 Dominik 'Rathann' Mierzejewski 2019-02-24 22:32:44 UTC
I agree with Orcan, please talk to upstream directly, this is way beyond what I can help with. Also you still haven't provided a backtrace of the hanging jackd. Feel free to reopen when you are able to post a backtrace.


Note You need to log in before you can comment on or make changes to this bug.