run.exe fails to start XWin on Windows 8.1 through the shortcut

Jon TURNEY jon.turney@dronecode.org.uk
Tue Aug 18 15:33:00 GMT 2015


On 12/08/2015 15:30, Jon TURNEY wrote:
> On 12/08/2015 13:43, Jaakov Jaakov wrote:
[...]
>> The file C:\cygwin64\run.exe.stackdump is generated, containing
>> Stack trace:
> [...]
>
> mumble mumble abracadabra!

Just for the record, the primitive technology which is clearly 
distinguishable from magic, used to produce this backtrace from the 
stackdump, is the attached script.


-------------- next part --------------
#!/bin/bash
STACKDUMP=$1
DBG1=/usr/lib/debug/usr/bin/cygwin1.dbg
DBG2=/usr/lib/debug/usr/bin/${STACKDUMP%.stackdump}.exe.dbg

awk '/^[0-9]/{print $2}' $STACKDUMP | while read addr
do
   output=`addr2line -asfiC -e $DBG1 $addr`
   echo $output | fgrep -q "??:0"
   if [ $? -eq 0 ] ; then
     output=`addr2line -asfiC -e $DBG2 $addr`
   fi

   IFS=$'\n' split=($output)
   echo ${split[0]} "|" ${split[length-2]} "|" ${split[length-1]}
done | column -t -s'|'
-------------- next part --------------
--
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