Opened 12 years ago

Closed 12 years ago

#4769 closed defect (fixed)

mythfrontend crash in internal player (OSD)

Reported by: harlock@… Owned by: danielk
Priority: minor Milestone: 0.21
Component: mythtv Version: 0.21-fixes
Severity: medium Keywords: SEGV frontend
Cc: harlock@… Ticket locked: no

Description

Mythfrontend exits SEGV when playing recorded or live mode in current SVN anything useing the internal player segfaults frontend

other media (avi Matroska, eg...) plays ok (albeit through mplayer)

attached are frontend/backend logs and backtrace... I've included backend log for completeness although backend runs without any problems.

SEGV appears to happen durring the init of OSD but thats as far as I can trace it back...

Attachments (6)

bactrace.txt (42.5 KB) - added by harlock@… 12 years ago.
backtrace 0.21.20080213-1 www.mythtv.org
mythfrontend.log (12.2 KB) - added by harlock@… 12 years ago.
frontend log 0.21.20080213-1 www.mythtv.org
mythbackend.log (11.2 KB) - added by harlock@… 12 years ago.
backend log 0.21.20080213-1 www.mythtv.org
4769-dbg-v1.patch (453 bytes) - added by danielk 12 years ago.
debugging patch
bactrace2.txt (43.2 KB) - added by anonymous 12 years ago.
mythfrontend2.log (33.5 KB) - added by harlock@… 12 years ago.
after debug patch

Download all attachments as: .zip

Change History (10)

Changed 12 years ago by harlock@…

Attachment: bactrace.txt added

backtrace 0.21.20080213-1 www.mythtv.org

Changed 12 years ago by harlock@…

Attachment: mythfrontend.log added

frontend log 0.21.20080213-1 www.mythtv.org

Changed 12 years ago by harlock@…

Attachment: mythbackend.log added

backend log 0.21.20080213-1 www.mythtv.org

comment:1 Changed 12 years ago by danielk

Owner: changed from Isaac Richards to danielk
Priority: majorminor
Severity: highmedium
Status: newassigned

Note to self: disable fribidi by default in 0.21

Changed 12 years ago by danielk

Attachment: 4769-dbg-v1.patch added

debugging patch

comment:2 Changed 12 years ago by danielk

Status: assignedinfoneeded

Harlock, please generate a "mythfrontend -v playback" log with the attached patch up to the point of the segfault, and attach the log and backtrace.

comment:3 in reply to:  2 Changed 12 years ago by harlock@…

Replying to danielk:

Harlock, please generate a "mythfrontend -v playback" log with the attached patch up to the point of the segfault, and attach the log and backtrace.

new backtrace (gdb) bt #0 0xb65e6517 in QTextCodec::fromUnicode () from /usr/lib/qt/lib/libqt-mt.so.3 #1 0xb7ad25ea in OSDTypeText::ConvertFromRtoL (this=0x9f398f0, text=@0xa7efe970) at osdtypes.cpp:820 #2 0xb7ad28a5 in OSDTypeText::SetDefaultText? (this=0x9f398f0, text=@0xa7efe970) at osdtypes.cpp:867 #3 0xb7ab9822 in OSD::parseTextArea (this=0x95bb020, container=0x9f395d8, element=@0xa7efebc8) at osd.cpp:1008 #4 0xb7abc22f in OSD::parseContainer (this=0x95bb020, element=@0xa7efede8) at osd.cpp:1486 #5 0xb7abfd1f in OSD::LoadTheme? (this=0x95bb020) at osd.cpp:1582 #6 0xb7ac4f6f in OSD::Init (this=0x95bb020, osd_bounds=@0xa7eff270, frameRate=33366, vis_bounds=@0xa7eff280, visibleAspect=1.49846315, fontScaling=1.06372762) at osd.cpp:156 #7 0xb7a51f83 in NuppelVideoPlayer::StartPlaying? (this=0x91478b0) at NuppelVideoPlayer?.cpp:3313 #8 0xb7a09341 in SpawnDecode? (param=0x91478b0) at tv_play.cpp:518 #9 0xb5e581b3 in start_thread () from /lib/libpthread.so.0 #10 0xb5cca03e in clone () from /lib/libc.so.6

Changed 12 years ago by anonymous

Attachment: bactrace2.txt added

Changed 12 years ago by harlock@…

Attachment: mythfrontend2.log added

after debug patch

comment:4 Changed 12 years ago by danielk

Resolution: fixed
Status: infoneededclosed

(In [16241]) Fixes #4769. Make sure both OSDTypeText constructors initialize all variables.

The codecic pointer was not being initialized to NULL, causing MythTV to not init the variable when it was first used, resulting in a segfault.

Note: See TracTickets for help on using tickets.