Errors when building gstreamer for windows

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Errors when building gstreamer for windows

mingqian Han
Hi all,
    I am now porting some Gstreamer applications from Linux to Windows.  Because I hacked some Gstreamer elements so I need to build these elements for Win32 platform. My system is Win7 32bit.
    I followed instructions from http://gstreamer.freedesktop.org/wiki/SettingUpMinGWMSysEnvironment to setup environment. All went ok but failed when installing git:

xmlto: /src/mingw/git-1.7.4-2/bld/Documentation/git-add.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
d:/project/gst/src/mingw/git-1.7.4-2/bld/Documentation/git-add.xml:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
D DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
                                                                               ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
Document d:/project/gst/src/mingw/git-1.7.4-2/bld/Documentation/git-add.xml does not validate
make[1]: *** [git-add.1] Error 13
make[1]: Leaving directory `/src/mingw/git-1.7.4-2/bld/Documentation'
make: *** [doc] Error 2
failure at line 251

    I can access http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd in my web browser without error, so I don't know why the error.
   
    Then I skipped git install an tried gtk-doc. It failed too:

checking for xmlcatalog... /bin/xmlcatalog
checking for DocBook XML DTD V4.3 in XML catalog... /src/mingw/gtk-doc-1.18-1/gtk-doc-1.18/configure: line 11450:  8776 Segmentation fault      (core dumped) ( $XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.3//EN" 1>&2 ) 2>&5
not found
configure: error: could not find DocBook XML DTD V4.3 in XML catalog
failure at line 264
 
    Then I followed the wiki and installed automake, libffi, popt without error. glib-2.0 requires gtk-doc, and pkg-config requires glib,  so they both failed.

    I am not quite familiar with MinGW, could anyone give me some hints? Thank you very much!

Rafael

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Errors when building gstreamer for windows

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

On 07.08.2012 7:13, mingqian Han wrote:

> Hi all, I am now porting some Gstreamer applications from Linux to
> Windows.  Because I hacked some Gstreamer elements so I need to
> build these elements for Win32 platform. My system is Win7 32bit. I
> followed instructions from
> http://gstreamer.freedesktop.org/wiki/SettingUpMinGWMSysEnvironment
> to setup environment. All went ok but failed when installing git:
>
> xmlto: /src/mingw/git-1.7.4-2/bld/Documentation/git-add.xml does
> not validate (status 3) xmlto: Fix document syntax or use
> --skip-validation option I/O error : Attempt to load network entity
> http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd 
> d:/project/gst/src/mingw/git-1.7.4-2/bld/Documentation/git-add.xml:2:
>
>
warning: failed to load external entity

> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" D DocBook
> XML V4.5//EN"
> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" ^ I/O
> error : Attempt to load network entity
> http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd warning:
> failed to load external entity
> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" Could not
> load the external subset
> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" Document
> d:/project/gst/src/mingw/git-1.7.4-2/bld/Documentation/git-add.xml
> does not validate make[1]: *** [git-add.1] Error 13 make[1]:
> Leaving directory `/src/mingw/git-1.7.4-2/bld/Documentation' make:
> *** [doc] Error 2 failure at line 251
>
ok, the problem is that xmlto fails to get docbookx.dtd (well,
actually, it's your xml validator that fails to do that, but that's
not really the important part).
Did you install docbook-xml package?
Do you have /mingw/share/xml/docbook/schema/dtd/4.5/docbookx.dtd?
Do you have /mingw/share/xml/docbook/schema/dtd/4.5/catalog.xml?
Do you have /mingw/etc/xml/docbook-xml.xml?
If you do, does it have the following line in it:
  <delegateSystem
systemIdStartString="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
catalog="../../share/xml/docbook/schema/dtd/4.5/catalog.xml"/>
?
Did you install libxml2 package?
Do you have /mingw/etc/xml/catalog?
If you do, does it have the following line in it:
  <delegateSystem
systemIdStartString="http://www.oasis-open.org/docbook/xml/"
catalog="./docbook-xml.xml"/>
?
Do you have /bin/xmlcatalog.exe?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQIMMEAAoJEOs4Jb6SI2CwAjIH/RvM8tYG2q0OWdrxoPV6tFJy
x3Vv9AfV5E+ALnY9hL/JqKPzu9lRs2ddIb+jQozJdhHG+UaVrw0e3XDIglfGAhSj
qg0dpgkzVjfTP0ImGPVhNAOMF+XA+cku8c4l2+BFXwfZTyrFRF4oPSVgVmmgON79
bcJYCCK8j8+woudJ70iJcpNlRflMOKfSwcfnOAeWphuosZGGl0hQ0FtiMygCKYfL
vP1dvR67wxoSBFFqj/rehcq9B10iFp3nVOwTFaW+zJLtTVYYmpYWVksN0Jd3tOxg
Kn6AS9eFC8Gl+IfI3qvXxXG3jMR4ob1LjkjDWMvkvzCEm4oMUZC4edXfAhicLnk=
=Ebma
-----END PGP SIGNATURE-----
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Errors when building gstreamer for windows

