|
-
October 25th, 2009, 06:58 AM
#1
Sudden Malloc failure
Hi,
A malloc done in a DLL fails at some point in time.
With failing I mean, it hangs. It does not return a pointer, nor does it return NULL. It just hangs.
Situation:
- Application programmed and compiled using VS 6.0. Allows plugin dll's.
- DLL exporting 1 method for the plugin. Compiled in VS 2005.
The DLL malloc's a protocol structure. Within protocol it mallocs a data array.
The application free's the data array and the protocol.
This works fine for the most time 99%. But then almost randomly it starts haning.
The malloc does not return at all, not even NULL.
I am clueless, you?
Cheers,
Martijn
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|