Ticket #154 (closed defect: invalid)

Opened 6 years ago

Last modified 4 years ago

Client segfaults when connecting

Reported by: mike Owned by: mike
Priority: highest Milestone: alpha-test
Component: client Version: 0.2
Keywords: Cc:
Estimated Effort: 1 day Platform: Linux
State: Implementing Relative Size:

Description (last modified by mike) (diff)

Problem

The client is now segfaulting on connect. No error messages. This is on the server:

Unhandled error in Deferred:
Traceback (most recent call last):
Failure: twisted.spread.pb.PBConnectionLost: [Failure instance: Traceback (failure with no frames): twisted.internet.error.ConnectionDone: Connection was closed cleanly.
]
10/15/2006 15:37:44 server mike 0 leaves the game
Unhandled error in Deferred:
Traceback (most recent call last):
--- <exception caught here> ---
  File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/home/mike/mv3d/Server/View/PlayerView.py", line 105, in AddToView_Ready
    d=self.connection.ReadyClass(a.GetClassGenerator())
  File "/home/mike/mv3d/Util/ConnectionManager.py", line 281, in ReadyClass
    d=c.callRemote("ReadyClass",cl)
  File "/usr/lib/python2.4/site-packages/twisted/spread/pb.py", line 380, in callRemote
    _name, args, kw)
  File "/usr/lib/python2.4/site-packages/twisted/spread/pb.py", line 851, in _sendMessage
    raise DeadReferenceError("Calling Stale Broker")

Change History

Changed 6 years ago by mike

  • status changed from new to assigned
  • description modified (diff)
  • component changed from mv3d to client
  • summary changed from Error on server with lots of objects. to Client segfaults when connecting
  • priority changed from normal to highest
  • severity changed from normal to blocker

Changed 6 years ago by mike

  • state changed from Conceptualizing to Implementing

Observations

This is very odd.. putting a print statement before and after the import statement in the ClassGenerator? solves this problem. Clearly, that is not an acceptible solution. This is normally the type of thing that happens in a multithreaded app, but the client is single threaded.

Changed 6 years ago by mike

  • platform changed from All to Linux

This appears to be a Linux only issue. I can not reproduce it on Windows.

Changed 6 years ago by mike

  • status changed from assigned to closed
  • resolution set to invalid

Solution

Um. My fault. It was my setup. I upgraded ODE and for some reason, the new version wasn't happy with the client. So not really an error.

Changed 4 years ago by mike

  • milestone changed from beta-test to MV3D-0.32

Milestone beta-test deleted

Changed 4 years ago by mike

  • milestone changed from MV3D-0.32 to alpha-test

Setting the milestone back

Note: See TracTickets for help on using tickets.