Author Topic: Assertion failed  (Read 1413 times)

green_lion

  • Traveller
  • *
  • Posts: 14
    • View Profile
Assertion failed
« on: January 15, 2006, 12:07:47 pm »
PS client often crashes with message:

Code: [Select]

psclient.bin: coreanimation.cpp:240: void CalCoreAnimation::getPose(float, std::vector >&) const: Assertion `time >= 0.0f && \"time must be > 0\"\' failed.
« Last Edit: January 15, 2006, 12:08:34 pm by green_lion »

Bereror

  • Hydlaa Notable
  • *
  • Posts: 773
    • View Profile
    • Planeshift API
(No subject)
« Reply #1 on: January 15, 2006, 12:12:26 pm »
This is a known bug and already fixed. Wait for the next version that should be released soon(tm) or build your own client from CVS sources.
PlaneShift Sources
PlaneShift API
"Words never spoken
Are the strongest resounding"

green_lion

  • Traveller
  • *
  • Posts: 14
    • View Profile
(No subject)
« Reply #2 on: January 15, 2006, 12:19:24 pm »
Thanks. I think, i\'ll build client from cvs.

Tharizdun

  • Hydlaa Resident
  • *
  • Posts: 168
    • View Profile
(No subject)
« Reply #3 on: January 15, 2006, 02:11:47 pm »
I\'m having the same error. After one of the server crashes that have been common for the last 24 hrs I cant log back in anymore, it draws my character on the screen halfway up some stairs then crashes before I\'m able to rotate the view, move, or anything else with the above error. And thats with a CVS build too Bereror

I tried a CVS update and rebuild of planeshift today, approx 12 hrs ago ( as well as the same day one week ago ), the code is too buggy to compile even after a few hours of fiddling with .cpp and .h files - trying to rollback to previous versions one at a time trying to find one that is compilable, trying different permutations of recent/old .cpp and .h files, etc.

So no new CVS build will help either, at least not until we get a run of client code thats stable and working enough to compile. A bug thats theoretically fixed in current CVS is still no good if the code base as a whole is busted, sadly.

Any other suggestions? At the moment I have the awful feeling I wont be able to log in for quite some time, hopefully things will magically come good overnight.

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
(No subject)
« Reply #4 on: January 15, 2006, 02:13:00 pm »
Wait until we release a client update. :) Won\'t be long I think.

Bereror

  • Hydlaa Notable
  • *
  • Posts: 773
    • View Profile
    • Planeshift API
Tharizdun
« Reply #5 on: January 15, 2006, 02:47:00 pm »
I had the same issue once with the latest CVS build. I couldn\'t log in because it crashed right after loading the world. Running in debugger didn\'t help because I haven\'t compiled CS with debug information enabled:
Code: [Select]
Assertion failed: count > 0
Location:         /home/planeshift_head/CS/include/csutil/array.h:665
Call stack:
Segmentation fault


But I can tell you that it was related to the current location where my character was standing. I used the older version to log in and move him. After that the latest CVS version worked again.
PlaneShift Sources
PlaneShift API
"Words never spoken
Are the strongest resounding"

Tharizdun

  • Hydlaa Resident
  • *
  • Posts: 168
    • View Profile
(No subject)
« Reply #6 on: January 16, 2006, 02:43:08 am »
Quote
Originally posted by Bereror
I had the same issue once with the latest CVS build. I couldn\'t log in because it crashed right after loading the world. Running in debugger didn\'t help because I haven\'t compiled CS with debug information enabled:
Code: [Select]
Assertion failed: count > 0
Location:         /home/planeshift_head/CS/include/csutil/array.h:665
Call stack:
Segmentation fault


But I can tell you that it was related to the current location where my character was standing. I used the older version to log in and move him. After that the latest CVS version worked again.


My client is working properly again this morning ( as I had hoped it would ) without me changing, patching or recompiling anything, so that suggests the bug is server-side to me. Perhaps it only manifests itself on particular CVS-built versions of the client.

While the server has been up the graphics and transitions between zones seems to happen a lot snappier, so its all a move in the right direction even if there are teething problems. Hell, its worth it just to stop DaveG complaining about how out of date the laanx build is :)