2013/8/28 Arshdeep Singh <moduli16@...400...>:
Hi, I think the problem lies in the fact that performUpdate() is called many times when we are dragging the nodes on the wheel. That is why, the computationally intensive snippet that I posted a few mails ago in this thread is causing a crash ? Can that be a reason ? If you take a look at the snippet, you'll understand what I mean.
No, doing a lot of computations never leads to a crash.
And I really going by Krzysztof's reply, the placement new should not cause a crash the way I have used it in my code. Correct ?
Yes, the placement new you added is correct and your crash is caused by something else. The "use after free" messages you are getting indicate that your code is doing something wrong with pointers and accessing unallocated regions of memory.
Regards, Krzysztof