lua-users home
lua-l archive

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


lqt was built with Michal Kottman's help and from his git repository on OS X 10.6 Snow Leopard using qt-mac-cocoa-opensource-4.6.2.dmg (not the default carbon 32-bit installer). However, after building, all of the examples fail with a malloc error. See below.

Has anyone gotten lqt working on Snow Leopard?

lua(8871,0x7fff7018dbe0) malloc: *** error for object 0x100374520: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

Breakpoint 1, 0x00007fff80d229cd in malloc_error_break ()
(gdb) bt
#0  0x00007fff80d229cd in malloc_error_break ()
#1  0x00007fff80c4ca63 in free ()
#2  0x000000010001305a in l_alloc ()
#3  0x000000010556d5a0 in luaM_realloc_ ()
#4  0x00000001055713fa in luaH_free ()
#5  0x000000010556b7b5 in sweeplist ()
#6  0x000000010556baa9 in singlestep ()
#7  0x000000010556be68 in luaC_step ()
#8  0x0000000105565345 in lua_pushcclosure ()
#9  0x0000000105576191 in luaL_openlib ()
#10 0x000000010555d9a0 in lqtL_createclass ()
#11 0x0000000105007e53 in luaopen_QFontInfo ()
#12 0x000000010555eb4a in luaopen_qtgui ()
#13 0x00000001000079d2 in luaD_precall ()
#14 0x0000000100007e0e in luaD_call ()
#15 0x000000010000316f in lua_call ()
#16 0x000000010001c8fa in ll_require ()
#17 0x00000001000079d2 in luaD_precall ()
#18 0x00000001000125c5 in luaV_execute ()
#19 0x0000000100007e6d in luaD_call ()
#20 0x0000000100007517 in luaD_rawrunprotected ()
#21 0x0000000100007590 in luaD_pcall ()
#22 0x0000000100002fb7 in lua_pcall ()
#23 0x00000001000016ca in docall ()
#24 0x0000000100001b72 in dotty ()
#25 0x0000000100001fdb in pmain ()
#26 0x00000001000079d2 in luaD_precall ()
#27 0x0000000100007e0e in luaD_call ()
#28 0x0000000100007517 in luaD_rawrunprotected ()
#29 0x0000000100007590 in luaD_pcall ()
#30 0x0000000100002f5b in lua_cpcall ()
#31 0x0000000100001600 in main ()
(gdb) 

e