*** stack smashing detected ***: qlcplus terminated

Archive of the non-categorized posts related to the QLC+ technical support.
Please do not create new threads here, instead, use the categories above !
Post Reply
User avatar
sbenejam
Posts: 621
Joined: Sun Apr 12, 2015 6:28 pm
Location: Spain
Real Name: Santiago Benejam Torres
Contact:

I'm testing qlcplus qt5 in Xubuntu 15.10 in two laptops I get an error loading a .mp4 video file. Loading other video formats works.

*** stack smashing detected ***: qlcplus terminated

How can I get more details from this error?. I will do more tests tonight.
janosvitok
Posts: 1331
Joined: Mon Apr 13, 2015 7:05 am
Location: Bratislava, Slovakia
Real Name: Jano Svitok
Contact:

Run "ulimit -c unlimited" to enable creating core dumps. Run qlcplus from home directory, so that the dump can be created and is created in a known place.
When you have the dump ("core"), run gdb /usr/bin/qlcplus core in your home dir. Enter "w" command (where) to display call stack.
You'll have much better call stack if 1) you compile debug build yourself (e.g. current git) 2) install debug symbol packages for video libraries (libgstreamer?)

For more info google about gdb core dump analysis.
User avatar
sbenejam
Posts: 621
Joined: Sun Apr 12, 2015 6:28 pm
Location: Spain
Real Name: Santiago Benejam Torres
Contact:

janosvitok wrote:Run "ulimit -c unlimited" to enable creating core dumps. Run qlcplus from home directory, so that the dump can be created and is created in a known place.
When you have the dump ("core"), run gdb /usr/bin/qlcplus core in your home dir. Enter "w" command (where) to display call stack.
You'll have much better call stack if 1) you compile debug build yourself (e.g. current git) 2) install debug symbol packages for video libraries (libgstreamer?)

For more info google about gdb core dump analysis.
Hi Jano,
I attach a text file with gdb results. Video only fails with some mp4 videos. Works well with MPG-2 or ogg video files. When qlcplus fail it closes directly without loading the file in functions tree.
Attachments
qlcplus-error.txt
(2.92 KiB) Downloaded 77 times
janosvitok
Posts: 1331
Joined: Mon Apr 13, 2015 7:05 am
Location: Bratislava, Slovakia
Real Name: Jano Svitok
Contact:

This may be related: https://bugzilla.gnome.org/show_bug.cgi?id=748571
In either case, the bug is in gstreamer thread, so try to find newer version of gstreamer, and/or gstreamer_plugins_bad.

I'm writing on my phone in a bus, so I can't check ubuntu packages now.

Try to google crashes in functions in the call stack, start from gst_faad_set_format and go below (higher numbers). The above is result of my quick googling.
Include also mp4 keyword and ubuntu/xubuntu.
User avatar
sbenejam
Posts: 621
Joined: Sun Apr 12, 2015 6:28 pm
Location: Spain
Real Name: Santiago Benejam Torres
Contact:

janosvitok wrote:This may be related: https://bugzilla.gnome.org/show_bug.cgi?id=748571
In either case, the bug is in gstreamer thread, so try to find newer version of gstreamer, and/or gstreamer_plugins_bad.

I'm writing on my phone in a bus, so I can't check ubuntu packages now.

Try to google crashes in functions in the call stack, start from gst_faad_set_format and go below (higher numbers). The above is result of my quick googling.
Include also mp4 keyword and ubuntu/xubuntu.
Hi,
A quick test confirm that is a bug on gstreamer.-0.10 not gstreamer-1.0
sbenejam@ponent:~$ gst-launch-0.10 playbin uri=file:///home/sbenejam/Vídeos/small.mp4
S'està establint el conducte a EN PAUSA…
El conducte s'està PREPARANT…
*** stack smashing detected ***: gst-launch-0.10 terminated
Avortat (bolcat de la imatge del nucli)
User avatar
sbenejam
Posts: 621
Joined: Sun Apr 12, 2015 6:28 pm
Location: Spain
Real Name: Santiago Benejam Torres
Contact:

janosvitok wrote:This may be related: https://bugzilla.gnome.org/show_bug.cgi?id=748571
In either case, the bug is in gstreamer thread, so try to find newer version of gstreamer, and/or gstreamer_plugins_bad.

I'm writing on my phone in a bus, so I can't check ubuntu packages now.

Try to google crashes in functions in the call stack, start from gst_faad_set_format and go below (higher numbers). The above is result of my quick googling.
Include also mp4 keyword and ubuntu/xubuntu.
Hi,
A quick test confirm that is a bug on gstreamer.-0.10 not gstreamer-1.0, with gst-launch-1.0 video is played.
sbenejam@ponent:~$ gst-launch-0.10 playbin uri=file:///home/sbenejam/Vídeos/small.mp4
S'està establint el conducte a EN PAUSA…
El conducte s'està PREPARANT…
*** stack smashing detected ***: gst-launch-0.10 terminated
Avortat (bolcat de la imatge del nucli)
User avatar
sbenejam
Posts: 621
Joined: Sun Apr 12, 2015 6:28 pm
Location: Spain
Real Name: Santiago Benejam Torres
Contact:

sbenejam wrote: Hi,
A quick test confirm that is a bug on gstreamer.-0.10 not gstreamer-1.0
sbenejam@ponent:~$ gst-launch-0.10 playbin uri=file:///home/sbenejam/Vídeos/small.mp4
S'està establint el conducte a EN PAUSA…
El conducte s'està PREPARANT…
*** stack smashing detected ***: gst-launch-0.10 terminated
Avortat (bolcat de la imatge del nucli)
Uninstalling gstreamer0.10-plugins-bad an mp4 file it's played but an mpeg-2 file stopped working. Installing gstreamer0.10-plugins-bad MPEG-2 and OGV videos plays as expected.
Installing gstreamer0.10-ffmpeg from https://launchpad.net/~mc3man/+archive/ ... fmpeg-keep it's necessary too.
Post Reply