gnome-terminal either segfaults or simply locks up upon handling certain URLs -- I don't have the URL that caused the lockup for me, but I do have the one that caused the segfault: http://github.com/eatnumber1/pcsx2-overlay/tree/master%2Flayman-local.cfg?raw=true It most likely has to do with gnome-terminal's killing off of gnome-url and replacing it with glib's gio -- as it now uses mimes to choose programs to load URLs (which is absurd in and of itself), so it's most likely an upstream problem. Can anyone confirm? Reproducible: Always Steps to Reproduce: 1.open gnome-terminal 2.paste http://github.com/eatnumber1/pcsx2-overlay/tree/master%2Flayman-local.cfg?raw=true 3.right click>open link Actual Results: segfault Expected Results: default browser loads URL
needed informations are: emerge --info backtrace of the problem (http://www.gentoo.org/proj/en/qa/backtraces.xml) version of gnome-terminal version of vte
Ugh, yeah totally forgot about that. Sorry, I was a bit drunk at the time. =x11-libs/vte-0.17.4 =x11-terms/gnome-terminal-2.24.1 Portage 2.1.4.5 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r4-tourian x86_64) ================================================================= System uname: 2.6.25-gentoo-r4-tourian x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz Timestamp of tree: Sat, 01 Nov 2008 15:06:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r9, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.16.1-r3, 2.17, 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=nocona -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=nocona -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="candy distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/pcsx2-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 aac aalib acl acpi alsa amd64 anthy aoss aotuv ass async audacious automount bash-completion berkdb bidi bzip2 cairo ccache cdparanoia cdr cjk cli color-console compress cpio cracklib crypt dbus dga directfb divx dri dv dvd dvdnav dvdr dvdread enca encode ffmpeg flac fortran gcj gdbm gif glibc-omitfp glitz gpm gtk gtk2 guile hddtemp iconv imlib isdnlog jpeg jpeg2k kde lame lha libwww lm_sensors logrotate logwatch lzo mad man midi mmx modplug motif mp3 mp4 mpeg mplayer msn mudflap multilib multislot multiuser musepack ncurses networking nls nptl nptlonly nsplugin nv ogg opengl openmp pam pam_chroot pam_timestamp pcre pdf perl pmu png pppd pulseaudio python qt qt3support rar readline reflection rtc sasl scim scim-anthy sdl session skk smb socks5 spell spl srt sse sse2 sse3 ssl svg sysfs syslog tartup-notification tcpd theora threads tiff truetype uim uim-skk unicode unrar uuencode v4l v4l2 vim vim-syntax vorbis wma wxwindows x264 xcomposite xgetdefault xml xorg xpm xscreensaver xv xvid zip zlib" ALSA_CARDS="audigy" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa nvidia nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Tourian apache-back #
=gnome-base/gvfs-0.2.5-r3 0x00007f1183ac2dd8 in ?? () from /usr/lib64/gio/modules/libgvfsdbus.so (gdb) bt #0 0x00007f1183ac2dd8 in ?? () from /usr/lib64/gio/modules/libgvfsdbus.so #1 0x00007f1183ab6957 in ?? () from /usr/lib64/gio/modules/libgvfsdbus.so #2 0x00007f1183ab43e7 in ?? () from /usr/lib64/gio/modules/libgvfsdbus.so #3 0x00007f118719676d in g_app_info_launch_default_for_uri () from /usr/lib/libgio-2.0.so.0 #4 0x00007f118780f1a9 in gtk_show_uri () from /usr/lib/libgtk-x11-2.0.so.0 #5 0x000000000042236e in ?? () #6 0x00007f11868400d5 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #7 0x00007f118684ed03 in ?? () from /usr/lib/libgobject-2.0.so.0 #8 0x00007f118684ff80 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #9 0x00007f118685015b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #10 0x00007f1187719121 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #11 0x00007f11868400d5 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #12 0x00007f118684ed03 in ?? () from /usr/lib/libgobject-2.0.so.0 #13 0x00007f118684ff80 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #14 0x00007f118685015b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #15 0x00007f11878a1839 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0 #16 0x00007f11877c66d2 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0 #17 0x00007f11877c7d19 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #18 0x00007f11877bb1c2 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #19 0x00007f11868400d5 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #20 0x00007f118684f0f7 in ?? () from /usr/lib/libgobject-2.0.so.0 #21 0x00007f118684fdda in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #22 0x00007f118685015b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #23 0x00007f118789ce4e in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #24 0x00007f11877b5dcd in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #25 0x00007f11877b6bf4 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #26 0x00007f11874515fe in ?? () from /usr/lib/libgdk-x11-2.0.so.0 #27 0x00007f11865908af in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #28 0x00007f11865937cd in ?? () from /usr/lib/libglib-2.0.so.0 #29 0x00007f1186593b1d in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #30 0x00007f11877b6f3c in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #31 0x0000000000415a75 in ?? () #32 0x00007f1185c4e5a4 in __libc_start_main () from /lib/libc.so.6 #33 0x0000000000410f39 in ?? () #34 0x00007fff932d0cd8 in ?? () #35 0x0000000000000000 in ?? ()
This is easily reproducable. Upstream bug already open.
Please find in attachment first the backtrace fully debuged with gdb using -ggdb CFLAGS , problem was cause as you can see by g_mount_spec_canonicalize_path() which receives a null pointer of a const string, and the firt line of the function is : if (*path != '/') ---> unreference a NULL pointer which causes the SIGSEGV segfault signal. i just added a "call" to g_return_val_if_fail() glib macro before if statement, in second attachment files, you could find the patch which will solve the problem, and finally the ebuild including the patch. mrpouet
Created attachment 184050 [details] gnome-terminal complete and understable backtrace
Created attachment 184051 [details, diff] patch which fixs SIGSEGV in common/gmountspec.c line 481
Created attachment 184053 [details] new ebuild including patch
Fixed in CVS. Thanks for doing the legwork here.