Jump to content

little bug in guild war


Recommended Posts

hello all 

explain problem :

when start war

like use this command : /war guild_name 1 or /war guild_name 2

i have crash core in core 1 , core 2 and core 3

this crash Happen after notice in chat 

------------

before warp to map 110 or 111

in this moment the core 1 , core 2 and core 3 is crash and see this 4 line on putty 

Spoiler

Assertion failed: (ms_singleton), function instance, file ./../../common/singleton.h, line 24.
Assertion failed: (ms_singleton), function instance, file ./../../common/singleton.h, line 24.
Assertion failed: (ms_singleton), function instance, file ./../../common/singleton.h, line 24.
Assertion failed: (ms_singleton), function instance, file ./../../common/singleton.h, line 24.

and when debug core 

i have this

Spoiler

There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `./ch1-core1'.
Program terminated with signal 6, Aborted.
#0  0x084f6b5b in thr_kill ()
[New Thread 28c05a80 (LWP 101011/<unknown>)]
[New Thread 28c05800 (LWP 101007/<unknown>)]
[New Thread 28c05580 (LWP 101006/<unknown>)]
[New Thread 28c05080 (LWP 100115/<unknown>)]
(gdb) where
#0  0x084f6b5b in thr_kill ()
#1  0x084f6b4d in raise ()
#2  0x084f6aa8 in abort ()
#3  0x08520fe3 in __assert ()
#4  0x0810f1fb in CInputDB::GuildWar (this=<value optimized out>, c_pData=<value optimized out>) at singleton.h:24
#5  0x08110c03 in CInputDB::Analyze (this=<value optimized out>, d=<value optimized out>, bHeader=<value optimized out>, c_pData=<value optimized out>) at input_db.cpp:2057
#6  0x08111ff9 in CInputDB::Process (this=0x28c9bc34, d=0xbfbfc0a0, orig=<value optimized out>, bytes=<value optimized out>) at input_db.cpp:2094
#7  0x080d24c1 in DESC::ProcessInput (this=0x28c9b980) at desc.cpp:270
#8  0x0813a1c3 in io_loop (fdw=0x28dba180) at main.cpp:670
#9  0x08139cf7 in idle () at main.cpp:594
#10 0x08138837 in main (argc=<value optimized out>, argv=<value optimized out>) at main.cpp:325
(gdb) bt full
#0  0x084f6b5b in thr_kill ()
No symbol table info available.
#1  0x084f6b4d in raise ()
No symbol table info available.
#2  0x084f6aa8 in abort ()
No symbol table info available.
#3  0x08520fe3 in __assert ()
No symbol table info available.
#4  0x0810f1fb in CInputDB::GuildWar (this=<value optimized out>, c_pData=<value optimized out>) at singleton.h:24
No locals.
#5  0x08110c03 in CInputDB::Analyze (this=<value optimized out>, d=<value optimized out>, bHeader=<value optimized out>, c_pData=<value optimized out>) at input_db.cpp:2057
No locals.
#6  0x08111ff9 in CInputDB::Process (this=0x28c9bc34, d=0xbfbfc0a0, orig=<value optimized out>, bytes=<value optimized out>) at input_db.cpp:2094
        pRealData = <value optimized out>
        r_iBytesProceed = (int &) Cannot access memory at address 0x0
(gdb)
 

please help in my problem and thanks for all

syslog in core 1 after crash

Spoiler

May 27 09:19:26 :: GuildWar.DeclareWar id(1 -> 3), type(1)
May 27 09:19:26 :: InputDB::GuildWar 1 3 state 1
May 27 09:19:29 :: COMMAND: hhh: war
May 27 09:19:29 :: GuildWar.WaitStartSendToDB id(3 vs 1), type(1), bet(0), map_index(110)
May 27 09:19:29 :: ReserveWarAdd 9 gid1 1 power 0 gid2 3 power 0 handicap 0
May 27 09:19:29 :: InputDB::GuildWar 3 1 state 9
May 27 09:19:29 :: GuildManager::ReserveWar 3 1
May 27 09:19:29 :: Guild::ReserveWar 1
May 27 09:19:29 :: Guild::ReserveWar 3
May 27 09:19:39 :: ReserveWarDelete 9
May 27 09:19:39 :: InputDB::GuildWar 1 3 state 4
May 27 09:19:39 :: GuildWar.WaitStartWar.CheckWarServer id(1 -> 3), type(1), map(110)
May 27 09:19:39 :: PRIVATE_MAP: 1100000 created(original 110)
May 27 09:19:39 :: GuildWar.WaitStartWar.CreateMap id(1 vs 3), type(1), map(110) -> map_inst(1100000)
May 27 09:19:39 :: GuildWar.SetGuildWarMapIndex id(1 -> 3), map(1100000)
May 27 09:19:39 :: GuildWar.SetGuildWarMapIndex id(3 -> 1), map(1100000)
May 27 09:19:39 :: P2P: GuildWarZoneMapIndex g1(1) vs g2(3), mapIndex(1100000)
May 27 09:19:39 :: GuildWar.SetGuildWarMapIndex id(1 -> 3), map(1100000)
May 27 09:19:39 :: GuildWar.SetGuildWarMapIndex id(3 -> 1), map(1100000)
------------------------

crash core 1 -----

syslog in core 2 after crash

Spoiler

May 27 09:19:03 :: P2P: Login [king]
May 27 09:19:05 :: P2P: Login hhh
May 27 09:19:26 :: InputDB::GuildWar 1 3 state 1
May 27 09:19:29 :: ReserveWarAdd 9 gid1 1 power 0 gid2 3 power 0 handicap 0
May 27 09:19:29 :: InputDB::GuildWar 3 1 state 9
May 27 09:19:29 :: GuildManager::ReserveWar 3 1
May 27 09:19:29 :: Guild::ReserveWar 1
May 27 09:19:29 :: Guild::ReserveWar 3
May 27 09:19:39 :: ReserveWarDelete 9
May 27 09:19:39 :: InputDB::GuildWar 1 3 state 4
May 27 09:19:39 :: GuildWar.WaitStartWar.CheckWarServer id(1 -> 3), type(1), map(110)
May 27 09:19:39 :: PRIVATE_MAP: 1100000 created(original 110)
May 27 09:19:39 :: GuildWar.WaitStartWar.CreateMap id(1 vs 3), type(1), map(110) -> map_inst(1100000)
May 27 09:19:39 :: GuildWar.SetGuildWarMapIndex id(1 -> 3), map(1100000)
May 27 09:19:39 :: GuildWar.SetGuildWarMapIndex id(3 -> 1), map(1100000)
May 27 09:19:39 :: P2P: GuildWarZoneMapIndex g1(1) vs g2(3), mapIndex(1100000)
May 27 09:19:39 :: GuildWar.SetGuildWarMapIndex id(1 -> 3), map(1100000)
May 27 09:19:39 :: GuildWar.SetGuildWarMapIndex id(3 -> 1), map(1100000)
 


syslog in db after crash

Spoiler

May 27 09:19:26 :: GuildWar: GUILD_WAR_SEND_DECLARE type(Theater) guild(1 - 3)
May 27 09:19:26 :: GuildWar: AddDeclare(Type:1,from:1,to:3)
May 27 09:19:26 :: [      450] return 0/0/0 async 0/0/0
May 27 09:19:29 :: GuildWar: GUILD_WAR_WAIT_START type(Theater) guild(3 - 1)
May 27 09:19:29 :: GuildWar: RemoveDeclare(from:3,to:1)
May 27 09:19:29 :: GuildWar: 1 lvp 55000 rkp 55000 alv 63 mc 3 power 0
May 27 09:19:29 :: GuildWar: 3 lvp 28000 rkp 50000 alv 34 mc 3 power 0
May 27 09:19:29 :: GuildWar: handicap 0
May 27 09:19:30 :: GuildWar: started GID1 1 GID2 3 0 time -9 min 1
May 27 09:19:31 :: [      500] return 0/0/0 async 0/0/0
May 27 09:19:31 :: GuildWar: started GID1 1 GID2 3 0 time -8 min 1
May 27 09:19:32 :: GuildWar: started GID1 1 GID2 3 0 time -7 min 1
May 27 09:19:33 :: GuildWar: started GID1 1 GID2 3 0 time -6 min 1
May 27 09:19:34 :: GuildWar: started GID1 1 GID2 3 0 time -5 min 1
May 27 09:19:35 :: GuildWar: started GID1 1 GID2 3 0 time -4 min 1
May 27 09:19:36 :: [      550] return 0/0/0 async 0/0/0
May 27 09:19:36 :: GuildWar: started GID1 1 GID2 3 0 time -3 min 1
May 27 09:19:37 :: GuildWar: started GID1 1 GID2 3 0 time -2 min 1
May 27 09:19:38 :: GuildWar: started GID1 1 GID2 3 0 time -1 min 1
May 27 09:19:39 :: GuildWar: started GID1 1 GID2 3 0 time 0 min 0
May 27 09:19:41 :: [      600] return 0/0/0 async 0/0/0
May 27 09:19:41 :: Current Peer host names...
127.0.0.1 13009 channel : 1
127.0.0.1 13002 channel : 1
127.0.0.1 0 channel : 0
127.0.0.1 13001 channel : 1
127.0.0.1 13000 channel : 1

May 27 09:19:44 :: GuildWar: StartWar(1,1,3)
May 27 09:19:44 :: GuildWar: GUILD sending start of wait start war 1 3
May 27 09:19:46 :: [      650] return 0/0/0 async 0/0/0
May 27 09:19:49 :: Connection closed. (host: 127.0.0.1)
May 27 09:19:49 :: ItemIDRange: returned. 70000001 ~ 80000000
May 27 09:19:49 :: ItemIDRange: Build: 70000001 ~ 80000000 start:70000001
SYSERR: May 27 09:19:49 :: Process: FDWATCH: peer null in event: ident 21
May 27 09:19:49 :: SetPlay off 1721411863 kign
May 27 09:19:49 :: SetPlay off 1690695684 king
May 27 09:19:49 :: Connection closed. (host: 127.0.0.1)
May 27 09:19:49 :: ItemIDRange: returned. 10000001 ~ 20000000
May 27 09:19:49 :: ItemIDRange: Build: 10000001 ~ 20000000 start:10000117
May 27 09:19:49 :: Connection closed. (host: 127.0.0.1)
May 27 09:19:49 :: ItemIDRange: returned. 30000001 ~ 40000000
May 27 09:19:49 :: ItemIDRange: Build: 30000001 ~ 40000000 start:30000002
SYSERR: May 27 09:19:50 :: Process: FDWATCH: peer null in event: ident 17
SYSERR: May 27 09:19:50 :: Process: FDWATCH: peer null in event: ident 18
May 27 09:19:50 :: Connection closed. (host: 127.0.0.1)
May 27 09:19:50 :: ItemIDRange: returned. 50000001 ~ 60000000
May 27 09:19:50 :: ItemIDRange: Build: 50000001 ~ 60000000 start:50000001
SYSERR: May 27 09:19:50 :: Process: FDWATCH: peer null in event: ident 20
May 27 09:19:51 :: [      700] return 0/0/0 async 0/0/0
May 27 09:19:56 :: [      750] return 0/0/0 async 0/0/0
May 27 09:20:01 :: [      800] return 0/0/0 async 0/0/0
May 27 09:20:06 :: [      850] return 0/0/0 async 0/0/0
May 27 09:20:11 :: [      900] return 0/0/0 async 0/0/0
May 27 09:20:16 :: [      950] return 0/0/0 async 0/0/0
May 27 09:20:21 :: [     1000] return 0/0/0 async 0/0/0
May 27 09:20:26 :: [     1050] return 0/0/0 async 0/0/0
May 27 09:20:31 :: [     1100] return 0/0/0 async 0/0/0
May 27 09:20:36 :: [     1150] return 0/0/0 async 0/0/0
May 27 09:20:41 :: [     1200] return 0/0/0 async 0/0/0
May 27 09:20:41 :: Current Peer host names...
127.0.0.1 0 channel : 0

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

game file source --> input_db.cpp

#4  0x0810f1fb in CInputDB::GuildWar (this=<value optimized out>, c_pData=<value optimized out>) at singleton.h:24
#5  0x08110c03 in CInputDB::Analyze (this=<value optimized out>, d=<value optimized out>, bHeader=<value optimized out>, c_pData=<value optimized out>) at

input_db.cpp:  2057 row

 

But, your guild_war.quest may that bug. :mellow:

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.