Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562798 - app-arch/xarchiver-0.5.4 segfaults when dragging archive items (files/folders) over to the desktop
Summary: app-arch/xarchiver-0.5.4 segfaults when dragging archive items (files/folders...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-11 08:48 UTC by Vince C.
Modified: 2017-09-29 08:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Full backtrace (xarchiver-drag-crash-bt-full.log,3.60 KB, text/plain)
2015-10-23 22:11 UTC, Vince C.
Details
Full backtrace with glib recompiled with USE=debug (xarchiver-with-glib-drag-crash-bt-full.log,10.94 KB, text/plain)
2015-10-23 22:36 UTC, Vince C.
Details
/etc/portage/patches/app-arch/xarchiver-0.5.4/window.patch (window.patch,1.22 KB, patch)
2017-09-29 08:32 UTC, Vince C.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vince C. 2015-10-11 08:48:45 UTC
Dragging archived items from any archive handled by xarchiver over to the desktop crashes xarchiver with a segmentation fault. It doesn't crash while dragging over Thunar.

Reproducible: Always

Steps to Reproduce:
1. Open a tar.gz in xarchiver
2. drag an item over the desktop
Actual Results:  
xarchiver crashes.

Expected Results:  
No crash.

Archive opened from Thunar or from xarchiver itself. The problem happens regardless.


$ emerge --info
Portage 2.2.20.1 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.5, glibc-2.20-r2, 4.0.5-gentoo-nvidia x86_64)
=================================================================
System uname: Linux-4.0.5-gentoo-nvidia-x86_64-Intel-R-_Core-TM-_i3-2100_CPU_@_3.10GHz-with-gentoo-2.2
KiB Mem:    12274472 total,  10139072 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Sun, 06 Sep 2015 20:00:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.2.5-r6::gentoo, 3.4.1::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.5::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /portage/portage.d
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

crossdev
    location: /portage/overlay.d/crossdev
    masters: gentoo
    priority: 0

local
    location: /portage/overlay.d/local
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA ut2003"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -msse4.1 -msse4.2 -O2 -pipe -fno-stack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -msse4.1 -msse4.2 -O2 -pipe -fno-stack-protector"
DISTDIR="/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_BE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/portage/packages/x86_64-pc-linux-gnu"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/portage/tmp"
USE="X a52 aac acl acpi alsa amd64 avahi avx berkdb bindist branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus dirac dri dts dvd dvdr emboss encode exif fam firefox flac fontconfig fortran g3dvl gdbm gif glamor gnome-keyring gnutls gpm gstreamer gtk iconv id3tag ipv6 jpeg lcms libnotify lzma lzo mad mmx mmxext mng modules mp3 mp4 mpeg multilib musepack ncurses nls nntp nptl offensive ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support readline schroedinger sdl seccomp session slang spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vorbis wavpack x264 xcb xml xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="mustek" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="linuxinput keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr en_GB en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="arm aarch64 i386 x86_64" QEMU_USER_TARGETS="arm aarch64 i386 x86_64" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="gt68xx artec artec_eplus48k mustek mustek_pp mustek_usb plustek plustek_pp" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau intel vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Alex Xu (Hello71) 2015-10-17 13:07:16 UTC
please obtain a "bt full" backtrace using the guide at https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces or https://wiki.gentoo.org/wiki/Bugzilla/Guide#Debugging_using_GDB if necessary.
Comment 2 Vince C. 2015-10-23 22:11:30 UTC
Created attachment 415304 [details]
Full backtrace

Here's the full back-trace as requested.
Comment 3 Vince C. 2015-10-23 22:36:16 UTC
Created attachment 415312 [details]
Full backtrace with glib recompiled with USE=debug
Comment 4 Vince C. 2017-09-29 08:32:27 UTC
Created attachment 496992 [details, diff]
/etc/portage/patches/app-arch/xarchiver-0.5.4/window.patch

I recently stumbled upon this patch by a user named `shinonome` on sourceforge ( https://sourceforge.net/p/xarchiver/bugs/88/#2f86 ). I only added some sensible description to the patch header. The patch fixes the issue.