As for Ubuntu-specific patches I don't agree. Just got lua built from latest 5.2.2 sources from lua.org: http://www.lua.org/ftp/lua-5.2.2.tar.gz and got the same behavior as with Ubuntu's binary packages: ============== $ gdb --args ./lua luac.out (gdb) run Starting program: lua luac.out [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault. 0xb7c1025d in __GI___uflow (fp=0x807bd08) at genops.c:394 394 genops.c: No such file or directory. (gdb) bt #0 0xb7c1025d in __GI___uflow (fp=0x807bd08) at genops.c:394 #1 0xb7c06772 in _IO_getc (fp=0x807bd08) at getc.c:41 #2 0x0805aac3 in skipBOM () #3 0x0805c2df in luaL_loadfilex () #4 0x0804bf27 in pmain () #5 0x0804f9f3 in luaD_precall () #6 0x0804fc46 in luaD_call () #7 0x0804c218 in f_call () #8 0x0804f2b4 in luaD_rawrunprotected () #9 0x0804fe9d in luaD_pcall () #10 0x0804dac5 in lua_pcallk () #11 0x0804b091 in main () ============== Once again on 64-bit machine everything works flawlessly. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs