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 |
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
|
|
|
Goto Forum:
Current Time: Thu Jun 06 06:53:41 CEST 2024
Total time taken to generate the page: 0.01516 seconds
|