From: Achim K. <ma...@ka...> - 2003-06-22 15:43:27
|
Hello there, For some time now xine segfaults for me when I use nvtvd. It doesn't work with the latest CVS Version (and several others before). Looking at the code, I found something irritating in tvmode.c: tvmode_connect() [...] if (back_client_avail ()) { main_card_list = back_client_init (); } else { if (this->verbosity >= XINE_VERBOSITY_LOG) printf ("tvmode: Nvtvd not detected, make sure nvtvd is running.\n"); /* Handle well in some way... */ return; } if (back_access) { back_access->closeCard (); } [...] back_client_init() opens the pipe to nvtvd sets back_access and closes the pipe. Later in closeCard() the pipe is closed again which leads to the segfault. I don't know why this condition exists, but it works if I remove it. I have attached a patch to the latest cvs. Achim |