hello im using clanlib from SVN

im having a crash when i try to "connect" a signal from mouse

the crash occurs here:

PHP Code:
>    ShadowOfTheBeast.exe!CL_InputDevice_Impl::~CL_InputDevice_Impl()  Line 49 0x10 bytes    C++

    ~
CL_InputDevice_Impl()
    {
        if (
provider)
here! --->    provider->destroy();
    } 
it happens when the application is closed

if i remove:

PHP Code:
CL_Slot slot_mouse_down window.get_ic().get_mouse().sig_key_up().connect(this, &App::my_callback); 
then it works fine...

thanks!

EDIT

this is the only line i added to shadow of the beast example
my settings: vc9 compiler