id summary reporter owner description type status priority milestone component version resolution keywords cc device_name 306 jackd segfaults while terminating when using the Juju stack koniu From: http://trac.jackaudio.org/ticket/196 (more details)[[BR]][[BR]]\r\n\r\n1. run jackdbus auto[[BR]]\r\n2. jack_control ds firewire[[BR]]\r\n3. jack_control start[[BR]]\r\n4. jack_control stop[[BR]]\r\n5. #@Q$*&*&%! (crash)[[BR]][[BR]]\r\n\r\nDebian testing, jackd2 1.9.5~dfsg-19, libffado2 2.0.1+svn1856-1[[BR]]\r\n[[BR]]\r\n\r\n\r\n\r\nJack output with ffado v=3\r\n{{{\r\nkoniu@krak ~ % jackdbus auto \r\nno message buffer overruns\r\nno message buffer overruns\r\n04468875342: (ffado.cpp)[ 92] ffado_streaming_init: libffado 2.999.0- built Sep 29 2010 15:02:40\r\n04468900222: Warning (ieee1394service.cpp)[ 375] initialize: Could not set SPLIT_TIMEOUT to min requested (1000000)\r\n04468900350: Warning (ieee1394service.cpp)[ 379] initialize: Set SPLIT_TIMEOUT to min requested (1000000) did not succeed\r\n04468902092: Warning (cycletimer.h)[ 120] wrapAtMinTicks: insufficient wrapping: -6888979786615724700\r\n04473150667: Warning (StreamProcessor.cpp)[ 707] getPacket: Instantanous samplerate more than 1% off nominal. [Nom fs: 44100.000000, Instantanous fs: 22033.845119, diff: 22066.154881 ( 0.500366)]\r\n04476112106: Warning (StreamProcessor.cpp)[ 389] putPacket: Instantanous samplerate more than 1% off nominal. [Nom fs: 44100.000000, Instantanous fs: 31.635583, diff: 44068.364417 ( 0.999283)]\r\n04476112187: Warning (TimestampedBuffer.cpp)[1053] incrementFrameCounter: (0x98a9e28) difference rather large (+): diff= 6210296.575, max= 1536.000, 3128331731.000, 3122121434.425\r\n04476112218: Warning (TimestampedBuffer.cpp)[ 249] calculateRate: (0x98a9e28) rate ( 682.41101) more that 10% off nominal (rate= 557.27893, diff= 5459.288, update_period=8)\r\n04476120040: Warning (ieee1394service.cpp)[1487] freeIsoChannel: Could not do CMP disconnect for channel 0!\r\n04476123604: Warning (ieee1394service.cpp)[1487] freeIsoChannel: Could not do CMP disconnect for channel 1!\r\n04476124438: Error (IsoHandlerManager.cpp)[1289] ~IsoHandler: BUG: Handler still running!\r\n*** glibc detected *** jackdbus: free(): invalid pointer: 0x098d3b70 ***\r\n*** glibc detected *** jackdbus: free(): invalid pointer: 0x098a9230 ***\r\nterminate called after throwing an instance of 'std::out_of_range'\r\n what(): vector::_M_range_check\r\nno message buffer overruns\r\nkoniu@krak ~ % \r\n}}}\r\n[[BR]]\r\nffado-diag\r\n{{{\r\nkoniu@krak ~ % ffado-diag \r\n\r\n\r\nFFADO diagnostic utility 2.999.0-\r\n============================\r\n(C) 2008 Pieter Palmers\r\n\r\n\r\n=== CHECK ===\r\n Base system...\r\n kernel version............ 2.6.33.7-rt29\r\nFIXME: implement test for RT kernel\r\n RT patched............... False\r\n old 1394 stack present.... False\r\n old 1394 stack loaded..... False\r\n old 1394 stack active..... False\r\n new 1394 stack present.... True\r\n new 1394 stack loaded..... True\r\n new 1394 stack active..... True\r\n /dev/raw1394 node present. False\r\n Prerequisites (dynamic at run-time)...\r\n gcc ............... gcc (Debian 4.4.4-8) 4.4.5 20100728 (prerelease)\r\n g++ ............... g++ (Debian 4.4.4-8) 4.4.5 20100728 (prerelease)\r\n PyQt4 (by pyuic4) . sh: pyuic4: not found\r\n jackd ............. no message buffer overruns\r\n path ............ /usr/bin/jackd\r\n flags ........... -ljack \r\n libraw1394 ........ 2.0.5\r\n flags ........... -lraw1394 \r\n libavc1394 ........ Package libavc1394 was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `libavc1394.pc'\r\nto the PKG_CONFIG_PATH environment variable\r\nNo package 'libavc1394' found\r\n flags ........... Package libavc1394 was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `libavc1394.pc'\r\nto the PKG_CONFIG_PATH environment variable\r\nNo package 'libavc1394' found\r\n libiec61883 ....... Package libiec61883 was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `libiec61883.pc'\r\nto the PKG_CONFIG_PATH environment variable\r\nNo package 'libiec61883' found\r\n flags ........... Package libiec61883 was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `libiec61883.pc'\r\nto the PKG_CONFIG_PATH environment variable\r\nNo package 'libiec61883' found\r\n libxml++-2.6 ...... Package libxml++-2.6 was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `libxml++-2.6.pc'\r\nto the PKG_CONFIG_PATH environment variable\r\nNo package 'libxml++-2.6' found\r\n flags ........... Package libxml++-2.6 was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `libxml++-2.6.pc'\r\nto the PKG_CONFIG_PATH environment variable\r\nNo package 'libxml++-2.6' found\r\n dbus-1 ............ 1.2.24\r\n flags ........... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -ldbus-1 -lpthread -lrt \r\n Prerequisites (static at compile-time)...\r\n gcc ............... gcc (Debian 4.4.4-17) 4.4.5\r\n g++ ............... g++ (Debian 4.4.4-17) 4.4.5\r\n PyQt4 (by pyuic4) . Python User Interface Compiler 4.7.3 for Qt version 4.6.3\r\n jackd ............. sh: jackd: not found\r\n path ............ \r\n flags ........... Package jack was not found in the pkg-config search path.\r\n libraw1394 ........ 2.0.5\r\n flags ........... -lraw1394 \r\n libavc1394 ........ Package libavc1394 was not found in the pkg-config search path.\r\n flags ........... Package libavc1394 was not found in the pkg-config search path.\r\n libiec61883 ....... 1.2.0\r\n flags ........... -liec61883 -lraw1394 \r\n libxml++-2.6 ...... 2.30.0\r\n flags ........... -pthread -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0 -lrt -lglib-2.0 \r\n dbus-1 ............ 1.2.24\r\n flags ........... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -ldbus-1 -lpthread -lrt \r\n Hardware...\r\n Host controllers:\r\n15:00.1 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C552 IEEE 1394 Controller [1180:0552] (rev 09) (prog-if 10 [OHCI])\r\n_Subsystem: Lenovo ThinkPad X60s [17aa:201e]\r\n_Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-\r\n_Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- \r\n_Kernel driver in use: firewire_ohci\r\n\r\n16:00.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044] (rev 46) (prog-if 10 [OHCI])\r\n_Subsystem: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044]\r\n_Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-\r\n_Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- \r\n_Kernel driver in use: firewire_ohci\r\n\r\n CPU info:\r\nprocessor_: 0\r\nvendor_id_: GenuineIntel\r\ncpu family_: 6\r\nmodel__: 14\r\nmodel name_: Genuine Intel(R) CPU L2400 @ 1.66GHz\r\nstepping_: 8\r\ncpu MHz__: 1000.000\r\ncache size_: 2048 KB\r\nphysical id_: 0\r\nsiblings_: 2\r\ncore id__: 0\r\ncpu cores_: 2\r\napicid__: 0\r\ninitial apicid_: 0\r\nfdiv_bug_: no\r\nhlt_bug__: no\r\nf00f_bug_: no\r\ncoma_bug_: no\r\nfpu__: yes\r\nfpu_exception_: yes\r\ncpuid level_: 10\r\nwp__: yes\r\nflags__: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts aperfmperf pni monitor vmx est tm2 xtpr pdcm\r\nbogomips_: 3324.76\r\nclflush size_: 64\r\ncache_alignment_: 64\r\naddress sizes_: 32 bits physical, 32 bits virtual\r\npower management:\r\n\r\nprocessor_: 1\r\nvendor_id_: GenuineIntel\r\ncpu family_: 6\r\nmodel__: 14\r\nmodel name_: Genuine Intel(R) CPU L2400 @ 1.66GHz\r\nstepping_: 8\r\ncpu MHz__: 1667.000\r\ncache size_: 2048 KB\r\nphysical id_: 0\r\nsiblings_: 2\r\ncore id__: 1\r\ncpu cores_: 2\r\napicid__: 1\r\ninitial apicid_: 1\r\nfdiv_bug_: no\r\nhlt_bug__: no\r\nf00f_bug_: no\r\ncoma_bug_: no\r\nfpu__: yes\r\nfpu_exception_: yes\r\ncpuid level_: 10\r\nwp__: yes\r\nflags__: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts aperfmperf pni monitor vmx est tm2 xtpr pdcm\r\nbogomips_: 3324.87\r\nclflush size_: 64\r\ncache_alignment_: 64\r\naddress sizes_: 32 bits physical, 32 bits virtual\r\npower management:\r\n\r\n Configuration...\r\n IRQ information\r\nHardware Interrupts:\r\n--------------------\r\n IRQ 0: PID: None, count: [2206141, 2206141], Sched None (priority None), drivers: ['timer']\r\n IRQ 1: PID: None, count: [22361, 22361], Sched None (priority None), drivers: ['i8042']\r\n IRQ 8: PID: None, count: [1, 1], Sched None (priority None), drivers: ['rtc0']\r\n IRQ 9: PID: None, count: [51595, 51595], Sched None (priority None), drivers: ['acpi']\r\n IRQ 12: PID: None, count: [189091, 189091], Sched None (priority None), drivers: ['i8042']\r\n IRQ 14: PID: None, count: [0, 0], Sched None (priority None), drivers: ['ide0']\r\n IRQ 16: PID: None, count: [199137, 199137], Sched None (priority None), drivers: ['uhci_hcd:usb2', 'yenta', 'i915', 'firewire_ohci']\r\n IRQ 17: PID: None, count: [71, 71], Sched None (priority None), drivers: ['firewire_ohci', 'uhci_hcd:usb3']\r\n IRQ 18: PID: None, count: [0, 0], Sched None (priority None), drivers: ['mmc0', 'uhci_hcd:usb4']\r\n IRQ 19: PID: None, count: [7073, 7073], Sched None (priority None), drivers: ['ehci_hcd:usb1', 'uhci_hcd:usb5']\r\n IRQ 28: PID: None, count: [2237, 2237], Sched None (priority None), drivers: ['eth0']\r\n IRQ 29: PID: None, count: [18755, 18755], Sched None (priority None), drivers: ['ahci']\r\n IRQ 30: PID: None, count: [152431, 152431], Sched None (priority None), drivers: ['hda_intel']\r\n IRQ 31: PID: None, count: [97179, 97179], Sched None (priority None), drivers: ['iwl3945']\r\n}}}\r\n[[BR]]\r\n\r\nDo you guys have some insight?\r\n\r\nCheers,\r\n bug closed major generic FFADO 2.0.1 fixed