On 01/14/2011 04:12 PM, IOhannes zmölnig wrote:
> i discovered one as well:
> if there are no (valid) plugins installed, pluginregistry will crash.

unfortunately that is not the only problem i have:

i'm trying to understand a related bug crashing gmerlin_visualize when
saving properties in parameter_xml.c:385

this line:
xmlAddChild(grandchild,BG_XML_NEW_TEXT(info[num_parameters].multi_names[i]));

crashes somewhere in libXML after emitting "error : string is not in UTF-8"

btw "num_parameters" is 0!

(gdb) run
[Thread debugging using libthread_db enabled]
error : string is not in UTF-8

Program received signal SIGSEGV, Segmentation fault.
0xb75866a3 in xmlStrdup () from /usr/lib/libxml2.so.2
(gdb) bt
#0  0xb75866a3 in xmlStrdup () from /usr/lib/libxml2.so.2
#1  0xb752d62c in xmlNewText () from /usr/lib/libxml2.so.2
#2  0xb7f80ed3 in bg_parameters_2_xml (info=0x807a830,
xml_parameters=0x8066f88) at parameter_xml.c:583
#3  0xb7f9533f in save_plugin (parent=<value optimized out>,
info=0xb7a013e8) at pluginreg_xml.c:485
#4  0xb7f95cd0 in bg_plugin_registry_save (info=0xb7a013e8) at
pluginreg_xml.c:684
#5  0xb7f940aa in bg_plugin_registry_create_with_options
(section=0x8066258, opt=0xbffff438) at pluginregistry.c:966
#6  0xb7f94143 in bg_plugin_registry_create (section=0x8066258) at
pluginregistry.c:878
#7  0x08049520 in main (argc=1, argv=0xbffff564) at gmerlin_visualize.c:446
(gdb)

ah yes, this all happens, when trying to run ./tests/gmerlin_visualize
from within the build-tree without another version of gmerlin installed.
i suspect it is related to not-installed plugins as well.

for building gmerlin on debian's build-farm, we obviously have to live
without plugins installed.
i'm trying to run the programs in order to obtain their man-pages.

fgmasdr
IOhannes

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Gmerlin-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmerlin-general

Reply via email to