ffado-test crashed with SIGSEGV

Bug #1714292 reported by David Kastrup
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libffado (Ubuntu)
New
Medium
Unassigned

Bug Description

When running ffado-test Discover (admittedly after there already were problems with the Firewire connection) I got the following console output:

-----------------------------------------------
FFADO test and diagnostic utility
Part of the FFADO project -- www.ffado.org
Version: 2.3.0-
(C) 2008, Daniel Wagner, Pieter Palmers
This program comes with ABSOLUTELY NO WARRANTY.
-----------------------------------------------

01367863317: Debug (devicemanager.cpp)[ 354] discover: Starting discovery...
01367938381: Debug (Configuration.cpp)[ 163] showSetting: Group: (null)
01367938415: Debug (Configuration.cpp)[ 185] showSetting: vendorid = 1429 (0x00000595)
01367938427: Debug (Configuration.cpp)[ 185] showSetting: modelid = 1 (0x00000001)
01367938438: Debug (Configuration.cpp)[ 209] showSetting: vendorname = Alesis
01367938442: Debug (Configuration.cpp)[ 209] showSetting: modelname = io|14
01367938448: Debug (Configuration.cpp)[ 209] showSetting: driver = DICE
01367938560: Debug (Configuration.cpp)[ 163] showSetting: Group: (null)
01367938569: Debug (Configuration.cpp)[ 185] showSetting: vendorid = 1429 (0x00000595)
01367938573: Debug (Configuration.cpp)[ 185] showSetting: modelid = 1 (0x00000001)
01367938578: Debug (Configuration.cpp)[ 209] showSetting: vendorname = Alesis
01367938582: Debug (Configuration.cpp)[ 209] showSetting: modelname = io|14
01367938588: Debug (Configuration.cpp)[ 209] showSetting: driver = DICE
01367938648: Debug (Configuration.cpp)[ 163] showSetting: Group: (null)
01367938657: Debug (Configuration.cpp)[ 185] showSetting: vendorid = 1429 (0x00000595)
01367938660: Debug (Configuration.cpp)[ 185] showSetting: modelid = 1 (0x00000001)
01367938666: Debug (Configuration.cpp)[ 209] showSetting: vendorname = Alesis
01367938668: Debug (Configuration.cpp)[ 209] showSetting: modelname = io|14
01367938674: Debug (Configuration.cpp)[ 209] showSetting: driver = DICE
01367938721: Debug (Configuration.cpp)[ 163] showSetting: Group: (null)
01367938730: Debug (Configuration.cpp)[ 185] showSetting: vendorid = 1429 (0x00000595)
01367938733: Debug (Configuration.cpp)[ 185] showSetting: modelid = 1 (0x00000001)
01367938739: Debug (Configuration.cpp)[ 209] showSetting: vendorname = Alesis
01367938742: Debug (Configuration.cpp)[ 209] showSetting: modelname = io|14
01367938747: Debug (Configuration.cpp)[ 209] showSetting: driver = DICE
01367938797: Debug (Configuration.cpp)[ 163] showSetting: Group: (null)
01367938805: Debug (Configuration.cpp)[ 185] showSetting: vendorid = 1429 (0x00000595)
01367938809: Debug (Configuration.cpp)[ 185] showSetting: modelid = 1 (0x00000001)
01367938820: Debug (Configuration.cpp)[ 209] showSetting: vendorname = Alesis
01367938828: Debug (Configuration.cpp)[ 209] showSetting: modelname = io|14
01367938835: Debug (Configuration.cpp)[ 209] showSetting: driver = DICE
01367938966: Debug (devicemanager.cpp)[ 616] discover: driver found for device 1
01367939040: Debug (Configuration.cpp)[ 163] showSetting: Group: (null)
01367939046: Debug (Configuration.cpp)[ 185] showSetting: vendorid = 1429 (0x00000595)
01367939053: Debug (Configuration.cpp)[ 185] showSetting: modelid = 1 (0x00000001)
01367939058: Debug (Configuration.cpp)[ 209] showSetting: vendorname = Alesis
01367939065: Debug (Configuration.cpp)[ 209] showSetting: modelname = io|14
01367939068: Debug (Configuration.cpp)[ 209] showSetting: driver = DICE
01368031604: Warning (dice_eap.cpp)[ 115] init: no EAP mixer (device does not support EAP)
01368031671: Warning (dice_avdevice.cpp)[ 201] discover: Could not init EAP
01368031870: Debug (devicemanager.cpp)[ 653] discover: discovery of node 1 on port 0 done...
01368031913: Debug (devicemanager.cpp)[ 661] discover: Discovery finished...
01368031989: Debug (devicemanager.cpp)[1258] showDeviceInfo: ===== Device Manager =====
01368032298: Debug (Element.cpp)[ 121] show: Element DeviceManager
01368032349: Debug (devicemanager.cpp)[1266] showDeviceInfo: --- IEEE1394 Service 0 ---
01368032389: Debug (devicemanager.cpp)[1276] showDeviceInfo: --- Device 0 ---
01368032430: Debug (dice_avdevice.cpp)[ 710] showDevice: Device is a DICE device
01368032464: (dice_avdevice.cpp)[ 713] showDevice: DICE Parameter Space info:
01368032501: (dice_avdevice.cpp)[ 714] showDevice: Global : offset=0x0028 size=0360
01368032533: (dice_avdevice.cpp)[ 715] showDevice: TX : offset=0x0190 size=0568
01368032571: (dice_avdevice.cpp)[ 716] showDevice: nb= 2 size=0280
01368032603: (dice_avdevice.cpp)[ 717] showDevice: RX : offset=0x03C8 size=1128
01368032642: (dice_avdevice.cpp)[ 718] showDevice: nb= 1 size=0280
01368032674: (dice_avdevice.cpp)[ 719] showDevice: UNUSED1 : offset=0x0000 size=0000
01368032713: (dice_avdevice.cpp)[ 720] showDevice: UNUSED2 : offset=0x0000 size=0000
01368032744: (dice_avdevice.cpp)[ 722] showDevice: Global param space:
01368037747: (dice_avdevice.cpp)[ 725] showDevice: Owner : 0x00000000FFFF0000
01368043985: (dice_avdevice.cpp)[ 728] showDevice: Notification : 0x00000000
01368057476: (dice_avdevice.cpp)[ 731] showDevice: Nick name : iO 14
01368065054: (dice_avdevice.cpp)[ 735] showDevice: Clock Select : 0x02 0x0C
01368069624: (dice_avdevice.cpp)[ 739] showDevice: Enable : false
01368074975: (dice_avdevice.cpp)[ 743] showDevice: Clock Status : locked 0x01
01368080962: (dice_avdevice.cpp)[ 746] showDevice: Extended Status : 0x00000000
01368087989: (dice_avdevice.cpp)[ 749] showDevice: Samplerate : 0x0000AC44 (44100)
01368094032: (dice_avdevice.cpp)[ 752] showDevice: Version : 0x01000400
01368100808: (dice_avdevice.cpp)[ 761] showDevice: Version : 0x01000400 (1.0.4.0)
01368106565: (dice_avdevice.cpp)[ 764] showDevice: Clock caps : 0x1121007E
01368113038: (dice_avdevice.cpp)[ 767] showDevice: Clock sources :
01368113054: (dice_avdevice.cpp)[ 773] showDevice: SPDIF
01368113059: (dice_avdevice.cpp)[ 773] showDevice: unused
01368113068: (dice_avdevice.cpp)[ 773] showDevice: unused
01368113071: (dice_avdevice.cpp)[ 773] showDevice: unused
01368113076: (dice_avdevice.cpp)[ 773] showDevice: unused
01368113084: (dice_avdevice.cpp)[ 773] showDevice: ADAT
01368113095: (dice_avdevice.cpp)[ 773] showDevice: unused
01368113100: (dice_avdevice.cpp)[ 773] showDevice: unused
01368113105: (dice_avdevice.cpp)[ 773] showDevice: Firewire
01368113107: (dice_avdevice.cpp)[ 773] showDevice: unused
01368113116: (dice_avdevice.cpp)[ 773] showDevice: unused
01368113118: (dice_avdevice.cpp)[ 773] showDevice: unused
01368113124: (dice_avdevice.cpp)[ 773] showDevice: INTERNAL
01368113127: (dice_avdevice.cpp)[ 776] showDevice: TX param space:
01368113134: (dice_avdevice.cpp)[ 777] showDevice: Nb of xmit : 2
01368113137: (dice_avdevice.cpp)[ 779] showDevice: Transmitter 0:
01368118888: (dice_avdevice.cpp)[ 782] showDevice: ISO channel : -1
01368125990: (dice_avdevice.cpp)[ 784] showDevice: ISO speed : 2
01368131709: (dice_avdevice.cpp)[ 787] showDevice: Nb audio channels : 6
01368137797: (dice_avdevice.cpp)[ 789] showDevice: Nb midi channels : 1
01368144175: (dice_avdevice.cpp)[ 792] showDevice: AC3 caps : 0x00000000
01368149211: (dice_avdevice.cpp)[ 794] showDevice: AC3 enable : 0x00000000
01368155864: (dice_avdevice.cpp)[ 797] showDevice: Channel names :
01368155871: (dice_avdevice.cpp)[ 802] showDevice: Line 1
01368155878: (dice_avdevice.cpp)[ 802] showDevice: Line 2
01368155882: (dice_avdevice.cpp)[ 802] showDevice: Line 3
01368155887: (dice_avdevice.cpp)[ 802] showDevice: Line 4
01368155890: (dice_avdevice.cpp)[ 802] showDevice: SPDIF L
01368155900: (dice_avdevice.cpp)[ 802] showDevice: SPDIF R
01368155904: (dice_avdevice.cpp)[ 779] showDevice: Transmitter 1:
01370208134: Error (dice_avdevice.cpp)[1751] readReg: Could not read from node 0xFFC1 addr 0xFFFFE00002B0
01370208236: (dice_avdevice.cpp)[ 782] showDevice: ISO channel : 0
01370208321: Error (dice_avdevice.cpp)[1751] readReg: Could not read from node 0xFFC1 addr 0xFFFFE00002BC
01370208364: (dice_avdevice.cpp)[ 784] showDevice: ISO speed : 0
01370208448: Error (dice_avdevice.cpp)[1751] readReg: Could not read from node 0xFFC1 addr 0xFFFFE00002B4
01370208490: (dice_avdevice.cpp)[ 787] showDevice: Nb audio channels : 0
01370208553: Error (dice_avdevice.cpp)[1751] readReg: Could not read from node 0xFFC1 addr 0xFFFFE00002B8
01370208598: (dice_avdevice.cpp)[ 789] showDevice: Nb midi channels : 0
01370208670: Error (dice_avdevice.cpp)[1751] readReg: Could not read from node 0xFFC1 addr 0xFFFFE00003C0
01370208714: (dice_avdevice.cpp)[ 792] showDevice: AC3 caps : 0x00000000
01370208782: Error (dice_avdevice.cpp)[1751] readReg: Could not read from node 0xFFC1 addr 0xFFFFE00003C4
01370208820: (dice_avdevice.cpp)[ 794] showDevice: AC3 enable : 0x00000000
01370208886: Error (dice_avdevice.cpp)[1816] readRegBlock: Could not read 64 quadlets from node 0xFFC1 addr 0xFFFFE00002C0
01370208923: Error (dice_avdevice.cpp)[1522] getTxNameString: Could not read TX name string
01370208996: (dice_avdevice.cpp)[ 797] showDevice: Channel names :
01370209077: (dice_avdevice.cpp)[ 806] showDevice: RX param space:
01370209121: (dice_avdevice.cpp)[ 807] showDevice: Nb of recv : 1
01370209154: (dice_avdevice.cpp)[ 809] showDevice: Receiver 0:
01370209216: Error (dice_avdevice.cpp)[1751] readReg: Could not read from node 0xFFC1 addr 0xFFFFE00003D0
01370209252: (dice_avdevice.cpp)[ 812] showDevice: ISO channel : 0
01370209311: Error (dice_avdevice.cpp)[1751] readReg: Could not read from node 0xFFC1 addr 0xFFFFE00003D4
01370209347: (dice_avdevice.cpp)[ 814] showDevice: Sequence start : 0
01370209413: Error (dice_avdevice.cpp)[1751] readReg: Could not read from node 0xFFC1 addr 0xFFFFE00003D8
01370209451: (dice_avdevice.cpp)[ 817] showDevice: Nb audio channels : 0
01370209509: Error (dice_avdevice.cpp)[1751] readReg: Could not read from node 0xFFC1 addr 0xFFFFE00003DC
01370209548: (dice_avdevice.cpp)[ 819] showDevice: Nb midi channels : 0
01370209606: Error (dice_avdevice.cpp)[1751] readReg: Could not read from node 0xFFC1 addr 0xFFFFE00004E0
01370209643: (dice_avdevice.cpp)[ 822] showDevice: AC3 caps : 0x00000000
01370209702: Error (dice_avdevice.cpp)[1751] readReg: Could not read from node 0xFFC1 addr 0xFFFFE00004E4
01370209739: (dice_avdevice.cpp)[ 824] showDevice: AC3 enable : 0x00000000
01370209802: Error (dice_avdevice.cpp)[1816] readRegBlock: Could not read 64 quadlets from node 0xFFC1 addr 0xFFFFE00003E0
01370209841: Error (dice_avdevice.cpp)[1542] getRxNameString: Could not read RX name string
01370209890: (dice_avdevice.cpp)[ 827] showDevice: Channel names :
01370209940: Debug (devicemanager.cpp)[1279] showDeviceInfo: Clock sync sources:
01370210037: Error (dice_avdevice.cpp)[1751] readReg: Could not read from node 0xFFC1 addr 0xFFFFE000008C
01370210100: Error (dice_avdevice.cpp)[1751] readReg: Could not read from node 0xFFC1 addr 0xFFFFE0000074
01370210163: Error (dice_avdevice.cpp)[1751] readReg: Could not read from node 0xFFC1 addr 0xFFFFE0000080
01370210218: Error (dice_avdevice.cpp)[1816] readRegBlock: Could not read 64 quadlets from node 0xFFC1 addr 0xFFFFE0000090
01370210269: Error (dice_avdevice.cpp)[1574] getClockSourceNameString: Could not read CLOCKSOURCE name string
01370210318: Error (dice_avdevice.cpp)[ 482] getSupportedClockSources: Not enough clock source names on device
01370210418: Debug (devicemanager.cpp)[ 250] busresetHandler: Bus reset detected on service 0x4f62b5f4e0...
01370210590: Debug (devicemanager.cpp)[ 252] busresetHandler: handling busreset...
Segmentation fault

