After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 605365 - Totem crashes while loading DVB
Totem crashes while loading DVB
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: general
2.28.x
Other Linux
: Normal critical
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-12-24 12:59 UTC by Paul Ezvan
Modified: 2009-12-24 14:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Backtrace (6.26 KB, text/plain)
2009-12-24 12:59 UTC, Paul Ezvan
Details
DVB channels file (4.01 KB, text/plain)
2009-12-24 13:00 UTC, Paul Ezvan
Details

Description Paul Ezvan 2009-12-24 12:59:40 UTC
Created attachment 150343 [details]
Backtrace

Overview : Totem segfaults while loading DVB.

Step to reproduce :

1- Click on "Watch TV on..."

Actual Results: Totem segfaults.

Expected results : TV on my screen !
Comment 1 Paul Ezvan 2009-12-24 13:00:32 UTC
Created attachment 150344 [details]
DVB channels file
Comment 2 Bastien Nocera 2009-12-24 13:03:32 UTC
Which version of Totem?
Comment 3 Paul Ezvan 2009-12-24 13:07:48 UTC
Sorry for the miss, totem 2.28.5.
Comment 4 Bastien Nocera 2009-12-24 13:11:59 UTC
It doesn't like the non-unicode text here:
France �:586000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:720:730:374
Comment 5 Paul Ezvan 2009-12-24 13:48:47 UTC
Yes it works without this.
Comment 6 Bastien Nocera 2009-12-24 13:56:37 UTC
It will appear as "France �" instead of France Ô.

The easy way to fix it is to transform it to valid UTF-8:
iconv -f ISO-8859-1 -t UTF-8 channels.conf > channels.conf.fixed
and rename the file.

Please also file a bug against the tool you used to generate the file, it should be using UTF-8.

What's the output of "locale" on the system you used to generate this file?

commit 01b259b4dcd3ed06362f85040a015dd5cd27a0ae
Author: Bastien Nocera <hadess@hadess.net>
Date:   Thu Dec 24 13:52:08 2009 +0000

    Fix crash with non-UTF8 channel names for DVB
    
    https://bugzilla.gnome.org/show_bug.cgi?id=605365
Comment 7 Paul Ezvan 2009-12-24 14:12:13 UTC
locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE=C
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=

I generated the file a while ago (it worked with totem 2.26) so I don't remember if I used scan or w_scan.

Now DVB playback doesn't work, how can I debug this ?
Comment 8 Bastien Nocera 2009-12-24 14:23:24 UTC
Try:
gst-launch playbin2 uri="dvb://France 2"
and see if that works.

If there are problems, file a bug against GStreamer.
Comment 9 Paul Ezvan 2009-12-24 14:39:40 UTC
Ok thanks, it is a gstreamer problem.