Wim Dumon wrote:
> The catch-all clause is there as a safety measure because there really
> shouldn't pass any exceptions past that point. But you have a point,
> and it would be nice to provide a means to override this, which is
> currently impossible.
>
> In the meantime, did you consider set_new_handler()? And just out of
> curiosity, the man page of malloc() states that _malloc_options = "X"
> should call abort() rather than throw an exception. Does it behave
> different than specified?
>
>   
set_new_handler might work, but it is not convenient to override 
operator new for every class I have.
_malloc_options = "X" doesn't abort in my case don't know why (I tried).

Anyway, I solved current problem with std::bad_alloc.
It seems to be heap corruption when I deleted widget by pointer after wt 
has already deleted that object.

Still I think wt has to catch only Wt exceptions because it's what it's 
expected to do by users.
Otherwise it's not a library but a framework and developer must work in 
a frame.

> Best regards,
> Wim.
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
>   


-- 
Andrii Arsirii
Streamco
http://streamco.org.ua


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to