Segmentation violation in Fltk when updating mesh statistics
when updating the statistics of the mesh, the master version (dd 26/7/2017) crashes in the gui.
Here is the backtrace in gdb:
(gdb) where #0 0x00007ffff6db7463 in ?? () from /usr/lib64/libfltk.so.1.3 #1 (closed) 0x00007ffff6db7bac in Fl_Group::handle(int) () from /usr/lib64/libfltk.so.1.3 #2 (closed) 0x00007ffff6de14a7 in Fl_Tabs::handle(int) () from /usr/lib64/libfltk.so.1.3 #3 (closed) 0x00007ffff6da373e in Fl::belowmouse(Fl_Widget) () from /usr/lib64/libfltk.so.1.3 #4 (closed) 0x00007ffff6da4cd5 in Fl::handle_(int, Fl_Window*) () from /usr/lib64/libfltk.so.1.3 #5 (closed) 0x00007ffff6df947c in ?? () from /usr/lib64/libfltk.so.1.3 #6 (closed) 0x00007ffff6df98c3 in fl_wait(double) () from /usr/lib64/libfltk.so.1.3 #7 (closed) 0x00007ffff6da438f in Fl::wait(double) () from /usr/lib64/libfltk.so.1.3 #8 (closed) 0x00007ffff6da44ad in Fl::run() () from /usr/lib64/libfltk.so.1.3 #9 (closed) 0x00000000015c60cb in FlGui::run () at /home/hillewaert/srcs/gmsh_trunk/Fltk/FlGui.cpp:548 #10 (closed) 0x0000000000ceea75 in GmshFLTK (argc=2, argv=0x7fffffffdb48) at /home/hillewaert/srcs/gmsh_trunk/Common/Gmsh.cpp:431 #11 (closed) 0x0000000000ced090 in main (argc=2, argv=0x7fffffffdb48) at /home/hillewaert/srcs/gmsh_trunk/Fltk/Main.cpp:41 (gdb)*
I do not think it is related to the version of fltk, since the master build and the official version of gmsh (coming with suse 13.2) are linking to the same; the official distribution does not have this problem
hillewaert@nbk103%input > ldd /usr/bin/gmsh | grep -i fltk libfltk_images.so.1.3 => /usr/lib64/libfltk_images.so.1.3 (0x00007f5b91f1d000) libfltk_gl.so.1.3 => /usr/lib64/libfltk_gl.so.1.3 (0x00007f5b9186b000) libfltk.so.1.3 => /usr/lib64/libfltk.so.1.3 (0x00007f5b912a2000) hillewaert@nbk103%input > ldd ~/srcs/gmsh_trunk/build/gmsh | grep -i fltk libfltk_images.so.1.3 => /usr/lib64/libfltk_images.so.1.3 (0x00007f30dc0ce000) libfltk_gl.so.1.3 => /usr/lib64/libfltk_gl.so.1.3 (0x00007f30db818000) libfltk.so.1.3 => /usr/lib64/libfltk.so.1.3 (0x00007f30db24f000)