Project

General

Profile

Actions

Bug #258

closed

text2skin crasht in der Kanalanzeige

Added by henfri about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
02/25/2010
Due date:
% Done:

100%

Estimated time:

Description

Hallo,

leider crasht text2skin bei mir häufig in der Verbindung mit PearlHD beim Zappen.
Schalte ich die Kanalanzeige (also die Anzeige davon, was gerade auf dem Kanal läuft auf den ich geschaltet habe) aus, so gibt es keine Abstürze mehr.
Die Fehlermeldung im Log:
Feb 17 21:43:26 [kernel] Text2Skin: chan31174: segfault at 9302133f ip 08134b4e sp a49f4e84 error 4 in vdr[8048000+1a1000]

Gruß,
Hendrik

Actions #1

Updated by NemoN about 14 years ago

kannst mal ein backtrace machen?

Actions #2

Updated by HelAu about 14 years ago

Ich hab den hier recht haeufig:

Core was generated by `/usr/bin/vdr --localedir=/etc/vdr/locale -u root -w 60 --config=/etc/vdr --shut'.
Program terminated with signal 11, Segmentation fault.
#0 0x08126a21 in cBitmap::SetIndex (this=0x85b2be0, x=15, y=38,
Index=6 '\006') at osd.c:407

Thread 1 (Thread 9542):
#0 0x08126a21 in cBitmap::SetIndex (this=0x85b2be0, x=15, y=38,
Index=6 '\006') at osd.c:407
No locals.
#1 0x08126b30 in cBitmap::DrawPixel (this=0x85b2be0, x=15, y=38,
Color=4041502598) at osd.c:423
No locals.
#2 0xb4bef7c4 in cText2SkinBitmap::LoadNonXpm(char const*, int, int, int, bool) () from /usr/lib/vdr/plugins/libvdr-text2skin.so.1.7.12
No symbol table info available.
#3 0xb4befe72 in cText2SkinBitmap::Load(std::string const&, int, int, int, int, bool) () from /usr/lib/vdr/plugins/libvdr-text2skin.so.1.7.12
No symbol table info available.
#4 0xb4be5bdc in cText2SkinRender::DrawImage(txPoint const&, txSize const&, unsigned int const*, unsigned int const*, unsigned int const*, int, int, std::string const&) () from /usr/lib/vdr/plugins/libvdr-text2skin.so.1.7.12
No symbol table info available.

Actions #3

Updated by henfri about 14 years ago

Hallo,

hier gibt's interessante Inputs dazu:
http://www.vdr-portal.de/board/thread.php?postid=892561#post892561

Gruß,
Hendrik

Actions #4

Updated by domml about 14 years ago

Hallo,
probiert doch bitte 'mal ff. Patch:
diff --git a/bitmap.c b/bitmap.c
index 87252ea..2a9037c 100644
--- a/bitmap.c
++ b/bitmap.c
@ -181,7 +181,7 @ bool cText2SkinBitmap::LoadNonXpm(const char *Filename, int height, int width, i
return false;
}
*/
- bmp = new cBitmap(w, h, (*it).depth());
bmp = new cBitmap(w, h, std::min((*it).depth(), 8U));
//Dprintf("this image has %d colors\n", (*it).totalColors());

const PixelPacket *pix = (*it).getConstPixels(0, 0, w, h);
Actions #5

Updated by SPAM about 14 years ago

  • Assignee set to TomG

Just a FYI, I don't speak German, but I believe TomG does, so maybe he can take care of this (assigning to him). In general, I'd say filing issues in English have better chance for timely reaction than ones written in some other language...

Actions #6

Updated by domml about 14 years ago

No problem, I just wrote that you could try the patch above for solving this crash.
The problem is that VDR can handle onyl 8bpp for the ODS, so a higher value leads to memory corruption.

Actions #7

Updated by henfri about 14 years ago

Hello scop,

sorry, I was not aware.
Let me translate:
unfortunately text2skin crashes when using the PearlHD skin, when I'm zapping.
When I deaktivate the OSD during zapping (the small OSD that just shows the current and next show), no crashes happen.

From syslog:
Feb 17 21:43:26 [kernel] Text2Skin: chan31174: segfault at 9302133f ip 08134b4e sp a49f4e84 error 4 in vdr[8048000+1a1000]

The Backtrace:
Core was generated by `/usr/bin/vdr --localedir=/etc/vdr/locale -u root -w 60 --config=/etc/vdr --shut'.
Program terminated with signal 11, Segmentation fault.
#0 0x08126a21 in cBitmap::SetIndex (this=0x85b2be0, x=15, y=38,
Index=6 '\006') at osd.c:407

Thread 1 (Thread 9542):
#0 0x08126a21 in cBitmap::SetIndex (this=0x85b2be0, x=15, y=38,
Index=6 '\006') at osd.c:407
No locals.
#1 0x08126b30 in cBitmap::DrawPixel (this=0x85b2be0, x=15, y=38,
Color=4041502598) at osd.c:423
No locals.
#2 0xb4bef7c4 in cText2SkinBitmap::LoadNonXpm(char const*, int, int, int, bool) () from /usr/lib/vdr/plugins/libvdr-text2skin.so.1.7.12
No symbol table info available.
#3 0xb4befe72 in cText2SkinBitmap::Load(std::string const&, int, int, int, int, bool) () from /usr/lib/vdr/plugins/libvdr-text2skin.so.1.7.12
No symbol table info available.
#4 0xb4be5bdc in cText2SkinRender::DrawImage(txPoint const&, txSize const&, unsigned int const*, unsigned int const*, unsigned int const*, int, int, std::string const&) () from /usr/lib/vdr/plugins/libvdr-text2skin.so.1.7.12
No symbol table info available.

And much information on this, unfortunately in german:
http://www.vdr-portal.de/board/thread.php?postid=892561#post892561

dommls patch seems to be working or me!

Regards,
Hendrik

Actions #8

Updated by TomG about 14 years ago

  • Target version set to 1.3.1
Actions #9

Updated by TomG about 14 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF