crash after some time of usage with restart

Issue #9 resolved
PICCORO McKAY Lenz created an issue

loaded first the auth redux only.. start and later stop..

then loaded the formspec mod and start and then crash:

Oct 27 20:51:56 venenux minetestserver: 2021-10-27 20:51:56: ERROR[Main]: In thread 7f41392b9880:
Oct 27 20:51:56 venenux minetestserver: 2021-10-27 20:51:56: ERROR[Main]: /builddir/build/BUILD/minetest-0.4.17.1/src/script/cpp_api/s_base.cpp:89: static int ScriptApiBase::luaPanic(lua_State*): A fatal error occured: LUA PANIC: unprotected error in call to Lua API (bad argument #8 to '?' (string expected, got table))
Oct 27 20:51:56 venenux minetestserver: 2021-10-27 20:51:56: ERROR[Main]: Debug stacks:
Oct 27 20:51:56 venenux minetestserver: 2021-10-27 20:51:56: ERROR[Main]: DEBUG STACK FOR THREAD 7f41392b9880:
Oct 27 20:51:56 venenux minetestserver: 2021-10-27 20:51:56: ERROR[Main]: #0  int main(int, char**)
Oct 27 20:51:56 venenux minetestserver: 2021-10-27 20:51:56: ERROR[Main]: #1  Dedicated server branch

Comments (4)

  1. PICCORO McKAY Lenz reporter

    ok i got the problem.. is a data handle in db.lua
    it seems there0s some record that have problems.. but db.llua .. it seems field 9 and 10 have invalid or corrupted data or i dont know

    when reading the ip adress and user permissions

    [action]    Reading authentication data from disk...
    [action]    Replaying database transaction log....
    [action]    Writing authentication data to disk...
    [action]    Writing authentication data to disk...2
    [action]    Writing authentication data to disk...3
    [action]    Writing Gonzales814 : table
    lua: ../db.lua:248: bad argument #1 to 'concat' (table expected, got string)
    stack traceback:
        [C]: in function 'concat'
        ../db.lua:248: in function 'db_commit'
        ../db.lua:265: in function 'rollback'
        /var/lib/minetest/.minetest/games/venenux/mods/auth_rx/tools/rollback.lua:59: in main chunk
        [C]: ?
    

  2. PICCORO McKAY Lenz reporter

    SOLVED the problem was ethereal i dont know why just in the process it crash with rare generation of the map..

    mod works prefect in 0.4.17 at 2021

  3. Log in to comment