Status: New
Owner: ----

New issue 2531 by [email protected]: Crash on Android in v8::V8::GetHeapStatistics
http://code.google.com/p/v8/issues/detail?id=2531

Backtrace:
I/DEBUG ( 158): #00 v8/src/api.cc:4410 (v8::V8::GetHeapStatistics(v8::HeapStatistics*)) I/DEBUG ( 158): #01 webkit/glue/webkit_glue.cc:354 (webkit_glue::MemoryUsageKB()) I/DEBUG ( 158): #02 content/browser/browser_main_loop.cc:245 (content::BrowserMainLoop::MemoryObserver::DidProcessTask(base::PendingTask const&)) I/DEBUG ( 158): #03 base/message_loop.cc:477 (MessageLoop::RunTask(base::PendingTask const&))

Basically, the code is:
  v8::HeapStatistics stat;
  v8::V8::GetHeapStatistics(&stat);
and that crashes. We might be calling that really early in the startup, i.e., as soon as we process the first task. It should either not crash, or we need some way for figuring out when it's safe to call that function.

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to