Segmentation fault: tvtime crashes on some pcs due bug in detection code

Bug #802877 reported by MarkusRechberger
This bug report is a duplicate of:  Bug #509314: tvtime crashed with SIGSEGV. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tvtime (Ubuntu)
New
Undecided
Unassigned

Bug Description

please add following patch ASAP:

--- tvtime.c.old 2011-06-28 11:02:53.000000000 +0200
+++ tvtime.c 2011-06-28 11:01:31.000000000 +0200
@@ -2071,7 +2071,7 @@
             if( osd ) tvtime_osd_signal_present( osd, 1 );
         } else if( tuner_state == TUNER_STATE_NO_SIGNAL ) {
             if( osd ) tvtime_osd_signal_present( osd, 0 );
- if (videoinput_get_audio(vidin)) {
+ if (vidin && videoinput_get_audio(vidin)) {
                     alsa_join_threaded_loop(videoinput_get_audio(vidin));
                     alsa_close(videoinput_get_audio_p(vidin));
                     videoinput_set_audio(vidin, NULL);

Revision history for this message
Stefan (s-launchpad-infocrew) wrote :

Had the same problem with Ubuntu 10.04.
Patch works for me to prevent the segmentation fault
(tv input not yet, but at least the GUI now comes up).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.