#517 PCManFM 0.9.10 crashes when unmounting a peripheral

closed-wont-fix
nobody
None
5
2014-05-12
2012-01-07
Anonymous
No

Hi,
Since pcmanfm 0.9.10 has been packaged, along with libfm 0.1.17, it is not possible anymore to unmount an internal partition or a USB stick without having the file manager crashing.

In ~/.xsession-errors I get this kind of message:
*********

** (pcmanfm:10980): DEBUG: FmJob error: No such file or directory
** (pcmanfm:10980): DEBUG: try automount
** (pcmanfm:10980): DEBUG: on_mount_action_finished
** (pcmanfm:10980): DEBUG: try automount
** (pcmanfm:10980): DEBUG: on_mount_action_finished
** (pcmanfm:10980): DEBUG: try automount
** (pcmanfm:10980): DEBUG: on_mount_action_finished
************

I think there is no debug enabled at compile time, when I run it from console it just gives back the prompt. If I run it in gdb, here is what I get:
*******************************
$ gdb pcmanfm
GNU gdb (GDB) 7.1-2pclos2010 (PCLinuxOS release 2010)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-mandriva-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/pcmanfm...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/pcmanfm
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.2800.6-gdb.py", line 9, in <module>
from gobject import register
File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]
[New Thread 0xb3640b70 (LWP 14085)]
[New Thread 0xb2cffb70 (LWP 14086)]
[New Thread 0xb22ffb70 (LWP 14087)]
** (pcmanfm:14080): DEBUG: FmJob error: No such file or directory
[Thread 0xb2cffb70 (LWP 14086) exited]
** (pcmanfm:14080): DEBUG: try automount
** (pcmanfm:14080): DEBUG: on_mount_action_finished
** (pcmanfm:14080): DEBUG: try automount
** (pcmanfm:14080): DEBUG: on_mount_action_finished
** (pcmanfm:14080): DEBUG: try automount
** (pcmanfm:14080): DEBUG: on_mount_action_finished
[Thread 0xb22ffb70 (LWP 14087) exited]
[New Thread 0xb22ffb70 (LWP 14158)]
[Thread 0xb22ffb70 (LWP 14158) exited]
** (pcmanfm:14080): DEBUG: vol-changed
** (pcmanfm:14080): DEBUG: vol-changed
** (pcmanfm:14080): DEBUG: on_mount_action_finished
[New Thread 0xb22ffb70 (LWP 14180)]
** (pcmanfm:14080): DEBUG: mount path: disk
[New Thread 0xb2cffb70 (LWP 14181)]
[New Thread 0xb18ffb70 (LWP 14182)]
[Thread 0xb2cffb70 (LWP 14181) exited]
[Thread 0xb18ffb70 (LWP 14182) exited]
[New Thread 0xb18ffb70 (LWP 14183)]
[New Thread 0xb2cffb70 (LWP 14184)]
[Thread 0xb2cffb70 (LWP 14184) exited]
[Thread 0xb18ffb70 (LWP 14183) exited]
[New Thread 0xb2cffb70 (LWP 14185)]
[New Thread 0xb18ffb70 (LWP 14186)]
[Thread 0xb2cffb70 (LWP 14185) exited]
[Thread 0xb18ffb70 (LWP 14186) exited]
[New Thread 0xb18ffb70 (LWP 14187)]
[New Thread 0xb2cffb70 (LWP 14188)]
[Thread 0xb18ffb70 (LWP 14187) exited]
[Thread 0xb2cffb70 (LWP 14188) exited]
[Thread 0xb22ffb70 (LWP 14180) exited]
[New Thread 0xb22ffb70 (LWP 14192)]
[New Thread 0xb2cffb70 (LWP 14193)]
[New Thread 0xb18ffb70 (LWP 14194)]
[Thread 0xb2cffb70 (LWP 14193) exited]
[Thread 0xb18ffb70 (LWP 14194) exited]
[Thread 0xb22ffb70 (LWP 14192) exited]
** (pcmanfm:14080): DEBUG: vol-changed
** (pcmanfm:14080): DEBUG: on_mount_action_finished
** (pcmanfm:14080): DEBUG: event of the folder itself: 6
** (pcmanfm:14080): DEBUG: folder is unmounted
[Thread 0xb3640b70 (LWP 14085) exited]

Program exited normally.

*******************************

This happens when I unmount from a subdirectory of the mounted partition and also when the directory used as mount point is in use. I notice that it does not crash if I first go back to an upper directory which is above the directory used as mount point (here /media).

When I revert to a former version, a 0.9.9 with libfm 0.1.15 it does not crash on umount, whatever subfolder is in use.

Thanks if you can fix it in next versions.

Regards,
Mélodie

Discussion

  • Lonely Stranger

    Lonely Stranger - 2012-05-16

    What you've described isn't a crash but normal window closing after unmounting the volume. Cannot remember when it was introduced, possibly in 0.9.10, so AFAIK it's not a bug but feature and there is nothing to be fixed.

     
  • PCMan

    PCMan - 2012-05-18
    • status: open --> pending
     
  • PCMan

    PCMan - 2012-05-18

    Indeed. This looks more like a normal program exit rather than crash.
    Currently when a directory is being unmount, pcmanfm closes its window.

     
  • Lonely Stranger

    Lonely Stranger - 2012-09-01
    • status: pending --> closed-wont-fix
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks