[Possible BUG]: Wine-20011108
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Fri Dec 7 13:55:28 CST 2001
Pavel Tsekov <ptsekov at syntrex.com> wrote:
:>
:> Pavel Tsekov <ptsekov at syntrex.com> wrote:
:> : fixme:msvcrt:MSVCRT_signal (11 (nil)):stub
:> It seems to me like you are using builtin MSVCRT. Signal Handling is broken
:> there. If the programm uses signal handling, it probably will crash.
: Nope It's pretty simple and it fails on a call to malloc as I
: said before.. If I only knew how to copy and paste from
: winedebug I'd show you the backtrace. The problem is
: in heap.c, line 353 - something on this line causes
: signal 11 to be generated.
Running with --debugmsg +heap you get something like:
0806feb0:Call msvcrt.strcat(403a4005 "Cygwin/bin/",403a3fb0 "/pinco/panco") ret=004014f2
0806feb0:Ret msvcrt.strcat() retval=403a4005 ret=004014f2
0806feb0:Call msvcrt.free(403a3fac) ret=00401501
0806feb0:Call kernel32.HeapFree(403a0000,00000000,403a3fac) ret=42563e35
err:heap:HEAP_ValidateFreeArena Heap 403a0000: prev arena 403a401c invalid for 403a0344
Heap: 403a0000
This looks like heap corruption. In
URLParser.cc:127: strcat ((char *) path, schema);
you scribble to path, but you have no storage allocated for path.
So recheck you code.
Bye
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
More information about the wine-users
mailing list