lrn-2
In reply to this post by mingqian Han
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07.08.2012 11:42, mingqian Han wrote:
> Thank you LRN, Do you have /mingw/etc/xml/docbook-xml.xml? Yes.
>
>> If you do, does it have the following line in it:
>> <delegateSystem
>> systemIdStartString="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
catalog="../../share/xml/docbook/schema/dtd/4.5/catalog.xml"/>
>>
>>
?
> No. Only <?xml version="1.0"?> <!DOCTYPE catalog PUBLIC
> "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
> "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"><catalog
> xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
> <delegateSystem
> systemIdStartString="http://docbook.org/xml/4.1.2/docbookx.dtd"
> catalog="../../share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
> <delegateSystem
> systemIdStartString="http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
catalog="../../share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
>
>
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS
> Table Model V4.1.2//EN"
> catalog="../../share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
> <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML
> V4.1.2//EN"
> catalog="../../share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
> <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook
> XML Information Pool V4.1.2//EN"
> catalog="../../share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
> </catalog>
That's your problem.


> LRN, I guess there may be something wrong when installing
> docbook-xml, because I run into following lines, though their
> installation passed ok. 0 [main] xmlcatalog 1180
> open_stackdumpfile: Dumping stack trace to
xmlcatalog.exe.stackdump
/mingw/var/lib/mingw-get/scripts/docbook-xml-4.5-1-post-install.sh:
> line 8:  1180 Segmentation fault      (core dumped) xmlcatalog
> --noout --add delegateSystem "http://docbook.org/xml/"
> "./docbook-xml.xml" /mingw/etc/xml/catalog

That's the third time people tell me that xmlcatalog.exe from
msys-libxml package segfaults.
I never had this happen to me myself though. Are there any special
circumstances that might have triggered this? Spaces in paths? Overly
long paths? FAT32 filesystem? Non-latin characters in directory names?
Does it happen every time you run the command (the script that invokes
xmlcatalog is the post-installation script for docbook-xml, i think).
Can you run it under gdb and get a backtrace when it crashes?

AFAIR, it can be worked around by rebuilding msys-libxml without zlib
support. Never done that myself either.

If you think it's worth a try, i could try to put together msys-libxml
with debug symbols. And/or a msys-libxml without zlib support.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQIM+7AAoJEOs4Jb6SI2CwwpgH/RygUcVoOi0Nt5+xBgEUgLg7
ZVCZFhzvLRfy37D1D4y1Nk6DqGN6BFQVF6z0Z21y8DxNiXfp6Yh6gQlakCgIxbr6
/INS9V6iqCuXWr9LE7KwYKtJ+SMVVC5HoNYaCfd0CupGX+CBNEcWAMSl9ic7EKIn
R1LX+2sEU6s4979k4cFD6bNO0Co1adZ4B9f6zuUlCfavrYQ5CHunzkfjgBl5QNyE
Lp2/4sWiS5DQ1UkCp80w/uyBvGXjwn6fgb0vyyGjpz+dim/FACXBKzJv22P5vWhq
g60lnCcpthUZQQ80lLJI2u64R+afI1JaRXd2QrNAuqLf/nUXQuZmXg7escP9Tus=
=DA+N
-----END PGP SIGNATURE-----
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: Errors when building gstreamer for windows

mingqian Han
Thanks LRN,
 
Spaces in paths? No.
long paths? No.
FAT32 filesystem?  NTFS
Non-latin characters in directory names? No.
Does it happen every time you run the command ? Yes

I will follow your suggestion and try rebuilding msys-libxml without zlib support.

And do you mean msys-libxml2 ?

Rafael

> Date: Tue, 7 Aug 2012 12:20:11 +0400

