Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#11458 closed Bug Report - Crash (fixed)

Mac OSx CORE DUMP after watching a recording - (QRegion::isEmpty() const + 25)

Reported by: mythtvuser10@… Owned by: Jonatan Lindblad
Priority: major Milestone: 0.26.1
Component: MythTV - General Version: 0.26-fixes
Severity: medium Keywords: OSx QRegion::isEmpty
Cc: Ticket locked: no

Description

After compiling a new version of the Mac OSx Mythfrontend - I find that after watching a recorded TV program (aka MythTV recorded content) that the Mythfronted end will core dump with a SIGSEGV.

Details: ========

Mythfrontend compiled using Apple Xcode 4.6.1 for Mac OS Mountain Lion (10.8.3). Both Operating System and Xcode versions were updated today (March 16) to their latest versions and patches as appropriate.

Mythfrontend compiled using osx-packager-qtsdk.pl and was targeted to the Mac OSx 10.8 Framework. (All other Mac OSx SDK Frameworks were removed prior to the compile.

QT used for the compile was 4.8.4 - or more precisely: qt-everywhere-opensource-src-4.8.4.tar.gz

FLAGS passed to osx-packager-qtsdk.pl:

-gitrev fixes/0.26 -qtsrc 4.8.4 -verbose -universal

NOTE: The (-universal) tag was removed during the MythTV specific compiles (at end) due to libzeromq not working with i386 compiled libraries. Resulting finished MythFrontend binary is 64 bit.

IMPORTANT The resulting GDB STACK TRACE is the same as reported for another MythTV Tracking Ticket to the same bug - but (NOT RELATED TO MacOSx) which is Ticket: 11402

Attachments (4)

stackTrace.txt (26.5 KB) - added by anonymous 12 years ago.
Mac OSx Mountain Lion (10.8.3) stack trace
Mythfront-version.txt (640 bytes) - added by anonymous 12 years ago.
MythFrontend --version information
mythfrontend-stderr.txt (392 bytes) - added by anonymous 12 years ago.
Stderr from Mythfrontend during crash scenario
mythfrontend-stdout.txt (8.4 KB) - added by anonymous 12 years ago.
stdout from Mythfrontend during crash scenario

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by anonymous

Attachment: stackTrace.txt added

Mac OSx Mountain Lion (10.8.3) stack trace

Changed 12 years ago by anonymous

Attachment: Mythfront-version.txt added

MythFrontend --version information

comment:1 Changed 12 years ago by mythtvuser10@…

Steps to reproduce this core dump (aka crash):

My Mythbackend recording are on (Linux Mint) and are recorded using a Hauppauge HD PVR. As such I believe the standard storage format of the backend Myth recordings is H.264.

  • Start Mythfrontend on Mac OSx Mountain Lion (10.8.3)
  • Select Media Library (I use the MythCenter? Wide 1.7 theme)
  • Select Watch Recordings
  • Select All Programs
  • Select (ANY) recorded program from the list.
  • Start watching the Recording.
  • (Watch Recording): Recorded program playback Audio and Video play fine on Mac OSx: (I use OpenGL and Normal) Playback.
  • Wait as long as you like (10s, 1m, 5m, 20m - Whatever) watching the Recording.
  • Hit <ESC> to Stop the playback
  • Mythfrontend 'core' dumps here (or gets caught in the standard Mac signal trap)

Changed 12 years ago by anonymous

Attachment: mythfrontend-stderr.txt added

Stderr from Mythfrontend during crash scenario

Changed 12 years ago by anonymous

Attachment: mythfrontend-stdout.txt added

stdout from Mythfrontend during crash scenario

comment:2 Changed 12 years ago by Jonatan Lindblad

Owner: set to Jonatan Lindblad
Status: newassigned

comment:3 Changed 12 years ago by Jonatan Lindblad <jlindblad@…>

Resolution: fixed
Status: assignedclosed

In 6e0f69dca6a554f4baf0fe8f9226458d36c459c7/mythtv:

MythUI: Fix use after free in MythUIEditBar

The call to ReleaseImages?() in MythUIEditBar's dtor caused a free memory read
since SetRedraw?() accesses its parent whose dtor has already been called.

Calling ReleaseImages?() from MythUIEditBar's dtor also isn't necessary since the
images in m_images are children of MythUIEditBar and are automatically deleted
by Qt.

Fixes #11458, Refs #11402

comment:4 Changed 12 years ago by Jonatan Lindblad <jlindblad@…>

In c0419cd1759f299a4232c12cf62dbea8b30180f2/mythtv:

MythUI: Fix use after free in MythUIEditBar

The call to ReleaseImages?() in MythUIEditBar's dtor caused a free memory read
since SetRedraw?() accesses its parent whose dtor has already been called.

Calling ReleaseImages?() from MythUIEditBar's dtor also isn't necessary since the
images in m_images are children of MythUIEditBar and are automatically deleted
by Qt.

Fixes #11458, Refs #11402
(cherry picked from commit 6e0f69dca6a554f4baf0fe8f9226458d36c459c7)

Note: See TracTickets for help on using tickets.