This began happening after using newer kernels than 2.6.38.8. Current kernel in use is 3.2.15-pclos1.pae. But I don't think the kernel has anything to do with it. The culprit seems to be libgtk-x11. No errors show in ~/.xsession-errors. Dmesg does show errors.
pcmanfm[9088]: segfault at aaaaaaaa ip 43880260 sp bf83a210 error 4 in libgtk-x11-2.0.so.0.2400.4[437d7000+45d000]
pcmanfm[16300]: segfault at aaaaaae2 ip 43a44dda sp bfc57810 error 4 in libgtk-x11-2.0.so.0.2400.4[437d7000+45d000]
pcmanfm[23022]: segfault at aaaaaaaa ip 43880260 sp bf908410 error 4 in libgtk-x11-2.0.so.0.2400.4[437d7000+45d000]
pcmanfm[26122]: segfault at aaaaaaaa ip 43880260 sp bfd36060 error 4 in libgtk-x11-2.0.so.0.2400.4[437d7000+45d000]
pcmanfm[28622]: segfault at aaaaaaaa ip 43880260 sp bf9c8950 error 4 in libgtk-x11-2.0.so.0.2400.4 (deleted)[437d7000+45d000]
pcmanfm[8241]: segfault at aaaaaaaa ip b73a1260 sp bfc7bae0 error 4 in libgtk-x11-2.0.so.0.2400.4[b72f8000+45d000]
pcmanfm[14704]: segfault at aaaaaaaa ip b738d260 sp bfc429d0 error 4 in libgtk-x11-2.0.so.0.2400.4[b72e4000+45d000]
pcmanfm[14924]: segfault at aaaaaaaa ip b7388260 sp bfe2d9f0 error 4 in libgtk-x11-2.0.so.0.2400.4[b72df000+45d000]
I reinstalled pcmanfm, libfm, libfm and libgtk+-x11 packages, but the problem persists.
It happens usually after unmounting a removable device in the PCManFM window. After the removable device has been unmounted, I click my home directory icon in the left pane, which results in my home directory contents being shown in the right pane. Everything is fine until I physically remove the removable device, (usually a USB thumb drive). At that point, the PCManFM window disappears from the screen.
It sometimes happens when copying files from one directory or partition to another. The PCManFM window will disappear, causing the file copy process to abort. I can reopen the file manager window and restart the copying without loss of data.
I'm wondering if I should try removing the libgtk-x11-2.0.so.0.2400.4 file itself before reinstalling the libgtk-x11 package. Doing a net search for "error 4 in libgtk" brings up quite a few hits relating to other applications.