-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash #1660
Comments
I'm using clean map every 1 hour, maybe is this? |
No, that shouldn't be it, but this could mean that #1507 should have been merged. You've made changes to your source code, so it could also be because of your own changes. Please post any onAddItem/onRemoveItem movement scripts that you have. If you still have the core dump, you can print the item ID. Please also print the value of cylinder in frame 0. |
local item_exceptions = {5792, 5793, 5794, 5795, 5796, 5797} function onAddItem(item, tile, pos) -------------------- Other function onAddItem(moveitem, tileitem, position)
end Only this 2 scripts, I was removed the function cleanMap() and still dont crashed anymore |
Fixed in 6619b4c. |
(gdb) thread 1
[Switching to thread 1 (Thread 0x788eca8ff700 (LWP 12614))]
#0 0x00000000008eaedc in Item::getTile (this=0x788eac1f02f0)
341 if (cylinder->getParent()) {
(gdb) bt
#0 0x00000000008eaedc in Item::getTile (this=0x788eac1f02f0)
#1 0x0000000000a60e8b in Thing::getPosition (this=0x788eac1f02f0)
#2 0x000000000094e562 in LuaScriptInterface::luaItemGetPosition (L=0x29d9210)
#3 0x0000788ecc6bf61d in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#4 0x0000788ecc6ca9b4 in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#5 0x0000788ecc6bf989 in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#6 0x0000788ecc6befac in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#7 0x0000788ecc6bfbc1 in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#8 0x0000788ecc6bbc9d in lua_pcallk ()
from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#9 0x00000000008fbc78 in LuaScriptInterface::protectedCall (L=0x29d9210,
#10 0x00000000008fca71 in LuaScriptInterface::callFunction (
#11 0x00000000009a0e18 in MoveEvent::executeAddRemItem (this=0x788ec4e808a0,
#12 0x00000000009a0cc0 in MoveEvent::fireAddRemItem (this=0x788ec4e808a0,
#13 0x000000000099e9c5 in MoveEvents::onItemMove (this=0x788ec4278880,
#14 0x0000000000a66ffe in Tile::postRemoveNotification (this=0x788e47da6c80,
#15 0x0000000000872a92 in Game::internalRemoveItem (this=0xde9e80 <g_game>,
#16 0x000000000097b1db in Map::clean (this=0xde9ec8 <g_game+72>)
#17 0x0000000000946a86 in LuaScriptInterface::luaCleanMap (L=0x29d9210)
The text was updated successfully, but these errors were encountered: