Lua string object referenced by C pointer from lua_tolstring() was
removed from stack by lua_settop(L,0).
Lua 5.3 Reference Manual says:
> Because Lua has garbage collection, there is no guarantee that the
> pointer returned by lua_tolstring will be valid after the
> corresponding Lua value is removed from the stack.
That is it.
Introduced in commit 9937081854.