Hi, 
  I'm a committer of Lua Development Tools (an eclipse plug-in), and this bug 
affect us too.
  We integrate the Lua VM and have this kind of exception at launch :

Current thread (0xb6706c00):  JavaThread "main" [_thread_in_native,
id=2110, stack(0xb6837000,0xb6888000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
si_addr=0x00000037

Stack: [0xb6837000,0xb6888000],  sp=0xb6882d40,  free space=303k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.so.6+0x12ef98]  _IO_file_underflow+0x68
C  [liblua5.1.so+0x21c89]  luaopen_string+0xef9
C  [liblua5.1.so+0xa2ea]  lua_resume+0x36a
C  [liblua5.1.so+0xa784]  lua_resume+0x804
C  [liblua5.1.so+0x57b5]  lua_call+0x35
C  [liblua5.1.so+0x210aa]  luaopen_string+0x31a
C  [liblua5.1.so+0xa2ea]  lua_resume+0x36a
C  [liblua5.1.so+0x1545a]  lua_newstate+0x3f9a
C  [liblua5.1.so+0xa7d0]  lua_resume+0x850
C  [liblua5.1.so+0x5771]  lua_pushcclosure+0x1a1
C  [liblua5.1.so+0x9df3]  lua_yield+0x723
C  [liblua5.1.so+0x9e55]  lua_yield+0x785
C  [liblua5.1.so+0x5598]  lua_pcall+0x68
C  [libjnlua5.1.so+0xb085]  Java_com_naef_jnlua_LuaState_lua_1pcall+0x205
j  com.naef.jnlua.LuaState.lua_pcall(II)V+0
j  com.naef.jnlua.LuaState.call(II)V+7

We can reproduce it only, on 32bit version and with a JVM 1.7. It seems this 
does not happened on older version of ubuntu.
I precise we do not use the lua VM packaged in ubuntu repository.

(LDT issue :  https://bugs.eclipse.org/bugs/show_bug.cgi?id=413740)

** Bug watch added: Eclipse bugs #413740
   https://bugs.eclipse.org/bugs/show_bug.cgi?id=413740

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1136432

Title:
  luaL_loadfile segfault in _IO_file_underflow

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lua5.1/+bug/1136432/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to