[gstreamer-bugs] [Bug 162760] New: SIGFPE - divide by zero in gstmad.c

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Sun Jan 2 15:24:43 PST 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=162760
 GStreamer | gst-plugins | Ver: HEAD CVS

           Summary: SIGFPE - divide by zero in gstmad.c
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: wozniakk at ae.krakow.pl
         QAContact: gstreamer-bugs at lists.sourceforge.net


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.
[Switching to Thread 1130630064 (LWP 29911)]
0x43cd7090 in __udivdi3 (n=Unhandled dwarf expression opcode 0x93
) at ../../gcc/libgcc2.c:816
816     ../../gcc/libgcc2.c: No such file or directory.
        in ../../gcc/libgcc2.c
Current language:  auto; currently c

(gdb) bt

#1  0x43cd1453 in gst_mad_chain (pad=0x86aace8, _data=0x8538248)
    at gstmad.c:1417
#2  0x43066b79 in gst_pad_call_chain_function (pad=0x86aace8, data=0x8538248)
    at gstpad.c:4430
#3  0x43063caa in gst_pad_push (pad=0x85f3128, data=0x8538248) at gstpad.c:3241
#4  0x438a5348 in gst_spider_identity_chain (pad=0x85f3128, buf=0x8538248)
    at gstspideridentity.c:222
#5  0x438a65ce in gst_spider_identity_sink_loop_type_finding (ident=0x85db948)
    at gstspideridentity.c:564
#6  0x433380fc in loop_group_schedule_function (argc=0, argv=0x86618c0)
    at gstoptimalscheduler.c:1332
#7  0x43337d8e in gst_opt_scheduler_schedule_run_queue (osched=0x85b39f8, 
    only_group=0x0) at gstoptimalscheduler.c:1154
#8  0x4333becd in gst_opt_scheduler_iterate (sched=0x85b39f8)
    at gstoptimalscheduler.c:1258
#9  0x43070039 in gst_scheduler_iterate (sched=0x85b39f8) at gstscheduler.c:738
#10 0x430451ea in gst_bin_iterate_func (bin=0x85b38f8) at gstbin.c:1220
#11 0x43085ce2 in gst_marshal_BOOLEAN__VOID (closure=0x852c9f0, 
    return_value=0x43640700, n_param_values=1, param_values=0x1, 
    invocation_hint=0x43640728, marshal_data=0x43045160) at gstmarshal.c:509
#12 0x4314ed5d in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#13 0x0852c9f0 in ?? ()



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)

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list