segfault at startup -- race condition

2004-06-05 Thread Morten Welinder
Recall that "./wine" usually, but not always, segfaults for me. I have tracked my race condition down to SHELL_LoadRegistry where the successful runs exit via the first return ("someone else already loaded the registry") whereas the segfaulting runs go on. Ideas? Morten

Re: segfault at startup

2004-06-04 Thread Duane Clark
Morten Welinder wrote: ... One more thing: about 1 in 5 runs it turns out that wine does start. Never under strace, though. /me smells a race condition. I'll just add a "me too" to that one. I have not tried putting numbers to it, so I don't know whether it is 1 in 5. But I have already gotten ac

Re: segfault at startup

2004-06-04 Thread Michael Stefaniuc
Morten Welinder wrote: It looks like it is blowing the stack. Ideas? Let me guess: this is on FC2? bye michael gdb loader/wine-pthread ...] (gdb) where #0 0x4010afdc in _int_malloc () from /lib/libc.so.6 #1 0x4010a18c in malloc () from /lib/libc.so.6 #2 0x404adb72 in _xmalloc (size=25)

Re: segfault at startup

2004-06-04 Thread Morten Welinder
From: Michael Stefaniuc <[EMAIL PROTECTED]> Morten Welinder wrote: > It looks like it is blowing the stack. > Ideas? Let me guess: this is on FC2? No, as mentioned it's SuSE 9.0. One more thing: about 1 in 5 runs it turns out that wine does start. Never under strace, though. /me

segfault at startup

2004-06-03 Thread Morten Welinder
It looks like it is blowing the stack. Ideas? Morten gdb loader/wine-pthread ...] (gdb) where #0 0x4010afdc in _int_malloc () from /lib/libc.so.6 #1 0x4010a18c in malloc () from /lib/libc.so.6 #2 0x404adb72 in _xmalloc (size=25) at ../../misc/registry.c:95 #3 0x404aeb24 in _w95_dump_dke