GNOME Bugzilla – Bug 760704
SIGSEGV libgstreamer_android.so
Last modified: 2016-05-22 19:42:50 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/
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.
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
Is this a valid stack trace? http://pastebin.com/kG4QwrYH
bt taken with gdb: http://pastebin.com/Vv1rRcWx
sorry, this is the complete one: http://pastebin.com/puT9Z9DQ I'm a newbie with gdb, so please forgive me all these partial reports :)
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
Please also put future backtraces directly into the Bugzilla ticket instead of pastebin. Either attached but ideally as a comment.
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
Likely fixed in >= 1.6.3 by above commit.