#828 crash on CTRL+X, change directory, CTRL+V before directory listing finished

1.2
closed-fixed
libfm (242)
7
2014-06-23
2014-02-20
Casey Jones
No

pcmanfm 1.2.0 on Arch Linux

If I CTRL+X to cut a file, then change to a new directory with a long listing and hit CTRL+V to paste before the contents of the directory finish listing, pcmanfm always crashes for me.

$ strace pcmanfm
<snip>
munmap(0xb778a000, 4096)                = 0
getuid32()                              = 1000
connect(5, {sa_family=AF_LOCAL, sun_path="/tmp/.pcmanfm-socket--0-user"}, 31) = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fstat64(5, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb778a000
_llseek(5, 0, 0xbf83aab0, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
getcwd("/home/user", 4096)             = 12
write(5, "/home/user\n0\n", 14)        = 14
close(5)                                = 0
munmap(0xb778a000, 4096)                = 0
close(5)                                = -1 EBADF (Bad file descriptor)
exit_group(0)                           = ?
+++ exited with 0 +++

I remember not having had this problem in older versions -- the operations of pasting file(s) and rendering directory listings were previously able to take place simultaneously, without interfering with each other.

Please let me know if I can assist in providing any further information. Big thanks for your work -- love it. [-:

Discussion

  • Thank you very much for reporting this.
    I have no idea why you not remember to have it - this problem was around since start. I hope it is completely fixed now in the GIT repository. Check it when it's possible for you, please.

     
    • labels: --> libfm
    • status: open --> closed-fixed
    • assigned_to: Lonely Stranger
    • Priority: 5 --> 7