Hi all,
I'm upgrading v8 from 10.8.154 to 12.4.254.
I found that if there's FunctionTemplate in the JavaScript, my program will 
crash during v8::compile().
The crash is raised by my custom malloc/free function with some checking 
mechanism.
The functions are working on the 10.8.154 but failing on 12.4.254.
I've checked the memory related functions in src/base/platform/memory.h 
have been overridden by my custom ones.
I've also scanned through Zone related code diff between the 2 version but 
found nothing suspicious.
Want to know if there's any other memory manipulation modified between the 
2 versions.

```
#7  0x00000000049106ce in free (inp=0x7fffbbb49010)
    at myAlloc.c
#8  0x00007ffff59048b8 in v8::internal::Zone::DeleteAll() ()
   from .../install/lib64/libv8_base_without_compiler.so
#9  0x00007ffff5904989 in v8::internal::Zone::Reset() ()
   from .../install/lib64/libv8_base_without_compiler.so
#10 0x00007ffff578e529 in v8::internal::ParseInfo::~ParseInfo() ()
   from ...install/lib64/libv8_base_without_compiler.so
#11 0x00007ffff5308202 in v8::internal::(anonymous 
namespace)::CompileScriptOnMainThread(v8::internal::UnoptimizedCompileFlags, 
v8::internal::Handle<v8::internal::String>, v8::internal::ScriptDetails 
const&, v8::internal::NativesFlag, v8::Extension*, v8::internal::Isolate*, 
v8::internal::MaybeHandle<v8::internal::Script>, 
v8::internal::IsCompiledScope*, bool (*)(int, void*), void*) ()
```

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/v8-users/cb190c3f-59e3-4f19-b27d-204bd6412b13n%40googlegroups.com.

Reply via email to