GStreamer application access violation in random locations

pfarmer flacone at gmx.de
Wed Dec 23 06:33:16 PST 2015


Hi,

i am trying to run GStreamer within a Simulink C++ S-function. It works
occasionally, but unfortunately it does crash every now and then at
GStreamer functions. I guess its a multi-threading problem. But as far as I
could see, all of the gstreamer functions all called from within the same
thread (from within S-Function callback functions). I also tried to protect
each call with a mutex ... no sucess.

I ran out of Ideas on how to tackle this. Also If its a bug, how could I get
the necessary information?
What could i try to find the problem?



Here 3 stack traces:

Stack Trace (from fault):
[  0] 0x000000009fc42fd5  
C:\gstreamer\1.0\x86_64\bin\libgstbase-1.0-0.dll+00077781
gst_base_parse_merge_tags+00010821
[  1] 0x000000009faa1f27  
C:\gstreamer\1.0\x86_64\bin\libgobject-2.0-0.dll+00139047
g_type_class_ref+00001175
[  2] 0x000000009faa1bcd  
C:\gstreamer\1.0\x86_64\bin\libgobject-2.0-0.dll+00138189
g_type_class_ref+00000317
[  3] 0x000000009faa1bcd  
C:\gstreamer\1.0\x86_64\bin\libgobject-2.0-0.dll+00138189
g_type_class_ref+00000317
[  4] 0x000000013042da96
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00187030
gst_element_register+00000374
[  5] 0x000000009e4a153c
C:\gstreamer\1.0\x86_64\lib\gstreamer-1.0\libgstgio.dll+00005436
[  6] 0x000000013044dd34
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00318772
gst_pipeline_get_latency+00002212
[  7] 0x000000013044f8b4
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00325812
gst_plugin_register_static_full+00003076
[  8] 0x000000013045b80f
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00374799
gst_query_set_context+00000575
[  9] 0x000000013045cbdc
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00379868
gst_registry_remove_plugin+00001660
[ 10] 0x000000013045cdb6
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00380342
gst_registry_remove_plugin+00002134
[ 11] 0x000000013045e7e8
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00387048
gst_update_registry+00002808
[ 12] 0x0000000130401b90
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00007056
[ 13] 0x000000009f58b7f8     
C:\gstreamer\1.0\x86_64\bin\libglib-2.0-0.dll+00243704
g_option_context_parse+00000856
[ 14] 0x0000000130402527
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00009511
gst_init_check+00000215

Stack Trace (from fault):
[  0] 0x00000000224d1486
C:\gstreamer\1.0\x86_64\lib\gstreamer-1.0\libgstvideotestsrc.dll+00005254
[  1] 0x00000000224d172f
C:\gstreamer\1.0\x86_64\lib\gstreamer-1.0\libgstvideotestsrc.dll+00005935
[  2] 0x000000013bc43d9b  
C:\gstreamer\1.0\x86_64\bin\libgobject-2.0-0.dll+00146843
g_type_create_instance+00000283
[  3] 0x000000013bc2a8a8  
C:\gstreamer\1.0\x86_64\bin\libgobject-2.0-0.dll+00043176
g_object_unref+00002056
[  4] 0x000000013bc2c31e  
C:\gstreamer\1.0\x86_64\bin\libgobject-2.0-0.dll+00049950
g_object_newv+00000542
[  5] 0x000000013be4d38b
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00185227
gst_element_factory_create+00000491
[  6] 0x000000013be4d555
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00185685
gst_element_factory_make+00000229
[  7] 0x000000013beafe7b
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00589435
gst_parse_flags_get_type+00018251
[  8] 0x000000013beb1037
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00593975
gst_parse_flags_get_type+00022791
[  9] 0x000000013bea89cc
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00559564
gst_parse_launch_full+00000124
[ 10] 0x000000013be9c5ae
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00509358
gst_parse_bin_from_description_full+00000302
[ 11] 0x000000013be9c6b4
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00509620
gst_parse_bin_from_description+00000020

Stack Trace (from fault):
[  0] 0x000000019c341514
C:\gstreamer\1.0\x86_64\lib\gstreamer-1.0\libgstcoreelements.dll+00005396
[  1] 0x00000000db4c1f27  
C:\gstreamer\1.0\x86_64\bin\libgobject-2.0-0.dll+00139047
g_type_class_ref+00001175
[  2] 0x00000000db4ac36d  
C:\gstreamer\1.0\x86_64\bin\libgobject-2.0-0.dll+00050029
g_object_newv+00000621
[  3] 0x00000000db6cd38b
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00185227
gst_element_factory_create+00000491
[  4] 0x00000000db6cd555
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00185685
gst_element_factory_make+00000229
[  5] 0x00000000db72fe7b
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00589435
gst_parse_flags_get_type+00018251
[  6] 0x00000000db731037
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00593975
gst_parse_flags_get_type+00022791
[  7] 0x00000000db7289cc
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00559564
gst_parse_launch_full+00000124
[  8] 0x00000000db71c5ae
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00509358
gst_parse_bin_from_description_full+00000302
[  9] 0x00000000db71c6b4
C:\gstreamer\1.0\x86_64\bin\libgstreamer-1.0-0.dll+00509620
gst_parse_bin_from_description+00000020

It windows 7 64bit and GStreamer 1.6.2


  



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/GStreamer-application-access-violation-in-random-locations-tp4674999.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list