GNOME Bugzilla – Bug 318432
gnome-volume-control segfaults
Last modified: 2006-10-06 18:10:36 UTC
This bug has been opened here: https://launchpad.net/products/gnome-media/+bug/2999 "I'm not sure whether I have done everything right, but if, this should be a backtrace: Program received signal SIGSEGV, Segmentation fault.
+ Trace 63456
Thread NaN (LWP 7249)
Thread 1 (Thread -1224538432 (LWP 16445))
content = {{label = 0xb6eb8fd6 "Wiedergabe", page = 0x81c8e08, ---Type <return> to continue, or q <return> to quit--- old_sep = 0x82345d0, new_sep = 0x82345d0, use = 1, pos = 14, height = 5, width = 1, get_track_widget = 0x80502fc <gnome_volume_control_track_add_playback>}, { label = 0xb6eb7efb "Aufnahme", page = 0x81c8f08, old_sep = 0x8239530, new_sep = 0x8239530, use = 1, pos = 12, height = 5, width = 1, get_track_widget = 0x80503e9 <gnome_volume_control_track_add_capture>}, { label = 0xb6eb96d9 "Schalter", page = 0x81c8f98, old_sep = 0x0, new_sep = 0x0, use = 1, pos = 4, height = 1, width = 3, get_track_widget = 0x80505e1 <gnome_volume_control_track_add_switch>}, { label = 0xb6eb8ebd "Optionen", page = 0x81c9038, old_sep = 0x8236168, new_sep = 0x823a8e0, use = 1, pos = 9, height = 1, width = 3, get_track_widget = 0x80506db <gnome_volume_control_track_add_option>}} list = {{label = 0x805310a "cd", done = 1}, {label = 0x805310d "line", done = 1}, {label = 0x8053112 "mic", done = 1}, {label = 0x8053116 "pcm", done = 1}, {label = 0x805311a "headphone", done = 0}, { label = 0x8053124 "speaker", done = 1}, {label = 0x805312c "volume", done = 0}, {label = 0x8053133 "master", done = 1}, {label = 0x0, done = 0}} i = 3 item = (const GList *) 0x8188134 mixer = (GstMixer *) 0x8126fd0 __PRETTY_FUNCTION__ = "gnome_volume_control_element_change" #3 0x0804d582 in gnome_volume_control_element_new (element=0x8126fd0, client=0x816a9a8, appbar=0x81be348) at element.c:111 ---Type <return> to continue, or q <return> to quit--- el = (GnomeVolumeControlElement *) 0x81c7bf8 __PRETTY_FUNCTION__ = "gnome_volume_control_element_new" #4 0x08052720 in gnome_volume_control_window_new (elements=0x8184814) at window.c:245 cur_el_str = ( gchar *) 0x81ad368 "_1: C-Media Electronics CMI9780 (OSS Mixer)" cur_de_str = ( gchar *) 0x81ad4f0 "Wechseln zu Gerät C-Media Electronics CMI9780 (OSS Mixer)" active_el_str = (gchar *) 0x0 active_element = (GstElement *) 0x8126fd0 item = (GList *) 0x0 win = (GnomeVolumeControlWindow *) 0x81a0368 el = (GtkWidget *) 0x0 bar = (GtkWidget *) 0x81be348 app = (GnomeApp *) 0x81a0368 templ = {type = GNOME_APP_UI_ITEM, label = 0x0, hint = 0x0, moreinfo = 0x80529ef, user_data = 0x0, unused_data = 0x0, pixmap_type = GNOME_APP_PIXMAP_DATA, pixmap_info = 0x0, accelerator_key = 0, ac_mods = 0, widget = 0x0} count = 0 i = 135754216 title = (gchar *) 0x81b8038 "" ---Type <return> to continue, or q <return> to quit--- __PRETTY_FUNCTION__ = "gnome_volume_control_window_new" #5 0x0804ee0c in main (argc=1, argv=0xbff7b124) at main.c:284 appfile = (gchar *) 0x8182468 "\232$\030\b\005" win = (GtkWidget *) 0xb72369fc options = {{longName = 0x0, shortName = 0 '\0', argInfo = 4, arg = 0xb7574460, val = 0, descrip = 0x8053470 "GStreamer", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\0', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}} elements = (GList *) 0x8184814"
for (opt = options->values; opt != NULL; opt = opt->next, i++) { gtk_combo_box_append_text (GTK_COMBO_BOX (ctrl->options), opt->data); if (!strcmp (active_opt, opt->data)) { gtk_combo_box_set_active (GTK_COMBO_BOX (ctrl->options), i); } } Around line 440 in gst-mixer/src/track.c, can you change that into: printf ("Optionlist %s\n", track->label); for (opt = options->values; opt != NULL; opt = opt->next, i++) { printf ("Option: %s\n", opt->data); gtk_combo_box_append_text (GTK_COMBO_BOX (ctrl->options), opt->data); if (active_opt && !strcmp (active_opt, opt->data)) { gtk_combo_box_set_active (GTK_COMBO_BOX (ctrl->options), i); } } I'd like to know what kind of option list this is, so that I can debug this further. Also, can you provide me with the card type and driver? The end problem appears to be that no option is active, and we don't handle that well; however, afaik, that shouldn't happen in the first place (need to read the alsa docs for that to be sure).
Ping...
Hey Sebastien, Could you do a debug package for this bug ? thanks
https://launchpad.net/products/gnome-media/+bug/2999/comments/2 seems to be the debug backtrace to this.
Ping again?
I closed the Ubuntu bug - I got no reply.
OK then...