! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
segfault (error 14)
Status:
RESOLVED: WORKSFORME
Severity:
critical
Product:
Tumbler
Component:
General

Comments

Description lynix47 2011-03-07 14:30:22 CET
Tumblerd crashes repeatedly with segfault and the following message in the kernel log:

Mar  6 10:57:27 localhost kernel: tumblerd[2704]: segfault at 0 ip           (null) sp 00007fff751f6378 error 14 in tumblerd[400000+11000]
Mar  6 13:38:30 localhost kernel: tumblerd[24661]: segfault at 0 ip           (null) sp 00007fff06759478 error 14 in tumblerd[400000+11000]
Mar  6 21:43:42 localhost kernel: tumblerd[2626]: segfault at 0 ip           (null) sp 00007fff64d04bd8 error 14 in tumblerd[400000+11000]
Mar  7 13:49:27 localhost kernel: tumblerd[2667]: segfault at 0 ip           (null) sp 00007fff313ff0c8 error 14 in tumblerd[400000+11000]

These entries in the kernel log are the only things that the user can see of this behaviour, as thumbnails are indeed generated and displayed correctly.

I'm using Thunar (1.2.1) on an up-to-date Arch Linux x64 on linux 2.6.37.2.


Thanks,

lynix
Comment 1 Harald Judt 2011-03-19 16:45:10 CET
Confirmed. I got the same problem on Gentoo Linux amd64 (tumbler-0.1.21 with ffmpeg jpeg pdf support, thunar-1.3.0):

tumblerd[13510]: segfault at 0 ip           (null) sp 00007fff65024738 error 14 in tumblerd[400000+17000]

While there's that dmesg spam, thumbnails are created successfully.
Comment 2 lynix47 2011-03-19 20:22:38 CET
Would be very nice to get any kind of response for a bug marked as critical within two weeks... just to be sure not to be using the wrong bugtracker ;)

If I knew how to attach gdb to these tumblerd-processes I'd try to find the bug ^^
Comment 3 Jannis Pohlmann editbugs 2011-03-19 20:27:07 CET
You can run "killall tumblerd; gdb /usr/lib/tumbler-1/tumblerd" to create a new instance of tumblerd with gdb attached.
Comment 4 Jérôme Guelfucci editbugs 2011-05-06 10:13:09 CEST
*** Bug 7386 has been marked as a duplicate of this bug. ***
Comment 5 gw.kenta 2011-09-28 20:48:32 CEST
A small update. I had GDB set up to watch tumbler (with debug flags enabled) and waited for the bug to occur again, which it did.
The problem is GDB is catching nothing. I have a stuck thunar window and htop reports that tumblerd is using 100% of one of my cores. 
The last thing I had done before the error occurred:
1) Downloaded a jpeg image to a folder named ~/Pictures/Temp
2) Tried to open said folder via Openbox launcher menu
3) Thunar opens and freezes


I can't provide any logs as none of them are saying anything, not even dmesg as there aren't any errors being put out. 

I had left the window open for a few minutes and the contents of the folder appeared for a brief moment, but disappeared within a second.

Quick addition. As I was writing this report the contents of the window reappeared and persisted. The window was still unresponsive however, and as soon as I switched workspaces it went blank again. I also noticed that when I try to open new thunar windows there is a 10-15 second delay before an unresponsive window appears.
Comment 6 Jannis Pohlmann editbugs 2011-10-16 10:59:34 CEST
(In reply to comment #5)
> A small update. I had GDB set up to watch tumbler (with debug flags enabled)
> and waited for the bug to occur again, which it did.
> The problem is GDB is catching nothing.

If tumblerd is started in gdb and it crashes, it WILL catch something.

> I have a stuck thunar window and htop
> reports that tumblerd is using 100% of one of my cores. 
> The last thing I had done before the error occurred:
> 1) Downloaded a jpeg image to a folder named ~/Pictures/Temp
> 2) Tried to open said folder via Openbox launcher menu
> 3) Thunar opens and freezes

Can you try the latest tumbler release?

> I had left the window open for a few minutes and the contents of the folder
> appeared for a brief moment, but disappeared within a second.
> 
> Quick addition. As I was writing this report the contents of the window
> reappeared and persisted. The window was still unresponsive however, and as
> soon as I switched workspaces it went blank again. I also noticed that when I
> try to open new thunar windows there is a 10-15 second delay before an
> unresponsive window appears.

This is unrelated. Thunar performs all thumbnail requests asynchronously, which means it does not block or become unresponsive due to thumbnails being generated (or not).
Comment 7 gw.kenta 2011-10-19 21:36:53 CEST
I almost forgot about this bug report. Either way I mentioned in another bug report I was using a pci-express nVidia Gefore 6600 GT. The problems had started after I had put the card in, and I later found out that the card itself had some swelling capacitors. I took it out and the problems have been gone ever since. I'm not sure if it was a software problem relating to the nVidia binary drivers or if it was due to the failing hardware, but I'd be willing to bet money that the card had something to do with it.
I don't have any logs or anything that I can provide though, sorry.
Comment 8 bifeo 2011-11-18 23:38:47 CET
[316529.421170] tumblerd[3088]: segfault at 0 ip   (null) sp bfa56e4c error 4 in tumblerd[8048000+10000]
[322325.307832] tumblerd[6949]: segfault at 0 ip   (null) sp bfce1a9c error 4 in tumblerd[8048000+10000]
[411411.308043] tumblerd[10138]: segfault at 0 ip   (null) sp bf9f169c error 4 in tumblerd[8048000+10000]


