
mythtv at cvs
Dec 30, 2009, 11:40 PM
Post #2 of 3
(313 views)
Permalink
|
|
Re: Ticket #7714: Mythfilldatabase segfaults during run
[In reply to]
|
|
#7714: Mythfilldatabase segfaults during run ---------------------------------------+------------------------------------ Reporter: superm1@… | Owner: stuartm Type: defect | Status: new Priority: minor | Milestone: unknown Component: MythTV - Mythfilldatabase | Version: 0.22-fixes Severity: medium | Mlocked: 0 ---------------------------------------+------------------------------------ Comment(by anonymous): Confirming this harmless nuisance on my backend; happens very frequently and looks like a race condition to me. BT shows one thread at main.cpp:959, just after "delete gContext". Second thread is MythSocketThread, which segfaults as it was processing the CLEAR_SETTINGS_CACHE initiated by main.cpp:955. It segfaults because "delete gContext" at main.cpp:957 destroys MythDB object while the second thread is using it. Hack approach might be to throw a usleep in here to reduce the frequency of these segfaults, but certainly there are better solutions. -- Ticket URL: <http://svn.mythtv.org/trac/ticket/7714#comment:1> MythTV <http://www.mythtv.org/> MythTV _______________________________________________ mythtv-commits mailing list mythtv-commits [at] mythtv http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
|