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

MythTV mythtv at cvs.mythtv.org
Fri Mar 2 11:01:20 UTC 2007


#2735: glibc "free(): invalid pointer" during tuning in mythtv-setup (mythtv-setup
crashes)
------------------------------+---------------------------------------------
 Reporter:  linux at bohmer.net  |        Owner:  danielk 
     Type:  defect            |       Status:  reopened
 Priority:  minor             |    Milestone:  unknown 
Component:  mythtv            |      Version:  head    
 Severity:  medium            |   Resolution:          
------------------------------+---------------------------------------------
Comment (by anonymous):

 The attached patch 'fixes' the problem on my system, i.e.: I am now able
 to run a scan to completion without limiting the system to single
 processor mode.  All I've done is to move the translation calls (which
 cause a race condition in QT) inside the blocks of code in which the
 QStrings are actually used.  I did some quick debug code which showed that
 previously, QString::tr was being called ~300,000 times for a scan on my
 system, with this patch it's only called 8 times.  So whilst this patch
 won't fix the race in QT, it does make us very much more unlikely to
 encounter it.  It should give a quicker runtime to all users too, at the
 expense of adding some repeated code.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2735#comment:6>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list