run2.exe segfaults when GDI and X11 elements are present

Ken Brown kbrown@cornell.edu
Mon Dec 14 12:24:00 GMT 2009


Here's a simple test case, run from an xterm window:

$ cat test.xml
<?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>-d 127.0.0.1:0.0</Arg>
     </Target>
   </X11>
</Run2Config>

$ run2 --debug test.xml
setting debug level to (null)
run2.exe DEBUG: xmlfile     : 'test.xml'
run2.exe DEBUG: opt_loglevel: 7
run2.exe DEBUG: opt_nogui   : 0
run2.exe DEBUG: opt_notty   : 0
run2.exe DEBUG: opt_timeout :  0.50
run2.exe DEBUG: opt_wait    : 0
run2.exe DEBUG: opt_force   : auto
run2.exe Info: test.xml validated
test.xml:
   SelfOptions:
   Global:
     Environment:
   GDI:
     Environment:
     Target:
       filename: '/usr/bin/mintty.exe'
       startin: '~'
       argv[0]: '-e'
       argv[1]: '/bin/bash'
   X11:
     Environment:
     Target:
       filename: '/usr/bin/xterm.exe'
       startin: '~'
       argv[0]: '-d'
       argv[1]: '127.0.0.1:0.0'
run2.exe DEBUG: xmlfile     : 'test.xml'
run2.exe DEBUG: opt_loglevel: 7
run2.exe DEBUG: opt_nogui   : 0
run2.exe DEBUG: opt_notty   : 0
run2.exe DEBUG: opt_timeout :  0.50
run2.exe DEBUG: opt_wait    : 0
run2.exe DEBUG: opt_force   : auto
Segmentation fault (core dumped)

Ken

--
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



More information about the Cygwin mailing list