OSX: require "socket" in Lua terminal can crash Renoise

Hello,

Whenever I use the scripting editor terminal & trying to execute the file Essai.lua provides with Renoise in the User Scripts folder, Renoise crash completely.

I use Osx maverick 10.9.1 on an Imac 2,93 Ghz Intel Core Duo with 8Go ram

Hope this helpfull

Sincerely yours

Lyann

would you mind share the script ?

Yes, here it is whith the report from the crash, so 2 files :

4463 Essai.lua
4464 crash.txt

I hope it will be helpfull.

Sincerely yours.

Lyann

Thanks, it’s the ‘require “sockets”’ statement which causes a crash. Seems you have Lua installed on this OSX box and loading the socket module crashes badly for whatever reason. Will check why exactly it crashes, but in general we can not do much here, can’t guarantee that loading external Lua C modules never crashes.

Thanks for your quick answer. If I see another bug I will tell you. It’s a pleasure to help. Nice work, congratulation.

Sincerely yours

Lyann

I tried the same thing with Renoise 2.8 and the problem does not arise, then the Essai.lua script works fine. So, there has been something new in the upgrade to version 3 at this level. Hope it will help you.

Sincerely yours.

Lyann

(Bumping) reminder for me to look at this again.