> From: [hidden email]
> To: [hidden email]
> Subject: Re: Errors when building gstreamer for windows
> CC: [hidden email]
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07.08.2012 11:42, mingqian Han wrote:
> > Thank you LRN, Do you have /mingw/etc/xml/docbook-xml.xml? Yes.
> >
> >> If you do, does it have the following line in it:
> >> <delegateSystem
> >> systemIdStartString="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
> catalog="../../share/xml/docbook/schema/dtd/4.5/catalog.xml"/>
> >>
> >>
> ?
> > No. Only <?xml version="1.0"?> <!DOCTYPE catalog PUBLIC
> > "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
> > "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"><catalog
> > xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
> > <delegateSystem
> > systemIdStartString="http://docbook.org/xml/4.1.2/docbookx.dtd"
> > catalog="../../share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
> > <delegateSystem
> > systemIdStartString="http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
> catalog="../../share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
> >
> >
> <delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS
> > Table Model V4.1.2//EN"
> > catalog="../../share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
> > <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML
> > V4.1.2//EN"
> > catalog="../../share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
> > <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook
> > XML Information Pool V4.1.2//EN"
> > catalog="../../share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
> > </catalog>
> That's your problem.
>
>
> > LRN, I guess there may be something wrong when installing
> > docbook-xml, because I run into following lines, though their
> > installation passed ok. 0 [main] xmlcatalog 1180
> > open_stackdumpfile: Dumping stack trace to
> xmlcatalog.exe.stackdump
> /mingw/var/lib/mingw-get/scripts/docbook-xml-4.5-1-post-install.sh:
> > line 8: 1180 Segmentation fault (core dumped) xmlcatalog
> > --noout --add delegateSystem "http://docbook.org/xml/"
> > "./docbook-xml.xml" /mingw/etc/xml/catalog
>
> That's the third time people tell me that xmlcatalog.exe from
> msys-libxml package segfaults.
> I never had this happen to me myself though. Are there any special
> circumstances that might have triggered this? Spaces in paths? Overly
> long paths? FAT32 filesystem? Non-latin characters in directory names?
> Does it happen every time you run the command (the script that invokes
> xmlcatalog is the post-installation script for docbook-xml, i think).
> Can you run it under gdb and get a backtrace when it crashes?
>
> AFAIR, it can be worked around by rebuilding msys-libxml without zlib
> support. Never done that myself either.
>
> If you think it's worth a try, i could try to put together msys-libxml
> with debug symbols. And/or a msys-libxml without zlib support.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJQIM+7AAoJEOs4Jb6SI2CwwpgH/RygUcVoOi0Nt5+xBgEUgLg7
> ZVCZFhzvLRfy37D1D4y1Nk6DqGN6BFQVF6z0Z21y8DxNiXfp6Yh6gQlakCgIxbr6
> /INS9V6iqCuXWr9LE7KwYKtJ+SMVVC5HoNYaCfd0CupGX+CBNEcWAMSl9ic7EKIn
> R1LX+2sEU6s4979k4cFD6bNO0Co1adZ4B9f6zuUlCfavrYQ5CHunzkfjgBl5QNyE
> Lp2/4sWiS5DQ1UkCp80w/uyBvGXjwn6fgb0vyyGjpz+dim/FACXBKzJv22P5vWhq
> g60lnCcpthUZQQ80lLJI2u64R+afI1JaRXd2QrNAuqLf/nUXQuZmXg7escP9Tus=
> =DA+N
> -----END PGP SIGNATURE-----
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: Errors when building gstreamer for windows

