I believe the problem should now be fixed in r4303, can you try again? #763 seems unrelated to the change I made but it's in the same area (interpreter), I will have a look too.
Laurent On Jun 28, 2010, at 5:16 PM, Watson wrote: > Hi, Laurent. > > I watched a similar error message that I reported an issue: > https://www.macruby.org/trac/ticket/763 > > > Thank you for your reply. > > On 2010/06/29, at 9:00, Laurent Sansonetti wrote: > >> I found a better reduction: >> >> $ VM_VERIFY_IR=1 arch -i386 ./miniruby -e "def foo(*a);42;end; p foo" >> 42 >> Incorrect number of arguments passed to called function! >> %2 = invoke i32 @ruby_scope1(i32 %0, i8* %1) >> to label %normal unwind label %rescue ; <i32> [#uses=1] >> Broken module found, verification continues. >> Incorrect number of arguments passed to called function! >> %2 = invoke i32 @ruby_scope1(i32 %0, i8* %1) >> to label %normal unwind label %rescue ; <i32> [#uses=1] >> Broken module found, verification continues. >> Broken module found, verification continues. >> Error during module verification >> Abort trap: 6 >> >> I will investigate. Thanks for the report. >> >> Laurent >> >> On Jun 27, 2010, at 4:29 PM, Watson wrote: >> >>> Hi. >>> >>>> I will try on a better environment tomorrow. Could you give us the crash >>>> report of miniruby? (It should be somewhere in >>>> ~/Library/Logs/CrashReporter). >>> >>> I send a crash report. >>> >>> Thank you. >>> >>> 2010/6/28 Laurent Sansonetti <lsansone...@apple.com>: >>>> Hi, >>>> >>>> I tried running extconf.rb with 32-bit miniruby but wasn't able to >>>> reproduce the crash in my environment. >>>> >>>> $ pwd >>>> /Users/lrz/src/macruby-trunk/ext/digest/bubblebabble >>>> $ arch -i386 ../../../miniruby -I../../.. -I../../../lib -r rbconfig -e >>>> "RbConfig::CONFIG['libdir'] = '../../..'; require './extconf.rb'" >>>> creating Makefile >>>> $ >>>> >>>> I will try on a better environment tomorrow. Could you give us the crash >>>> report of miniruby? (It should be somewhere in >>>> ~/Library/Logs/CrashReporter). >>>> >>>> Laurent >>>> >>>> On Jun 27, 2010, at 11:01 AM, Watson wrote: >>>> >>>>> A build error occurs when I specified i386 arch only. >>>>> x86_64 arch only or Universal Binary build succeeded. >>>>> >>>>> $ RC_ARCHS=i386 rake jobs=2 >>>>> --- snip --- >>>>> ./miniruby -I. -I./lib bin/rubyc --internal --arch i386 -C >>>>> "ext/ripper/lib/ripper/sexp.rb" -o "ext/ripper/lib/ripper/sexp.rbo" >>>>> ./miniruby -I. -I./lib bin/rubyc --internal --arch i386 -C >>>>> "ext/ripper/lib/ripper.rb" -o "ext/ripper/lib/ripper.rbo" >>>>> cd ext/bigdecimal && ../../miniruby -I../.. -I../../lib -r rbconfig -e >>>>> "RbConfig::CONFIG['libdir'] = '../..'; require './extconf.rb'"cd >>>>> ext/digest/bubblebabble && ../../../miniruby -I../../.. -I../../../lib >>>>> -r rbconfig -e "RbConfig::CONFIG['libdir'] = '../../..'; require >>>>> './extconf.rb'" >>>>> >>>>> Assertion failed: (((NumArgs == FTy->getNumParams()) || (FTy->isVarArg() >>>>> && NumArgs > FTy->getNumParams())) && "Invoking a function with bad >>>>> signature"), function init, file Instructions.cpp, line 559. >>>>> Assertion failed: (((NumArgs == FTy->getNumParams()) || (FTy->isVarArg() >>>>> && NumArgs > FTy->getNumParams())) && "Invoking a function with bad >>>>> signature"), function init, file Instructions.cpp, line 559. >>>>> sh: line 1: 23500 Abort trap ../../miniruby -I../.. -I../../lib -r >>>>> rbconfig -e "RbConfig::CONFIG['libdir'] = '../..'; require './extconf.rb'" >>>>> sh: line 1: 23501 Abort trap ../../../miniruby -I../../.. -I../../../lib >>>>> -r rbconfig -e "RbConfig::CONFIG['libdir'] = '../../..'; require >>>>> './extconf.rb'" >>>>> rake aborted! >>>>> Command failed with status (134): [cd ext/bigdecimal && ../../miniruby >>>>> -I../....] >>>>> >>>>> (See full trace by running task with --trace) >>>>> >>>>> _______________________________________________ >>>>> MacRuby-devel mailing list >>>>> MacRuby-devel@lists.macosforge.org >>>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>>> >>>> _______________________________________________ >>>> MacRuby-devel mailing list >>>> MacRuby-devel@lists.macosforge.org >>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>>> >>> <crash_log.tar.gz>_______________________________________________ >>> MacRuby-devel mailing list >>> MacRuby-devel@lists.macosforge.org >>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> >> _______________________________________________ >> MacRuby-devel mailing list >> MacRuby-devel@lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > _______________________________________________ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel