Well, there's your problem, obj=0x0: #0 ucl_object_push_lua (L=L@entry=0x6ff5fb711808, obj=0x0, allow_array=allow_array@entry=true) There has been a new release (1.7.9) whose release notes mention Lua fixes, maybe that's worth a try?