[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
possible Deadlock when MALLOC_CHECK is set to 2 - help needed
From: |
C Mohankumar-A17025 |
Subject: |
possible Deadlock when MALLOC_CHECK is set to 2 - help needed |
Date: |
Thu, 27 Apr 2006 18:54:34 +0800 |
Hi,
I am facing a
deadlock problem when MALLOC_CHECK is set to 2.
My application had
some memory allocation issues and to trace the problem, I have set the
MALLOC_CHECK to 2 so that the progrma crashes when the problem is
encountered. Now, I also have a signal handler installed which needs some memory
allocation. My application raises the interrupt within
mallow_check() or free_check() and the signal handler is getting invoked.
Within the handler, invocation of malloc() results in the process going into a
deadlock.
Can someone
tell me is it safe enough to call these malloc()
recursively?
Thanks,
Mohan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- possible Deadlock when MALLOC_CHECK is set to 2 - help needed,
C Mohankumar-A17025 <=