Hi all,<br>  I was going through the Plugin writers guide, and I sincerely feel that the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/chapter-building-testapp.html">chapter 9</a> should also describe how to build the test plugin &quot;my_filter&quot;<br>

  that was described all the way along and also being used in the test app. BTW, I used the following command to do this,<br><span style="font-family: courier new,monospace;">   gcc  `pkg-config --libs --cflags gstreamer-0.10`  gstexamplefilter.c --shared -o ~/.gstreamer-0.10/plugins/libexamplefilter.so</span><br>

<br>  But was unable to load it, <br><br>  I got the following error message, when I ran it through valgrind :<br><br style="font-family: courier new,monospace;"><div style="margin-left: 80px;"><span style="font-family: courier new,monospace;">==3068== Memcheck, a memory error detector.</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">==3068== Copyright (C) 2002-2008, and GNU GPL&#39;d, by Julian Seward et al.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">==3068== Using LibVEX rev 1884, a library for dynamic binary translation.</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">==3068== Copyright (C) 2004-2008, and GNU GPL&#39;d, by OpenWorks LLP.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">==3068== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework.</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">==3068== Copyright (C) 2000-2008, and GNU GPL&#39;d, by Julian Seward et al.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">==3068== For more details, rerun with: -v</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">==3068== </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">==3069== Invalid read of size 1</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">==3069==    at 0x42DC3D7: g_str_hash (in /usr/lib/libglib-2.0.so.0.2000.1)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">==3069==    by 0x42AA3FA: g_hash_table_lookup (in /usr/lib/libglib-2.0.so.0.2000.1)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">==3069==    by 0x42A3EB6: g_intern_string (in /usr/lib/libglib-2.0.so.0.2000.1)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">==3069==    by 0x4095A48: (within /usr/lib/libgstreamer-0.10.so.0.19.0)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">==3069==    by 0x4096F51: gst_plugin_load_file (in /usr/lib/libgstreamer-0.10.so.0.19.0)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">==3069==    by 0x40A0B8E: (within /usr/lib/libgstreamer-0.10.so.0.19.0)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">==3069==    by 0x40A0CA7: gst_registry_scan_path (in /usr/lib/libgstreamer-0.10.so.0.19.0)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">==3069==    by 0x40547B2: (within /usr/lib/libgstreamer-0.10.so.0.19.0)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">==3069==    by 0x40551AC: (within /usr/lib/libgstreamer-0.10.so.0.19.0)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">==3069==    by 0x40568FA: (within /usr/lib/libgstreamer-0.10.so.0.19.0)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">==3069==    by 0x42C7DCA: g_option_context_parse (in /usr/lib/libglib-2.0.so.0.2000.1)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">==3069==    by 0x4055FA5: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.19.0)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">==3069==  Address 0x1 is not stack&#39;d, malloc&#39;d or (recently) free&#39;d</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">ERROR: Caught a segmentation fault while loading plugin file:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/home/pubuntu/.gstreamer-0.10/plugins/libexamplefilter.so</span><br style="font-family: courier new,monospace;">

<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Please either:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">- remove it and restart.</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">- run with --gst-disable-segtrap and debug.</span><br></div>                    ....<br><br><br> Any idea about what is going wrong?<br> Thanks <br><br clear="all">Br,<br>

V<br>