Errors when building gstreamer for windows

LRN lrn1986 at gmail.com
Tue Aug 7 04:28:17 PDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07.08.2012 12:49, mingqian Han wrote:
> (gdb) run --noout --add delegateSystem "http://docbook.org/xml/"
> "./docbook-xml.xml" /mingw/etc/xml/catalog Starting program:
> d:\msys\bin\xmlcatalog.exe --noout --add delegateSystem
> "http://docbook.org/xml/" "./docbook-xml.xml"
> /mingw/etc/xml/catalog [New Thread 8132.0xc04] [New Thread
> 8132.0x1ffc] [New Thread 8132.0x838] [New Thread 8132.0xe04]
> 
> Program received signal SIGSEGV, Segmentation fault. 0x60885fe1 in
> strncmp () from d:\msys\bin\msys-1.0.dll (gdb) bt #0  0x60885fe1 in
> strncmp () from d:\msys\bin\msys-1.0.dll #1  0x70e306f3 in
> msys-xml2-2!__xmlParserInputBufferCreateFilename () from
> d:\msys\bin\msys-xml2-2.dll
Yeah, if you look at __xmlParserInputBufferCreateFilename code, you'll
see that strncmp is only called when it's compiled with zlib support.

Here, i've built 2.8.0 with [1] and without [2] zlib. Could you try it
out?

Note that you'd need to issue:
dir $cdir;$cwd;c:/foo/bar/libxml2-2.8.0
command in gdb (where c:/foo/bar/libxml2-2.8.0 is the directory where
xmlcatalog.c is on your machine). Otherwise gdb won't find the source
file.

What i'd like to know:
1) Does 2.8.0 work?
2) If not, does the version without zlib work?
3) If yes, would you please try to debug the crash in strncmp?
AFAIR, the problem is that cptr turns out to be NULL.
We might have to go to libxml devs with this.

[1] http://lrn.no-ip.info/other/mingw/msys/libxml2/2.8.0-1/
[2] http://lrn.no-ip.info/other/mingw/msys/libxml2/2.8.0-1+without-zlib/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQIPvNAAoJEOs4Jb6SI2Cwf0QIANOh29QCVfS0LN/sXENcko2i
K9XPJFa2kVYudQlMoLJT3P0g3afcOYHoufHLbz9l4NlWJNxx42ECz7h5Jldf7rEf
ag8DOxgUehlOi91lh3LZw4fX8PY+1cytVDQ/6zoou0ATbSOGqwLx/vJac7wplvA8
AoVa0/DjdtL744byb1+bKZXSHKs4k+ESIJmZAepI9E2SOs6M9wVCdW2PKAaTkyx/
5wzdas4KwEDljus2q2b9Rvs1Z2RSpeTSwrUIgvU7IcR/WwRoBlXMPvm9wCm7hdTA
IY4yvfzgkReo897qD5HEfFUbdYZbabSnT9/6d6J8XVLGwVCXcM58OLPGvIAFG9A=
=06as
-----END PGP SIGNATURE-----


More information about the gstreamer-devel mailing list