PCManFM 0.9.9 in Lubuntu Oneiric
Steps to reproduce:
1) Starting in /home/user/, create the folder /home/user/test1/
2) Navigate into /home/user/test1/ and create the folder /home/user/test1/test2
3) Press F5
4) Navigate back to /home/user/
5) Delete the folder /home/user/test1/
6) Create a new /home/user/test1/ folder
7) Navigate into /home/user/test1/ (You will notice it contains the subdirectory /home/user/test1/test2/ -- this is a bug since this folder doesn't exist.)
8) Press F5
Anonymous
gdb backtrace
Since the text file doesn't open in the web browser:
$ gdb pcmanfm
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 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 "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/pcmanfm...Reading symbols from /usr/lib/debug/usr/bin/pcmanfm...done.
done.
(gdb) run
Starting program: /usr/bin/pcmanfm
[Thread debugging using libthread_db enabled]
[New Thread 0xb03d1b70 (LWP 2631)]
[Thread 0xb03d1b70 (LWP 2631) exited]
[New Thread 0xb03d1b70 (LWP 2632)]
[New Thread 0xafbd0b70 (LWP 2633)]
[New Thread 0xaf2c7b70 (LWP 2634)]
[New Thread 0xaeac6b70 (LWP 2635)]
[Thread 0xaf2c7b70 (LWP 2634) exited]
[Thread 0xaeac6b70 (LWP 2635) exited]
[Thread 0xafbd0b70 (LWP 2633) exited]
[New Thread 0xafbd0b70 (LWP 2636)]
[Thread 0xafbd0b70 (LWP 2636) exited]
[New Thread 0xafbd0b70 (LWP 2637)]
[Thread 0xafbd0b70 (LWP 2637) exited]
[New Thread 0xafbd0b70 (LWP 2638)]
[Thread 0xafbd0b70 (LWP 2638) exited]
[Thread 0xb03d1b70 (LWP 2632) exited]
[New Thread 0xb03d1b70 (LWP 2639)]
[New Thread 0xafbd0b70 (LWP 2640)]
[Thread 0xb03d1b70 (LWP 2639) exited]
[New Thread 0xb03d1b70 (LWP 2641)]
[New Thread 0xaeac6b70 (LWP 2642)]
[Thread 0xb03d1b70 (LWP 2641) exited]
[Thread 0xaeac6b70 (LWP 2642) exited]
[Thread 0xafbd0b70 (LWP 2640) exited]
[New Thread 0xafbd0b70 (LWP 2643)]
** (pcmanfm:2628): DEBUG: total number of files to delete: 1
** (pcmanfm:2628): DEBUG: event of the folder itself: 2
** (pcmanfm:2628): DEBUG: folder is deleted
[New Thread 0xaeac6b70 (LWP 2644)]
[Thread 0xaeac6b70 (LWP 2644) exited]
** (pcmanfm:2628): DEBUG: event of the folder itself: 3
[Thread 0xafbd0b70 (LWP 2643) exited]
[New Thread 0xafbd0b70 (LWP 2645)]
[Thread 0xafbd0b70 (LWP 2645) exited]
[New Thread 0xafbd0b70 (LWP 2653)]
[New Thread 0xaeac6b70 (LWP 2654)]
Program received signal SIGSEGV, Segmentation fault.
on_folder_loaded (folder=0x82aacb8, item_l=0x82c4620) at gtk/fm-dir-tree-model.c:707
707 gtk/fm-dir-tree-model.c: No such file or directory.
in gtk/fm-dir-tree-model.c
(gdb) bt
#0 on_folder_loaded (folder=0x82aacb8, item_l=0x82c4620) at gtk/fm-dir-tree-model.c:707
#1 0x00a78f6c in g_cclosure_marshal_VOID__VOID () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#2 0x00a77a5c in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#3 0x00a8bec0 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#4 0x00a94b8f in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#5 0x00a94d03 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#6 0x0071feb2 in on_job_finished (job=0x82bac00, folder=0x82aacb8) at base/fm-folder.c:403
#7 0x00a78f6c in g_cclosure_marshal_VOID__VOID () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#8 0x00a77a5c in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#9 0x00a8bec0 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#10 0x00a94b8f in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#11 0x00a94d03 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#12 0x0072729d in fm_job_emit_finished (job=0x82bac00) at job/fm-job.c:314
#13 0x00727380 in on_idle_cleanup (unused=0x0) at job/fm-job.c:386
#14 0x00afc6e0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#15 0x00b0081f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#16 0x00b00f50 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#17 0x00b0155b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#18 0x003e11bf in gtk_main () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#19 0x080522ca in main (argc=1, argv=0xbffff334) at pcmanfm.c:199
(gdb)
I'll try to fix this before 1.0 release, but there is no guarantee since till now I'm not able to reproduce the bug here.
I tested this repeatedly against the current code in git and encountered no crashes. I think it has been fixed.
If it's not, please open this bug again.
I believed that it has been fixed in our git repo previously.
I repeatedly test this part and can no longer reproduce the problem
So I'm now closing the bug report.
Please test the latest source code in our git repo.
If the bug still exists, please re-open the bug report.
Thank you very much.