This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The first problem is that test1.xml as posted isn't valid XML -- and the parser (properly) reports:
run2.exe FATAL: /c/Users/cwilson/test1.xml validation generated an internal error
but no coredump. Oddly, syntax errors in the attributes of the root element do not seem to generate meaningful diagnostic messages -- unlike similar errors elsewhere in the document. This is an libxml2 problem, and not the "fault" of run2.
OTOH, run2 /should/, however, exit with status 1 rather than status 0 in this situation. That's a bug -- fixed in r25.
So, first off you need to remove the ';' from the end of the third line of test1.xml.
[...]NOW I see the coredump -- which is occurring inside the xml parsing subroutines. I *HOPE* this is an entirely different bug than the one that started this thread.
Again, does /test.xml/ still coredump for you, or is THAT one fixed:
<?xml version="1.0" encoding="us-ascii"?> <Run2Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="run2.xsd"> <SelfOptions> </SelfOptions> <Global> <Environment> </Environment> </Global> <GDI> <Environment> </Environment> <Target filename="/usr/bin/mintty.exe" startin="~"> <Arg>-e /bin/bash</Arg> </Target> </GDI> <X11> <Environment> </Environment> <Target filename="/usr/bin/xterm.exe" startin="~"> <Arg>-display 127.0.0.1:0.0</Arg> </Target> </X11> </Run2Config>
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |