<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Thanks LRN,<br> 2.8 with zlib support works fine on my machine. Maybe you can update the wiki.<br> Sorry for my late reply.<br><br>Thanks,<br>Rafael<br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Tue, 7 Aug 2012 15:28:17 +0400<br>> From: lrn1986@gmail.com<br>> To: mq_han@hotmail.com<br>> Subject: Re: Errors when building gstreamer for windows<br>> CC: gstreamer-devel@lists.freedesktop.org<br>> <br>> -----BEGIN PGP SIGNED MESSAGE-----<br>> Hash: SHA1<br>> <br>> On 07.08.2012 12:49, mingqian Han wrote:<br>> > (gdb) run --noout --add delegateSystem "http://docbook.org/xml/"<br>> > "./docbook-xml.xml" /mingw/etc/xml/catalog Starting program:<br>> > d:\msys\bin\xmlcatalog.exe --noout --add delegateSystem<br>> > "http://docbook.org/xml/" "./docbook-xml.xml"<br>> > /mingw/etc/xml/catalog [New Thread 8132.0xc04] [New Thread<br>> > 8132.0x1ffc] [New Thread 8132.0x838] [New Thread 8132.0xe04]<br>> > <br>> > Program received signal SIGSEGV, Segmentation fault. 0x60885fe1 in<br>> > strncmp () from d:\msys\bin\msys-1.0.dll (gdb) bt #0 0x60885fe1 in<br>> > strncmp () from d:\msys\bin\msys-1.0.dll #1 0x70e306f3 in<br>> > msys-xml2-2!__xmlParserInputBufferCreateFilename () from<br>> > d:\msys\bin\msys-xml2-2.dll<br>> Yeah, if you look at __xmlParserInputBufferCreateFilename code, you'll<br>> see that strncmp is only called when it's compiled with zlib support.<br>> <br>> Here, i've built 2.8.0 with [1] and without [2] zlib. Could you try it<br>> out?<br>> <br>> Note that you'd need to issue:<br>> dir $cdir;$cwd;c:/foo/bar/libxml2-2.8.0<br>> command in gdb (where c:/foo/bar/libxml2-2.8.0 is the directory where<br>> xmlcatalog.c is on your machine). Otherwise gdb won't find the source<br>> file.<br>> <br>> What i'd like to know:<br>> 1) Does 2.8.0 work?<br>> 2) If not, does the version without zlib work?<br>> 3) If yes, would you please try to debug the crash in strncmp?<br>> AFAIR, the problem is that cptr turns out to be NULL.<br>> We might have to go to libxml devs with this.<br>> <br>> [1] http://lrn.no-ip.info/other/mingw/msys/libxml2/2.8.0-1/<br>> [2] http://lrn.no-ip.info/other/mingw/msys/libxml2/2.8.0-1+without-zlib/<br>> -----BEGIN PGP SIGNATURE-----<br>> Version: GnuPG v1.4.11 (MingW32)<br>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/<br>> <br>> iQEcBAEBAgAGBQJQIPvNAAoJEOs4Jb6SI2Cwf0QIANOh29QCVfS0LN/sXENcko2i<br>> K9XPJFa2kVYudQlMoLJT3P0g3afcOYHoufHLbz9l4NlWJNxx42ECz7h5Jldf7rEf<br>> ag8DOxgUehlOi91lh3LZw4fX8PY+1cytVDQ/6zoou0ATbSOGqwLx/vJac7wplvA8<br>> AoVa0/DjdtL744byb1+bKZXSHKs4k+ESIJmZAepI9E2SOs6M9wVCdW2PKAaTkyx/<br>> 5wzdas4KwEDljus2q2b9Rvs1Z2RSpeTSwrUIgvU7IcR/WwRoBlXMPvm9wCm7hdTA<br>> IY4yvfzgkReo897qD5HEfFUbdYZbabSnT9/6d6J8XVLGwVCXcM58OLPGvIAFG9A=<br>> =06as<br>> -----END PGP SIGNATURE-----<br>> _______________________________________________<br>> gstreamer-devel mailing list<br>> gstreamer-devel@lists.freedesktop.org<br>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br></div> </div></body>
</html>