lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

I compiled the lua-ex library from https://github.com/luaforge/lua-ex on Linux with Lua 5.1.5. Compile goes through fine (to ex.so).

But when I use it:

  require "ex"
  command='date'
  local proc, err = assert(os.spawn{command=command})

It gives a glibc error:

*** glibc detected *** ./lua: free(): invalid next size (fast): 0x083001b0 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x75ee2)[0x185ee2]
./lua[0x804c3bc]
./lua[0x805209b]
./lua[0x80516c2]
./lua[0x8051ded]
./lua[0x8055311]
./lua(main+0x9e)[0x804afce]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x1294d3]
./lua[0x804b021]

Has the ex library been tested recently?

Best regards,
Wolfgang