mingqian Han
(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
#2  0x70e6abb0 in xmlParseCatalogFile () from d:\msys\bin\msys-xml2-2.dll
#3  0x70e6b75e in xmlParseCatalogFile () from d:\msys\bin\msys-xml2-2.dll
#4  0x70e6b9ce in xmlParseCatalogFile () from d:\msys\bin\msys-xml2-2.dll
#5  0x70e6bcd2 in xmlParseCatalogFile () from d:\msys\bin\msys-xml2-2.dll
#6  0x70e6def2 in xmlACatalogAdd () from d:\msys\bin\msys-xml2-2.dll
#7  0x70e6e637 in xmlCatalogAdd () from d:\msys\bin\msys-xml2-2.dll
#8  0x00401bce in ?? ()
#9  0x608047b2 in msys-1!__assert () from d:\msys\bin\msys-1.0.dll
#10 0x60804b45 in msys-1!_dll_crt0@0 () from d:\msys\bin\msys-1.0.dll
#11 0x0040237f in ?? ()
#12 0x0040103e in ?? ()
#13 0x767ded6c in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\kernel32.dll
#14 0x77b7377b in ntdll!RtlInsertElementGenericTableAvl () from C:\Windows\system32\ntdll.dll
#15 0x77b7374e in ntdll!RtlInsertElementGenericTableAvl () from C:\Windows\system32\ntdll.dll
#16 0x00000000 in ?? ()


From: [hidden email]
To: [hidden email]; [hidden email]
Subject: RE: Errors when building gstreamer for windows
Date: Tue, 7 Aug 2012 16:40:33 +0800

Thanks LRN,
 
Spaces in paths? No.
long paths? No.
FAT32 filesystem?  NTFS
Non-latin characters in directory names? No.
Does it happen every time you run the command ? Yes

I will follow your suggestion and try rebuilding msys-libxml without zlib support.

And do you mean msys-libxml2 ?

Rafael

> Date: Tue, 7 Aug 2012 12:20:11 +0400

> From: [hidden email]
> To: [hidden email]
> Subject: Re: Errors when building gstreamer for windows
> CC: [hidden email]
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07.08.2012 11:42, mingqian Han wrote:
> > Thank you LRN, Do you have /mingw/etc/xml/docbook-xml.xml? Yes.
> >
> >> If you do, does it have the following line in it:
> >> <delegateSystem
> >> systemIdStartString="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
> catalog="../../share/xml/docbook/schema/dtd/4.5/catalog.xml"/>
> >>
> >>
> ?
> > No. Only <?xml version="1.0"?> <!DOCTYPE catalog PUBLIC
> > "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
> > "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"><catalog
> > xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
> > <delegateSystem
> > systemIdStartString="http://docbook.org/xml/4.1.2/docbookx.dtd"
> > catalog="../../share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
> > <delegateSystem
> > systemIdStartString="http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
> catalog="../../share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
> >
> >
> <delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS
> > Table Model V4.1.2//EN"
> > catalog="../../share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
> > <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML
> > V4.1.2//EN"
> > catalog="../../share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
> > <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook
> > XML Information Pool V4.1.2//EN"
> > catalog="../../share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
> > </catalog>
> That's your problem.
>
>
> > LRN, I guess there may be something wrong when installing
> > docbook-xml, because I run into following lines, though their
> > installation passed ok. 0 [main] xmlcatalog 1180
> > open_stackdumpfile: Dumping stack trace to
> xmlcatalog.exe.stackdump
> /mingw/var/lib/mingw-get/scripts/docbook-xml-4.5-1-post-install.sh:
> > line 8: 1180 Segmentation fault (core dumped) xmlcatalog
> > --noout --add delegateSystem "http://docbook.org/xml/"
> > "./docbook-xml.xml" /mingw/etc/xml/catalog
>
> That's the third time people tell me that xmlcatalog.exe from
> msys-libxml package segfaults.
> I never had this happen to me myself though. Are there any special
> circumstances that might have triggered this? Spaces in paths? Overly
> long paths? FAT32 filesystem? Non-latin characters in directory names?
> Does it happen every time you run the command (the script that invokes
> xmlcatalog is the post-installation script for docbook-xml, i think).
> Can you run it under gdb and get a backtrace when it crashes?
>
> AFAIR, it can be worked around by rebuilding msys-libxml without zlib
> support. Never done that myself either.
>
> If you think it's worth a try, i could try to put together msys-libxml
> with debug symbols. And/or a msys-libxml without zlib support.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJQIM+7AAoJEOs4Jb6SI2CwwpgH/RygUcVoOi0Nt5+xBgEUgLg7
> ZVCZFhzvLRfy37D1D4y1Nk6DqGN6BFQVF6z0Z21y8DxNiXfp6Yh6gQlakCgIxbr6
> /INS9V6iqCuXWr9LE7KwYKtJ+SMVVC5HoNYaCfd0CupGX+CBNEcWAMSl9ic7EKIn
> R1LX+2sEU6s4979k4cFD6bNO0Co1adZ4B9f6zuUlCfavrYQ5CHunzkfjgBl5QNyE
> Lp2/4sWiS5DQ1UkCp80w/uyBvGXjwn6fgb0vyyGjpz+dim/FACXBKzJv22P5vWhq
> g60lnCcpthUZQQ80lLJI2u64R+afI1JaRXd2QrNAuqLf/nUXQuZmXg7escP9Tus=
> =DA+N
> -----END PGP SIGNATURE-----
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Errors when building gstreamer for windows

lrn-2
-----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-----
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: Errors when building gstreamer for windows

mingqian Han
Thanks LRN,
    2.8 with zlib support works fine on my machine.  Maybe you can update the wiki.
    Sorry for my late reply.

Thanks,
Rafael

> Date: Tue, 7 Aug 2012 15:28:17 +0400

> From: [hidden email]
> To: [hidden email]
> Subject: Re: Errors when building gstreamer for windows
> CC: [hidden email]
>
> -----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-----
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel