GNOME Bugzilla – Bug 760704
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?
bt taken with gdb:
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:
Please also put future backtraces directly into the Bugzilla ticket instead of pastebin. Either attached but ideally as a comment.
Author: Tim-Philipp Müller <email@example.com>
Date: Sat Jan 16 16:01:38 2016 +0000
message: add function guard to gst_message_set_buffering_stats()
Likely fixed in >= 1.6.3 by above commit.