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]

Crashing after two or three server resets


Upon looking into this problem, I have found the following:

1) The crashes after a few resets in XFree86-xserv-4.3.0-35 are due to double-freeing of timers in the xc/programs/Xserver/os/ code. A fix for this was added to the XFree86 tree back in October, shortly after the changes to WaitForSomething that changed the order of timeout processing and input event processing. This fix is already in our xorg tree, so...

2) I tried the server from xorg and it crashes in a different place:

Program received signal SIGSEGV, Segmentation fault.
0x61093af5 in strtosigno () from /usr/bin/cygwin1.dll
(gdb) bt
#0  0x61093af5 in strtosigno () from /usr/bin/cygwin1.dll
#1  0x6103eb65 in free () from /usr/bin/cygwin1.dll
#2  0x006f6038 in FontFileFreeEntry ()
#3  0x006f6075 in FontFileFreeTable ()
#4  0x006f6222 in FontFileFreeDir ()
#5  0x006ec6cf in FontFileFreeFPE ()
#6  0x00412096 in FreeFPE ()
#7  0x00414548 in FreeFontPath ()
#8  0x00414e2d in FreeFonts ()
#9  0x0040187d in main ()
(gdb)


So, it seems that there is still a double-free problem in dix/fonts.c. Ugh... this ought to be fun to fix :) I might look into this more, but I can't promise anything (particularly since no Cygwin/X users are complaining about crashes on resets).


Harold


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