I build SpiderMonkey from trunk (as of 2009-11-05) with $ ./configure --enable-debug=-g I then built dehydra and this resulted in the following assertion failure in SM: $ make check make -C test check [ ... ] Test command: g++ -fplugin=../gcc_dehydra.so -o /dev/null -c -fplugin-arg-gcc_dehydra-=test_iterate_vars.js iterate_vars.cc Failure msg: Expected 'OK' output; Errors: Assertion failure: (*cx->fp->regs->pc == JSOP_TRACE || *cx->fp->regs->pc == JSOP_NOP || *cx->fp->regs->pc == JSOP_RETURN) && !cx->fp->imacpc, at jstracer.cpp:4645 *** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins. Event Plugins PLUGIN_FINISH_TYPE gcc_dehydra PLUGIN_FINISH_UNIT gcc_dehydra PLUGIN_CXX_CP_PRE_GENERICIZE gcc_dehydra PLUGIN_FINISH gcc_dehydra PLUGIN_START_UNIT gcc_dehydra iterate_vars.cc: In function 'void foo()': iterate_vars.cc:19: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate.
The stack trace shows stuff with recursion, so it's probably another regression from that. This may be a dup of bug 526299. Diego, changeset 89e665eb9944 of mozilla-central seems to work fine. That's just before we started tracing recursion.
Assignee: dmandelin → dvander
Created attachment 413024 [details] [diff] [review] fix I am not sure yet whether this is the problem described in bug 526299. The problem here is that we're not checking the top of the script to see if we're supposed to be tracing recursion. This only happens when we come into recursion from recording a loop.
Attachment #413024 - Flags: review?(gal)
Thanks. Does this mean that I can get this fix now by pulling from the hg repository?
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.