Results 1 to 9 of 9

Thread: Cod2 server crashing

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    The segfault message points to this function:

    PHP Code:
    BOOL __cdecl BG_IsWeaponValid(int a1int a2)
    {
      
    bool v2// bl
      
    bool v3// cl
      
    int v4// eax
      
    BOOL result// eax

      
    v2 a2 >= && a2 <= bg_iNumWeapons;
      
    v3 0;
      if ( (*(
    _DWORD *)(a1 * (a2 >> 5) + 1348) >> (a2 0x1F)) & )
        
    v3 v2;
      
    v4 bg_weaponDefs[a2];
      if ( *(
    _DWORD *)(v4 132) || a2 == *(char *)(a1 1365) || a2 == *(char *)(a1 1366) || a2 == *(_DWORD *)(v4 876) )
        
    result v3;
      else
        
    result 0;
      return 
    result;

    The address 80ebf71 points to:
    PHP Code:
    if ( *(_DWORD *)(v4 132) || a2 == *(char *)(a1 1365) || a2 == *(char *)(a1 1366) || a2 == *(_DWORD *)(v4 876) ) 
    Are you running any mods? On what kind of specifications does your server run?
    Last edited by Mitch; 18th August 2020 at 18:51.

  2. The Following 2 Users Say Thank You to Mitch For This Useful Post:

    kung foo man (19th August 2020),v1rto (19th August 2020)

  3. #2
    Private
    Join Date
    Jan 2016
    Posts
    17
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Its running only zPAM 3.0 the successor of zPAM 2.07
    zPAM300b1.iwd

    Its a Xeon E3 vps with 2gb ram running ubuntu 12.04 x64
    Last edited by v1rto; 18th August 2020 at 21:12.

  4. The Following User Says Thank You to v1rto For This Useful Post:

    kung foo man (19th August 2020)

  5. #3
    ... connecting
    Join Date
    Jul 2018
    Posts
    6
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by v1rto View Post
    Its a Xeon E3 vps with 2gb ram running ubuntu 12.04 x64
    "Ubuntu 12.04 LTS reached its regular End of Life on April 28, 2017. No more package updates, including security updates, will be accepted to the 12.04 primary archive."

  6. #4
    Private
    Join Date
    Jan 2016
    Posts
    17
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Quote Originally Posted by somewhat windy View Post
    "Ubuntu 12.04 LTS reached its regular End of Life on April 28, 2017. No more package updates, including security updates, will be accepted to the 12.04 primary archive."
    It doesnt imply its less secure than newer versions, and that doesnt cause the cod2 segfault

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •