Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] AW: Re: VDR 1.3.12 problem - Aborted



>-- Original Nachricht --
>To: vdr@linuxtv.org
>From: s.huelswitt@gmx.de (Stefan Huelswitt)
>Subject: [vdr] Re: VDR 1.3.12 problem - Aborted
>Date: Fri, 10 Sep 2004 08:37:57 +0000 (UTC)
>Reply-to: vdr@linuxtv.org
>
>
>On 09 Sep 2004 Pasi Juppo <Pasi.Juppo@iki.fi> wrote:
>
>> Weird problem and cannot get it solved. VDR just stops and says 'Aborted'.
>
>> Nothing in logs, nothing in shell just nothing that could give me any
hint
>
>> what's going on. It has only done this for a day - before this almost
no
>
>> problems for weeks.
>
>I experienced this once in a while too.
>I could it trace back to some "new char[x]" in libsi code. In
>some cases x is very big (>1GB), memory allocation fails and vdr
>is aborted from some internal gcc error handler.
What is triggered here is the "new_handler" which is called if the malloc
inside of new fails. The default new_handler is "terminate" which calls
"abort". By setting a new_handler via "set_new_handler", a customized function
can be used. 
>I don't know if the big x values are cause by bad data in EPG
>(which isn't crosschecked) or due to corrupted stream.
>
>May be it's an idea to leave "new". If one would use "malloc" any
>error could be handled by vdr itself.
See above, this can be handled even better with new.

Regards

Dominik






________________________________________
http://www.epost.de - das Kommunikationsportal der Deutschen Post






Home | Main Index | Thread Index