Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Segmentation Error, Assertion failed BiCont.h
Segmentation Error, Assertion failed BiCont.h [message #52724] Thu, 14 November 2019 10:43 Go to previous message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
Hello community,

My Question will may be stupid but I'm facing a recurente error occuring long time after I started my programme (~ 4Hours to 5 days( maximun I did)).
https://i.imgur.com/f1cMc2B.png

This error come from Head method in BiVector Class
T&       Head()                  { ASSERT(items > 0); return vector[start]; }


so Here is my questions, What head method is used for ? do it concern only Vector or Array use it aswell ?
Can you confirm my point of view : Upp calling Head before Doing any action on a Vector that could raise a crash ?

Some of vector used in my programm will sometime Stay "unchanged" by the programme during long period, Do the crash could come from that ? (may my OS will clears some memory slot if not used since a long time ?)

To End, have you some tips and trick to do propper code and prevent all this Boards effect that can be raised by a bad usage of Vector ?

Thanks in advance.
Have good day.
Best Regard.

Xemuth

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How I can load inside Utimate++ RayLib For MacOs And Win?
Next Topic: [SOLVED] Do Value can store anonymous function ?
Goto Forum:
  


Current Time: Tue Apr 23 13:04:18 CEST 2024

Total time taken to generate the page: 0.03127 seconds