It's actually a segfault and it takes out MathMap but not Gimp. It happens when MM is compiled on Ubuntu 17.10.
Ubuntu 17.04 works well on the later versions with this workaround:
(sudo ln -s /usr/lib/x86_64-linux-gnu/libgsl.so.23 /usr/lib/x86_64-linux-gnu/libgsl.so.19)
The symlink makes it look like a libgsl issue but I don't think it is.
Crash logs point to line 1768 of mathmap.c
/* Notebook */
notebook = gtk_notebook_new();
gtk_notebook_set_tab_pos (GTK_NOTEBOOK (notebook), GTK_POS_TOP);
gtk_paned_add2(GTK_PANED(top_table), notebook);
gtk_widget_show(notebook);
er code here...
The 'notebook' here is the page-like layout of MathMap.
As soon as you click that last Composer page MathMap crashes.
Issue has been logged here:
https://github.com/schani/mathmap/issues/29