RSATom / QmlVlc

[ABANDONED] libvlc wrapper for Qt Quick 2/Qml
Other
139 stars 56 forks source link

Crash on two instance of VlcPlayer #2

Closed pincopallopino closed 10 years ago

pincopallopino commented 10 years ago

i've created two VlcPlayer with two VlcVideoSurface with the same MRL but when i start the application it crashes.. it happens also with VlcMmPlayer

this is the backtrace:

&"bt\n" ~"#0 0xb45208d0 in ?? () from /usr/lib/i386-linux-gnu/libfontconfig.so.1\n" ~"#1 0xb452401b in ?? () from /usr/lib/i386-linux-gnu/libfontconfig.so.1\n" ~"#2 0xb45242a6 in FcConfigBuildFonts () from /usr/lib/i386-linux-gnu/libfontconfig.so.1\n" ~"#3 0xb452d19c in FcInitLoadConfigAndFonts () from /usr/lib/i386-linux-gnu/libfontconfig.so.1\n" ~"#4 0xb452d40d in FcInit () from /usr/lib/i386-linux-gnu/libfontconfig.so.1\n" ~"#5 0xb4521ce5 in FcConfigGetCurrent () from /usr/lib/i386-linux-gnu/libfontconfig.so.1\n" ~"#6 0xb4523880 in FcConfigSubstituteWithPat () from /usr/lib/i386-linux-gnu/libfontconfig.so.1\n" ~"#7 0xb45238c7 in FcConfigSubstitute () from /usr/lib/i386-linux-gnu/libfontconfig.so.1\n" ~"#8 0xa8e0b27e in FontConfig_Select (family=, b_bold=false, b_italic=false, i_size=0, i_idx=0xa8faac20, config=0x0) at freetype.c:560\n" ~"#9 0xa8e0e6e4 in Create (p_this=0xafa53bd8) at freetype.c:2890\n" ~"#10 0xb6a6b980 in generic_start (func=0xa8e0e270, ap=0xa8faad58 \"\") at modules/modules.c:351\n" ~"#11 0xb6a6b9fa in module_load (obj=, m=0x8185280, init=0xb6a6b970 , args=0xa8faad54 \"\330;\245\257\") at modules/modules.c:185\n" ~"#12 0xb6a6c0aa in vlc_module_load (obj=0xafa53bd8, capability=0xb6a9e433 \"text renderer\", name=0xb6aa84c7 \"\", strict=false, probe=0xb6a6b970 ) at modules/modules.c:277\n" ~"#13 0xb6a6c4f2 in module_need (obj=0xafa53bd8, cap=0xb6a9e433 \"text renderer\", name=0xb6aaac79 \"$text-renderer\", strict=false) at modules/modules.c:366\n" ~"#14 0xb6a4eb34 in SpuRenderCreateAndLoadText (spu=) at video_output/vout_subpictures.c:220\n" ~"#15 0xb6a4f026 in spu_Create (object=0xafa52c10) at video_output/vout_subpictures.c:1248\n" ~"#16 0xb6a4b20d in VoutCreate (cfg=0xa8faaec8, object=0x81fd3f0) at video_output/video_output.c:147\n" ~"#17 vout_Request (object=0x81fd3f0, cfg=0xa8faaec8) at video_output/video_output.c:231\n" ~"#18 0xb6a37f4b in RequestVout (b_recycle=true, dpb_size=31, p_fmt=0xa8faaf4c, p_vout=, p_resource=0x820f468) at input/resource.c:238\n" ~"#19 input_resource_RequestVout (p_resource=0x820f468, p_vout=0x0, p_fmt=0xa8faaf4c, dpb_size=31, b_recycle=true) at input/resource.c:467\n" ~"#20 0xb6a1de9e in vout_new_buffer (p_dec=0xaf80a730) at input/decoder.c:2375\n" ~"#21 0xb6a20733 in decoder_NewPicture (p_decoder=0xaf80a730) at input/decoder.c:191\n" ~"#22 0xae08f0d7 in ffmpeg_NewPictBuf (p_context=0xaf844ca0, p_dec=0xaf80a730) at avcodec/video.c:177\n" ~"#23 ffmpeg_dr_GetFrameBuf (p_context=0xaf844ca0) at avcodec/video.c:960\n" ~"#24 ffmpeg_GetFrameBuf (p_context=0xaf844ca0, p_ff_pic=0xb0f420c0) at avcodec/video.c:1037\n" ~"#25 0xad7af779 in ?? () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53\n" ~"#26 0xad8321b7 in avcodec_decode_video2 () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53\n" ~"#27 0xae0906d7 in DecodeVideo (p_dec=0xaf80a730, pp_block=0xa8fab23c) at avcodec/video.c:610\n" ~"#28 0xb6a1ebb9 in DecoderDecodeVideo (p_dec=0xaf80a730, p_block=0xafa5fdd0) at input/decoder.c:1479\n" ~"#29 0xb6a20528 in DecoderProcessVideo (b_flush=false, p_block=0xaf853f38, p_dec=0xaf80a730) at input/decoder.c:1825\n" ~"#30 DecoderProcess (p_block=, p_dec=0xaf80a730) at input/decoder.c:2014\n" ~"#31 DecoderThread (p_data=0xaf80a730) at input/decoder.c:936\n" ~"#32 0xb6d8dd4c in start_thread (arg=0xa8fabb40) at pthread_create.c:308\n" ~"#33 0xb6bc9bae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130\n" 159^done

RSATom commented 10 years ago

Does it happens if you use another mrl?

pincopallopino commented 10 years ago

no

RSATom commented 10 years ago

if you open this mrl in Vlc Player - does it crash? Can you provide mrl?

pincopallopino commented 10 years ago

if i use this mrl http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.avi it doesn't crash

but if i use this mrl rtsp://admin@192.168.5.21:554/live1.sdp (it is a rtsp camera stream) it crashes

RSATom commented 10 years ago

Does you cam provide some sort of subtitles? if yes, try disable it, and check again. According to your backtrace problem is in subtitles rendering.

pincopallopino commented 10 years ago

i don't see any subtitles option in my webcam, even if i see some words on the top-left of the video stream..

RSATom commented 10 years ago

Ok, understand. Did you try open this mrl with Vlc Player application?

pincopallopino commented 10 years ago

i tried to open this mrl in VLC but i have no problem

RSATom commented 10 years ago

I don't sure how I could solve this issue without access to your cam.... What exactly ip cam do you have?

pincopallopino commented 10 years ago

d-link dcs-2131

RSATom commented 10 years ago

ok, don't sure when I could find same cam... Maybe you could forward stream from your cam to me somehow?

pincopallopino commented 10 years ago

no, i can't.. i'm sorry

RSATom commented 10 years ago

Ok, I'll try to find another solution. Thanks anyway.

RSATom commented 10 years ago

I've got this crash yesterday. Will try to fix soon.

RSATom commented 10 years ago

I found crash is in /usr/lib/vlc/plugins/text_renderer/libfreetype_plugin.so. If I remove this plugin - crash disappears. I don't know, is it a bug in libfreetype_plugin, or in underlying system libraries, but I think it's not a bug of QmlVlc.

RSATom commented 10 years ago

But I'm still not sure...

RSATom commented 10 years ago

do you still have this problem?

RSATom commented 10 years ago

sorry, can't reproduce...