The other day I also had the specs crashing. To fix it I had to remove the installed MacRuby (/Library/Frameworks/MacRuby.framework/Versions/ 0.5), followed by a rake clean/rake/rake install.
That's weird, did you do rake and rake install before starting the specs? I think it must be done otherwise the C extension bundles won't be properly loaded. (We should pass the appropriate flags to mspec so that it loads C extension bundles from the local build directory.)
If it's still crashing, could you do the following inside the macruby directory:
$ DYLD_LIBRARY_PATH=. gdb --args ./macruby -I./lib mspec/bin/mspec- ci -B ./spec/macruby.mspec :full
Inside gdb, do "r", and once it crashes, do "thread apply all bt" and copy/paste the output.
Laurent
On Aug 2, 2009, at 12:54 PM, Conrad Taylor wrote:
Hi, I'm getting the following after pulling the latest sources:
BEGIN Transcript:
darnoc-laptop:macruby-experimental conradwt$ sw_vers ProductName: Mac OS X ProductVersion: 10.6 BuildVersion: 10A421a darnoc-laptop:macruby-experimental conradwt$ rake spec:ci (in /Users/conradwt/macruby.dir/projects/macruby-experimental) ./mspec/bin/mspec ci -I./lib -B ./spec/macruby.mspec :full MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/ macruby-experimental/spec/macruby/fixtures/method.m' .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/ macruby-experimental/spec/macruby/fixtures/constant.m' .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/ macruby-experimental/spec/macruby/fixtures/exception.m' ......[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/ macruby-experimental/spec/macruby/fixtures/object.m' ..................................................................... ..................................................................... ..................................................................... ..................................................................... ..................................................................... ..................................................................... ..................................................................... ..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................unknown : [BUG] Segmentation fault MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
rake aborted! Command failed with status (): [./mspec/bin/mspec ci -I./lib -B ./ spec/mac...]
END Transcript:
On Sun, Aug 2, 2009 at 12:26 PM, Laurent Sansonetti <lsansonetti@apple.com
wrote: Welcome back \o/
$ sw_vers ProductName: Mac OS X ProductVersion: 10.6 BuildVersion: 10A421a
$ rake spec:ci (in /Users/lrz/src/macruby-experimental) ./mspec/bin/mspec ci -I./lib -B ./spec/macruby.mspec :full MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] ..................................................................... ..................................................................... ..................................................................... ..................................................................... ..................................................................... ..................................................................... ..................................................................... ..................................................................... .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 94.124748 seconds
1519 files, 6142 examples, 18161 expectations, 0 failures, 0 errors
Laurent
On Aug 2, 2009, at 6:42 AM, Eloy Duran wrote:
Hi,
I'm un-jet lagging a bit, so I thought I'd update the ruby specs again. We are now passing: 18160 examples.
@Matt: Great work on the StringScanner! Could you please make sure the specs run on 1.8 as well? Currently 4 fail:
$ mspec -B ruby.1.8.mspec library/stringscanner
StringScanner#getch is multi-byte character sensitive FAILED StringScanner#getch should keep the encoding ERROR StringScanner#initialize_copy is a private method FAILED StringScanner#initialize is a private method FAILED
@Laurent: There were quite some changes to complex that you might want to look into since you recently worked on those :)
Cheers, Eloy _______________________________________________ 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