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 162760 - [alsasink] SIGFPE - divide by zero in gstmad.c
[alsasink] SIGFPE - divide by zero in gstmad.c
Status: RESOLVED DUPLICATE of bug 162184
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other All
: Normal minor
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 163925 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-01-02 23:24 UTC by Krzysztof Wozniak
Modified: 2005-01-17 10:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Krzysztof Wozniak 2005-01-02 23:24:42 UTC
Please describe the problem:
I'm using amaroK player with gstreamer (latest CVS sources) and i have SIGFPE
during playing mp3 file.

amaroK error log follows:

amarok: [GstPadLinkReturn gst_equalizer_link(GstPad*, const GstCaps*)] 
amarok: [GstPadLinkReturn gst_equalizer_link(GstPad*, const GstCaps*)] 
Caps negotiation succeeded with 48000 Hz @ 2 channels
ERROR (0x85c12e8 - 306863:14:05.846010000)        GST_PADS(29900)
gstpad.c(2517):gst_pad_set_explicit_caps:<mad0> failed to negotiate
(try_set_caps with "audio/x-raw-int, endianness=(int)1234, signed=(boolean)true,
width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2" returned REFUSED)
amarok: [static void GstEngine::inputError_cb(GstElement*, GstElement*, GError*,
gchar*, void*)] 

Program received signal SIGFPE, Arithmetic exception.

Thread 1130630064 (LWP 29911)

  • #1 gst_mad_chain
    at gstmad.c line 1417
  • #2 gst_pad_call_chain_function
    at gstpad.c line 4430
  • #3 gst_pad_push
    at gstpad.c line 3241
  • #4 gst_spider_identity_chain
    at gstspideridentity.c line 222
  • #5 gst_spider_identity_sink_loop_type_finding
    at gstspideridentity.c line 564
  • #6 loop_group_schedule_function
    at gstoptimalscheduler.c line 1332
  • #7 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 1154
  • #8 gst_opt_scheduler_iterate
    at gstoptimalscheduler.c line 1258
  • #9 gst_scheduler_iterate
    at gstscheduler.c line 738
  • #10 gst_bin_iterate_func
    at gstbin.c line 1220
  • #11 gst_marshal_BOOLEAN__VOID
    at gstmarshal.c line 509
  • #12 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #13 ??



Steps to reproduce:
1. On amaroK i play some mp3, during switching between them, amaroK hangs
2. When i run amaroK from gdb error happens on first mp3
3. It happens for any mp3 file i checked (it's not specific for any particular file)


Actual results:
program hangs

Expected results:
play song ;-)

Does this happen every time?
yes

Other information:
I'm using Mandrake 10.1, Intel 810 soundcard (i know it is problematic !)
Latest CVS version of alsa, amaroK, gstreamer, gst-plugins !

I suppose it is connected with CAPS negotiation with alsasink !

When i choose osssink everything plays perfect ! (so workaround is simple)
Comment 1 Ronald Bultje 2005-01-17 10:32:55 UTC
*** Bug 163925 has been marked as a duplicate of this bug. ***
Comment 2 Ronald Bultje 2005-01-17 10:34:31 UTC
On closer check, this was already reported a few days before. Must be a
regression in mad, since I've seen several such reports lately... Hmz...

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