[mythtv-commits] Ticket #1564: SEGFAULT in SIParser::CheckTrackers
MythTV
mythtv at cvs.mythtv.org
Wed Mar 22 21:48:27 UTC 2006
#1564: SEGFAULT in SIParser::CheckTrackers
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: 0.20
Component: mythtv | Version: head
Severity: medium | Resolution:
-----------------------+----------------------------------------------------
Comment (by cizek at rcn.com):
I dug through the logs and backtrace and I think it's related to a race
condition when the DVBSIParser is created. The base thread and
SystemInfoThread both use pnum_pid with no synchronization. (This is
visible in the log file in threads 0xb340ebb0 and 0xacfc4bb0 - for
threadid info see trac #1344)
I've attached a patch that creates a mutex lock for this.
If you need any clarification let me know,
Bill
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/1564>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list