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 166892 - gnome-volume-control crashed
gnome-volume-control crashed
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.3.3
Other other
: High blocker
: 0.8.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 165947 169493 300134 300313 302173 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-02-10 06:41 UTC by Alex Duggan
Modified: 2012-03-19 10:43 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
test (957 bytes, patch)
2005-03-01 22:00 UTC, Ronald Bultje
none Details | Review
another one (1.64 KB, patch)
2005-03-02 09:02 UTC, Ronald Bultje
none Details | Review
proposed patch (3.94 KB, patch)
2005-03-03 12:38 UTC, Ronald Bultje
none Details | Review

Description Alex Duggan 2005-02-10 06:41:54 UTC
Distribution: Fedora Core release 3 (Heidelberg)
Package: gnome-media
Severity: normal
Version: GNOME2.9.4 unspecified
Gnome-Distributor: GNOME.Org
Synopsis: gnome-volume-control crashed
Bugzilla-Product: gnome-media
Bugzilla-Component: gnome-volume-control [was: gmix]
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.8.0)
Description:
Using gnome-media 2.9.90 compiled on fedora core 3 using alsa with sb
live value.

Open gnome-volume-control
Open beep-media-player using alsa output plugin
Play song
gnome-volume-control crashes.

This may be a b-m-p or alsa bug, but it looks like it has some gst stuff
in the trace.


Debugging Information:

Backtrace was generated from '/opt/gnome28/bin/gnome-volume-control'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208092992 (LWP 25571)]
0x001ef7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2

Thread 1 (Thread -1208092992 (LWP 25571))

  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 741
  • #3 <signal handler called>
  • #4 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #5 raise
    from /lib/tls/libc.so.6
  • #6 abort
    from /lib/tls/libc.so.6
  • #7 __assert_fail
    from /lib/tls/libc.so.6
  • #8 snd_mixer_selem_get_playback_volume
    from /lib/libasound.so.2
  • #9 gst_alsa_mixer_get_volume
    at gstalsamixer.c line 422
  • #10 gst_mixer_get_volume
    at mixer.c line 185
  • #11 gnome_volume_control_volume_ask
    at volume.c line 543
  • #12 cb_check
    at volume.c line 580
  • #13 g_timeout_dispatch
    at gmain.c line 3306
  • #14 IA__g_main_context_dispatch
    at gmain.c line 1947
  • #15 g_main_context_iterate
    at gmain.c line 2578
  • #16 IA__g_main_loop_run
    at gmain.c line 2782
  • #17 IA__gtk_main
    at gtkmain.c line 963
  • #18 main
    at main.c line 264

    arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}}




------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-02-10 01:41 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "gnome-media".
   Setting to default milestone for this product, '---'
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Ronald Bultje 2005-02-14 08:48:29 UTC
*** Bug 165947 has been marked as a duplicate of this bug. ***
Comment 2 Ronald Bultje 2005-02-14 08:49:19 UTC
Alex, does the patch in #165947 fix this?
Comment 3 Alex Duggan 2005-02-15 03:52:00 UTC
Ronald,

I just upgraded to gstreamer, gst-plugins and gnome-media cvs head.  I tested
with an without your patch and the same result happened.

If you open gnome-volume-control and don't change any settings and then launch
bmp, it will play just fine.  If you change a setting in g-v-c while a song is
playing, g-v-c will segfault when you close bmp.

If you change a setting in g-v-c and then launch bmp, g-v-c immidately segfaults.

Applying the patch does not prevent the crash.

I see this at the command line:
nome-volume-control: simple.c:1441: snd_mixer_selem_has_playback_switch:
Assertion `elem->type == SND_MIXER_ELEM_SIMPLE' failed.


Stack Trace:

Backtrace was generated from '/opt/gnome28/bin/gnome-volume-control'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208092992 (LWP 20263)]
0x003217a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2

Thread 1 (Thread -1208092992 (LWP 20263))

  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 741
  • #3 <signal handler called>
  • #4 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #5 raise
    from /lib/tls/libc.so.6
  • #6 abort
    from /lib/tls/libc.so.6
  • #7 __assert_fail
    from /lib/tls/libc.so.6
  • #8 snd_mixer_selem_has_playback_switch
    from /lib/libasound.so.2
  • #9 gst_alsa_mixer_update
    at gstalsamixer.c line 412
  • #10 gst_alsa_mixer_get_volume
    at gstalsamixer.c line 439
  • #11 gst_mixer_get_volume
    at mixer.c line 185
  • #12 gnome_volume_control_volume_ask
    at volume.c line 543
  • #13 cb_check
    at track.c line 118
  • #14 g_timeout_dispatch
    at gmain.c line 3306
  • #15 IA__g_main_context_dispatch
    at gmain.c line 1947
  • #16 g_main_context_iterate
    at gmain.c line 2578
  • #17 IA__g_main_loop_run
    at gmain.c line 2782
  • #18 IA__gtk_main
    at gtkmain.c line 963
  • #19 main
    at main.c line 264

Comment 4 Ronald Bultje 2005-02-15 08:26:34 UTC
Can you get me SSH access to your computer? I know it's weird to ask, but I've
seen this report 4 times now, so it's not just a local thing. I don't have a
SB!Live, and apparently that's the only way to reproduce it...
Comment 5 Ronald Bultje 2005-03-01 22:00:21 UTC
Created attachment 38127 [details] [review]
test

Alex, can you apply this patch and tell me what it says (assuming it says
anything)? If it says something, I at least know what the problem is (and acn
hopefully fix it).
Comment 6 Ronald Bultje 2005-03-02 09:02:31 UTC
Created attachment 38139 [details] [review]
another one

Since the previous one didn't give what I wanted, here's another one. Does this
give better output just before the crash? Thanks.
Comment 7 Ronald Bultje 2005-03-03 12:38:25 UTC
Created attachment 38201 [details] [review]
proposed patch

I think I know how to do it now. Attached patch should fix the crash, at least.
Alex, please test.
Comment 8 Alex Duggan 2005-03-03 14:26:16 UTC
Ronald, I'll test this tonight for you.
Comment 9 Alex Duggan 2005-03-04 05:12:44 UTC
Ronald, this fixes the crash, I can't seem to reproduce it under any of my
normal circumstances.
Comment 10 Ronald Bultje 2005-03-04 08:37:16 UTC
Marking as blocker for 0.8.8 release, which is already in testing phase...
Comment 11 Thomas Vander Stichele 2005-03-05 16:32:48 UTC
commited, closing.
Comment 12 Ronald Bultje 2005-03-08 17:25:59 UTC
*** Bug 169493 has been marked as a duplicate of this bug. ***
Comment 13 Ronald Bultje 2005-04-23 10:02:07 UTC
*** Bug 300134 has been marked as a duplicate of this bug. ***
Comment 14 Ronald Bultje 2005-04-23 10:02:16 UTC
*** Bug 300313 has been marked as a duplicate of this bug. ***
Comment 15 Ronald Bultje 2005-05-09 09:50:52 UTC
*** Bug 302173 has been marked as a duplicate of this bug. ***