[odamex-bug-reporter] [Bug 767] New: Client does not have mobj after map change (segment violation)

  • From: odamex-bugtracker@xxxxxxxxxx
  • To: odamex-bug-reporter@xxxxxxxxxxxxx
  • Date: Thu, 15 Dec 2011 03:28:15 +0000

http://odamex.net/bugs/show_bug.cgi?id=767

             Bug #: 767
           Summary: Client does not have mobj after map change (segment
                    violation)
    Classification: Unclassified
           Product: Odamex
           Version: 0.6-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Server & Client
        AssignedTo: odamex-bug-reporter@xxxxxxxxxxxxx
        ReportedBy: grandpachuck187@xxxxxxxxx


The client occasionally tries to perform its Thinker routine without having
received the message to spawn at the start of a level. This causes a segment
violation because the console player's mobj pointer is uninitialized.

This possibly occurs because the packet containing the svc_loadlevel message
arrives at least a tic before the packet containing the svc_spawnplayer
message.  In that scenario, P_PlayerThink would try to dereference the console
player's mo object, which would be a NULL pointer in this case, leading to a
segment violation.

-- 
Configure bugmail: http://odamex.net/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Other related posts:

  • » [odamex-bug-reporter] [Bug 767] New: Client does not have mobj after map change (segment violation) - odamex-bugtracker