Author Topic: PCManFM window closes under certain conditions  (Read 545 times)

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
PCManFM window closes under certain conditions
« on: April 19, 2012, 02:50:32 PM »
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.

Code: [Select]
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.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: PCManFM window closes under certain conditions
« Reply #1 on: April 19, 2012, 03:02:57 PM »
It happens usually after unmounting a removable device in the PCManFM window.

I have done a bit of investigation in that area, my results were a bit different:

when I tried the crash/segfault/pcmanfm termination happened only upon the following condition:

a) you open pcmanfm, you mount a device
b) you close that instance of pcmanfm
c) you reopen pcmanfm and while unmounting the device it crashes.

instead, if you work using always the same instance of pcmanfm, (never close it), you can mount and unmount devices how many times you like without any crash.

Could you replicate the same ?

AS

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: PCManFM window closes under certain conditions
« Reply #2 on: April 19, 2012, 03:31:01 PM »
instead, if you work using always the same instance of pcmanfm, (never close it), you can mount and unmount devices how many times you like without any crash.

Could you replicate the same ?

AS

Aha! You are right, I do open and close the window before unmounting. I'll test the same without ever closing PCManFM and see what happens. However, I'm more concerned about the libgtk-x11 segfaults. Think I ought to remove the .so before reinstalling libgtk-x11 again?
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: PCManFM window closes under certain conditions
« Reply #3 on: April 19, 2012, 05:52:57 PM »
Hi,

The Lxde development team is aware of the situation for pcmanfm/libfm, which at this stage crashes as well in other distributions, under various conditions (for some it crashes when changing icons on the desktop) and is working actively to produce a new version. The next should be PCManFM 1.0.

A newer version of Lxpanel : Lxpanel2 is also on it's way.

Regards,
Mélodie

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: PCManFM window closes under certain conditions
« Reply #4 on: April 19, 2012, 08:02:21 PM »
Hi,

The Lxde development team is aware of the situation for pcmanfm/libfm, which at this stage crashes as well in other distributions, under various conditions (for some it crashes when changing icons on the desktop) and is working actively to produce a new version. The next should be PCManFM 1.0.

A newer version of Lxpanel : Lxpanel2 is also on it's way.

Regards,
Mélodie


Thanks, Mel. I ended up renaming libgtk-x11-2.0.so.0.2400.4. Bad move.  ::)  Couldn't open any windows.  ???  Had to open a virtual console, login as root, and mv the file back to its original name. While in the virtual console, I thought about just reinstalling the libgtk+-x11-2.0_0-2.24.5-3pclos2011 package. Then I thought, "No, I'll just get into more hot water. I can live with the little quirks."   ;) :D ;D

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378