[Bug 723332] New: a crash while trying to port from gst 0.10

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jan 30 17:56:58 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=723332
  GStreamer | don't know | 1.2.2

           Summary: a crash while trying to port from gst 0.10
    Classification: Platform
           Product: GStreamer
           Version: 1.2.2
        OS/Version: Linux
            Status: RESOLVED
          Severity: normal
          Priority: Normal
         Component: don't know
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: galtgendo at o2.pl
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Rafał Mużyło <galtgendo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

This might seem as if it would be better handled as a support question than a
bug, but as awhile back I've asked (on #gstreamer) if my attempt at porting
looks sane, I was told it did.

So, zdoom has a semi-unofficial openal branch, that uses gstreamer 0.10
(https://github.com/rheit/zdoom/tree/openal). The whole gstreamer code is in
src/sound/oalsound.cpp.
I've tried porting this to 1.0. I was mostly successful, as it *usually* works
quite well, but besides a need for some polish (that is minor code changes due
to caps string changes), there are still issues with this patch.

First of all, every now and then (probably on each new file added to the queue)
gstreamer prints a critical for gst_segment_to_running_time assertion about
'segment->format' (GST_FORMAT_BYTES) != 'format' (GST_FORMAT_TIME).
Second, which may or may not be related, in an easily reachable place in
hacx.wad from http://drnostromo.com/hacx I'm hitting 'dropping short buffer'
condition of helper_find_pick (libs/gst/base/gsttypefindhelper.c) followed
shortly by a crash. The same place works fine with 0.10, but as I said, I can't
see anything *obviously* wrong with the code. gdb output doesn't really help me
- it's a double free assert from glibc triggered by gst_buffer_unref.

For the attached patch to work, at minimum an obvious change in
src/CMakeFiles.txt in Linux block regarding gstreamer version.

In the patch default audio sink of playbin is used instead of openalsink, but
that's not the source of the problem - that works just fine in 0.10.

--- Comment #1 from Rafał Mużyło <galtgendo at o2.pl> 2014-01-31 01:48:22 UTC ---
Sory, problem with connection.

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

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list