GNOME Bugzilla – Bug 721852
Failed assertion and crash after clicking on a web link with middle mouse button
Last modified: 2014-01-11 15:41:58 UTC
How to reproduce: 1. Put some web link (URL) to a note. 2. Click on it with middle mouse button. (I clicked it accidentally when trying to paste some text to a note.) The result is a crash and the following message is emitted: (process:25062): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed I am using Gnote 3.8.1 in Fedora 19.
Two related bugs: 721854 and 721853.
Thanks for taking the time to report this bug. Without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so (and installing debug packages). Thanks in advance!
There is no backtrace, the programs exits normally as indicated by the line "[Inferior 1 (process 5337) exited normally]" in gdb output below: miha@sluzba:~$ gdb gnote GNU gdb (GDB) Fedora 7.6.1-46.fc19 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/gnote...Reading symbols from /usr/lib/debug/usr/bin/gnote.debug...done. done. (gdb) run Starting program: /usr/bin/gnote Traceback (most recent call last):
+ Trace 233020
from gobject import register
import gdb.backtrace
[Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib64/libthread_db.so.1". Missing separate debuginfo for /usr/lib64/libgraphite2.so.3 Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/a1/aa32c91bc181cb69ebc81bbfd03a1349ea4e33.debug [New Thread 0x7ffff7fd5700 (LWP 5345)] [New Thread 0x7ffff6513700 (LWP 5346)] [New Thread 0x7fffe94a1700 (LWP 5347)] [New Thread 0x7fffe8ca0700 (LWP 5348)] [Thread 0x7fffe94a1700 (LWP 5347) exited] Detaching after fork from child process 5350. [New Thread 0x7fffe94a1700 (LWP 5352)] [Thread 0x7ffff6513700 (LWP 5346) exited] [Thread 0x7fffe8ca0700 (LWP 5348) exited] [Thread 0x7ffff7fd5700 (LWP 5345) exited] [Thread 0x7ffff7fd6a00 (LWP 5337) exited] [Inferior 1 (process 5337) exited normally] Missing separate debuginfos, use: debuginfo-install GConf2-3.2.6-6.fc19.x86_64 PackageKit-gtk3-module-0.8.9-6.fc19.x86_64 adwaita-gtk3-theme-3.8.4-1.fc19.x86_64 at-spi2-atk-2.8.1-1.fc19.x86_64 at-spi2-core-2.8.0-3.fc19.x86_64 atk-2.8.0-1.fc19.x86_64 atkmm-2.22.7-1.fc19.x86_64 cairomm-1.10.0-6.fc19.x86_64 dbus-glib-0.100-5.fc19.x86_64 dbus-libs-1.6.12-2.fc19.x86_64 dconf-0.16.0-2.fc19.x86_64 enchant-1.6.0-6.fc19.x86_64 expat-2.1.0-5.fc19.x86_64 fontconfig-2.10.93-1.fc19.x86_64 gdk-pixbuf2-2.28.2-1.fc19.x86_64 glibmm24-2.36.2-2.fc19.x86_64 gtk3-3.8.8-2.fc19.x86_64 gtkmm30-3.8.1-1.fc19.x86_64 gtkspell3-3.0.4-1.fc19.x86_64 gvfs-1.16.3-2.fc19.x86_64 harfbuzz-0.9.19-1.fc19.x86_64 ibus-gtk3-1.5.4-2.fc19.x86_64 ibus-libs-1.5.4-2.fc19.x86_64 libX11-1.6.0-1.fc19.x86_64 libXau-1.0.8-1.fc19.x86_64 libXcomposite-0.4.4-3.fc19.x86_64 libXcursor-1.1.14-1.fc19.x86_64 libXdamage-1.1.4-3.fc19.x86_64 libXext-1.3.2-1.fc19.x86_64 libXfixes-5.0.1-1.fc19.x86_64 libXi-1.7.2-1.fc19.x86_64 libXinerama-1.1.3-1.fc19.x86_64 libXrandr-1.4.1-1.fc19.x86_64 libXrender-0.9.7-6.20130524git786f78fd8.fc19.x86_64 libXxf86vm-1.1.3-1.fc19.x86_64 libbluray-0.4.0-2.fc19.x86_64 libcanberra-0.30-3.fc19.x86_64 libcanberra-gtk3-0.30-3.fc19.x86_64 libcroco-0.6.8-2.fc19.x86_64 libdrm-2.4.49-2.fc19.x86_64 libgcrypt-1.5.3-2.fc19.x86_64 libgpg-error-1.11-1.fc19.x86_64 libogg-1.3.0-5.fc19.x86_64 libpng-1.5.13-2.fc19.x86_64 librsvg2-2.37.0-3.fc19.x86_64 libsecret-0.15-1.fc19.x86_64 libsigc++20-2.3.1-2.fc19.x86_64 libtdb-1.2.12-1.fc19.x86_64 libtool-ltdl-2.4.2-21.fc19.x86_64 libvorbis-1.3.3-4.fc19.x86_64 libwayland-client-1.2.0-1.fc19.x86_64 libwayland-cursor-1.2.0-1.fc19.x86_64 libwayland-server-1.2.0-1.fc19.x86_64 libxcb-1.9-3.fc19.x86_64 libxkbcommon-0.3.0-1.fc19.x86_64 libxml2-2.9.1-1.fc19.x86_64 libxslt-1.1.28-3.fc19.x86_64 mesa-libEGL-9.2.4-1.20131128.fc19.x86_64 mesa-libGL-9.2.4-1.20131128.fc19.x86_64 mesa-libgbm-9.2.4-1.20131128.fc19.x86_64 mesa-libglapi-9.2.4-1.20131128.fc19.x86_64 pango-1.34.1-1.fc19.x86_64 pangomm-2.34.0-1.fc19.x86_64 pixman-0.30.0-1.fc19.x86_64 systemd-libs-204-18.fc19.x86_64 xz-libs-5.1.2-4alpha.fc19.x86_64 (gdb) (process:5351): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed (gdb)
I don't get crash, but window closes. That should not happen.
Indeed there was some old code that closed window on link activation with middle click. Removed and now it works fine. Fixed in master and 3.10 branch.
*** Bug 721853 has been marked as a duplicate of this bug. ***
Thanks for the fix!