<mistakenly sent to userlist a moment ago, doh>
Hey,
I've been having a lot of mythbackend crashes, and am trying to figure out why. In the suspicion of having a broken gdb, I've completely rebuilt my system. gdb is now capable of providing me proper backtraces, if I place manual errors in the mythtv code to test gdb.
The problem I'm having seems to have to do with the mythcommflag thread:
2005-05-17 00:20:47.711 adding: mythbox as a client (events: 0)
[New Thread 311309 (LWP 8927)]
2005-05-17 00:20:50.948 Starting Commercial Flagging for "Krezip in concert" recorded from channel 12 at Mon May 16 23:10:00 2005.
2005-05-17 00:20:50.951 commflag: Commercial Flagging Starting
sh: line 1: mythcommflag: command not found
2005-05-17 00:20:50.965 commflag: Commercial Flagging Errored
2005-05-17 00:20:50.966 Commercial Flagging ERRORED for "Krezip in concert" recorded from channel 12 at Mon May 16 23:10:00 2005, unable to find mythcommflag, check your PATH.
[Thread 311309 (LWP 8927) exited]
2005-05-17 00:21:00.206 MainServer::HandleAnnounce Playback
2005-05-17 00:21:00.206 adding: mythbox as a client (events: 0)
2005-05-17 00:21:00.285 Reschedule requested for id 36.
2005-05-17 00:21:00.332 Scheduled 15 items in 0.0 = 0.02 match + 0.03 place
2005-05-17 00:21:00.337 Started recording "FC Godenzonen" on channel: 10 on cardid: 2, sourceid 1
2005-05-17 00:21:00.342 scheduler: Last message repeated 6 times
2005-05-17 00:21:00.348 scheduler: Schedule Change
Cannot find thread 311309: invalid thread handle
(gdb) bt
Cannot find thread 311309: invalid thread handle
(gdb) bt
Notice how the error is "cannot find thread 311309" while that thread has already exited, and was used to run mythcommflag. I have temporaraly renamed mythcommflag binary so it wouldn't be found on purpose, as I suspected it might be involved in the problem.
This error always occurs after: "scheduler: Schedule Change", about 25% of the times I'd say. "thread apply all bt full" provides backtraces of all other threads, who seem to be doing nothing special.
Does anybody have an idea what's going on here? I've been chasing this problem for about a week now, but have run out of places to look for answers.
I've tried .18 and several cvs versions from during last week.
Thanks, Lucas
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
