[mythtv] [mythtv-commits] Ticket #2735: glibc "free(): invalid pointer" during tuning in mythtv-setup (mythtv-setup crashes)

Daniel Kristjansson danielk at cuymedia.net
Fri Jan 12 10:32:30 UTC 2007

On Fri, 2007-01-12 at 05:25 +0000, MythTV wrote:
> #2735: glibc "free(): invalid pointer" during tuning in mythtv-setup (mythtv-setup
> crashes)
> ------------------------------+---------------------------------------------
>  Reporter:  linux at bohmer.net  |        Owner:  danielk
>      Type:  defect            |       Status:  closed 
>  Priority:  minor             |    Milestone:  unknown
> Component:  mythtv            |      Version:  0.20   
>  Severity:  medium            |   Resolution:  invalid
> ------------------------------+---------------------------------------------
> Comment (by tino.keitel+mythtv at tikei.de):
>  When I tried to get a backtrace, gdb itself crashes, so it was impossible
>  to get a backtrace. This was also described in the ML link above:
>  http://mythtv.org/pipermail/mythtv-dev/2006-September/050517.html

Valgrind might help then, but this actually indicates that
it is probably a memory problem... So this might just be a
duplicate of #2909. I know the backtrace looks a bit different,
but I think both segfaults are being triggered by the scanner
using delete directly on a QObject derived class instead of
using the deleteLater() method, in this case the QObject
derived class is ScanProgressPopup.

I already have a fix for this locally, but it is part of a
larger scanning patch which isn't ready for SVN. I might try
to extract it early though since this looks like it might be
a more common problem than I thought.

-- Daniel

More information about the mythtv-dev mailing list