infinite loop in msvcrt dll

Marcus Meissner marcus at jet.franken.de
Sun Feb 2 14:05:38 CST 2003


On Sun, Feb 02, 2003 at 12:34:53AM +0100, Michael Stefaniuc wrote:
> Hello,
> 
> when starting ACT!2000 with wine the program freezes after the main
> window is brought up and one wine process goes mad and eats all the cpu.
> Running strace on that pid dosn't show any system call and even the
> relay output stops. I've attached with gdb to the wine process and got a
> backtrace with 3569 entries. I've captured the output with screen and
> attached it. Seems to be a loop in an exception handler (sigsegv's over
> and over again). I hope that somebody can do more with the output.
> The last entries in the relay output are tons of:
> 00000009:Call kernel32.TlsGetValue(00000000) ret=405d833e
> 00000009:Ret  kernel32.TlsGetValue() retval=402a7810 ret=405d833e
> 00000009:Call msvcrt.__CxxFrameHandler(403821f0,40592c60,4038226c,40382180) ret=400c42b7 fs=008f
>  eax=179c3008 ebx=400f6204 ecx=4010de20 edx=40382d54 esi=403821f0 edi=400f5fe1
>  ebp=40382150 esp=40382124 ds=002b es=002b gs=0007 flags=00000246
> 00000009:Ret  msvcrt.__CxxFrameHandler() retval=00000001 ret=400c42b7 fs=008f
>  eax=00000001 ebx=400f6204 ecx=4010de20 edx=40382d54 esi=403821f0 edi=400f5fe1
>  ebp=40382150 esp=40382124 ds=002b es=002b gs=0007 flags=00000246
> 00000009:Call msvcrt.__CxxFrameHandler(403821f0,40592ce8,4038226c,40382180) ret=400c42b7 fs=008f
>  eax=179c3030 ebx=400f6204 ecx=4010de20 edx=40382d54 esi=403821f0 edi=400f5fe1
>  ebp=40382150 esp=40382124 ds=002b es=002b gs=0007 flags=00000246
> 
> In the "-debugmsg +msvcrt" output i see some:
> warn:msvcrt:msvcrt_mbc_to_wc MultiByteToWideChar failed on 73
> lines, but i suspect this is not the problem.
> When running with "-dll msvcrt=n" the error dosn't occur.
> 
> Any tips how to debug this further?

This is usually a missing function in msvcrt. Run with -debugmsg +seh
and check the output directly before the RaiseException.

Ciao, Marcus



More information about the wine-devel mailing list