[Pkg-xfce-devel] Bug#805574: thunar: renaming leads to segfault
Tobias Maerkl
mtfbwy3k at yahoo.de
Thu Nov 19 17:30:40 UTC 2015
Package: thunar
Version: 1.6.10-2
Severity: normal
Dear Maintainer,
in some cases when I rename several files (each file individually), I experience frequent segfaults.
The last file that was renamed when the segfault occured ends up with the correct name but annoyingly the thunar window is closed.
* What led up to the situation?
Renaming a file after at least one file was renamed previously. It can be the same file.
* What exactly did you do (or not do) that was effective (or ineffective)?
Minimal example:
* (optional) create a new folder with a (new, empty) file "test"
* open this folder with thunar
* select file, choose rename (F2 or Mouse)
* rename e.g. to "asdt" by selecting first 3 letters ("tes") and typing "asd", hit Enter
* rename again to "asdft" by selecting first 3 letters ("asd") and typing "asdf", then hit Enter -> segfault
Mostly, the segfault can be reproduced when selected letters/strings are replaced or deleted. It seems that it occurs more often when the new string has different length (also shorter strings work sometimes) than the replaced string. I couldn't nail it down completely...
If you just insert the "f" in the example above, it won't do the trick - at least it didn't when I tested it once.
I tried to get a backtrace with gdb (my first time to use it, though), following this:
wiki.debian.org/HowToGetABacktrace
The segfaults occured much less frequent (only once) - I could find a reference to libc.so.6. (I don't remember the full message, something with "libc.so.6" and "SIGSEGV")
After installing the libc6-dbg package, however, I could not get thunar to crash again (when running it through gdb). Maybe the real culprit is not thunar but I'm stuck at this point with my investigations...
* What was the outcome of this action?
Thunar exited, printing a "segmentation fault". The file was renamed correctly.
Thanks for looking into this issue!
Regards,
Tobias
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages thunar depends on:
ii desktop-file-utils 0.22-1
ii exo-utils 0.10.7-1
ii libatk1.0-0 2.18.0-1
ii libc6 2.19-22
ii libcairo2 1.14.4-1
ii libdbus-1-3 1.10.2-1
ii libdbus-glib-1-2 0.102-1
ii libexo-1-0 0.10.7-1
ii libgdk-pixbuf2.0-0 2.32.2-1
ii libglib2.0-0 2.46.2-1
ii libgtk2.0-0 2.24.28-1
ii libgudev-1.0-0 230-2
ii libice6 2:1.0.9-1+b1
ii libnotify4 0.7.6-2
ii libpango-1.0-0 1.38.1-1
ii libsm6 2:1.2.2-1+b1
ii libthunarx-2-0 1.6.10-2
ii libxfce4ui-1-0 4.12.1-2
ii libxfce4util7 4.12.1-2
ii libxfconf-0-2 4.12.0-2+b1
ii shared-mime-info 1.5-2
ii thunar-data 1.6.10-2
Versions of packages thunar recommends:
ii dbus-x11 1.10.2-1
ii gvfs 1.26.2-1
ii libfontconfig1 2.11.0-6.3
ii libfreetype6 2.6-2
ii libpangocairo-1.0-0 1.38.1-1
ii libpangoft2-1.0-0 1.38.1-1
ii thunar-volman 0.8.1-2
ii tumbler 0.1.31-2+b2
pn xdg-user-dirs <none>
ii xfce4-panel 4.12.0-3
Versions of packages thunar suggests:
ii thunar-archive-plugin 0.3.1-4
ii thunar-media-tags-plugin 0.2.1-1+b2
-- no debconf information
More information about the Pkg-xfce-devel
mailing list