Hi,
I am running vdr-1.3.22 with graphlcd 0.1.2-pre4 and sometimes get a segmentation fault in the graphlcd code when stopping a replay with the "exit" key. This happens mostly when I stop replaying a VDR recording, but I've seen this too when I terminate MP3 playback in the MP3 plugin.
The following backtrace is from a crash after stopping a VDR reording:
#0 cChannel::GetChannelID() const (this=0x0) at channels.h:66 66 tChannelID(int Source, int Nid, int Tid, int Sid, int Rid = 0) { source = Source; nid = Nid; tid = Tid; sid = Sid; rid = Rid; } (gdb) bt #0 cChannel::GetChannelID() const (this=0x0) at channels.h:66 #1 0x403790bf in cGraphLCDState::SetChannel(int) (this=0x8960900, ChannelNumber=0) at state.c:552 #2 0x40377b4c in cGraphLCDState::Replaying(cControl const*, char const*) ( this=0x8960900, Control=0xbffff140, Name=0x0) at state.c:269 #3 0x080d7069 in cStatus::MsgReplaying(cControl const*, char const*) ( Control=0x82d4768, Name=0x0) at status.c:41 #4 0x080b0672 in ~cReplayControl (this=0x82d4768) at menu.c:3292 #5 0x080bca12 in cControl::Shutdown() () at player.c:84 #6 0x080e3318 in main (argc=5, argv=0x0) at vdr.c:781
Has anybody seen this too?
Wolfgang
On Fri, 04 Mar 2005 20:16:06 +0100, Wolfgang Fritz wolfgang.fritz@gmx.net wrote:
Hi,
I am running vdr-1.3.22 with graphlcd 0.1.2-pre4 and sometimes get a segmentation fault in the graphlcd code when stopping a replay with the "exit" key. This happens mostly when I stop replaying a VDR recording, but I've seen this too when I terminate MP3 playback in the MP3 plugin.
The following backtrace is from a crash after stopping a VDR reording:
#0 cChannel::GetChannelID() const (this=0x0) at channels.h:66 66 tChannelID(int Source, int Nid, int Tid, int Sid, int Rid = 0) { source = Source; nid = Nid; tid = Tid; sid = Sid; rid = Rid; } (gdb) bt #0 cChannel::GetChannelID() const (this=0x0) at channels.h:66 #1 0x403790bf in cGraphLCDState::SetChannel(int) (this=0x8960900, ChannelNumber=0) at state.c:552 #2 0x40377b4c in cGraphLCDState::Replaying(cControl const*, char const*) ( this=0x8960900, Control=0xbffff140, Name=0x0) at state.c:269 #3 0x080d7069 in cStatus::MsgReplaying(cControl const*, char const*) ( Control=0x82d4768, Name=0x0) at status.c:41 #4 0x080b0672 in ~cReplayControl (this=0x82d4768) at menu.c:3292 #5 0x080bca12 in cControl::Shutdown() () at player.c:84 #6 0x080e3318 in main (argc=5, argv=0x0) at vdr.c:781
Has anybody seen this too?
Wolfgang
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Yes, i have also noticed that. It is very annoying, that's why i have disable the plugin until the problem is resolved. As you, it happens often. Sometimes, when i push several times, the Menu button and then the Blue key, the problem doesn't appear.
Has anyone a solution ++ ECLiPSE
Am Freitag, 4. März 2005 20:16 schrieb Wolfgang Fritz:
Hi,
I am running vdr-1.3.22 with graphlcd 0.1.2-pre4 and sometimes get a segmentation fault in the graphlcd code when stopping a replay with the "exit" key. This happens mostly when I stop replaying a VDR recording, but I've seen this too when I terminate MP3 playback in the MP3 plugin.
The following backtrace is from a crash after stopping a VDR reording:
#0 cChannel::GetChannelID() const (this=0x0) at channels.h:66 66 tChannelID(int Source, int Nid, int Tid, int Sid, int Rid = 0) { source = Source; nid = Nid; tid = Tid; sid = Sid; rid = Rid; } (gdb) bt #0 cChannel::GetChannelID() const (this=0x0) at channels.h:66 #1 0x403790bf in cGraphLCDState::SetChannel(int) (this=0x8960900, ChannelNumber=0) at state.c:552
I don't run the plugin, but maybe that helps you:
In state.c:552 (#1) there is an access to a channel object that is NULL (that's why this is 0x0 in #0). Probably there is only someting like if (channel != NULL) {...} missing.
Greetings, Sascha
Sascha Volkenandt wrote:
Am Freitag, 4. März 2005 20:16 schrieb Wolfgang Fritz:
Hi,
I am running vdr-1.3.22 with graphlcd 0.1.2-pre4 and sometimes get a segmentation fault in the graphlcd code when stopping a replay with the "exit" key. This happens mostly when I stop replaying a VDR recording, but I've seen this too when I terminate MP3 playback in the MP3 plugin.
The following backtrace is from a crash after stopping a VDR reording:
#0 cChannel::GetChannelID() const (this=0x0) at channels.h:66 66 tChannelID(int Source, int Nid, int Tid, int Sid, int Rid = 0) { source = Source; nid = Nid; tid = Tid; sid = Sid; rid = Rid; } (gdb) bt #0 cChannel::GetChannelID() const (this=0x0) at channels.h:66 #1 0x403790bf in cGraphLCDState::SetChannel(int) (this=0x8960900, ChannelNumber=0) at state.c:552
I don't run the plugin, but maybe that helps you:
In state.c:552 (#1) there is an access to a channel object that is NULL (that's why this is 0x0 in #0). Probably there is only someting like if (channel != NULL) {...} missing.
This is not the primary problem. It is caused by a call to Channels.GetByNumber() with a channel number of 0 in cGraphLCDState::SetChannel() in #1. Up to now I couldn't find the cause for this. As a preliminary workaround I inserted a check for ChannelNumber == 0.
Wolfgang
Greetings, Sascha
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr