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 760704 - SIGSEGV libgstreamer_android.so
SIGSEGV libgstreamer_android.so
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: dont know
1.6.1
Other other
: Normal critical
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-01-16 09:45 UTC by Cristian
Modified: 2016-05-22 19:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cristian 2016-01-16 09:45:12 UTC
I got SIGSEGV when trying to play an rtmp stream with gst-player.

The problem seems to be in gst_message_set_buffering_stats+5

Complete logcat: http://pastebin.com/gdYBwkrg

Android NDK used: android-ndk-r10e
Gstreamer 1.6.1 downloaded from http://gstreamer.freedesktop.org/data/pkg/android/1.6.1/
Comment 1 Sebastian Dröge (slomo) 2016-01-16 09:54:11 UTC
Please provide a full backtrace of the crash, ideally with ndk-gdb or otherwise in "adb logcat" it should also print a few lines later about the call stack.
Comment 2 Cristian 2016-01-16 10:07:31 UTC
I already posted logcat: http://pastebin.com/gdYBwkrg

I have problems running ndk-gdb because I'm using android studio with gradle and gst-player do not use gradle and I can't get informations on internet on how to debug in this situation
Comment 3 Cristian 2016-01-16 10:47:13 UTC
Is this a valid stack trace?

http://pastebin.com/kG4QwrYH
Comment 4 Cristian 2016-01-16 11:06:32 UTC
bt taken with gdb:

http://pastebin.com/Vv1rRcWx
Comment 5 Cristian 2016-01-16 11:08:33 UTC
sorry, this is the complete one: http://pastebin.com/puT9Z9DQ

I'm a newbie with gdb, so please forgive me all these partial reports :)
Comment 6 Tim-Philipp Müller 2016-01-16 13:32:37 UTC
Thanks, that looks good.

The queue2 element calls gst_message_set_buffering_stats() on a NULL message. The most likely reason for that is that gst_message_new_buffering() has been called with a percentage value < 0 or > 100.

It's possible that this patch (which will land in 1.6.3 when it comes out) fixes it:

http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?h=1.6&id=6b5decf0e68a2f69c308d1703ac3a42c6fe51e8b
Comment 7 Sebastian Dröge (slomo) 2016-01-16 14:07:39 UTC
Please also put future backtraces directly into the Bugzilla ticket instead of pastebin. Either attached but ideally as a comment.
Comment 8 Tim-Philipp Müller 2016-01-16 16:12:46 UTC
commit dfb782ca978da7715f18334863b044409b91e0d9
Author: Tim-Philipp Müller <tim@centricular.com>
Date:   Sat Jan 16 16:01:38 2016 +0000

    message: add function guard to gst_message_set_buffering_stats()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=760704
Comment 9 Tim-Philipp Müller 2016-05-22 19:42:50 UTC
Likely fixed in >= 1.6.3 by above commit.