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 331248 - [basesink] filesink spews warnings when used with flacenc
[basesink] filesink spews warnings when used with flacenc
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-02-15 08:35 UTC by Fryderyk Dziarmagowski
Modified: 2006-03-14 18:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fryderyk Dziarmagowski 2006-02-15 08:35:31 UTC
1. use loseless compression (FLAC)
2. start recording
3. stop recording
4. program crashes with:

GStreamer-CRITICAL **: gst_segment_to_running_time: assertion `segment->format == format' failed
aborting...

Program received signal SIGABRT, Aborted.
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/libc.so.6
  • #2 abort
    from /lib/libc.so.6
  • #3 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #4 g_log
    from /usr/lib/libglib-2.0.so.0
  • #5 g_return_if_fail_warning
    from /usr/lib/libglib-2.0.so.0
  • #6 gst_segment_to_running_time
    from /usr/lib/libgstreamer-0.10.so.0
  • #7 gst_base_sink_get_type
    from /usr/lib/libgstbase-0.10.so.0
  • #8 gst_base_sink_get_type
    from /usr/lib/libgstbase-0.10.so.0
  • #9 gst_base_sink_get_type
    from /usr/lib/libgstbase-0.10.so.0
  • #10 gst_base_sink_get_type
    from /usr/lib/libgstbase-0.10.so.0
  • #11 gst_pad_chain
    from /usr/lib/libgstreamer-0.10.so.0
  • #12 gst_ghost_pad_get_target
    from /usr/lib/libgstreamer-0.10.so.0
  • #13 gst_pad_chain
    from /usr/lib/libgstreamer-0.10.so.0
  • #14 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #15 gst_flac_enc_get_type
    from /usr/lib/gstreamer-0.10/libgstflac.so
  • #16 FLAC__seekable_stream_encoder_init
    from /usr/lib/libFLAC.so.7
  • #17 ??
  • #18 ??

Comment 1 Fryderyk Dziarmagowski 2006-02-15 08:41:44 UTC
installed gstreamer:
gstreamer 0.10.3
gstreamer-plugins-base-0.10.3
gstreamer-plugins-good-0.10.2
Comment 2 Fryderyk Dziarmagowski 2006-02-27 22:30:04 UTC
still present in 2.13.93
Comment 3 Fryderyk Dziarmagowski 2006-03-11 09:37:30 UTC
so, the whole G_DEBUG story is only a bullshit and I'm wasting my time for reporting such bugs?
Comment 4 Tim-Philipp Müller 2006-03-14 18:28:49 UTC
Fryderyk:
It's not a waste of time at all, it's just that developers get a lot of problem reports at this stage of the development cycle and are in a hurry to fix those that are really critical as opposed to 'shouldn't print a warning, but doesn't do any harm either' type of warnings.

So thanks for the bug report. It should be fixed in GStreamer core CVS now:


 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>

       * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
         Can't use gst_segment_to_running_time() when the segment
         is not in GST_FORMAT_TIME (like with filesink, for example).
         Stops flac encoding pipelines from spewing critical warnings
         at EOS (#331248).