Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355761 - pcmanfm-0.9.9_pre20110216: segfault on startup
Summary: pcmanfm-0.9.9_pre20110216: segfault on startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-20 22:05 UTC by Vicente Olivert Riera (RETIRED)
Modified: 2011-02-25 18:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vicente Olivert Riera (RETIRED) gentoo-dev 2011-02-20 22:05:58 UTC
When I try to run pcmanfm, it hangs with this:

$ pcmanfm
** (pcmanfm:17880): DEBUG: device_added: /org/freedesktop/UDisks/devices/sda
** (pcmanfm:17880): DEBUG: device_added: /org/freedesktop/UDisks/devices/sda1
** (pcmanfm:17880): DEBUG: device_added: /org/freedesktop/UDisks/devices/sr0
** (pcmanfm:17880): DEBUG: device_added: /org/freedesktop/UDisks/devices/sr1

(pcmanfm:17880): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
Segmentation fault

Reproducible: Always

Steps to Reproduce:
Comment 1 nm (RETIRED) gentoo-dev 2011-02-22 06:21:19 UTC
Confirmed. On my AMD64 system, this is what I see when running it from the command line:

$ pcmanfm 

(pcmanfm:17965): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
Segmentation fault


Nothing needs to be revdep-rebuilt, either, and no amount of restarting services or rebooting the system fixes it.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2011-02-22 13:20:39 UTC
I can't reproduce it in 3 different machines using either the snapshots or the live ebuild. Can you please remove you local configuration files from your $home directory and try again?
Comment 3 Vicente Olivert Riera (RETIRED) gentoo-dev 2011-02-22 13:51:23 UTC
I have deleted ~/.config/libfm and ~/.config/pcmanfm directories, and the problem persists.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2011-02-22 15:58:01 UTC
Whats your glib and gtk+ versions?
Comment 5 Vicente Olivert Riera (RETIRED) gentoo-dev 2011-02-22 16:00:42 UTC
peratu@fujitsu ~ $ qlist -Iev glib
dev-libs/glib-2.26.1-r1
peratu@fujitsu ~ $ qlist -Iev gtk+
x11-libs/gtk+-2.20.1-r1

I have tried downgrading my glib to 2.24.2 (the stable one) , and then remerging libfm and pcmanfm , but the I still having the same problem.

I have also tried with libfm-9999 and pcmanfm-9999 , but I still having the same problem.
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2011-02-22 16:32:47 UTC
Seriously, are you using the stable gtk+ against a ~arch snapshot? We don't support mixed branches

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=3
Comment 7 Vicente Olivert Riera (RETIRED) gentoo-dev 2011-02-22 16:49:31 UTC
(In reply to comment #6)
> Seriously, are you using the stable gtk+ against a ~arch snapshot? We don't
> support mixed branches
> 
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=3
> 

I don't use an ~arch snapshot. I only just unmask some packages I need. For example, I have unmasked glib because I need for lxpolkit.
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2011-02-22 17:29:01 UTC
pcmanfm-0.9.9_pre20110216 is a snapshot and you are using in against the stable gtk+. Unless you verify the problem with the ~testing gtk+ I can't help you
Comment 9 tbartdev 2011-02-22 18:06:47 UTC
I understand we have to use unstable gtk+ for it but shouldn't the ebuild be adapted to reflect this?

I *think* (please correct me if I'm wrong) that
COMMON_DEPEND="[...]
>=x11-libs/gtk+-2.16:2
[...]"

is simply wrong as pcmanfm does not work with gtk+ 2.16 (or the currently stable 2.20.1-r1) but only with ... well, what version is it that you use, Markos?
Comment 10 Markos Chandras (RETIRED) gentoo-dev 2011-02-22 18:12:15 UTC
Well yes the ebuild should add stricter dependencies but it is a common policy to NOT mix stable and testing packages so we don't enforce that on ebuilds. I use 2.22.1-r1 and pcmanfm works fine on all of my computers. 
Comment 11 Vicente Olivert Riera (RETIRED) gentoo-dev 2011-02-22 18:26:01 UTC
(In reply to comment #10)
> Well yes the ebuild should add stricter dependencies but it is a common policy
> to NOT mix stable and testing packages so we don't enforce that on ebuilds. I
> use 2.22.1-r1 and pcmanfm works fine on all of my computers. 
> 

Yes, it works fine with gtk+-2.22.1-r1, but I think pcmanfm ebuild should depend on that version of gtk+ ...

Thanks!
Comment 12 nm (RETIRED) gentoo-dev 2011-02-22 19:00:11 UTC
(In reply to comment #10)
> Well yes the ebuild should add stricter dependencies but it is a common policy
> to NOT mix stable and testing packages so we don't enforce that on ebuilds. I
> use 2.22.1-r1 and pcmanfm works fine on all of my computers. 

So are the dependencies fixed yet? Stable/unstable mixes wouldn't be happening if the ebuild was correct. It's not a matter of "stricter" deps, it's getting them right in the first place. It's definitely broken with <gtk+-2.22 and will never work, ever, with older versions of gtk+.
Comment 13 Markos Chandras (RETIRED) gentoo-dev 2011-02-22 19:03:59 UTC
(In reply to comment #12)
> (In reply to comment #10)
> > Well yes the ebuild should add stricter dependencies but it is a common policy
> > to NOT mix stable and testing packages so we don't enforce that on ebuilds. I
> > use 2.22.1-r1 and pcmanfm works fine on all of my computers. 
> 
> So are the dependencies fixed yet? Stable/unstable mixes wouldn't be happening
> if the ebuild was correct. It's not a matter of "stricter" deps, it's getting
> them right in the first place. It's definitely broken with <gtk+-2.22 and will
> never work, ever, with older versions of gtk+.
> 

Yes the deps are fixed but as I said before we do not support mixing branches. You know that :)
Comment 14 nm (RETIRED) gentoo-dev 2011-02-25 08:05:11 UTC
Hi again. You typoed part of the fix:

gentoo-x86/x11-misc/pcmanfm/pcmanfm-0.9.9_pre20110216.ebuild

-	>=x11-libs/gtk+-2.16:2
+	>=x11-libs/gtk+-2.12.1:2

You forgot to add the "2" to make it 2.22. :p

Thanks again for the fixes! Much <3
Comment 15 Markos Chandras (RETIRED) gentoo-dev 2011-02-25 18:46:07 UTC
Fixed again