Minimal gstreamer example will crash dr.memory on gst_init
Thomas Roos
thomas at roosesweb.de
Wed Aug 19 06:19:25 PDT 2015
Minimal gstreamer example will crash windows dr.memory on gst_init
-> did anyone use dr.memory to find memory leaks in windows?
-> I also posted it to the dr.memory issue tracker:
https://github.com/DynamoRIO/drmemory/issues/1749
// export PKG_CONFIG_PATH='/mingw/i686-w64-mingw32/lib/pkgconfig'
//gcc -Wall gstMinimal.c -o gstMinimal $(pkg-config --cflags --libs
gstreamer-1.0)
#include
#include
int main (int argc, char *argv[])
{
/* Initialisation */
gst_init (&argc, &argv);
return 0;
}
Dr. Memory version 1.8.0 build 8 built on Sep 9 2014 16:27:02
Dr. Memory results for pid 1020: "gstMinimal.exe"
Application cmdline: "gstMinimal.exe"
Recorded 108 suppression(s) from default c:\Program Files (x86)\Dr.
Memory\bin\suppress-default.txt
Error #1: UNADDRESSABLE ACCESS: reading 0x0000000c-0x0000000d 1 byte
0 libgobject-2.0-0.dll!g_type_create_instance [../../gobject/gtype.c:1856]
1 libgobject-2.0-0.dll!g_param_spec_internal [../../gobject/gparam.c:435]
2 libgobject-2.0-0.dll!g_param_spec_string [../../gobject/gparamspecs.c:2231]
3 libgstreamer-1.0-0.dll!gst_object_class_intern_init
[c:\users\roos\downloads\script\gstreamer-1.4.5\gst/gstobject.c:170]
4 libgobject-2.0-0.dll!g_type_class_ref [../../gobject/gtype.c:2236]
5 libgobject-2.0-0.dll!g_type_class_ref [../../gobject/gtype.c:2943]
6 libgobject-2.0-0.dll!g_object_new [../../gobject/gobject.c:1614]
7 libgstreamer-1.0-0.dll!gst_init_check
[c:\users\roos\downloads\script\gstreamer-1.4.5\gst/gst.c:337]
8 libgstreamer-1.0-0.dll!gst_init
[c:\users\roos\downloads\script\gstreamer-1.4.5\gst/gst.c:387]
9 main
Note: @0:00:00.501 in thread 2456
Note: instruction: movzx 0x0c(%ebx) -> %ebp
More information about the gstreamer-devel
mailing list