Sometimes when i try to copy files with thunar it crashes and causes a kernel oops. The system is at 100% cpu load but still usable to do a normal reboot which took much more longer than normal. Reproducible: Sometimes Steps to Reproduce: 1. Start Thunar 2. Cut some files and paste it somewhere else Actual Results: Thunar crashes Expected Results: Thunar should not crash and paste the files. Additional info: Here is the output from /var/log/messages Feb 12 21:01:12 gentoo BUG: unable to handle kernel NULL pointer dereference at virtual address 00000014 Feb 12 21:01:12 gentoo printing eip: Feb 12 21:01:12 gentoo c018ed3b Feb 12 21:01:12 gentoo *pde = 00000000 Feb 12 21:01:12 gentoo Oops: 0000 [#1] Feb 12 21:01:12 gentoo PREEMPT SMP Feb 12 21:01:12 gentoo Modules linked in: af_packet w83627ehf i2c_isa eeprom snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_hda_intel snd_hda_codec snd_pcm snd_timer nvidia(P) snd usblp r8169 snd_page_alloc pcspkr i2c_i801 generic agpgart sr_mod cdrom sg unix xfs nfs lockd sunrpc jfs reiserfs sbp2 ohci1394 ieee1394 usbhid uhci_hcd usb_storage ehci_hcd usbcore Feb 12 21:01:12 gentoo CPU: 1 Feb 12 21:01:12 gentoo EIP: 0060:[<c018ed3b>] Tainted: P VLI Feb 12 21:01:12 gentoo EFLAGS: 00010202 (2.6.19-gentoo-r5 #3) Feb 12 21:01:12 gentoo EIP is at mounts_open+0x36/0xf0 Feb 12 21:01:12 gentoo eax: 00000000 ebx: f7c03a90 ecx: f7c03b58 edx: 00000000 Feb 12 21:01:12 gentoo esi: ef5d6934 edi: f7c03f34 ebp: e6e208c0 esp: e06fdec8 Feb 12 21:01:12 gentoo ds: 007b es: 007b ss: 0068 Feb 12 21:01:12 gentoo Process Thunar (pid: 4456, ti=e06fc000 task=dfde8a90 task.ti=e06fc000) Feb 12 21:01:12 gentoo Stack: 00008001 00000004 e6e208c0 ef5d6934 e06fdf1c c018ed05 c015b1f4 ef5d6934 Feb 12 21:01:12 gentoo e6e208c0 dfc8bc40 dcb5321c 00008001 00008000 e06fdf1c 0000000f c015b44b Feb 12 21:01:12 gentoo e6e208c0 00000000 00008001 00000000 e06fdf1c dcb5321c dfc8bc40 dfc8bc68 Feb 12 21:01:12 gentoo Call Trace: Feb 12 21:01:12 gentoo [<c018ed05>] mounts_open+0x0/0xf0 Feb 12 21:01:12 gentoo [<c015b1f4>] __dentry_open+0xe4/0x255 Feb 12 21:01:12 gentoo [<c015b44b>] do_filp_open+0x48/0x4f Feb 12 21:01:12 gentoo [<c015b0ff>] get_unused_fd+0xbe/0xcf Feb 12 21:01:12 gentoo [<c015b499>] do_sys_open+0x47/0xed Feb 12 21:01:12 gentoo [<c015b591>] sys_open+0x27/0x2b Feb 12 21:01:12 gentoo [<c0102f99>] sysenter_past_esp+0x56/0x79 Feb 12 21:01:12 gentoo ======================= Feb 12 21:01:12 gentoo Code: 8b 44 24 1c 8b 40 f0 31 d2 e8 77 df f9 ff 89 c3 85 c0 0f 84 b1 00 00 00 8d b8 a4 04 00 00 89 f8 e8 82 ee 17 00 8b 83 48 04 00 00 <8b> 70 14 85 f6 74 03 f0 ff 06 89 f8 e8 8f ef 17 00 f0 ff 4b 08 Feb 12 21:01:12 gentoo EIP: [<c018ed3b>] mounts_open+0x36/0xf0 SS:ESP 0068:e06fdec8 Feb 12 21:01:12 gentoo <6>note: Thunar[4456] exited with preempt_count 1 And here are some infos from gentoo`s emerge which may also be useful. emerge --info Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686) ================================================================= System uname: 2.6.19-gentoo-r5 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Gentoo Base System version 1.12.6 Timestamp of tree: Sun, 11 Feb 2007 15:50:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 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 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" CHOST="i686-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" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" DISTDIR="/media/system/portage/distfiles" FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.uni-erlangen.de/" LINGUAS="de" MAKEOPTS="-j7" PKGDIR="/media/system/portage/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/media/system/portage" PORTDIR_OVERLAY="/media/system/portage-billie /media/system/layman/sunrise /media/system/layman/masterdriverz" SYNC="rsync://192.168.0.1/gentoo-portage" USE="7zip X a52 aac aalib ace acpi alsa amr ao arj audiofile avahi bash-completion berkdb bidi bitmap-fonts bl bzip2 cairo caps cdda cddb cdparanoia chardet cli corba cracklib crypt css cups curl daap dbus dga directfb divx djvu dlloader dri dts dv dvb dvd dvdr dvdread enca encode exif fame fbcon ffmpeg fftw flac fortran gd gdbm ggi gif glitz gmedia gnutls gpm hal httpd iconv ieee1394 imagemagick imlib ipv6 isdnlog jack java jbig jpeg jpeg2k lame lcms ldap lha libcaca libg++ libnotify live lzo mad matroska midi mjpeg mmap mmx mmxext mng mod modplug mono motif mp3 mpeg mpi musepack musicbrainz nas ncurses netjack network nls nptl nptlonly nsplugin ogg openal opengl oss pam pcre pdf perl plotutils plugins png portaudio ppds pppd pulseaudio python quicktime rar readline real realmedia reflection rle rpm rtc rtsp sdl sdl-image session shout sid skins slang smp sndfile speex spell spl sse sse2 ssl startup-notification stream svg svga tcpd tga theora tiff timidity truetype truetype-fonts type1-fonts udev unicode upnp usb v4l v4l2 vcd vidix vlm vorbis vorbis-psy win32codecs wma wmf wmp wxwindows x264 x86 xanim xcomposite xml xorg xosd xpm xv xvid xvmc yv12 zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev v4l vesa vga nvidia nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Err, maybe there's someone who find the gentoo info stuff useful, but that doesn't help at all here. Please attach a backtrace of the crash preferably build with --enable-debug=full. BTW: Kernel oops are bugs in the kernel, probably because arguments from user space aren't handled or validated properly.
I enabled the debugging flag when building thunar, but i could not make thunar crash within gdb. It seems when debugging is enabled thunar did not crash anymore even without gdb.
I just want to state that there has been no crash of thunar sine i enabled the debug options. I compiled thunar with the gddb option in cflags and disabled stripping.
Although there are no more kernel oops appearing with debugging enabled, i have still problems with thunar which are forcing me to kill all instances and start thunar again. I tried again to produce a backtrace which i finally got. To get it i have opened a few instaces of Thunar. This resulted in printing and many messages like this, even if i do nothing in the file manager. [New Thread -1221073232 (LWP 18511)] [New Thread -1290167408 (LWP 18515)] [Thread -1323738224 (LWP 18519) exited] [Thread -1290167408 (LWP 18515) exited] The windows of thunar get inaccessable and when moving them around or trying to switch folders, thunar consumes up to 50% of my cpu. Finally thunar receives a SIGPIPE signal, from which i created the backtrace. Maybe it is useful for you. if you need more information feel free to ask.
Created attachment 1180 Thunar backtrace
I have disabled the debugging option in thunar and now the kernel oopses disappeared. Maybe newer kernels didn't have this problem anymore. Thunar is working fine now when using only one instance of it, when i open a second instance of thunar it utilizes a lot more of CPU power than before and it became unusable. This seems to be also the original reason for the oopses, not the copying of the files, as i copied them from one instance to another. Unusable means for both instances no more copying of files, switching folders and so on. I have to kill thunar and restart it in daemon mode.
Is there nobody who can reproduce this? Or should i provide more infos?
The last bug you discribed looks like this one: http://bugzilla.xfce.org/show_bug.cgi?id=3602
I think the issue is solved in thunar-1.0.0, so this and bug #3602 are fixed now.
Marking as fixed per last comment.