Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 13 months ago

Closed 13 months ago

Last modified 13 months ago

#11458 closed Bug Report - Crash (fixed)

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

Reported by: mythtvuser10@… Owned by: natanojl
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 13 months ago.
Mac OSx Mountain Lion (10.8.3) stack trace
Mythfront-version.txt (640 bytes) - added by anonymous 13 months ago.
MythFrontend --version information
mythfrontend-stderr.txt (392 bytes) - added by anonymous 13 months ago.
Stderr from Mythfrontend during crash scenario
mythfrontend-stdout.txt (8.4 KB) - added by anonymous 13 months ago.
stdout from Mythfrontend during crash scenario

Download all attachments as: .zip

Change History (8)

Changed 13 months ago by anonymous

Mac OSx Mountain Lion (10.8.3) stack trace

Changed 13 months ago by anonymous

MythFrontend --version information

comment:1 Changed 13 months 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 13 months ago by anonymous

Stderr from Mythfrontend during crash scenario

Changed 13 months ago by anonymous

stdout from Mythfrontend during crash scenario

comment:2 Changed 13 months ago by natanojl

  • Owner set to natanojl
  • Status changed from new to assigned

comment:3 Changed 13 months ago by Jonatan Lindblad <jlindblad@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

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 13 months 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)

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.