ATPause locks process hosting cintapi dll

My program (.exe for windows) uses cint as scripting engine (in dll).
The problem is, when cintapi breaks into debug mode it calls AtPause infinitelly. Is there any way to prevent such a behaviour?

Hi,

I am not sure. CINT does not have a AtPause function …

Cheers,
Philippe.

Oh sorry, my mistake. I mean, it constantly calls into callback function set by G__set_atpause( AtPause )

It happens after, say, memory access violation, it gives this message
signal(11) Error: Segmentation violation

And after that it infinitelly call to that callback function AtPause.
It tries to break into command prompt, but my application does not provide any.

To reproduce that, try something like:
free( 25 );

Hi,

You can use a different signal handler by calling the signal function or you can use the -E command line option (of CINT only) to prevent the setting of the default signal handler.

Cheers,
Philippe.

Hi

Can you give some more details how to do this please?

Hi,

I was refering to the OS’ function name ‘signal’. You can get the documentation via ‘man signal’ or ‘info signal’. Note that I am assuming you are using CINT standalone (as opposed to CINT within ROOT).

Cheers,
Philippe.