Segmentation fault after xdm login

Harold L Hunt II huntharo@msu.edu
Sun Oct 5 20:49:00 GMT 2003


Cem,

Looks like the location of your crash changed drastically.  Could you 
run this a couple (say 5) times and check that the location stays in the 
same place between runs?  Try varying the amount of load on your machine 
by doing it a couple times without many other programs, then try it 
again while defragmenting, compressing MP3s or movies, etc.  I would 
like to know if this is some sort of race condition or if there is a 
problem with this specific part of code.

You know, the fact that it ends up being a crash in free() suggests that 
either memory is not being allocated.

Does anyone care to teach me how to take a debug .exe and a stacktrace 
and turn that into the set of parameters that were being passed to 
free() so that I can tell if it was getting a NULL pointer?

Thanks,

Harold

Cem Han wrote:

> I've installed XFree86-serv 4.3.0-16 and still getting a similar crash. 
> I don't know whether it makes any difference but although I'm getting 
> the login screen, the remote xdm configuration is propably incomplete 
> and I was counting on the logs to provide clues how to fix it. The 
> workstation running XWin is a multiprocessor box.
> 
> Thanks,
> Cem Han
> 
> 
> Exception: STATUS_ACCESS_VIOLATION at eip=61093AF5
> eax=0000004B ebx=30312D30 ecx=109D4A20 edx=30312D30 esi=109D4A28 
> edi=40CE7750
> ebp=0022FD18 esp=0022FD00 program=g:\apps\cygwin\home\Cem 
> Han\XWin-Test103-DEBUG.exe
> cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
> Stack trace:
> Frame     Function  Args
> 0022FD18  61093AF5  (0022FD40, 00004000, 109E1000, FFF6E000)
> 0022FD48  6103EB65  (109D4A28, 00000000, 0022FD68, 0044256F)
> 0022FD58  0043DAC4  (109D4A28, 00000000, 0022FEA8, 0043EC12)
> 0022FD68  0044256F  (00000000, 00000000, 611283C4, 00000000)
> 0022FEA8  0043EC12  (109DD268, 10811E10, 61600B1C, 00000001)
> 0022FEF0  004014F9  (00000003, 61600B1C, 10100330, 0022FF24)
> 0022FF40  61005018  (610CFEE0, FFFFFFFE, 000007D0, 610CFE04)
> 0022FF90  610052ED  (00000000, 00000000, E222C418, 00000000)
> 0022FFB0  0085F2B1  (00401407, 037F0009, 0022FFF0, 77E814C7)
> 0022FFC0  0040103C  (00000001, 00000032, 7FFDF000, B97C8CF0)
> 0022FFF0  77E814C7  (00401000, 00000000, 78746341, 00000020)
> End of stack trace
> 
> 
> #0  0x61093cb1 in strtosigno () from /usr/bin/cygwin1.dll
> #1  0x61093bc0 in strtosigno () from /usr/bin/cygwin1.dll
> #2  0x6103eb65 in free () from /usr/bin/cygwin1.dll
> #3  0x0043dac4 in Xfree (ptr=0x10975158) at utils.c:1317
> #4  0x007e1c5d in FontFileFreeEntry (entry=0x10a05ea8) at fontdir.c:72
> #5  0x007e1ccb in FontFileFreeTable (table=0x10901e9c) at fontdir.c:96
> #6  0x007e1ecd in FontFileFreeDir (dir=0x10901e90) at fontdir.c:175
> #7  0x007d5898 in FontFileFreeFPE (fpe=0x10901a48) at fontfile.c:115
> #8  0x004168ab in FreeFPE (fpe=0x10901a48) at dixfonts.c:216
> #9  0x004197f9 in FreeFontPath (list=0x1080f1e0, n=6, force=1)
>    at dixfonts.c:1691
> #10 0x0041a3b2 in FreeFonts () at dixfonts.c:2089
> #11 0x00401a1d in main (argc=3, argv=0x10101ca8, envp=0x10100330)
>    at main.c:469
> 



More information about the Cygwin-xfree mailing list