From: Yves G. <yve...@nu...> - 2012-05-16 18:00:30
|
Hi Starting ffado may cause jackd to crash, depending on the order in which both were started: Case 1) I start jackd, then I start ffado-mixer: jack crashes (below is the log, obtained with "-v 4") Case 2) I first start ffado-mixer, then I start jackd, everything goes well, I may even stop and restart ffado-mixer. My configuration: Focusrite Saffire Pro 24 jackdmp, version 1.9.8 (ubuntu precise 12.04 package) ffado compiled from svn, revision 2149 Is this the same problem as the one reported in ticket #345? Regards Yves ************************ log with jackd -d firewire -v 4 ffado_streaming_wait ============================================ Xruns: 0 ============================================ ---------------------------------------------------- Dumping StreamProcessorManager information... Period count: 918 Data type: float Receive processors... StreamProcessor 0x9565488, Receive: Port, Channel : 0, 0 Packets, Dropped, Skipped : 158848, 0, 0 Now : 01372904688 (055s 6909c 0240t) Xrun? : False State : ePS_Running Buffer : 0x9565658 Framerate : Nominal: 48000, Sync: 47998.775513, Buffer 47998.775513 TimestampedBuffer (0x9565658): 0048 frames, 0048 events Timestamps : head: 1372697136.379, Tail: 1372721713.006, Next tail: 1372725809.110 Head - Tail : -24576.627 (-48.000002 frames) DLL Rate : 4096.104345 (512.013043) DLL Bandwidth : 4.069011e-09 1/ticks (0.100000 Hz) Transmit processors... StreamProcessor 0x95652f0, Transmit: Port, Channel : 0, 1 Packets, Dropped, Skipped : 158994, 0, 0 Now : 01372908497 (055s 6910c 0977t) Xrun? : False State : ePS_Running Buffer : 0x9565d20 Framerate : Nominal: 48000, Sync: 47998.775513, Buffer 47998.775513 TimestampedBuffer (0x9565d20): 2184 frames, 2184 events Timestamps : head: 1373205052.003, Tail: 1374323288.503, Next tail: 1374847589.869 Head - Tail : -1118236.500 (-2184.000024 frames) DLL Rate : 524301.356822 (512.013044) DLL Bandwidth : 4.069011e-09 1/ticks (0.100000 Hz) ---------------------------------------------------- 02048552522: Warning (IsoHandlerManager.cpp)[ 292] Execute: Timeout while waiting for activity 02049508559: Fatal (IsoHandlerManager.cpp)[ 348] Execute: (0x953ec40, Receive) Handler died: now: 77929513, last: 738FF965, diff: 49279918 (max: 49152000) 02049508609: Warning (StreamProcessor.cpp)[ 173] handlerDied: Handler died for 0x9565488 02049508665: Debug (StreamProcessorManager.cpp)[1397] waitForPeriod: Xrun on RECV SP 0x9565488 due to ISO side xrun StreamProcessor 0x9565488, Receive: Port, Channel : 0, 0 Packets, Dropped, Skipped : 174400, 0, 0 Now : 01469775639 (059s 6442c 1815t) Xrun? : True State : ePS_Stopped (Next: ePS_Running) transition at : 2164 Buffer : 0x9565658 Framerate : Nominal: 48000, Sync: 47998.775513, Buffer 47998.775513 TimestampedBuffer (0x9565658): 0176 frames, 0176 events Timestamps : head: 1420408560.471, Tail: 1420498674.768, Next tail: 1420502770.873 Head - Tail : -90114.297 (-176.000001 frames) DLL Rate : 4096.104380 (512.013047) DLL Bandwidth : 4.069011e-09 1/ticks (0.100000 Hz) 02049508793: Debug (StreamProcessorManager.cpp)[1402] waitForPeriod: Xrun on RECV SP 0x9565488 due to buffer side xrun StreamProcessor 0x9565488, Receive: Port, Channel : 0, 0 Packets, Dropped, Skipped : 174400, 0, 0 Now : 01469778539 (059s 6443c 1643t) Xrun? : True State : ePS_Stopped (Next: ePS_Running) transition at : 2164 Buffer : 0x9565658 Framerate : Nominal: 48000, Sync: 47998.775513, Buffer 47998.775513 TimestampedBuffer (0x9565658): 0176 frames, 0176 events Timestamps : head: 1420408560.471, Tail: 1420498674.768, Next tail: 1420502770.873 Head - Tail : -90114.297 (-176.000001 frames) DLL Rate : 4096.104380 (512.013047) DLL Bandwidth : 4.069011e-09 1/ticks (0.100000 Hz) 02049508901: Warning (devicemanager.cpp)[ 998] waitForPeriod: XRUN detected ---------------------------------------------------- Dumping StreamProcessorManager information... Period count: 1010 Data type: float Receive processors... StreamProcessor 0x9565488, Receive: Port, Channel : 0, 0 Packets, Dropped, Skipped : 174400, 0, 0 Now : 01469781931 (059s 6444c 1963t) Xrun? : True State : ePS_Stopped (Next: ePS_Running) transition at : 2164 Buffer : 0x9565658 Framerate : Nominal: 48000, Sync: 47998.775513, Buffer 47998.775513 TimestampedBuffer (0x9565658): 0176 frames, 0176 events Timestamps : head: 1420408560.471, Tail: 1420498674.768, Next tail: 1420502770.873 Head - Tail : -90114.297 (-176.000001 frames) DLL Rate : 4096.104380 (512.013047) DLL Bandwidth : 4.069011e-09 1/ticks (0.100000 Hz) Transmit processors... StreamProcessor 0x95652f0, Transmit: Port, Channel : 0, 1 Packets, Dropped, Skipped : 174898, 0, 0 Now : 01469784806 (059s 6445c 1766t) Xrun? : False State : ePS_Running Buffer : 0x9565d20 Framerate : Nominal: 48000, Sync: 47998.775513, Buffer 47998.775513 TimestampedBuffer (0x9565d20): 0000 frames, 0000 events Timestamps : head: 1422034712.712, Tail: 1422034712.712, Next tail: 1422559014.079 Head - Tail : 0.000 (0.000000 frames) DLL Rate : 524301.361698 (512.013049) DLL Bandwidth : 4.069011e-09 1/ticks (0.100000 Hz) ---------------------------------------------------- 02049509214: Error (IsoHandlerManager.cpp)[1913] requestEnable: Enable requested on stream 'Receive' with state: 2 02049509226: Error (StreamProcessor.cpp)[1244] scheduleStartDryRunning: Could not start handler for SP 0x9565488 02049509241: Error (StreamProcessorManager.cpp)[ 514] startDryRunning: Could not put 'Receive' SP 0x9565488 into the dry-running state 02049509256: Error (IsoHandlerManager.cpp)[1913] requestEnable: Enable requested on stream 'Receive' with state: 2 02049509268: Error (StreamProcessor.cpp)[1244] scheduleStartDryRunning: Could not start handler for SP 0x9565488 02049509274: Error (StreamProcessorManager.cpp)[ 514] startDryRunning: Could not put 'Receive' SP 0x9565488 into the dry-running state 02049509292: Error (IsoHandlerManager.cpp)[1913] requestEnable: Enable requested on stream 'Receive' with state: 2 02049509298: Error (StreamProcessor.cpp)[1244] scheduleStartDryRunning: Could not start handler for SP 0x9565488 02049509309: Error (StreamProcessorManager.cpp)[ 514] startDryRunning: Could not put 'Receive' SP 0x9565488 into the dry-running state 02049509322: Error (IsoHandlerManager.cpp)[1913] requestEnable: Enable requested on stream 'Receive' with state: 2 02049509332: Error (StreamProcessor.cpp)[1244] scheduleStartDryRunning: Could not start handler for SP 0x9565488 02049509338: Error (StreamProcessorManager.cpp)[ 514] startDryRunning: Could not put 'Receive' SP 0x9565488 into the dry-running state 02049509355: Error (IsoHandlerManager.cpp)[1913] requestEnable: Enable requested on stream 'Receive' with state: 2 02049509362: Error (StreamProcessor.cpp)[1244] scheduleStartDryRunning: Could not start handler for SP 0x9565488 02049509372: Error (StreamProcessorManager.cpp)[ 514] startDryRunning: Could not put 'Receive' SP 0x9565488 into the dry-running state 02049509385: Error (IsoHandlerManager.cpp)[1913] requestEnable: Enable requested on stream 'Receive' with state: 2 02049509396: Error (StreamProcessor.cpp)[1244] scheduleStartDryRunning: Could not start handler for SP 0x9565488 02049509402: Error (StreamProcessorManager.cpp)[ 514] startDryRunning: Could not put 'Receive' SP 0x9565488 into the dry-running state 02049509419: Error (IsoHandlerManager.cpp)[1913] requestEnable: Enable requested on stream 'Receive' with state: 2 02049509426: Error (StreamProcessor.cpp)[1244] scheduleStartDryRunning: Could not start handler for SP 0x9565488 02049509437: Error (StreamProcessorManager.cpp)[ 514] startDryRunning: Could not put 'Receive' SP 0x9565488 into the dry-running state 02049509450: Error (IsoHandlerManager.cpp)[1913] requestEnable: Enable requested on stream 'Receive' with state: 2 02049509461: Error (StreamProcessor.cpp)[1244] scheduleStartDryRunning: Could not start handler for SP 0x9565488 02049509467: Error (StreamProcessorManager.cpp)[ 514] startDryRunning: Could not put 'Receive' SP 0x9565488 into the dry-running state 02049509484: Error (IsoHandlerManager.cpp)[1913] requestEnable: Enable requested on stream 'Receive' with state: 2 02049509490: Error (StreamProcessor.cpp)[1244] scheduleStartDryRunning: Could not start handler for SP 0x9565488 02049509505: Error (StreamProcessorManager.cpp)[ 514] startDryRunning: Could not put 'Receive' SP 0x9565488 into the dry-running state 02049509518: Error (IsoHandlerManager.cpp)[1913] requestEnable: Enable requested on stream 'Receive' with state: 2 02049509534: Error (StreamProcessor.cpp)[1244] scheduleStartDryRunning: Could not start handler for SP 0x9565488 02049509540: Error (StreamProcessorManager.cpp)[ 514] startDryRunning: Could not put 'Receive' SP 0x9565488 into the dry-running state 02049509551: Fatal (StreamProcessorManager.cpp)[1190] handleXrun: Could not syncStartAll... 02049509557: Error (devicemanager.cpp)[1003] waitForPeriod: Could not handle XRUN 02049509567: Error (ffado.cpp)[ 273] ffado_streaming_wait: Error condition while waiting (Unhandled XRUN) JackFFADODriver::ffado_driver_wait - unhandled xrun firewire ERR: wait status < 0! (= -1) JackAudioDriver::ProcessAsync: read error, stopping... 02051573910: Fatal (IsoHandlerManager.cpp)[ 348] Execute: (0x953eb10, Transmit) Handler died: now: 7BB3440E, last: 77AF17F4, diff: 49356826 (max: 49152000) 02051573956: Warning (StreamProcessor.cpp)[ 173] handlerDied: Handler died for 0x95652f0 |