[mythtv] Master back-end bug report (And front-end as well...)
Rudy Zijlstra
mythtv at edsons.demon.nl
Thu Apr 29 18:17:50 EDT 2004
Hi all,
I've likely found a rather repeatable bug.
Config:
Master back-end with encoder 1 (PVR-250) and sql server and (nfs
exported) file storage for mythtv
EPIA M6000 slave backend with encoder 2 (PVR-350) and front-end
connected to TV using TV-out of PVR.
Situation: slave backend already running
start master back-end
slave will connect to master well.
reboot slave backend
after reboot slave re-connects
start using myth to browse through recorded programs
and observe master backend crashing with: mutex destroy failure,
resource busy or in use.
Logs from the master backend:
root at repeater:~# Starting up as the master server.
2004-04-29 16:05:48 mythbackend version: 0.15.20040331-1 www.mythtv.org
2004-04-29 16:05:48 Enabled verbose msgs : important general
2004-04-29 16:05:48 adding: tv-server as a slave backend server
2004-04-29 16:05:50 Found changes in the todo list.
2004-04-29 16:05:50 Scheduled 18 items in 0.319817 seconds.
2004-04-29 16:05:50 Seem to be woken up by USER
2004-04-29 16:09:56 MainServer::HandleAnnounce Playback
2004-04-29 16:09:56 adding: tv-server as a client (events: 0)
2004-04-29 16:09:57 MainServer::HandleAnnounce Playback
2004-04-29 16:09:57 adding: tv-server as a client (events: 1)
2004-04-29 16:13:08 adding: tv-server as a slave backend server
2004-04-29 16:13:08 Found changes in the todo list.
2004-04-29 16:13:09 Scheduled 18 items in 0.322945 seconds.
2004-04-29 16:20:32 MainServer::HandleAnnounce Playback
2004-04-29 16:20:32 adding: tv-server as a client (events: 0)
2004-04-29 16:20:33 MainServer::HandleAnnounce Playback
2004-04-29 16:20:33 adding: tv-server as a client (events: 1)
2004-04-29 16:20:44 Slave backend: tv-server has left the building
Mutex destroy failure: Device or resource busy
As you can see, its CVS of march 31.
Related bug: the frontend waits forever on the crashed backend and does
not return. At least not within 5 minutes, which is how long my patience
was.
Questions:
- Has any code gone into CVS to solve something like this?
- Can somebody point me to a description of the protocol used? I'd like
to take a look at it, C++ is not something i easily read... And time i
tend to be short on.
With a current description I might come up with possible improvements.
Regards,
Rudy
More information about the mythtv-dev
mailing list