Stack Dump Exception While adding TargetTouchDelegate to CCSprite

I’m trying to create a class to create touch sliders.
For that i’m writting this class, which gives an exception on.

CCTouchDispatcher::sharedDispatcher()->addTargetedDelegate(this, 0, true);

My slider class is inherited from both CCSprite and CCTargetedTouchDelegate.

Stack dump:
0. Running pass ‘X86 DAG->DAG Instruction Selection’ on function ‘@gleLLVMVecPrimMultiRender4

Please refer CCMenu, you should implement

virtual void destroy(void);
virtual void keep(void);

I’m not using CCMenu…
it seems its because i’m using spriteWithFile function…

initWithFile is working fine…