Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310703 - gnome-base/gvfs-1.4.3 crash in gvfsd-archive
Summary: gnome-base/gvfs-1.4.3 crash in gvfsd-archive
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-22 13:31 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-06-13 17:30 UTC (History)
0 users

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


Attachments
The Fun.zip file (Fun.zip,518.85 KB, application/zip)
2010-03-22 16:53 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-03-22 13:31:05 UTC
Core was generated by `/usr/libexec/gvfsd-archive file=/home/flame/Desktop/Pictures/Fun.zip'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000040d3f4 in command_read_cb (source_object=<value optimized out>, res=0x18b5240, user_data=0x18cb5b0) at gvfschannel.c:498
498	gvfschannel.c: No such file or directory.
	in gvfschannel.c
(gdb) bt
#0  0x000000000040d3f4 in command_read_cb (source_object=<value optimized out>, res=0x18b5240, user_data=0x18cb5b0) at gvfschannel.c:498
#1  0x00007ffef6940e27 in async_ready_callback_wrapper (source_object=0x18b9cf0, res=0x18b5240, user_data=0x18cb5b0) at ginputstream.c:471
#2  0x00007ffef696c3df in read_async_cb (data=<value optimized out>, condition=<value optimized out>, fd=<value optimized out>) at gunixinputstream.c:472
#3  0x00007ffef5f9641b in g_main_dispatch (context=0x18b4730) at gmain.c:1960
#4  IA__g_main_context_dispatch (context=0x18b4730) at gmain.c:2513
#5  0x00007ffef5f9a928 in g_main_context_iterate (context=0x18b4730, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at gmain.c:2591
#6  0x00007ffef5f9af35 in IA__g_main_loop_run (loop=0x18b7b20) at gmain.c:2799
#7  0x00000000004091a2 in daemon_main (argc=<value optimized out>, argv=<value optimized out>, max_job_threads=<value optimized out>, 
    default_type=0x41a7b1 "archive", mountable_name=<value optimized out>, first_type_name=0x41a7b1 "archive") at daemon-main.c:294
#8  0x000000000040944a in main (argc=<value optimized out>, argv=<value optimized out>) at daemon-main-generic.c:39
(gdb) thread apply all bt

Thread 2 (Thread 12806):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007ffef6bb7382 in g_cond_timed_wait_posix_impl (cond=0x18ce674, entered_mutex=0x189, abs_time=<value optimized out>) at gthread-posix.c:242
#2  0x00007ffef5f6fd11 in g_async_queue_pop_intern_unlocked (queue=0x18b4eb0, try=0, end_time=0x7ffef3b68e70) at gasyncqueue.c:365
#3  0x00007ffef5fc4440 in g_thread_pool_wait_for_new_task (data=<value optimized out>) at gthreadpool.c:270
#4  g_thread_pool_thread_proxy (data=<value optimized out>) at gthreadpool.c:304
#5  0x00007ffef5fc2669 in g_thread_create_proxy (data=0x18b63f0) at gthread.c:1893
#6  0x00007ffef625a8b4 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#7  0x00007ffef5a8bf9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 12158):
#0  0x000000000040d3f4 in command_read_cb (source_object=<value optimized out>, res=0x18b5240, user_data=0x18cb5b0) at gvfschannel.c:498
#1  0x00007ffef6940e27 in async_ready_callback_wrapper (source_object=0x18b9cf0, res=0x18b5240, user_data=0x18cb5b0) at ginputstream.c:471
#2  0x00007ffef696c3df in read_async_cb (data=<value optimized out>, condition=<value optimized out>, fd=<value optimized out>) at gunixinputstream.c:472
#3  0x00007ffef5f9641b in g_main_dispatch (context=0x18b4730) at gmain.c:1960
#4  IA__g_main_context_dispatch (context=0x18b4730) at gmain.c:2513
#5  0x00007ffef5f9a928 in g_main_context_iterate (context=0x18b4730, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at gmain.c:2591
#6  0x00007ffef5f9af35 in IA__g_main_loop_run (loop=0x18b7b20) at gmain.c:2799
#7  0x00000000004091a2 in daemon_main (argc=<value optimized out>, argv=<value optimized out>, max_job_threads=<value optimized out>, 
    default_type=0x41a7b1 "archive", mountable_name=<value optimized out>, first_type_name=0x41a7b1 "archive") at daemon-main.c:294
#8  0x000000000040944a in main (argc=<value optimized out>, argv=<value optimized out>) at daemon-main-generic.c:39

Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.4.3-asneeded, glibc-2.11-r1, 2.6.33.1 x86_64)
=================================================================
System uname: Linux-2.6.33.1-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-gentoo-2.0.1
Timestamp of tree: Mon, 22 Mar 2010 12:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p2
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.51.0.6
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-prerelease-jdk6 sun-bcla-java-vm"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -O2 -ftracer -pipe -ftree-vectorize -floop-block -g -ggdb -Wstrict-aliasing=2 -Wno-format-zero-length -Wformat=2 -Wno-error -Wno-pointer-sign -fdiagnostics-show-option"
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/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=barcelona -O2 -ftracer -pipe -ftree-vectorize -floop-block -g -ggdb -Wno-error -Wformat=2 -Wstrict-aliasing=2 -fvisibility-inlines-hidden"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=n"
FEATURES="assume-digests autoaddcvs autoconfig collision-protect cvs distlocks fixpackages multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-march=barcelona -O2 -ftracer -pipe -ftree-vectorize -g -ggdb"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="en it"
MAKEOPTS="-j12 -s"
PKGDIR="/var/spool/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=ChangeLog"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/media/repos/gentoo-x86-sync"
PORTDIR_OVERLAY="/var/spool/portage/overlays/cross /var/lib/layman/x11 /var/lib/layman/x11 /var/lib/layman/tante_overlay /var/lib/layman/emacs /var/lib/layman/java-overlay /var/lib/layman/gnome /var/lib/layman/scarabeus /var/lib/layman/enlightenment /media/repos/flame/flame-overlay /media/repos/flame/gentoo/ruby-overlay /var/spool/portage/overlays/java-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext S3TC a52 aac acl acpi4linux alsa amd64 apm audiofile avahi avi bluetooth bzip2 bzlib caps cjk cli crypt css cups custom-cflags custom-cxxflags cxx dbus dlloader dnd dpms dri dts emacs emboss fame ffmpeg flac foomaticdb gif gmp gnome gnome-keyring gnutls gpgme gphoto2 gtk gtk2 hal idn ieee1394 imlib imlib2 inotify ipv6 ithreads java5 java6 jpeg kdehiddenvisibility latex libnotify lm_sensors lx700 lzw lzw-tiff maildir matroska midi mmx mmx2 mmxext mng modules mozsvg mp3 mpeg mpeg4 mpm-threadpool mudflap multilib native network-cron nls no_wxgtk1 noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nodrm nojdepend nojsch nojython nolog4j nomotif nooro noregexp norhino noxalan noxerces nptl nptlonly nsplugin ogg oggvorbis openmp pam pch pdf pdflib pic pmount png policykit ppds pppd pulseaudio qemu-fast reflection rtc session snmp speex spell spl sse sse2 ssl ssse3 startup-notification stencil-buffer subversion svg svgz sysfs syslog tetex theora threads tiff truetype truetype-fonts type1 type1-fonts udev uncompressed-sounds unicode usb userlocales utf8 v4l v4l2 vhosts vorbis wxwindows x11vnc xcb xcomposite xorg xpm xv xvid zeroconf zlib zsh-completion zvbi" ALSA_CARDS="hda-intel usb-audio mpu401 ice1712" ALSA_PCM_PLUGINS="iec958 plug ioplug hooks empty route asym softvol extplug" 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" APACHE2_MPMS="prefork" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en it" LIRC_DEVICES="kworld" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19 jruby" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="radeon" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-03-22 13:33:46 UTC
Guh, this seems a bit…

(gdb) print ((RequestReader*)user_data)->channel
$4 = (GVfsChannel *) 0x0

  if (reader->channel == NULL)
    {
      /* Channel was finalized */
      request_reader_free (reader);
      return;
    }

  count_read = g_input_stream_read_finish (stream, res, NULL);
  
  if (count_read <= 0)
    {
      reader->channel->priv->request_reader = NULL; ← crash happens here
      g_vfs_channel_connection_closed (reader->channel);
      request_reader_free (reader);
      return;
    }
Comment 2 Pacho Ramos gentoo-dev 2010-03-22 16:46:16 UTC
Are you able to reproduce this crash? Does it always occur when trying to open /home/flame/Desktop/Pictures/Fun.zip ?
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-03-22 16:51:25 UTC
Any .zip file, with both 1.4.3 and 1.5.5 (latest unstable release).
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-03-22 16:53:41 UTC
Created attachment 224711 [details]
The Fun.zip file

FWIW this is the file…

*WARNING*: it's safe for work, but some of its content is heavily blasphemous … albeit hugely funny :D
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-03-22 22:48:15 UTC
working like a charm on my amd64. Note that debian doesn't seem to enable this in their builds.
Comment 6 Nirbheek Chauhan (RETIRED) gentoo-dev 2010-03-23 11:56:28 UTC
(In reply to comment #5)
> working like a charm on my amd64. Note that debian doesn't seem to enable this
> in their builds.
> 

Yeah, but Fedora does (or did), which is why I had enabled archive support. Also, the file works here on x86 with stable libarchive.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-03-23 12:01:29 UTC
Hm that might count something, I'm using 2.8.3 here…
Comment 8 Pacho Ramos gentoo-dev 2010-06-13 17:30:30 UTC
Looks fixed here with 1.6.2