Hallo,
langsam bin ich am verzweifeln. Ich versuche hier seit einigen Tagen, dass
analogtv-Plugin zum Laufen zu bekommen.
Wenn ich den VDR damit starte und auf einen analogen Kanal wechsle, klappt
auch alles (Bild da, richtiger Ton aus dem Kopfhörer der Soundkarte). Wenn ich
aber nun wieder den Kanal wechsle, bekomme ich einen Segmentation Fault
(Speicherzugriffsfehler).
Meine Konfiguration:
- VDR 1.3.36 BigPatch unter Debian/Sarge 3.1r0a
- analogtv-Plugin 0.9.37
- libdvb-0.5.5
- mp1e (rte-09sep04)
Ich habe den VDR mit Debugoptionen übersetzt und mal ein Backtrace
erstellt. Ich hoffe mir kann jemand weiterhelfen - Danke!
Code
debvdr:~# cd /usr/local/src/vdr-1.3.36/
debvdr:/usr/local/src/vdr-1.3.36# gdb ./vdr
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run ./vdr -P"setup" -P"analogtv"
Starting program: /usr/local/src/vdr-1.3.36/vdr ./vdr -P"setup" -P"analogtv"
[Thread debugging using libthread_db enabled]
[New Thread -1211332032 (LWP 9614)]
14:59:18 analogTV version 0.9.37 starting up ...
14:59:18
14:59:18 Copyright (C) 2003 .. 2005 by Andreas Kool (akool@gmx.de)
14:59:18
14:59:18 The analogTV plugin is the work of many people;
14:59:18 for at least a partial list see CREDITS.
14:59:18
14:59:18 analogTV comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
14:59:18 This is free software, and you are welcome to redistribute it
14:59:18 under certain conditions; see COPYING for details.
14:59:18
14:59:18 Detected Linux version 2.6.14.2-P3
14:59:18 Detected VDR version 1.3.36
14:59:18 Detected plain-vanilla VDR (hopefully :-)
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
14:59:18 cPluginAnalogtv::SetupParse()
[New Thread -1212617808 (LWP 9617)]
[Thread -1212617808 (LWP 9617) exited]
[New Thread -1212617808 (LWP 9619)]
[New Thread -1221006416 (LWP 9620)]
[New Thread -1229497424 (LWP 9621)]
[New Thread -1240253520 (LWP 9622)]
[New Thread -1248642128 (LWP 9623)]
[New Thread -1259131984 (LWP 9624)]
[New Thread -1267520592 (LWP 9625)]
[Thread -1267520592 (LWP 9625) exited]
[Thread -1240253520 (LWP 9622) exited]
[New Thread -1240253520 (LWP 9626)]
[New Thread -1267520592 (LWP 9627)]
[New Thread -1276163152 (LWP 9628)]
[Thread -1240253520 (LWP 9626) exited]:00:15.123 D:16,83% CPU:100,0%
[Thread -1276163152 (LWP 9628) exited]
[Thread -1267520592 (LWP 9627) exited]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211332032 (LWP 9614)]
0xb7d3ad89 in free () from /lib/tls/libc.so.6
(gdb) bt
#0 0xb7d3ad89 in free () from /lib/tls/libc.so.6
#1 0x0813e3ca in ~cThread (this=0x82b1680) at thread.c:209
#2 0xb7bb0156 in ~cEncoder (this=0x82b1680) at encoder.c:81
#3 0xb7bb0fee in cAnalogtvDevice::StopEncoder (this=0x824f4e0) at device.c:124
#4 0xb7bb4c13 in cAnalogtvDevice::setup (this=0x824f4e0, freq=231250,
name=0x825b628 "C-0-231-65002", amixer=0) at device.c:1480
#5 0xb7bb51b7 in cAnalogtvDevice::SetChannelDevice (this=0x824f4e0,
Channel=0x824a4f0, LiveView=false) at device.c:1691
#6 0x080ad52c in cDevice::SetChannel (this=0x824f4e0, Channel=0x824a4f0,
LiveView=false) at device.c:840
#7 0x080ad2ae in cDevice::SetChannel (this=0x824c720, Channel=0x824a4f0,
LiveView=true) at device.c:814
#8 0x080aca9c in cDevice::SwitchChannel (this=0x824c720, Channel=0x824a4f0,
LiveView=true) at device.c:692
#9 0x080aceb5 in cDevice::SwitchChannel (Direction=1) at device.c:748
#10 0x0814d7c5 in main (argc=4, argv=0xbfa31674) at vdr.c:758
(gdb)
Alles anzeigen