https://bugs.documentfoundation.org/show_bug.cgi?id=88825

--- Comment #7 from Lionel Elie Mamane <[email protected]> ---
With the gdb commands
 catch throw
and
 catch catch

You can put breakpoints on an exception being thrown (then go up in the stack)
and caught, respectively, and see what exception is thrown from where.

Compare with the case of e.g. a wrong password or hostname when connecting to a
database. This is handled correctly. How is that handled? What exception is
thrown where and caught where?

The exception that causes this crash (which is probably more accurately an
abort() due to an uncaught exception) should probably be caught at the same
place.

If the exception that causes this abort is of a fundamentally different type
than the case of wrong password / hostname. For example, assume the former is
"IO error" exception, and the latter is "SQLException), then you need to catch
the "IO error" exception at a suitable place (within the driver) and rethrown a
SQLException out of it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to