Opened 19 years ago

Closed 19 years ago

#297 closed defect (fixed)

mythcommflag ABRT. (glibc detected free())

Reported by: stuarta@… Owned by: Isaac Richards
Priority: minor Milestone: 0.19
Component: mythtv Version: head
Severity: medium Keywords: glibc detected free mythcommflag subtitle
Cc: Ticket locked: no

Description

Commflagging aborted this morning. I the backend logfile I found

* glibc detected * free(): invalid pointer: 0x080a9778 *

Running it manually I've narrowed the problem down to a double free in NuppleVideoPlayer::ClearSubtitles?() when it calls nonDisplayedSubtitles.pop_front();

Backtrace to be attached.

Attachments (3)

commflag-backtrace.txt (2.8 KB) - added by stuarta@… 19 years ago.
Backtrace from mythcommflag ABRT
commflag-bt2.txt (4.1 KB) - added by Stuart Auchterlonie 19 years ago.
backtrace from mythcommflag abort from rev 7299
commflag-glibc-abort.diff (898 bytes) - added by Stuart Auchterlonie 19 years ago.
Patch I created follow cpinkham's suggestions.

Download all attachments as: .zip

Change History (6)

Changed 19 years ago by stuarta@…

Attachment: commflag-backtrace.txt added

Backtrace from mythcommflag ABRT

comment:1 Changed 19 years ago by cpinkham

Resolution: fixed
Status: newclosed

(In [7232]) Don't try to clear subtitles if we don't have any. Fixes #297.

comment:2 Changed 19 years ago by Stuart Auchterlonie

Resolution: fixed
Status: closedreopened

With svn ver 7299 this is happening again.

Backtrace to be attached.

Changed 19 years ago by Stuart Auchterlonie

Attachment: commflag-bt2.txt added

backtrace from mythcommflag abort from rev 7299

Changed 19 years ago by Stuart Auchterlonie

Attachment: commflag-glibc-abort.diff added

Patch I created follow cpinkham's suggestions.

comment:3 Changed 19 years ago by Stuart Auchterlonie

Resolution: fixed
Status: reopenedclosed

This bug keeps running and hiding under the carpet.

It went from being 100% reproducible to not visible.

The attached patch implements some stuff Chris suggested trying to help with this problem. During testing it didn't change the behaviour at all, but it cleans things up to be more consistent with the rest of NuppleVideoPlayer?.

I'm going to close this bug for now as I can no longer reproduce it, but I'm going to keep one eye firmly on the lookout for any further relapses..

Note: See TracTickets for help on using tickets.