Status: New Owner: ---- New issue 358 by tobias.kaes: Irregular crash in profiler test http://code.google.com/p/v8/issues/detail?id=358
I've got irregular crashes on Windows (bleeding edge debug build) in http://code.google.com/p/v8/source/browse/branches/bleeding_edge/src/log.cc#1096 Crash cause is an access violation when accessing the embedded stack vector. Debugging seems to pin down the scenario to the following: The sampler thread (SamplerEntry in platform-win32.cc) exits while the profiler thread (Profiler::Run in log.cc) is in Profiler::Remove and already passed the semaphore waiting condition. I'm not sure who owns the shared data but it seems when the sampler thread exits some of the data is released. While the actual crash occurs very irregular I'm able to reproduce it consistently in the debugger by inserting an OS::Sleep after line 101 in log.cc (ie. after returning from semaphore-wait). -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
