[mythtv-commits] Ticket #8590: Nondeterministic mythcommflag segfaults on trunk

MythTV mythtv at cvs.mythtv.org
Wed Jun 23 15:35:29 UTC 2010


#8590: Nondeterministic mythcommflag segfaults on trunk
---------------------------------+------------------------------------------
 Reporter:  km@…                 |       Owner:  danielk   
     Type:  defect               |      Status:  assigned  
 Priority:  minor                |   Milestone:  0.24      
Component:  MythTV - General     |     Version:  Trunk Head
 Severity:  medium               |     Mlocked:  0         
---------------------------------+------------------------------------------

Comment(by km@…):

 I went ahead and ran the valgrind as suggested.

 ---
 valgrind --error-limit=no --show-reachable=yes --log-file=commflag-
 valgrind.log -v -- /home/km/svn-
 myth.qt4.new/trunk/mythtv/programs/mythcommflag/mythcommflag --force -f
 3842_20100617220000.mpg -v playback > commflag.log

 MythTV Commercial Flagger, started at Mon Jun 21 11:03:35 2010
 Flagging commercial breaks for:
 ChanID  Start Time      Title                                      Breaks
 ------  --------------  -----------------------------------------  ------
 3842   20100617220000 Royal Pains                                 99%/4

 Finished commercial break flagging at Wed Jun 23 11:16:33 2010

 Error in my_thread_global_end(): 1 threads didn't exit

 ----

 As you see it took 48 hours to run with the memory checking, and didn't
 segfault. Since it didn't segfault I'm not attaching the logs, let me know
 if they are needed. I presume the thread didn't exit is not significant.

 So to summarize this example. I have posted 2 different runs that segfault
 at very different frames (but always at the same function call), and a
 third that gets all the way through when running with memory checking (at
 an average of less than 1 frame per second).

 This is got be some kind of timing thing, maybe a race condition between
 threads, timing in getting buffers, etc.

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


More information about the mythtv-commits mailing list