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 » Developing U++ » U++ Developers corner » Raster::Line segfaults ... sometimes. (Adding a static counter somehow fixes the issue (for me).)
Re: Raster::Line segfaults ... sometimes. [message #44076 is a reply to message #44068] Mon, 22 December 2014 20:34 Go to previous messageGo to previous message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hello Rainbowsally,

Quote:
And just adding a static counter fixed the problem.
Huh????
.
When you encounter such behaviour : modification of an unrelated code that causes a correction (or a crash), this is mostly due to uninitialized variables ( somewhere in the code .... ).
I recommend launching valgrind on this : info should be very instructive.

[Updated on: Mon, 22 December 2014 20:35]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multithreaded Animated GIF
Next Topic: Sound in linux
Goto Forum:
  


Current Time: Sun May 12 15:28:48 CEST 2024

Total time taken to generate the page: 0.01962 seconds