[mythtv] Fwd: [PATCH] Add profile groups

Geoffrey Hausheer ou401cru02 at sneakemail.com
Sat Sep 13 08:07:49 EDT 2003


On Sat, 13 Sep 2003 04:28:04 -0400, "Matt Zimmerman mdz-at-debian.org
|mythtv/1.0-Allow|" <n4n4hbjjnh0t at sneakemail.com> said:
> On Fri, Sep 12, 2003 at 10:32:39PM -0500, Geoffrey Hausheer wrote:
> 
> > Okay, I've finally fixed the segfault I was getting with the profiles
> > originally.
> 
> What was the problem?  I'm curious.
Honestly, I don't know.  I removed the setRW from the setName function,
and the segfault went away (and valgrind stopped complaining about it). 
So maybe there is something funky with the class hierarchy.  It really
makes no sense.  Anyhow, I didn't need the setRW().  It was just there
because I copied the initial code from recordingprofiles.  I checked, and
the current recordingprofiles code exhibits the same problem (run
valgrind on mythfrontend, and try to create a new profile).  However,
with my patch, 'setName' is never needed in recordingprofiles either, so
I end up fixing it there too.  as far as I can tell, setRW isn't used
anywhere else in the code (the call in settings.cpp is for a different
class)

Thanks for the tip on valgrind.  I had never used it before, but it
operates very similarly to Purify, which has been one of my best friends
in the past.

.Geoff


More information about the mythtv-dev mailing list