This is the mail archive of the cygwin-xfree@cygwin.com 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: uxterm from xterm-185-3 and xfontsel crashing when runningunder cygserver support


>>>>> "Corinna" == Corinna Vinschen writes:

    Corinna> Did you read /usr/share/doc/Cygwin/cygserver.README? 

Yes

    Corinna> I guess you know that there are a bunch of settings you can change in
    Corinna> /etc/cygserver.conf and also that cygserver has a debugging option, right?

yes, but I forgot about them.

    Corinna> So, have you tried to debug this situation?  For instance, is it possible
    Corinna> that the bigfont extension tries to allocate more shared memory than
    Corinna> cygserver is by default restricted to?  The default values (which are not
    Corinna> arbitrary but taken from the defualt BSD settings) are:

Ok here my debug attempts. Following is the output of
/var/log/cygserver.log when starting xfontsel. After the -- snip --
you'll find the lines which showed up when xfontsel crashed. For this
run I started the XWin server without the env variable XF86BIGFONT_DISABLE.
Doesn't seem very useful so.



cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 694:
Set kern.log.debug to yes

cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 694:
Set kern.log.syslog to yes

cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 676:
Set kern.log.level to 7

cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 676:
Set kern.ipc.shmmaxpgs to 32767

cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 676:
Set kern.ipc.shmmni to 32767

cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 676:
Set kern.ipc.shmseg to 32767

  ----------- snip --------------

cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 807: Try locking mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 807: Locked      mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 187: Try enter critical section(0x41B090)
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 187: Entered   critical section(0x41B090)
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 193: Left      critical section(0x41B090)
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 829: Unlocked    mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 104: Try enter critical section(0x41B090)
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 104: Entered   critical section(0x41B090)
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 113: Left      critical section(0x41B090)
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 349: Try locking mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 349: Locked      mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 427: Unlocked    mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/process.cc, line 63: got handle 0x294 for new cache process 660(1624)
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 527: Try locking mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 527: Locked      mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 609: Unlocked    mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/process.cc, line 295: waiting on 4 objects in total (2 processes)


D:\tmp>D:\tmp\cygdeb\gdb.exe -nw "D:/usr/X11R6/bin/xfontsel.exe" 1624
GNU gdb 2003-09-20-cvs (cygwin-special)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found)...
Attaching to program `/usr/X11R6/bin/xfontsel.exe', process 1624

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

---Type <return> to continue, or q <return> to quit---


06:26 PM [400]> echo $CYGWIN
binmode title ntsec server error_start=D:\tmp\cygdeb\debug_wrapper.cmd



Ciao
  Volker


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