xfce-extra/tumbler-0.1.22-r1:0

$ emerge --info
Portage 2.1.10.11 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo-savant i686)
=================================================================
System uname: Linux-3.0.6-gentoo-savant-i686-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 18 Nov 2011 15:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.lug.udel.edu/pub/gentoo/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US.utf-8 en_US.UTF-8 UTF-8 en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa avahi bash-completion berkdb bidi branding bzip2 cairo cdda cdio cdr cjk cli consolekit cracklib crypt cups cxx dbus device-mapper dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac foomaticdb fortran fuse gdbm gdu gif gimp git gnutls gpm gstreamer gtk howl-compat httpd iconv imagemagick intel_led ipod java jpeg kerberos lcms ldap libnotify live lock lua mad matroska mdnsresponder-compat mmx mng modules mp3 mp4 mpeg mplayer mudflap nano-syntax ncurses nls nptl nptlonly nsplugin ntfs ntfsprogs ogg opengl openmp oscar pam pango pcre pdf perl pidgin png policykit posix ppds python rdesktop readline resolvconf samba sdl session slp sox spell sse sse2 sse3 sse4_1 ssh ssl ssse3 startup-notification stream subversion svg symlink sysfs tcpd theora threads thunar thunderbird tiff truetype udev unicode unique usb vcd vlm vnc vorbis vte winbind x264 x86 xcb xcomposite xml xorg xscreensaver xulrunner xv xvid yahoo zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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 stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US.utf-8 en_US.UTF-8 UTF-8 en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

#0  0x00000000 in ?? ()
#1  0xb6c8447e in std::ios_base::Init::~Init() () from /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libstdc++.so.6
#2  0xb7c49f07 in ?? () from /lib/libc.so.6
#3  0xb7c49f70 in exit () from /lib/libc.so.6
#4  0xb7c3313f in __libc_start_main () from /lib/libc.so.6
#5  0x0804c6f1 in ?? ()
Comment 9 Nick Schermer editbugs 2012-12-08 18:22:32 CET
No usable data.
Comment 10 kunitoki 2013-01-16 15:24:28 CET
Here it is (Vaio VPCF13 Laptop, gentoo-amd64, kernel-3.7.2, gcc-4.6.3):

Starting program: /usr/lib64/tumbler-1/tumblerd 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe1f12700 (LWP 12066)]
[New Thread 0x7fffe1711700 (LWP 12067)]

dmesg reports:
...
[17282.122795] tumblerd[10901]: segfault at 0 ip 000000000040b8f8 sp 00007fff45731450 error 4 in tumblerd[400000+17000]
[17283.348625] tumblerd[10908]: segfault at 0 ip 000000000040b8f8 sp 00007fff7866f2b0 error 4 in tumblerd[400000+17000]
[17284.315029] tumblerd[10913]: segfault at 0 ip 000000000040b8f8 sp 00007fff0bc3f580 error 4 in tumblerd[400000+17000]
[17289.225560] tumblerd[10949]: segfault at 0 ip 000000000040b8f8 sp 00007fff2b940da0 error 4 in tumblerd[400000+17000]
[17292.057964] tumblerd[10971]: segfault at 0 ip 000000000040b8f8 sp 00007fff3a73ab00 error 4 in tumblerd[400000+17000]
...


then running tumblerd with gdb
...
Program received signal SIGSEGV, Segmentation fault.
0x000000000040b8f8 in tumbler_registry_get_thumbnailer_array ()
(gdb) bt
#0  0x000000000040b8f8 in tumbler_registry_get_thumbnailer_array ()
#1  0x000000000040da64 in tumbler_service_queue ()
#2  0x000000000040cc63 in dbus_glib_marshal_tumbler_service_VOID__BOXED_BOXED_STRING_STRING_UINT_POINTER ()
#3  0x00007ffff7bc1f38 in object_registration_message () from /usr/lib64/libdbus-glib-1.so.2
#4  0x00007ffff7990efe in _dbus_object_tree_dispatch_and_unlock () from /usr/lib64/libdbus-1.so.3
#5  0x00007ffff7986876 in dbus_connection_dispatch () from /usr/lib64/libdbus-1.so.3
#6  0x00007ffff7bbf185 in message_queue_dispatch () from /usr/lib64/libdbus-glib-1.so.2
#7  0x00007ffff6ee7813 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#8  0x00007ffff6ee7b60 in g_main_context_iterate.isra.25 () from /usr/lib64/libglib-2.0.so.0
#9  0x00007ffff6ee7f5a in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#10 0x0000000000406bda in main ()
Comment 11 kunitoki 2013-01-16 15:25:32 CET
Forgot to mention that i'm using tumblerd-0.1.27

Bug #7384

Reported by:
lynix47
Reported on: 2011-03-07
Last modified on: 2013-01-16
Duplicates (1):
  • 7386 tumblerd constantly get segfaulted at 0 ip

People

Assignee:
Jannis Pohlmann
CC List:
7 users

Version

Version:
0.1.21

Attachments

Additional information