lines 73-84. However when I declare the callback as a static method, the code doesn't segfault and the callback is getting called properly. But this isn't much helpful since I don't have the reference to the current object. Any hints will be gratefully appreciated.
Thanks Sudharshan S
@Levi: Sorry for the last one, forgot to hit "Reply All".