app: reimplement gimp_get_stack_trace().
Don't use g_on_error_stack_trace() from glib anymore. It is over-complicated, using gdb in interactive mode and running command writing in the pipe input. Sometimes it even gets stuck and never return. This is useless since gdb even has a batch mode, to just run commands and exit directly. I just use this.
Showing with 12 additions and 60 deletions