On 26.02.2012 18:32, Andrew Wood wrote:
Im trying to fix a bug in a BView derived class which is causing a crash whenever the Draw() method is called for a second or more time. It works OK the first time (when the object is first created) but subsequent calls via Invalidate() cause a crash.
In such cases, it would be tremendously helpful to see a stack trace of the crashed thread. You can either use gdb for this, or (sometimes it has problems getting a correct trace), paste the stack trace that appears in the syslog when that happens.
One possible reason for a crash would be that something trashes some memory outside of draw.
Bye, Axel.