Giter VIP home page Giter VIP logo

mruby's People

Contributors

bovi avatar carsonmcdonald avatar cremno avatar crimsonwoods avatar cubicdaiya avatar flaneur2020 avatar icedragon200 avatar jonforums avatar kou avatar ksss avatar kyab avatar masamitsu-murase avatar masuidrive avatar matsumotory avatar mattn avatar matz avatar mirichi avatar miura1729 avatar monaka avatar nobu avatar pbosetti avatar picohz avatar sagmor avatar skandhas avatar suzukaze avatar takahashim avatar take-cheeze avatar tj-hidetaka-takano avatar tsahara avatar yui-knk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

herumi

mruby's Issues

'make test` can not pass

After building on Linux using gcc-4.9, all binaries are generated, but it fails to pass mrbtest.

The error messages:

ArgumentError: ensure - context - yield => cannot set instance variable
NameError: Kernel#method_missing [15.3.1.3.30] => undefined method 'inspect' for class 'NoInspectClass'
Total: 844
   OK: 842
   KO: 0
Crash: 2
 Time: 1.03 seconds
rake aborted!
Command Failed: ["build/host/test/mrbtest"]

SIGSEGV on ubuntu

-O2オプションを付けるとSIGSEVしました。
最適化オプションを消すと動作しました。
build_config.rbは
conf.cflags << (ENV['CFLAGS'] || %w(-m32 -g -O2 -Wall -Werror-implicit-function-declaration -freg-struct-return))
conf.ldflags << (ENV['LDFLAGS'] || %w(-m32 -lm))

SIGSEVしたときのバックトレースはこんな感じでした。

% gdb --args ./bin/mruby benchmark/bm_so_lists.rb
GNU gdb (GDB) 7.5-ubuntu
(gdb) r
Starting program: /home/shigeo/Program/mruby/bin/mruby benchmark/bm_so_lists.rb

Program received signal SIGSEGV, Segmentation fault.
0xf7bf6000 in ?? ()
(gdb) bt
#0 0xf7bf6000 in ?? ()
#1 0x0805a130 in ?? ()
#2 0x00000000 in ?? ()


環境はUbuntu 12.10です。
% uname -a
Linux i3 3.5.0-21-generic mruby#32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
gcc 4.7.2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.