RSS/Atom feed Twitter
Site is read-only, email is disabled

How to disable Gimp catching segmentation faults

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

How to disable Gimp catching segmentation faults Helmut Jarausch 24 Feb 16:54
  How to disable Gimp catching segmentation faults Simon Budig 24 Feb 17:19
Helmut Jarausch
2017-02-24 16:54:05 UTC (about 8 years ago)

How to disable Gimp catching segmentation faults

Hi,

if there is a segmentation fault in a plug-in, Gimp catches this and displays some message.

For debugging purposes I'd like to get control (in gdb) when a segmentation faults happens.
How can I achieve this?

Many thanks for a hint, Helmut

Simon Budig
2017-02-24 17:19:20 UTC (about 8 years ago)

How to disable Gimp catching segmentation faults

Helmut Jarausch (jarausch@skynet.be) wrote:

if there is a segmentation fault in a plug-in, Gimp catches this and displays some message.

For debugging purposes I'd like to get control (in gdb) when a segmentation faults happens.
How can I achieve this?

Have a look at devel-docs/debug-plug-ins.txt in the gimp repository. There are some environment variables you can set to control how the plugins are supposed to behave.

In your case you can make the plugin stop on invocation and the PID gets printed out. You then can attach gdb to the PID and cont.

Bye, Simon

simon@budig.de              http://simon.budig.de/