- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Although under the System-tab in creator one may define some space for the heap malloc() does not become initialized correctly as it is the case for PSoC5. Thus the first call to malloc() returns a NULL pointer.
I will file a technical case immediately.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does the second call to malloc() then succeed?
(When I read something like that, I'm always remined of http://pragmatictips.com/26 ...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since the first call went amiss I didn't try a second call. I would never ever trust a library-routine that doesn't work at first call.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How about a routine that works for all calls except the 137'th ?
Of course that leads us to explain why 137'th failed, then we have to discuss
Heisenburg uncertainty principle, FLASH and RAM read errors, noise, errors due to
Kim Jong-um EMP weapons..........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, that reminds me at the age when I wrote an absolute unbeatable subroutine that was able to calculate within 2µs the square-root of a number, I only forgot which one.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bob,
This was a bug in the compiler and will be fixed in a future version of Creator.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We're expecting a new version of Creator in the Fall.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any information of what is changed to the new creator 3.0?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No official infos yet.
I'd overcome the malloc() issue only by providing my own library routine
Bob