Vincent Magnin
Vincent Magnin
Crash occurs generally at the second `call add_point(drawing)`, sometimes at the first one. If we write: ```fortran do call pending_events() if (run_status == FALSE) exit call g_usleep(100000_c_long) ! So we...
x17f.f90, copied from /usr/share/plplot5.15.0/examples/fortran , is successfully running on the same (virtual) machine: `$ gfortran x17f.f90 $(pkg-config --cflags --libs plplot-fortran)` with the following graphical drivers: ```bash < 1> xwin X-Window...
hl_plplot17e_gto.f90 crashes also when the line `call gtk_widget_queue_draw(area)` in the function `add_point()` is commented.
Still present with GTK 4.4.0 (Fedora Rawhide).
In FreeBSD 13.0 the error message is: ``` Program received signal SIGBUS: Access to an undefined portion of a memory object. ```
More information with GFortran 12.0.1 in latest Fedora Rawhide, here for `hl_plplot17e.f90`: ```gdb ... #11 plP_drawor (x=, y=) at /usr/src/debug/plplot-5.15.0-37.fc36.x86_64/src/plline.c:515 xt = 0.20000000000000001 yt = 0.034899496702500969 #12 0x00007fa50292173d in c_plstripa...
Could it be a bug in https://github.com/vmagnin/gtk-fortran/blob/gtk4/src/gtk-draw-hl.f90 ?
Thanks for this precise bug report, and for reporting that other examples are running fine on macOS / M1 ! On my side: - GFortran 11.2.0, GTK 4.6.5, Linux Kubuntu...
https://docs.gtk.org/gtk4/class.Notebook.html
Jeremy @jnez137 , I have read https://docs.gtk.org/gtk4/class.Notebook.html and https://docs.gtk.org/gtk4/method.Notebook.set_tab_detachable.html I don't think that if we move a tab off the window it should be destroyed. My understanding is that the...