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: Novice Question


Jon,
Thanks for your help

Yes your correct the IP6 had nothing to do with the problem ..(again thanks)

Here is the backtrace requested



andys@andys-PC /usr/bin
$ gdb --args ./XWin.20090628173519.exe  -multiwindow -clipboard -logverbose
3
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Copyright (C) 2008 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-pc-cygwin"...
(gdb) r
Starting program: /usr/bin/XWin.20090628173519.exe -multiwindow -clipboard
-logverbose 3
[New thread 6936.0x1a44]
[New thread 6936.0x1c3c]

Program received signal SIGSEGV, Segmentation fault.
0x0058941d in DefineSelf (fd=1) at
/opt/wip/cygport-svn/xorg-server/xorg-server-1.6.0-10/src/xorg-server-1.6.0/
os/access.c:816
816
/opt/wip/cygport-svn/xorg-server/xorg-server-1.6.0-10/src/xorg-server-1.6.0/
os/access.c: No such file or directory.
        in
/opt/wip/cygport-svn/xorg-server/xorg-server-1.6.0-10/src/xorg-server-1.6.0/
os/access.c
(gdb) bt full
#0  0x0058941d in DefineSelf (fd=1) at
/opt/wip/cygport-svn/xorg-server/xorg-server-1.6.0-10/src/xorg-server-1.6.0/
os/access.c:816
        broad_addr = {sa_family = 52248, sa_data =
"\"\000^á\017a\bÐ\"\000ôE]"}
        ifap = (struct ifaddrs *) 0x18271b8
        ifr = (struct ifaddrs *) 0x18274a8
        len = 4
        addr = (unsigned char *) 0x18274f4 ":§/\233"
        family = 0
        host = (HOST *) 0x181a190
#1  0x005813d0 in CreateWellKnownSockets ()
    at
/opt/wip/cygport-svn/xorg-server/xorg-server-1.6.0-10/src/xorg-server-1.6.0/
os/connection.c:421
        fd = 1
        i = 0
        partial = 0
        port = "0\000\000\000\200\233\201\001\230Ì\"\000SEX\000\005\000\000"
#2  0x00512720 in main (argc=5, argv=<incomplete type>, envp=<incomplete
type>)
    at
/opt/wip/cygport-svn/xorg-server/xorg-server-1.6.0-10/src/xorg-server-1.6.0/
dix/main.c:285
        i = 0
        alwaysCheckForInput = {0, 1}
(gdb)

-----Original Message-----
From: Jon TURNEY [mailto:jon.turney@dronecode.org.uk] 
Sent: Monday, 29 June 2009 3:23 AM
To: cygwin-xfree@cygwin.com
Cc: andy.stainer@gmail.com
Subject: Re: Novice Question

Andys wrote:
> Trying to get the lastest X to run on Cygwin 1-7 but only seem to be able
to 
> get a core dump....  the log:

Firstly, thanks very much for trying it out and reporting the problem.

> XWin was started with the following command line:
> 
> /usr/bin/XWin -multiwindow -clipboard -silent-dup-error
> 
> ddxProcessArgument - Initializing default screens
> winInitializeDefaultScreens - w 1680 h 1050
> winInitializeDefaultScreens - Returning
> _XSERVTransSocketCreateListener: failed to bind listener
> _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
> _XSERVTransMakeAllCOTSServerListeners: failed to create listener for inet6
> 
> 
> When I run the commands manually from the startxwin.bat I get a
"Segmentation 
> Fault (core dumped)" 
> 
> IP6 is installed on a Vista32 OS but I have no clue on how to  further 
> diagnose the problem

I don't believe IPv6 is the cause of the problem you are seeing, this just 
happens to be the last line of output written.

You could test this by adding '-nolisten inet6' to the command line used to 
start the X server.

> All software used is the latest as of today
> 
> Any suggestions welcome

If the suggestion above fails, I'd like your help to get a backtrace, if you

are willing:

1. Download ftp://cygwin.com/pub/cygwinx/XWin.20090628173519.exe.bz2
(this is a build of the 1.6.0.0-1 X server but with debugging symbols
unstripped)
2. bunzip2 XWin.20090628173519.exe.bz2 to uncompress it
3. gdb --args ./XWin.20090628173519.exe  -multiwindow -clipboard -logverbose
3
(you may need to install the gdb package)
4  wait for the '(gdb)' prompt, type 'r'
5. wait for the segmentation fault to occur, you should get another '(gdb)' 
prompt, "bt full"
6. post the output


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