• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Crash:

Haizen

New Member
Joined
Sep 16, 2007
Messages
26
Reaction score
2
Tag 0.2

crash sometimes

Code:
*****************************************************
Error report - Sun Jun 08 17:21:49 2008

Compiler info - gcc 3.4.2 (mingw-special)
Compilation Date - Jun  8 2008 16:59:03

Memory load: 51
Total phys: 1048052 K available phys: 503620 K
Start time: 8-6-2008  20:21:46
Kernel time: 0:0:0.140
User time: 0:0:2.218
Threads: 4

Exception: 0xc0000005 at eip = 0x44e413(Game::placeCreature(Creature*, Position const&, bool) - 0x44e358)
eax = 0x8
ebx = 0x37c43f0 -> 0x1b2
ecx = 0
edx = 0x166fd10 -> 0x172bc80
esi = 0x1c2cb3c -> 0x1
edi = 0x65440000
ebp = 0x166fd30 -> 0x166fd70
esp = 0x166fcb8 -> 0x166fd1c
efl = 0x10202

---Stack Trace---
From: 0x166fcb8 to: 0x1670000
0x166fcb8 | 0x166fd1c -> 0
0x166fcbc | 0x166fd10 -> 0x172bc80
0x166fcc0 | 0x1ecdc80 -> 0x50d
0x166fcc4 | 0x1
0x166fcc8 | 0x166fcf0 -> 0x166fe84
0x166fccc | 0x1de6880 -> 0x1dccb84
0x166fcd0 | 0x27fff28 -> 0
0x166fcd4 | 0x7ffda4 -> 0xb75
0x166fcd8 | 0x27fff28 -> 0
0x166fcdc | 0x27ffa50 -> 0x10
0x166fce0 | 0x166fd10 -> 0x172bc80
0x166fce4 | 0x63d75b -> 0x8bec4589
0x166fce8 | 0x27ba008 -> 0x685914
0x166fcec | 0x27ba008 -> 0x685914
0x166fcf0 | 0x166fe84 -> 0x22fdbc
0x166fcf4 | 0x1
0x166fcf8 | 0x166fd18 -> 0
0x166fcfc | 0x27fff28 -> 0
0x166fd00 | 0
0x166fd04 | 0x27ffa40 -> 0x1
0x166fd08 | 0x544b50 -> 0x8de58955
0x166fd0c | 0x65edec -> 0x201ffff
0x166fd10 | 0x172bc80 -> 0
0x166fd14 | 0
0x166fd18 | 0
0x166fd1c | 0
0x166fd20 | 0x172bc80 -> 0
0x166fd24 | 0x17c43f0 -> 0
0x166fd28 | 0x37c43f0 -> 0x1b2
0x166fd2c | 0x1c2cb3c -> 0x1
0x166fd30 | 0x166fd70 -> 0x166fda0 \\\\\\ stack frame //////
0x166fd34 | 0x513cfd -> 0x2475c084 <-- ret
0x166fd34  Spawn::spawnMonster(unsigned int, MonsterType*, Position const&, Direction)(0x513c5a)
0x166fd38 | 0x688f40 -> 0x1ef79f0
0x166fd3c | 0x27ba008 -> 0x685914
0x166fd40 | 0x1ecdc80 -> 0x50d
0x166fd44 | 0x1
0x166fd48 | 0x166fd5c -> 0x1ecd7cc
0x166fd4c | 0x1ecd7cc -> 0
0x166fd50 | 0x166fd70 -> 0x166fda0
0x166fd54 | 0x1
0x166fd58 | 0x11
0x166fd5c | 0x1ecd7cc -> 0
0x166fd60 | 0x166fd70 -> 0x166fda0
0x166fd64 | 0x27ba008 -> 0x685914
0x166fd68 | 0x1ecd7c8 -> 0x746e7761
0x166fd6c | 0x37c43f0 -> 0x1b2
0x166fd70 | 0x166fda0 -> 0x166fdd0 \\\\\\ stack frame //////
0x166fd74 | 0x513e68 -> 0x89fc458d <-- ret
0x166fd74  Spawn::startup()(0x513dda)
0x166fd78 | 0x1ecd7b0 -> 0x508
0x166fd7c | 0x12
0x166fd80 | 0x1de6880 -> 0x1dccb84
0x166fd84 | 0x1ecdc80 -> 0x50d
0x166fd88 | 0
0x166fd8c | 0x665740 -> 0x1eef0a8
0x166fd90 | 0x1ecdc78 -> 0x1de6880
0x166fd94 | 0x12
0x166fd98 | 0x1ecd7cc -> 0
0x166fd9c | 0x1ecdc60 -> 0
0x166fda0 | 0x166fdd0 -> 0x166fdf0 \\\\\\ stack frame //////
0x166fda4 | 0x513136 -> 0x89f8458d <-- ret
0x166fda4  Spawns::startup()(0x513032)
0x166fda8 | 0x1ecd7b0 -> 0x508
0x166fdac | 0x166fdc0 -> 0x665740
0x166fdb0 | 0x37c43f0 -> 0x1b2
0x166fdb4 | 0x1
0x166fdb8 | 0x85faa000
0x166fdbc | 0x166fec8 -> 0x484c3f5d
0x166fdc0 | 0x665740 -> 0x1eef0a8
0x166fdc4 | 0x665738 -> 0x665738
0x166fdc8 | 0x1ecd118 -> 0x1ecd808
0x166fdcc | 0x1c2cb38 -> 0x688f40
0x166fdd0 | 0x166fdf0 -> 0x166fe10 \\\\\\ stack frame //////
0x166fdd4 | 0x44ca5d -> 0x8908458b <-- ret
0x166fdd4  Game::setGameState(GameState_t)(0x44ca00)
0x166fdd8 | 0x665738 -> 0x665738
0x166fddc | 0xa1d2e0 -> 0xa2c
0x166fde0 | 0x1
0x166fde4 | 0xcc5d045
0x166fde8 | 0x47eb203c
0x166fdec | 0x1c8c9a5 -> 0x2e676e
0x166fdf0 | 0x166fe10 -> 0x166fe30 \\\\\\ stack frame //////
0x166fdf4 | 0x5c18e0 -> 0x9090c3c9 <-- ret
0x166fdf8 | 0x688f40 -> 0x1ef79f0
0x166fdfc | 0x1
0x166fe00 | 0x166fe10 -> 0x166fe30
0x166fe04 | 0x5c132d -> 0x5590c3c9
0x166fe08 | 0x1c2cb38 -> 0x688f40
0x166fe0c | 0x44ca00 -> 0x83e58955
0x166fe0c  Game::setGameState(GameState_t)(0x44ca00)
0x166fe10 | 0x166fe30 -> 0x166fe50 \\\\\\ stack frame //////
0x166fe14 | 0x566588 -> 0x5b10c483 <-- ret
0x166fe18 | 0x1c2cb30 -> 0x44ca00
0x166fe1c | 0x688f40 -> 0x1ef79f0
0x166fe20 | 0x1
0x166fe24 | 0xffffffff
0x166fe28 | 0x11a2170 -> 0x8d5b7ff5
0x166fe2c | 0xa1d2e0 -> 0xa2c
0x166fe30 | 0x166fe50 -> 0x166fe60 \\\\\\ stack frame //////
0x166fe34 | 0x56adfa -> 0x8955c3c9 <-- ret
0x166fe38 | 0x1c2cb38 -> 0x688f40
0x166fe3c | 0x65440000
0x166fe40 | 0x1c2cb30 -> 0x44ca00
0x166fe44 | 0x166fe4f -> 0x66fe6001
0x166fe48 | 0
0x166fe4c | 0x166febc -> 0x1c2b690
0x166fe50 | 0x166fe60 -> 0x166fee0 \\\\\\ stack frame //////
0x166fe54 | 0x594601 -> 0x5590c3c9 <-- ret
0x166fe58 | 0x1c2cb30 -> 0x44ca00
0x166fe5c | 0x1c2cb30 -> 0x44ca00
0x166fe60 | 0x166fee0 -> 0x166fef0 \\\\\\ stack frame //////
0x166fe64 | 0x5c3b99 -> 0x89a4458d <-- ret
0x166fe68 | 0x1c2884c -> 0x1c2cb30
0x166fe6c | 0xffffffff
0x166fe70 | 0x77c0c2e3 -> 0xccccccc3
0x166fe74 | 0x545235 -> 0x9090c3c9
0x166fe78 | 0x1c2b690 -> 0x2e0f300
0x166fe7c | 0x65440000
0x166fe80 | 0x166fe90 -> 0x166feb0
0x166fe84 | 0x22fdbc -> 0
0x166febc | 0x1c2b690 -> 0x2e0f300
0x166fec0 | 0x69d7849f
0x166fec4 | 0x11a
0x166fec8 | 0x484c3f5d
0x166fecc | 0xb40157 -> 0
0x166fed0 | 0x1660000
0x166fed4 | 0x11a2170 -> 0x8d5b7ff5
0x166fed8 | 0xa1d2e0 -> 0xa2c
0x166fedc | 0x65440000
0x166fee0 | 0x166fef0 -> 0x166ff80 \\\\\\ stack frame //////
0x166fee4 | 0x55f859 -> 0x5590c3c9 <-- ret
0x166fee8 | 0x1c28848 -> 0x6656dc
0x166feec | 0x11a2170 -> 0x8d5b7ff5
0x166fef0 | 0x166ff80 -> 0x166ffb4 \\\\\\ stack frame //////
0x166fef4 | 0x5210ae -> 0x89d4458b <-- ret
0x166fef4  Dispatcher::dispatcherThread(void*)(0x520f68)
0x166fef8 | 0x1c28848 -> 0x6656dc
0x166fefc | 0x665418 -> 0x2493d8
0x166ff00 | 0xa10000 -> 0xc8
0x166ff04 | 0xffffffff
0x166ff08 | 0xffffffff
0x166ff0c | 0xffffffff
0x166ff10 | 0xffffffff
0x166ff14 | 0x84e65eac
0x166ff44  Dispatcher::dispatcherThread(void*)(0x520f68)
0x166ff5c | 0x166ffa4 -> 0x166ffdc
0x166ff60 | 0x448436 -> 0x57e58955
0x166ff60  _SEHHandler(_EXCEPTION_RECORD*, void*, _CONTEXT*, void*)(0x448436)
0x166ff64 | 0
0x166ff68 | 0x166ff4c -> 0x65440000
0x166ff6c | 0x804e5358
0x166ff70 | 0x166ffa4 -> 0x166ffdc
0x166ff74 | 0x11a2170 -> 0x8d5b7ff5
0x166ff78 | 0xa1d2e0 -> 0xa2c
0x166ff7c | 0x65440000
0x166ff80 | 0x166ffb4 -> 0x166ffec \\\\\\ stack frame //////
0x166ff84 | 0x77c1a243 -> 0xff4be859 <-- ret
0x166ff88 | 0
0x166ff8c | 0x65440000
0x166ff90 | 0x65646f63
0x166ff94 | 0x11a2170 -> 0x8d5b7ff5
0x166ff98 | 0
0x166ff9c | 0x166ff8c -> 0x65440000
0x166ffa0 | 0x804f8c91
0x166ffa4 | 0x166ffdc -> 0xffffffff
0x166ffa8 | 0x77c15c94 -> 0x83ec8b55
0x166ffac | 0x77bf40c8 -> 0xffffffff
0x166ffb0 | 0
0x166ffb4 | 0x166ffec -> 0 \\\\\\ stack frame //////
0x166ffb8 | 0x7c80b713 -> 0x9cfe850 <-- ret
0x166ffbc | 0x11a2170 -> 0x8d5b7ff5
0x166ffc0 | 0x65440000
0x166ffc4 | 0x65646f63
0x166ffc8 | 0x11a2170 -> 0x8d5b7ff5
0x166ffcc | 0x7ffdc000 -> 0x166f8fc
0x166ffd0 | 0x867c0600
0x166ffd4 | 0x166ffc0 -> 0x65440000
0x166ffd8 | 0x85869670
0x166ffdc | 0xffffffff
0x166ffe0 | 0x7c839ac0 -> 0x83ec8b55
0x166ffe4 | 0x7c80b720 -> 0xffffffff
0x166ffe8 | 0
0x166ffec | 0 \\\\\\ stack frame //////
0x166fff0 | 0 <-- ret
0x166fff4 | 0x77c1a1d7 -> 0xc8680c6a
0x166fff8 | 0x11a2170 -> 0x8d5b7ff5
0x166fffc | 0
*****************************************************
 
Last edited:
This crash is in server save ^^

0x166fe0c Game::setGameState(GameState_t)(0x44ca00)

I already have report this much times. But.....
 
What is shutdownAtServersave set to in config.lua?

After how long uptime did this happen? It seems like it happend on startup.
 
happens when the server start's.. sometimes
 
Last edited:
That it crashes sometimes when your using /closeserver is probably because in GAME_STATE_SHUTDOWN you call shutdown() directly instead of using the Dispatcher (like otserv does).

Don't remember the reason why it should be like that but I seem to recall it was to make sure all tasks currently running are executed correctly before shutting down (so its the last task being run).
 
As for this crash its most likely because the gameState is set before Spawns::getInstance()->startup(); is executed and the wrong function is used in Spawn::spawnMonster() (placeCreature is run instead of internalPlaceCreature), this again different from otserv where gameState is set at last.
 

Similar threads

Back
Top