Giter Club home page Giter Club logo

Comments (6)

creationix avatar creationix commented on May 23, 2024

Thanks. Working in this now...

from luv.

creationix avatar creationix commented on May 23, 2024

So I can't reproduce the seg-fault, but I'm seeing other strange behavior. What OS, arch, and lua version are you using. I'm using:

tim@touchsmart:~/Code/luv$ uname -a
Linux touchsmart 3.8.0-29-generic #42-Ubuntu SMP Tue Aug 13 19:40:39 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
tim@touchsmart:~/Code/luv$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.04
DISTRIB_CODENAME=raring
DISTRIB_DESCRIPTION="Ubuntu 13.04"
tim@touchsmart:~/Code/luv$ luajit -v
LuaJIT 2.0.2 -- Copyright (C) 2005-2013 Mike Pall. http://luajit.org/

from luv.

clementfarabet avatar clementfarabet commented on May 23, 2024

When running the script I'm getting this printed out:

$ luajit test.lua
luajit: default
$ echo $?
1

then it terminates (with status code == 1).

$ uname -a
Linux stanton 3.5.0-26-generic #42~precise1-Ubuntu SMP Mon Mar 11 22:17:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"

$ luajit -v
LuaJIT 2.0.2 -- Copyright (C) 2005-2013 Mike Pall. http://luajit.org/

from luv.

creationix avatar creationix commented on May 23, 2024

Yep, that's the same strange thing I'm seeing. Weird.

from luv.

clementfarabet avatar clementfarabet commented on May 23, 2024

Well I think it's LuaJIT being obscure. I know it's reaching this line, before crashing (I put a printf before).

from luv.

creationix avatar creationix commented on May 23, 2024

Fixed in d47517f

Not sure why it wasn't showing the right error message though.

from luv.

Related Issues (20)

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.