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 153814 - alsasink still broken (segfaults) on nforce2 chipset
alsasink still broken (segfaults) on nforce2 chipset
Status: RESOLVED DUPLICATE of bug 151288
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.4
Other Linux
: Normal major
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-09-27 01:55 UTC by Miguel Angel
Modified: 2005-08-29 15:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Miguel Angel 2004-09-27 01:55:11 UTC
I have an athlon with nforce2 chipset running suse 9.1 (kernel 2.6.5) 
When trying to run gstreamer with alsasink i get a floating point exception. 
osssink runs fine. 
Other apps run fine with alsa. 
 
gst-launch-0.8 filesrc location=file.{mp3|ogg} ! spider ! volume ! alsasink 
RUNNING pipeline ... 
Excepción de coma flotante
Comment 1 Ronald Bultje 2004-09-27 14:07:21 UTC
Blease provide a backtrace.
Comment 2 Miguel Angel 2004-09-27 23:23:57 UTC
Here is the backtrace. Hope it's ok 
 
(gdb) backtrace 
  • #0 snd_pcm_rate_hw_refine_cchange
    at pcm_rate.c line 385
  • #1 snd_pcm_hw_refine_slave
    at pcm_params.c line 2143
  • #2 snd_pcm_rate_hw_refine
    at pcm_rate.c line 430
  • #3 snd_pcm_hw_refine
    at pcm_params.c line 2225
  • #4 sndrv_pcm_hw_params
    at pcm_params.c line 2251
  • #5 snd_pcm_plug_hw_params
    at pcm_plug.c line 910
  • #6 sndrv_pcm_hw_params
    at pcm_params.c line 2260
  • #7 snd_pcm_hw_params
    at pcm.c line 784
  • #8 gst_alsa_set_hw_params
    at gstalsa.c line 1498
  • #9 gst_alsa_start_audio
    at gstalsa.c line 1559
  • #10 gst_alsa_change_state
    at gstalsa.c line 1635
  • #11 gst_alsa_mixer_change_state
    at gstalsamixer.c line 348
  • #12 gst_alsa_sink_change_state
    at gstalsasink.c line 555
  • #13 gst_element_set_state_func
    at gstelement.c line 2786
  • #14 gst_element_set_state
    at gstelement.c line 2732
  • #15 set_kid_state_func
    at gstbin.c line 796
  • #16 gst_bin_foreach
    at gstbin.c line 760
  • #17 gst_bin_change_state
    at gstbin.c line 851
  • #18 gst_pipeline_change_state
    at gstpipeline.c line 174
  • #19 gst_element_set_state_func
    at gstelement.c line 2786
  • #20 gst_bin_set_state
    at gstbin.c line 887
  • #21 gst_element_set_state
    at gstelement.c line 2732
  • #22 main
    at gst-launch.c line 531

Comment 3 Sven 2004-09-28 15:36:08 UTC
i had a similar problem with gstreamer and alsasink as output, what solved this
problem for me was setting the Default Sink to Output: Custom & pipeline:
"alsasink device=output" in gstreamer-properties. With Output: ALSA
gstreamer-properties crashes with the message "gstreamer-properties: pcm.c:2094:
snd_pcm_wait: Assertion `err == 1' failed." 
Comment 4 Miguel Angel 2004-09-28 17:41:30 UTC
If I use the "device=hw:0,0" property I get another kind of error 
 
miguel@linux:~> gst-launch-0.8 filesrc location=file.ogg ! spider ! volume ! 
alsasink device=hw:0,0 
RUNNING pipeline ... 
ERROR: from element /pipeline0/spider0/vorbisdec0: Internal GStreamer error: 
pad problem.  File a bug. 
Additional debug info: 
gstpad.c(2490): gst_pad_set_explicit_caps: /pipeline0/spider0/vorbisdec0: 
failed to negotiate (try_set_caps with "audio/x-raw-float, rate=(int)44100, 
channels=(int)2, endianness=(int)1234, width=(int)32, buffer-frames=(int)0" 
returned REFUSED) 
Execution ended after 14 iterations (sum 203615000 ns, average 14543928 ns, 
min 30000 ns, max 108520000 ns). 
 
Comment 5 Ronald Bultje 2004-09-29 09:00:14 UTC
That's a negotiation error, and you'd expect that. Use audioscale and
audioconvert in between:

gst-launch-0.8 filesrc location=file.ogg ! spider ! audioconvert ! audioscale !
volume ! alsasink device=hw:0,0
Comment 6 Miguel Angel 2004-09-29 14:18:44 UTC
gst-launch-0.8 filesrc location=file.ogg ! spider ! audioconvert ! 
audioscale ! volume ! alsasink device=hw:0,0 
 
That works fine! 
Using "device=default" still segfaults. 
Comment 7 Elijah Newren 2004-11-09 02:13:35 UTC
Thanks for the bug report. This particular bug has already been reported into
our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of 151288 ***