lua-users home
lua-l archive

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


> The file is a little large so I compressed it and sent it privately.​

I had a look at the logs. All errors/warnings are similar to these two:

----------------------------------------------------------------------
==57440== Conditional jump or move depends on uninitialised value(s)
==57440==    at 0x7FFF5FC24A87: bcmp (in /usr/lib/dyld)
==57440==    by 0x7FFF5FC11974: ImageLoaderMachO::validateFirstPages(linkedit_data_command const*, int, unsigned char const*, unsigned long, long long, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
[...]
==57440==  Uninitialised value was created by a stack allocation
==57440==    at 0x7FFF5FC109B8: ImageLoaderMachO::instantiateFromFile(char const*, int, unsigned char const*, unsigned long long, unsigned long long, stat const&, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
----------------------------------------------------------------------

----------------------------------------------------------------------
==57440== 2,640 bytes in 55 blocks are still reachable in loss record 443 of 458
==57440==    at 0x1000375B9: calloc (in /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==57440==    by 0x10054713F: class_createInstance (in /usr/lib/libobjc.A.dylib)
==57440==    by 0x10014D089: _os_object_alloc_realized (in /usr/lib/system/libdispatch.dylib)
[...]
==57440==    by 0x7FFF5FC0C11E: dlopen (in /usr/lib/dyld)
==57440==    by 0x1001A479B: dlopen (in /usr/lib/system/libdyld.dylib)
==57440==    by 0x10001D000: ll_loadfunc (in /usr/local/bin/lua)
----------------------------------------------------------------------

The first kind (an error) does not seem to have any relation with Lua.

The second kind (a warning) may be caused by Lua not calling lua_close
on exit (e.g., if you exit your program with 'os.exit()').

-- Roberto