! 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 !
Thunar fails to behave properly if it's showing a directory under heavy creat...
Status:
RESOLVED: WONTFIX

Comments

Description Giovani Faccin 2012-03-06 17:31:21 CET
I've got a simulation script that runs fast tests inside a folder. For each test, the script creates a new directory with names like "2.102.092.28" and so on. In a second, usually one dir is created, the test run inside it, then it's either deleted, moved away or renamed.

Now while that happens, I open thunar on the main dir and start checking files around. Some of the files I open on a text editor might be moved away by the script on the fly, or just stand there. At the same time, a dir thunar is displaying might suffer the same effect. When it happens, Thunar tries to keep updating the directory listing as it changes.

After a few minutes, thunar stops answering properly. If I try to open any kind of file on the computer under thunar, I get this error message: "Failed to read enough data from child pid pipe (No such file or directory)". 

The only way to stop the bug after it starts happening is to reset the computer, no matter if the simulation script is still running or not.

I can try to provide more details, just ask what you need to know.
Comment 1 Steve Dodier-Lazaro editbugs 2014-11-04 13:29:08 CET
Hi Giovani,

There are a number of things you could do to help us fix this bug. First, you could provide a sample script that we can run to reproduce the bug. Reproducing bugs makes it much easier to fix them.

Also, you can build a debug version of Thunar (if using Debian/Xubuntu/Mint you can just install thunar-dbg instead of thunar; else build it from source and add --enable-debug to ./configure) and you can run this version with gdb:

$gdb thunar
[...]
$run
[... when it crashes ...]
$bt

And attach the backtrace here. If you know your way around a debugger, feel free to go up and down and provide more traces.

It could also be useful to run Thunar under Valgrind but you should expect this to be quite slow:
$valgrind --leak-check=full thunar 2>&1 > ValgrindThunar.txt
Comment 2 Giovani Faccin 2014-11-04 19:36:42 CET
Hi Steve,

Sorry, but this bug is over 2 years old. After filing this report and getting mad about it, I moved to xfe, and never used thunar again. I don't even remember anymore exactly what I was doing back then, in order to reproduce it today.

I'm marking it as resolved.

Regards.

Bug #8534

Reported by:
Giovani Faccin
Reported on: 2012-03-06
Last modified on: 2014-11-04

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Attachments

Additional information