Jump to content
  • We need you!

    You must register to discover all the features of our community!

  • 0

2 corecrashes


Avalon2

Question

Posted (edited)

 

Hi,

 

i have a problem with 2 corecrash when i upgrade a item from +0 to +1

 

first game.core debug

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x08189c5c in ITEM_MANAGER::DestroyItem (this=0xffffa138, [email protected]=
    0x2bcca020) at item_manager.cpp:595
595     item_manager.cpp: No such file or directory.
[Current thread is 1 (LWP 100130)]
(gdb) bt full
#0  0x08189c5c in ITEM_MANAGER::DestroyItem (this=0xffffa138,
    item=[email protected]=0x2bcca020) at item_manager.cpp:595
        __FUNCTION__ = "DestroyItem"
        it = <optimized out>
        dwID = 90001408
#1  0x080e404c in CHARACTER::ClearItem ([email protected]=0x445eea00)
    at char_item.cpp:526
        i = 0
        item = 0x2bcca020
#2  0x080c8c80 in CHARACTER::Destroy ([email protected]=0x445eea00)
    at char.cpp:478
        party = <optimized out>
#3  0x080c8d01 in CHARACTER::~CHARACTER (this=0x445eea00,
    __in_chrg=<optimized out>) at char.cpp:138
No locals.
#4  0x080c90fb in CHARACTER::~CHARACTER (this=0x445eea00,
    __in_chrg=<optimized out>) at char.cpp:139
No locals.
#5  0x080f7d88 in CHARACTER_MANAGER::DestroyCharacter (this=0xffffb210,
    ch=<optimized out>, [email protected]=0x445eea00) at char_manager.cpp:164
        it = <optimized out>
        __FUNCTION__ = "DestroyCharacter"
#6  0x080c14e3 in CHARACTER::Disconnect (this=<optimized out>,

syserr: 

 

SYSERR: May 24 00:27:39 :: ApplyPoint: Unknown apply type 194 
SYSERR: May 24 00:27:39 :: ApplyPoint: Unknown apply type 142 
SYSERR: May 24 00:27:40 :: ApplyPoint: Unknown apply type 194 
SYSERR: May 24 00:27:40 :: ApplyPoint: Unknown apply type 142 
SYSERR: May 24 00:27:41 :: ApplyPoint: Unknown apply type 194
SYSERR: May 24 00:27:41 :: ApplyPoint: Unknown apply type 142 
SYSERR: May 24 00:27:46 :: ApplyPoint: Unknown apply type 194 
SYSERR: May 24 00:27:46 :: ApplyPoint: Unknown apply type 142
SYSERR: May 24 00:27:46 :: ApplyPoint: Unknown apply type 194
SYSERR: May 24 00:27:46 :: ApplyPoint: Unknown apply type 142

 

 

second corecrash its also with a item refine from +0 to +1

 

game.core debug

 

Program terminated with signal SIGSEGV, Segmentation fault.
#0  DESC::Packet (this=0x202c7920, c_pvData=0xffff953e, iSize=30)
    at desc.cpp:434
434     desc.cpp: No such file or directory.
[Current thread is 1 (LWP 100136)]
(gdb) bt full
#0  DESC::Packet (this=0x202c7920, c_pvData=0xffff953e, iSize=30)
    at desc.cpp:434
        p = <optimized out>
        buf = <optimized out>
#1  0x081476a3 in FuncPacketAround::operator() (ent=<optimized out>,
    this=<synthetic pointer>) at entity.cpp:73
No locals.
#2  FuncPacketView::operator() (v=..., this=<synthetic pointer>)
    at entity.cpp:84
No locals.
#3  CEntity::PacketView (this=<optimized out>, data=<optimized out>,
    bytes=<optimized out>, except=0x0) at entity.cpp:104
        f = {<FuncPacketAround> = {m_data = 0xffff953e, m_bytes = 30,
            m_except = 0x0}, <No data fields>}
#4  0x08147742 in CEntity::PacketAround (this=0x202c7920,
    this@entry=0x4d36a4c0, data=[email protected]=0xffff953e, bytes=[email protected]=30,
    except=[email protected]=0x0) at entity.cpp:90
No locals.
#5  0x0818613a in CItem::SetOwnership ([email protected]=0x4d36a4c0,
    ch=[email protected]=0x0, iSec=[email protected]=10) at item.cpp:1362
        p = {bHeader = 31 '\037', dwVID = 825637152,
          szName = "\000\300\225\377\377\300\244\066Mr\021\016\b\374\342H\b\343\001\000\000\240\272H\b"}

 

syserr:

 

SYSERR: May 24 00:38:36 :: GetWear: CHARACTER::GetWear: invalid wear cell 79
SYSERR: May 24 00:38:36 :: Unequip: m_pOwner->GetWear() != this

 

 

edit: i have now check the enum apply in item_data.h and lengh.h and compare the files.

i have different applys from client to serverside i have change it and now it is identical

 

but i have a new game.core debug..

 

Program terminated with signal SIGSEGV, Segmentation fault.
#0  CHARACTER::GetName (this=0x4) at char.cpp:585
585     char.cpp: No such file or directory.
[Current thread is 1 (LWP 100251)]
(gdb) btfull
Undefined command: "btfull".  Try "help".
(gdb) bt full
#0  CHARACTER::GetName (this=0x4) at char.cpp:585
No locals.
#1  0x081882ee in ITEM_MANAGER::SaveSingleItem ([email protected]=0xffffa138,
    item=0x4d529220) at item_manager.cpp:472
        t = {id = 10003043, window = 1 '\001', pos = 2, count = 197,
          vnum = 25040, alSockets = {0, 0, -6182912}, aAttr = {{
              bType = 255 '\377', sValue = 0}, {bType = 0 '\000', sValue = 0},
            {bType = 0 '\000', sValue = 0}, {bType = 0 '\000', sValue = 0}, {
              bType = 0 '\000', sValue = 11900}, {bType = 49 '1',
              sValue = 11}, {bType = 0 '\000', sValue = 0}}, owner = 1,
          transmutation = 0}
#2  0x0818937f in ITEM_MANAGER::Update (this=0xffffa138)
    at item_manager.cpp:506
        item = <optimized out>
        it = {<std::tr1::__detail::_Hashtable_iterator_base<CItem*, false>> = {
            _M_cur_node = 0x1000,
            _M_cur_bucket = 0x438c3e1c}, <No data fields>}
        this_it = {<std::tr1::__detail::_Hashtable_iterator_base<CItem*, false>> = {_M_cur_node = 0x4a224dc0,
            _M_cur_bucket = <optimized out>}, <No data fields>}
#3  0x0827058d in heartbeat (ht=0x28d69020, pulse=5334) at main.cpp:337
        t = 212553
#4  0x08270eaa in idle () at main.cpp:964

 

 

 

 

pastebin:

 

char.cpp

https://pastebin.com/qM9QTSB7

 

item_manager.cpp

https://pastebin.com/99WaK5ag

 

char_item.cpp

https://pastebin.com/96t6baqk

 

desc.cpp

https://pastebin.com/zv3kamDJ

 

entity.cpp

https://pastebin.com/3Cp6pk13

 

item.cpp

https://pastebin.com/y1Yc90iA

 

 

thanks

Edited by Avalon2 (see edit history)
Link to post

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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.