Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] AW: Aborted - a test case
This backtrace seconds my theory. operator new tries to allocate, malloc
fails. new throws the xmem exception which is not caught anywhere, so terminate
is called. The default implementation for terminate is to call abort().
To fix this problem, an exception handler should be introduced which prevents
vdr from aborting.
Regards
Dominik
>-- Original Nachricht --
>To: vdr@linuxtv.org
>From: s.huelswitt@gmx.de (Stefan Huelswitt)
>Subject: [vdr] Aborted - a test case
>Date: Mon, 13 Sep 2004 08:09:08 +0000 (UTC)
>Reply-to: vdr@linuxtv.org
>
>
>Hi,
>this morning I was able to log such a case.
>I must admit that I don't really understand the libsi code, so I
>include a backtrace and the dump of the section data which caused
>the error in case someone skilled wants to dig into this.
>The core file is still in hold, if additional printouts are
>needed.
>
>Regards.
>
>#0 0x40158e11 in kill () from /lib/i686/libc.so.6
>#1 0x400409dd in pthread_kill () from /lib/i686/libpthread.so.0
>#2 0x40040e2b in raise () from /lib/i686/libpthread.so.0
>#3 0x4015a4f9 in abort () from /lib/i686/libc.so.6
>#4 0x400dc6b7 in __cxxabiv1::__terminate(void (*)()) ()
> from /usr/lib/libstdc++.so.5
>#5 0x400dc704 in std::terminate() () from /usr/lib/libstdc++.so.5
>#6 0x400dc886 in __cxa_throw () from /usr/lib/libstdc++.so.5
>#7 0x400dca92 in operator new(unsigned) () from /usr/lib/libstdc++.so.5
>#8 0x400dcb8f in operator new[](unsigned) () from /usr/lib/libstdc++.so.5
>#9 0x080e6aef in SI::CharArray::DataOwnData::assign(unsigned char const*,
>unsigned) (this=0x400fd81c, d=0x42512448 "deu\016\005Zeitgeschehen", s=149154504)
> at util.c:125
>#10 0x080e6763 in SI::CharArray::assign(unsigned char const*, unsigned,
bool)
>(
> this=0x85b0138, data=0x42512448 "deu\016\005Zeitgeschehen",
> size=4294967292, doCopy=true) at util.c:61
>#11 0x080ebb7a in SI::CaDescriptor::Parse() (this=0x85b0138) at util.h:51
>#12 0x080e6c5d in SI::Parsable::CheckParse() (this=0x4004bafc) at util.c:183
>#13 0x080e756b in SI::DescriptorLoop::createDescriptor(int&, bool) (
> this=0x4004bafc, i=@0x42511778) at si.c:154
>#14 0x080e736a in SI::DescriptorLoop::getNext(SI::Loop::Iterator&) (
> this=0x4251190c, it=@0x42511778) at si.c:106
>#15 0x080964b2 in cEIT (this=0x4251199c, Schedules=0x817b120, Source=35008,
>
> Tid=96 '`', Data=0x0) at eit.c:95
>#16 0x080974a3 in cEitFilter::Process(unsigned short, unsigned char, unsigned
>char const*, int) (this=0x4251199c, Pid=0, Tid=172 '¬', Data=0x42511a8c
"`ò±",
>
> Length=692) at eit.c:272
>#17 0x080c684f in cSectionHandler::Action() (this=0x8c30d90) at sections.c:203
>#18 0x080d81bb in cThread::StartThread(cThread*) (Thread=0x8c30d90)
> at thread.c:189
>#19 0x4003e020 in pthread_start_thread () from /lib/i686/libpthread.so.0
>
>(gdb) f 16
>#16 0x080974a3 in cEitFilter::Process(unsigned short, unsigned char, unsigned
>char const*, int) (this=0x4251199c, Pid=0, Tid=172 '¬', Data=0x42511a8c
"`ò±",
>
> Length=692) at eit.c:272
>272 cEIT EIT(Schedules, Source(), Tid, Data);
>
>(gdb) x/692bx Data
>0x42511a8c: 0x60 0xf2 0xb1 0x00 0x11 0xe3 0x01
0xf8
>0x42511a94: 0x00 0x03 0x00 0x85 0x01 0x61 0x78
0x33
>0x42511a9c: 0xcf 0x85 0x00 0x00 0x00 0x03 0x00
0x00
>0x42511aa4: 0x1f 0xd5 0x4d 0x3b 0x44 0x45 0x55
0x14
>0x42511aac: 0x4c 0x69 0x76 0x65 0x20 0x42 0x61
0x73
>0x42511ab4: 0x6b 0x65 0x74 0x62 0x61 0x6c 0x6c
0x3a
>0x42511abc: 0x20 0x4e 0x42 0x41 0x22 0x50 0x6c
0x61
>0x42511ac4: 0x79 0x6f 0x66 0x66 0x73 0x3a 0x20
0x43
>0x42511acc: 0x6f 0x6e 0x66 0x65 0x72 0x65 0x6e
0x63
>0x42511ad4: 0x65 0x20 0x51 0x75 0x61 0x72 0x74
0x65
>0x42511adc: 0x72 0x66 0x69 0x6e 0x61 0x6c 0x73
0x54
>0x42511ae4: 0x50 0x45 0x00 0x45 0x00 0x45 0x00
0x45
>0x42511aec: 0x00 0x45 0x00 0x45 0x00 0x45 0x00
0x45
>0x42511af4: 0x00 0x45 0x00 0x45 0x00 0x45 0x00
0x45
>0x42511afc: 0x00 0x45 0x00 0x45 0x00 0x45 0x00
0x45
>0x42511b04: 0x00 0x45 0x00 0x45 0x00 0x45 0x00
0x45
>0x42511b0c: 0x00 0x45 0x00 0x45 0x00 0x45 0x00
0x45
>0x42511b14: 0x00 0x45 0x00 0x45 0x00 0x45 0x00
0x45
>0x42511b1c: 0x00 0x45 0x00 0x45 0x00 0x45 0x00
0x45
>0x42511b24: 0x00 0x45 0x00 0x45 0x00 0x45 0x00
0x45
>0x42511b2c: 0x00 0x45 0x00 0x45 0x00 0x45 0x00
0x45
>0x42511b34: 0x00 0x4d 0x71 0x44 0x45 0x55 0x14
0x4c
>0x42511b3c: 0x69 0x76 0x65 0x20 0x42 0x61 0x73
0x6b
>0x42511b44: 0x65 0x74 0x62 0x61 0x6c 0x6c 0x3a
0x20
>0x42511b4c: 0x4e 0x42 0x41 0x58 0x50 0x6c 0x61
0x79
>0x42511b54: 0x6f 0x66 0x66 0x73 0x3a 0x20 0x53
0x61
>0x42511b5c: 0x63 0x72 0x61 0x6d 0x65 0x6e 0x74
0x6f
>0x42511b64: 0x20 0x4b 0x69 0x6e 0x67 0x73 0x20
0x2d
>0x42511b6c: 0x20 0x44 0x61 0x6c 0x6c 0x61 0x73
0x20
>0x42511b74: 0x4d 0x61 0x76 0x65 0x72 0x69 0x63
0x6b
>0x42511b7c: 0x73 0x2c 0x20 0x57 0x65 0x73 0x74
0x65
>0x42511b84: 0x72 0x6e 0x20 0x43 0x6f 0x6e 0x66
0x65
>0x42511b8c: 0x72 0x65 0x6e 0x63 0x65 0x20 0x51
0x75
>0x42511b94: 0x61 0x72 0x74 0x65 0x72 0x66 0x69
0x6e
>0x42511b9c: 0x61 0x6c 0x73 0x2c 0x20 0x53 0x70
0x69
>0x42511ba4: 0x65 0x6c 0x20 0x35 0x4d 0x71 0x44
0x45
>0x42511bac: 0x55 0x14 0x4c 0x69 0x76 0x65 0x20
0x42
>0x42511bb4: 0x61 0x73 0x6b 0x65 0x74 0x62 0x61
0x6c
>0x42511bbc: 0x6c 0x3a 0x20 0x4e 0x42 0x41 0x58
0x50
>0x42511bc4: 0x6c 0x61 0x79 0x6f 0x66 0x66 0x73
0x3a
>0x42511bcc: 0x20 0x53 0x61 0x63 0x72 0x61 0x6d
0x65
>0x42511bd4: 0x6e 0x74 0x6f 0x20 0x4b 0x69 0x6e
0x67
>0x42511bdc: 0x73 0x20 0x2d 0x20 0x44 0x61 0x6c
0x6c
>0x42511be4: 0x61 0x73 0x20 0x4d 0x61 0x76 0x65
0x72
>0x42511bec: 0x69 0x63 0x6b 0x73 0x2c 0x20 0x57
0x65
>0x42511bf4: 0x73 0x74 0x65 0x72 0x6e 0x20 0x43
0x6f
>0x42511bfc: 0x6e 0x66 0x65 0x72 0x65 0x6e 0x63
0x65
>0x42511c04: 0x20 0x51 0x75 0x61 0x72 0x74 0x65
0x72
>0x42511c0c: 0x66 0x69 0x6e 0x61 0x6c 0x73 0x2c
0x20
>0x42511c14: 0x53 0x70 0x69 0x65 0x6c 0x20 0x35
0x4d
>0x42511c1c: 0x71 0x44 0x45 0x55 0x14 0x4c 0x69
0x76
>0x42511c24: 0x65 0x20 0x42 0x61 0x73 0x6b 0x65
0x74
>0x42511c2c: 0x62 0x61 0x6c 0x6c 0x3a 0x20 0x4e
0x42
>0x42511c34: 0x41 0x58 0x50 0x6c 0x61 0x79 0x6f
0x66
>0x42511c3c: 0x66 0x73 0x3a 0x20 0x53 0x61 0x63
0x72
>0x42511c44: 0x61 0x6d 0x65 0x6e 0x74 0x6f 0x20
0x4b
>0x42511c4c: 0x69 0x6e 0x67 0x73 0x20 0x2d 0x20
0x44
>0x42511c54: 0x61 0x6c 0x6c 0x61 0x73 0x20 0x4d
0x61
>0x42511c5c: 0x76 0x65 0x72 0x69 0x63 0x6b 0x73
0x2c
>0x42511c64: 0x20 0x57 0x65 0x73 0x74 0x65 0x72
0x6e
>0x42511c6c: 0x20 0x43 0x6f 0x6e 0x66 0x65 0x72
0x65
>0x42511c74: 0x6e 0x63 0x65 0x20 0x51 0x75 0x61
0x72
>0x42511c7c: 0x74 0x65 0x72 0x66 0x69 0x6e 0x61
0x6c
>0x42511c84: 0x73 0x2c 0x20 0x53 0x70 0x69 0x65
0x6c
>0x42511c8c: 0x20 0x35 0x4d 0x71 0x44 0x45 0x55
0x14
>0x42511c94: 0x4c 0x69 0x76 0x65 0x20 0x42 0x61
0x73
>0x42511c9c: 0x6b 0x65 0x74 0x62 0x61 0x6c 0x6c
0x3a
>0x42511ca4: 0x20 0x4e 0x42 0x41 0x58 0x50 0x6c
0x61
>0x42511cac: 0x79 0x6f 0x66 0x66 0x73 0x3a 0x20
0x53
>0x42511cb4: 0x61 0x63 0x72 0x61 0x6d 0x65 0x6e
0x74
>0x42511cbc: 0x6f 0x20 0x4b 0x69 0x6e 0x67 0x73
0x20
>0x42511cc4: 0x2d 0x20 0x44 0x61 0x6c 0x6c 0x61
0x73
>0x42511ccc: 0x20 0x4d 0x61 0x76 0x65 0x72 0x69
0x63
>0x42511cd4: 0x6b 0x73 0x2c 0x20 0x57 0x65 0x73
0x74
>0x42511cdc: 0x65 0x72 0x6e 0x20 0x43 0x6f 0x6e
0x66
>0x42511ce4: 0x65 0x72 0x65 0x6e 0x63 0x65 0x20
0x51
>0x42511cec: 0x75 0x61 0x72 0x74 0x65 0x72 0x66
0x69
>0x42511cf4: 0x6e 0x61 0x6c 0x73 0x2c 0x20 0x53
0x70
>0x42511cfc: 0x69 0x65 0x6c 0x20 0x35 0x4d 0x71
0x44
>0x42511d04: 0x45 0x55 0x14 0x4c 0x69 0x76 0x65
0x20
>0x42511d0c: 0x42 0x61 0x73 0x6b 0x65 0x74 0x62
0x61
>0x42511d14: 0x6c 0x6c 0x3a 0x20 0x4e 0x42 0x41
0x58
>0x42511d1c: 0x50 0x6c 0x61 0x79 0x6f 0x66 0x66
0x73
>0x42511d24: 0x3a 0x20 0x53 0x61 0x63 0x72 0x61
0x6d
>0x42511d2c: 0x65 0x6e 0x74 0x6f 0x20 0x4b 0x69
0x6e
>0x42511d34: 0x67 0x73 0x20 0x2d 0x20 0x44 0x61
0x6c
>0x42511d3c: 0xbe 0xf3 0xcb 0x4f
>
>--
>Stefan Huelswitt
>s.huelswitt@gmx.de | http://www.muempf.de/
>
>
________________________________________
http://www.epost.de - das Kommunikationsportal der Deutschen Post
Home |
Main Index |
Thread Index