Tumblerd crashes repeatedly with segfault and the following message in the kernel log:
Mar 6 10:57:27 localhost kernel: tumblerd: segfault at 0 ip (null) sp 00007fff751f6378 error 14 in tumblerd[400000+11000]
Mar 6 13:38:30 localhost kernel: tumblerd: segfault at 0 ip (null) sp 00007fff06759478 error 14 in tumblerd[400000+11000]
Mar 6 21:43:42 localhost kernel: tumblerd: segfault at 0 ip (null) sp 00007fff64d04bd8 error 14 in tumblerd[400000+11000]
Mar 7 13:49:27 localhost kernel: tumblerd: 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 126.96.36.199.
Confirmed. I got the same problem on Gentoo Linux amd64 (tumbler-0.1.21 with ffmpeg jpeg pdf support, thunar-1.3.0):
tumblerd: segfault at 0 ip (null) sp 00007fff65024738 error 14 in tumblerd[400000+17000]
While there's that dmesg spam, thumbnails are created successfully.
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 ^^
You can run "killall tumblerd; gdb /usr/lib/tumbler-1/tumblerd" to create a new instance of tumblerd with gdb attached.
*** Bug 7386 has been marked as a duplicate of this bug. ***
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.
(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).
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.
[316529.421170] tumblerd: segfault at 0 ip (null) sp bfa56e4c error 4 in tumblerd[8048000+10000]
[322325.307832] tumblerd: segfault at 0 ip (null) sp bfce1a9c error 4 in tumblerd[8048000+10000]
[411411.308043] tumblerd: segfault at 0 ip (null) sp bf9f169c error 4 in tumblerd[8048000+10000]
$ emerge --info
Portage 188.8.131.52 (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]
dev-lang/python: 2.7.2-r3, 3.1.4-r3
sys-devel/autoconf: 2.13, 2.68
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
CFLAGS="-Os -march=native -pipe -fomit-frame-pointer"
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"
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"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.lug.udel.edu/pub/gentoo/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LINGUAS="en_US.utf-8 en_US.UTF-8 UTF-8 en_US"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
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 ?? ()
No usable data.
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)]
[17282.122795] tumblerd: segfault at 0 ip 000000000040b8f8 sp 00007fff45731450 error 4 in tumblerd[400000+17000]
[17283.348625] tumblerd: segfault at 0 ip 000000000040b8f8 sp 00007fff7866f2b0 error 4 in tumblerd[400000+17000]
[17284.315029] tumblerd: segfault at 0 ip 000000000040b8f8 sp 00007fff0bc3f580 error 4 in tumblerd[400000+17000]
[17289.225560] tumblerd: segfault at 0 ip 000000000040b8f8 sp 00007fff2b940da0 error 4 in tumblerd[400000+17000]
[17292.057964] tumblerd: 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 ()
#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 ()
Forgot to mention that i'm using tumblerd-0.1.27