[webkit-dev] Client application links to JavaScriptCore instead of std lib
dipak kumar
mail.dipak at gmail.com
Fri Oct 19 05:21:07 PDT 2012
Dear All,
I have built Webkit (Process model) for Win32. I have developed a client
application to use this webkit.
My client application has a number of new/delete calls. Now when I run the
client application it crashes
at the location where memory is being freed. Call stack shows the crash
point at free of JavaScriptCore.
This free is inside fastmalloc.cpp.
#if
ENABLE(WTF_MALLOC_VALIDATION)
if (!ptr)
return;
fastMallocValidate(ptr);
Internal::ValidationHeader* header =
Internal::fastMallocValidationHeader(ptr);
memset(ptr, 0xCC, header->m_size);
do_free(header);
#else
*do_free(ptr); ----------------->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
CRASH POINT*
#endif
Please let me know how can I stop my client application to get linked to
JavaScriptCore memory functions.
Awaiting reply.
Many Thanks,
Dipak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20121019/8a9a834f/attachment.html>
More information about the webkit-dev
mailing list