[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: syslog crashes with heap corruption in malloc.
From: |
Wolfram Gloger |
Subject: |
Re: syslog crashes with heap corruption in malloc. |
Date: |
Tue, 30 Jul 2002 10:25:58 +0200 (MDT) |
> The syslog function in my program is crashing. From the stack trace I
> found that, the malloc function is causing heap correption in between
> the syslog calls. Iam using redhat6.1 with glibc2.1.x.i386.rpm.
This is quite unlikely. It is much more likely that the heap
is already corrupt before the call to syslog.
> I also checked with MALLOC_CHECK_ environment variable It didnt helped
> me. Iam getting really bugged of with this bug.
>
> It will be a very big relief, if somebody could help me out on this.
Please try valgrind on your program. Alternatively, post complete
code that exhibits the heap corruption.
Regards,
Wolfram.