gnomeradio crashes when adding new station in preferences

Bug #131777 reported by rubinstein
14
Affects Status Importance Assigned to Milestone
gnomeradio (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Hardy by rubinstein

Bug Description

Binary package hint: gnomeradio

Gutsy tribe 4

I want to add a new station in preferences. I click to change the name from "unknown" to the right one, then the application crashes.

My terminal says:
gnomeradio-ERROR **: file prefs.c: line 417 (name_cell_edited_cb): assertion failed: (mom_ps < g_list_length(menuitems))
aborting...
Trace/breakpoint trap (core dumped)

Revision history for this message
rubinstein (rubinstein) wrote :
Revision history for this message
rubinstein (rubinstein) wrote :

Can nobody make a new gnomeradio package? The package right now isn't exactly useful, when you can't name your radio stations because the program crashes.

Revision history for this message
rubinstein (rubinstein) wrote :

For Gutsy, one can install the gnomeradio 1.6 package from http://www.wh-hms.uni-ulm.de/~mfcn/gnomeradio/packages/gnomeradio_1.6-1_i386.deb (official developer site).

This version doesn't crash when adding the station names.

Revision history for this message
luckykar (luckykar) wrote :

Yes i have a similar problem , mine crashes when doing the same thing. I have added the following log from the command line.
dan@gutsy:~$ gnomeradio

(process:27678): GStreamer-WARNING **: The GStreamer function gst_init_get_option_group() was
        called, but the GLib threading system has not been initialised
        yet, something that must happen before any other GLib function
        is called. The application needs to be fixed so that it calls
           if (!g_thread_supported ()) g_thread_init(NULL);
        as very first thing in its main() function. Please file a bug
        against this application.
lirc_init: No such file or directory
gnomeradio-Message: Could not start lirc!

gnomeradio-ERROR **: file prefs.c: line 417 (name_cell_edited_cb): assertion failed: (mom_ps < g_list_length(menuitems))
aborting...
Aborted (core dumped)
dan@gutsy:~$

Revision history for this message
Laubstein (laubstein) wrote :

Hi!
I've created a little patch to this problem. (the patch worked for me in Gutsy final release)

see attachment.

ps: the 1.7-2 patch can be found here: http://packages.ubuntu.com/gutsy/sound/gnomeradio

Good luck

Revision history for this message
pvdeynse (vandeynse) wrote :

i confirm patch "gnomeradio_1.7-3.diff.gz" is solving above error and crash of gnomeradio, but what worries me is that today i've installed ubuntu version gnomeradio 1.7-4
and the error is back. I'm using Ubuntu Gutsy 7.04

pvdeynse@pvdeynse-desktop:~$ dpkg -l|grep gnomeradio
ii gnomeradio 1.7-4 FM-radio tuner for the GNOME desktop
pvdeynse@pvdeynse-desktop:~$

pvdeynse@pvdeynse-desktop:~$ gnomeradio
lirc_readconfig: Bestand of map bestaat niet
The lirc configfile (~/.lircrc) could not be opened.
Using default config.

gnomeradio-ERROR **: file prefs.c: line 417 (name_cell_edited_cb): assertion failed: (mom_ps < g_list_length(menuitems))
aborting...
Afgebroken (core dumped)

Revision history for this message
Γουργιώτης Γιώργος (aka Gourgi) (gourgi) wrote :

i confirm that bug too
i applied Laubstein's patch and now the bug is gone !
thanks

PS. i still get this when i open gnomeradio :

(process:10948): GStreamer-WARNING **: The GStreamer function gst_init_get_option_group() was
        called, but the GLib threading system has not been initialised
        yet, something that must happen before any other GLib function
        is called. The application needs to be fixed so that it calls
           if (!g_thread_supported ()) g_thread_init(NULL);
        as very first thing in its main() function. Please file a bug
        against this application.

Revision history for this message
Γουργιώτης Γιώργος (aka Gourgi) (gourgi) wrote :

i found this
http://bugzilla.gnome.org/show_bug.cgi?id=462796
to fix the warning
it works

Revision history for this message
Brian Murray (brian-murray) wrote :

Reviewing this bug report and its comments it seems that multiple people are experiencing this problem. Subsequently, I am confirming this bug report. For future reference you can manage the status of bug reports by clicking on the current status in the yellow line and then choosing a new status in the drop down box. You can learn more about bug statuses at http://wiki.ubuntu.com/Bugs/Status .

Changed in gnomeradio:
status: New → Confirmed
Revision history for this message
Γουργιώτης Γιώργος (aka Gourgi) (gourgi) wrote :

firstly thanks for pointing at wiki
i learned some for reporting bugs :)

so new status for me :
after patching the current version for gutsy as i mentioned above , i unistalled it completely and i installed the hardy's version 8.04 for my AMD64
taken from here : https://launchpad.net/ubuntu/hardy/amd64/gnomeradio/1.7-4

which works without the 2 bugs mentioned above (crasshing after adding new station - Gstreamer warning ..)
so now the status should be changed to "Fix Committed" or "Fix Released:" , i'm a little confused about that

Revision history for this message
rubinstein (rubinstein) wrote :

The bug is still not fixed in Hardy. I am not a coder, but it should be not that hard to package the latest svn code (where this bug is already fixed) for an experienced person. Thank you very much.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, your crash report is either missing or challenging to deal with as a ".crash" file. Please follow these instuctions to have apport report a new bug about your crash that can be dealt with by the automatic retracer.

If you are using Ubuntu with the Gnome desktop environment - launch nautilus and navigate to your /var/crash directory and double click on the crash report you wish to submit.

I'm closing this bug report since the process outlined above will automatically open a new bug report which can then dealt with more efficiently. Thanks in advance for your cooperation and understanding.

Changed in gnomeradio:
status: Confirmed → Invalid
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.