Comment #2 on issue 404 by [email protected]: Crash in mksnapshot on Mac
http://code.google.com/p/v8/issues/detail?id=404

This is caused by dead code stripping and certain compiler/optimization
combinations.

I'm not currently positive of what's being stripped that shouldn't be, but  
when I use
dead-code stripping and DEBUG checking and trigger the bug, mksnapshot hits  
this
assertion:

#
# Fatal error in  
/chrome/trunk/src/v8/tools/gyp/../../src/ia32/virtual-frame-
ia32.cc, line 390
# CHECK(target.reg().is(target_reg)) failed
#

Without the added debugging, I found the crash occurring in the  
neighborhood of
Assembler::bind_to (src/ia32/asembler-ia32.cc:1337 with a preposterous  
value for
pos.

I have a simple workaround, which is to disable dead code stripping for  
mksnapshot.

--
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to