Maybe related to 13299, but without window wasn't maximized. To reproduce start mousepad, make a new tab with ctrl-n and drag it outside the main window. On my machine this first freezes mousepad and shortly after the program disappears. I'm running Xubuntu 16.04.1 inside a virtual box.
I can reproduce this, it doesn't seem to be a crash in Mousepad though. Here's the GDB traceback (sorry, I don't have GTK debug symbols installed): Starting program: /opt/mousepad/bin/mousepad [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffeb350700 (LWP 19063)] [New Thread 0x7fffea6e1700 (LWP 19064)] [New Thread 0x7fffe9ee0700 (LWP 19065)] (mousepad:19059): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 63 and height -3 (mousepad:19059): Gtk-CRITICAL **: gtk_widget_get_frame_clock: assertion 'GTK_IS_WIDGET (widget)' failed Thread 1 "mousepad" received signal SIGSEGV, Segmentation fault. 0x00007ffff7566863 in gtk_widget_hide () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 (gdb) bt #0 0x00007ffff7566863 in gtk_widget_hide () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #1 0x00007ffff7583852 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #2 0x00007ffff758390f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #3 0x00007ffff7583acc in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #4 0x00007ffff6f55d68 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #5 0x00007ffff5fcab58 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #6 0x00007ffff5fcb5ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #7 0x00007ffff5fce0d8 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #8 0x00007ffff5fce3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #9 0x00007ffff5fce712 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #10 0x00007ffff741b395 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #11 0x0000000000411163 in main (argc=1, argv=0x7fffffffdf08) at ../../mousepad/main.c:182
Running mousepad 0.4.0+git-0~866~ubuntu17.04.1 on xubuntu 17.04 Some gdb backtrace: (gdb) run Starting program: /usr/bin/mousepad [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffea50c700 (LWP 27355)] [New Thread 0x7fffe989d700 (LWP 27356)] [New Thread 0x7fffe909c700 (LWP 27357)] (mousepad:27351): Gtk-WARNING **: Theme parsing error: <data>:2:29: The style property GtkButton:default-border is deprecated and shouldn't be used anymore. It will be removed in a future version (mousepad:27351): Gtk-WARNING **: Theme parsing error: <data>:3:37: The style property GtkButton:default-outside-border is deprecated and shouldn't be used anymore. It will be removed in a future version (mousepad:27351): Gtk-WARNING **: Theme parsing error: <data>:4:27: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version (mousepad:27351): Gtk-WARNING **: Theme parsing error: <data>:5:31: The style property GtkWidget:focus-line-width is deprecated and shouldn't be used anymore. It will be removed in a future version (mousepad:27351): Gtk-WARNING **: Theme parsing error: <data>:6:28: The style property GtkWidget:focus-padding is deprecated and shouldn't be used anymore. It will be removed in a future version [New Thread 0x7fffdbfff700 (LWP 27358)] [New Thread 0x7fffdb7fe700 (LWP 27359)] [Thread 0x7fffdb7fe700 (LWP 27359) exited] [New Thread 0x7fffdb7fe700 (LWP 27360)] [Thread 0x7fffdb7fe700 (LWP 27360) exited] (mousepad:27351): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (mousepad:27351): Gtk-CRITICAL **: gtk_container_get_focus_child: assertion 'GTK_IS_CONTAINER (container)' failed (mousepad:27351): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (mousepad:27351): Gtk-CRITICAL **: gtk_container_get_focus_child: assertion 'GTK_IS_CONTAINER (container)' failed ** Gtk:ERROR:/build/gtk+3.0-MH7ynA/gtk+3.0-3.22.7/./gtk/gtkwidget.c:5808:gtk_widget_get_frame_clock: assertion failed: (window != NULL) Thread 1 "mousepad" received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58 58 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
Created attachment 6992 strace log
Created attachment 6993 backtrace
Reliably reproducible here. Xubuntu 16.10 amd64.
I can't reproduce, I open mousepad(0.4.0, gtk2 from distro repository), create a new tab(ctrl+n) and drag it to desktop, it just opens another window with that document. Arch Linux here mostly updated last week.
Not reproducible for me. Using Debian testing (stretch) and mousepad version 0.4.0. After creating a new tab with ctrl+n and draging that tab to the desktop it opens another window. Same as comment above.
Just confirming the same. Unexpected quit upon dragging a tab into desktop. Don't know if it makes any difference, but have 4 desktops and Mousepad was open on one only. Running Ubuntu (Studio) 16.04.2 / Xfce 4.12
Found the bug after some sleuthing, fixed in: https://git.xfce.org/apps/mousepad/commit/?id=e3718b23026117ef653a539f504c13d6a672fd7f GTK+ upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=744385 Where I found a workaround: https://github.com/f2404/xfce4-terminal3/commit/06eace541aa4bd93d7e5204a856467cdf76de104 Others affected/related: https://bugs.launchpad.net/midori/+bug/1492041 https://github.com/mypaint/mypaint/issues/194 There are still versions of GTK3 between around 3.10 and 3.16 which will still crash, suggestions on better fix welcome.
Thank you, Matthew. Commit e3718b2 (applied as a patch) fixes the problem in xubuntu artful.
*** Bug 14302 has been marked as a duplicate of this bug. ***