Jump to content
  • Crash upon login...


    Xenithar
    • Status: Completed
      Main Category: Core / Mangos Daemon
      Sub-Category: Show Stopper
      Version: 0.20(currentmasterbranch) Milestone: 20-newbeginnings Priority: Normal
      Implemented Version: 0.20(currentmasterbranch)

    Server crashes on mineral veins

    I logged into the game with my lock, checked mail, logged out. Logged in with my hunter. Blue bar went across my client, then nothing. Checked the screen session on the server and got this.
    [code]
    CHARACTER: Sent Initial Spells
    Initializing Action Buttons for '2'
    Action Buttons for '2' Initialized
    PLAYER: UpdateHonor

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0xb20f3b70 (LWP 2939)]
    0x08651a92 in GameObject::RollIfMineralVein (this=0xc109840)
    at /home/.../zero/src/server/src/game/GameObject.cpp:1795
    1795 SetDisplayId(goinfonew->displayId);
    (gdb) list
    1790 uint32 guid = GetObjectGuid();
    1791
    1792 GameObjectInfo const* goinfonew = ObjectMgr::GetGameObjectInfo(entrynew);
    1793 m_goInfo = goinfonew;
    1794
    1795 SetDisplayId(goinfonew->displayId);
    1796
    1797 Object::_ReCreate(entrynew);
    1798 }
    1799 }
    (gdb) list
    1800
    1801 uint32 GameObject::RollMineralVein(uint32 entry) //Maybe incedicite bloodstone and indurium have alternate spawns?
    1802 {
    1803 uint32 entrynew;
    1804 switch (entry)
    1805 {
    1806 case 1732: // Tin can spawn Silver
    1807 if (urand (0, 100) 1808 entrynew = 1733;
    1809 break;
    [/code]
    Looks like something with mineral deposits is crashing the server.


    User Feedback

    Recommended Comments

    Alright, all of my characters load except for my hunter, who is in Thousand Needles. He is parked at the Freewind Post inn. Every time I load him, this happens.
    [code]
    CHARACTER: Sent Initial Spells
    Initializing Action Buttons for '2'
    Action Buttons for '2' Initialized
    PLAYER: UpdateHonor

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0xb20f3b70 (LWP 2964)]
    0x08651a92 in GameObject::RollIfMineralVein (this=0xcea67f0)
    at /home/.../zero/src/server/src/game/GameObject.cpp:1795
    1795 SetDisplayId(goinfonew->displayId);
    (gdb) list
    1790 uint32 guid = GetObjectGuid();
    1791
    1792 GameObjectInfo const* goinfonew = ObjectMgr::GetGameObjectInfo(entrynew);
    1793 m_goInfo = goinfonew;
    1794
    1795 SetDisplayId(goinfonew->displayId);
    1796
    1797 Object::_ReCreate(entrynew);
    1798 }
    1799 }
    [/code]
    Now, I did load my warrior in Camp T and he walked around with "find minerals" active and I saw plenty of ore, so it may just be something in Needles. I am going to walk my warrior down there and see what happens.

    Link to comment
    Share on other sites

    I confirmed this is a bug with the mineral system. I started south along the road from Camp T and it crashed.
    [code]
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0xb20f3b70 (LWP 3001)]
    0x08651a92 in GameObject::RollIfMineralVein (this=0xc1270c8)
    at /home/.../zero/src/server/src/game/GameObject.cpp:1795
    1795 SetDisplayId(goinfonew->displayId);
    (gdb) list
    1790 uint32 guid = GetObjectGuid();
    1791
    1792 GameObjectInfo const* goinfonew = ObjectMgr::GetGameObjectInfo(entrynew);
    1793 m_goInfo = goinfonew;
    1794
    1795 SetDisplayId(goinfonew->displayId);
    1796
    1797 Object::_ReCreate(entrynew);
    1798 }
    1799 }
    [/code]
    So it isn't just Needles. This makes it impossible to keep a server up, so I set the priority to urgent.

    Link to comment
    Share on other sites

    Seems like it. How would I remove just that commit with git? I am a novice with git. Cloning, pulling, pushing, I can do. testing by removing a single commit, not so much.

    *UPDATE*

    I figure it out, I think. I ran the following and am now rebuilding.
    [code]
    git rebase -p --onto 989d66c62dcad884d361827b8cef1c12d421ad76^ 989d66c62dcad884d361827b8cef1c12d421ad76
    [/code]
    If this fixes it, then there is something wrong with that commit.

    Link to comment
    Share on other sites

    I cannot because it is random. My hunter is in Freewind Post and with that commit in my code, I cannot even login. Likewise, if I play my warrior and start walking south from Camp T, the server will crash somewhere between Camp T and The Great Lift. However, the exact location appears to vary. I can do some specific testing if you give me some direction as to what you need.

    Link to comment
    Share on other sites

    No, in fact I was in GM mode when I tried to run my Orc warrior from Camp T south. It crashed just south of Camp T. Yes, I use Linux for all of my server needs. After all a Windows Server License can be over $3,500!

    Link to comment
    Share on other sites



    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

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. Privacy Policy Terms of Use