This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 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]

Re: segfault Xserver...current version (1.10, not 1.8)


On 16/08/2011 08:16, Linda Walsh wrote:
Christopher Faylor wrote:
On Tue, Aug 09, 2011 at 05:55:31PM -0700, Linda Walsh wrote:
Jon TURNEY wrote:

Following the instructions at [2] to obtain an Xserver backtrace would
also be of great help.
[2] http://x.cygwin.com/devel/backtrace.html

Reading symbols from /usr/bin/Xwin...(no debugging symbols found)...done.

From the above web page:


To generate a useful backtrace, you will need an X server built with
debugging symbols. X server snapshots are built with debugging symbols
for this reason. Download the latest X Server snapshot from
ftp://cygwin.com/pub/cygwinx, uncompress it using bunzip2, and move it
to /usr/bin/XWin.exe
----
Well, I DID follow the instructions provided by John....maybe that page
should point to binaries that have symbols?

WFM


(Although it seems that the execute bit is removed by the time we download the file, so I need to amend the instructions in that regard)

Perhaps you can generate a similar transcript?

$ file /usr/bin/XWin.exe
/usr/bin/XWin.exe: PE32 executable (GUI) Intel 80386 (stripped to external PDB), for MS Windows

$ wget ftp://cygwin.com/pub/cygwinx/XWin.20110803-git-a493c0465e56ce0b.exe.bz2
--2011-08-16 13:19:25--  ftp://cygwin.com/pub/cygwinx/XWin.20110803-git-a493c0465e56ce0b.exe.bz2
           => `XWin.20110803-git-a493c0465e56ce0b.exe.bz2'
Resolving cygwin.com (cygwin.com)... 209.132.180.131
Connecting to cygwin.com (cygwin.com)|209.132.180.131|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/cygwinx ... done.
==> SIZE XWin.20110803-git-a493c0465e56ce0b.exe.bz2 ... 4123185
==> PASV ... done.    ==> RETR XWin.20110803-git-a493c0465e56ce0b.exe.bz2 ... done.
Length: 4123185 (3.9M) (unauthoritative)

100%[==============================================================================>] 4,123,185 109K/s in 41s

2011-08-16 13:20:09 (97.3 KB/s) - `XWin.20110803-git-a493c0465e56ce0b.exe.bz2' saved [4123185]


$ bunzip2 XWin.20110803-git-a493c0465e56ce0b.exe.bz2


$ chmod +x XWin.20110803-git-a493c0465e56ce0b.exe

$ mv XWin.20110803-git-a493c0465e56ce0b.exe /usr/bin/XWin.exe

$ file /usr/bin/XWin.exe
/usr/bin/XWin.exe: PE32 executable (GUI) Intel 80386, for MS Windows

$ gdb --args XWin
GNU gdb (GDB) 7.3.50.20110727-cvs (cygwin-special)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-cygwin".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/XWin...done.
(gdb)


--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]