ProblemType: Crash
DistroRelease: Ubuntu 17.10
Package: ffado-tools 2.3.0-2
ProcVersionSignature: Ubuntu 4.12.0-11.12-lowlatency 4.12.5
Uname: Linux 4.12.0-11-lowlatency x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
Date: Thu Aug 31 17:42:30 2017
ExecutablePath: /usr/bin/ffado-test
InstallationDate: Installed on 2011-10-14 (2148 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111011)
ProcCmdline: ffado-test Discover
SegvAnalysis:
 Segfault happened at: 0x4f62b61a40: add %al,(%rax)
 PC (0x4f62b61a40) in non-executable VMA region: 0x4f62b3e000-0x4f62bae000 rw-p [heap]
 source "%al" ok
 destination "(%rax)" (0x4f62b63af0) ok
 Stack memory exhausted (SP below stack segment)
SegvReason: executing writable VMA [heap]
Signal: 11
SourcePackage: libffado
StacktraceTop:
 ()
 DeviceManager::busresetHandler(Ieee1394Service&) () at /usr/lib/libffado.so.2
 Util::MemberFunctor1<DeviceManager*, void (DeviceManager::*)(Ieee1394Service&), Ieee1394Service&>::operator()() () at /usr/lib/libffado.so.2
 Ieee1394Service::resetHandler(unsigned int) () at /usr/lib/libffado.so.2
 Ieee1394Service::resetHandlerLowLevel(raw1394_handle*, unsigned int) () at /usr/lib/libffado.so.2
Title: ffado-test crashed with SIGSEGV
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
David Kastrup (dak) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 ?? ()
 DeviceManager::busresetHandler(Ieee1394Service&) () from /tmp/apport_sandbox_RvkoWL/usr/lib/libffado.so.2
 Util::MemberFunctor1<DeviceManager*, void (DeviceManager::*)(Ieee1394Service&), Ieee1394Service&>::operator()() () from /tmp/apport_sandbox_RvkoWL/usr/lib/libffado.so.2
 Ieee1394Service::resetHandler(unsigned int) () from /tmp/apport_sandbox_RvkoWL/usr/lib/libffado.so.2
 Ieee1394Service::resetHandlerLowLevel(raw1394_handle*, unsigned int) () from /tmp/apport_sandbox_RvkoWL/usr/lib/libffado.so.2

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in libffado (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.