Mailing List Archive

gnome-shell segfault
I doubt this is specifically a hardened issue, but this is the only list
I'm currently subscribed to and I know there are some very savvy folks
who hang out here. I've been poking at this issue off and on for a
couple of months (kind of hoping that an update would take care of the
problem), but it hasn't so here are the details.

I decided to give gnome a try (I've never used anything other than KDE
on this system) on my ~amd64 desktop so I emerged the meta package with
the USE flags of my liking, enabled the gnome USE flag globally and let
the system build away. My problem is gnome-shell segfaults. I get a
blue background with vertical stripes that sort of reminds me of a
curtain. After a few seconds I see the message that something has gone
wrong and I have to log out. I've done some google searches and tried
all sorts of things that have worked for others with similar symptoms
but none have helped here. Also many emerge -auvND and revdep-rebuilds
have been done since I first attempted to run gnome. Mesa has gallium
enabled and eselected since I'm using an ATI video card. I've toyed
around with the idea of a bug report, but decided to try here first.

backtrace is attached

Log files of the most recent attempt show the following:

May 12 20:35:08 siren dbus[1897]: [system] Rejected send message, 2
matched rules; type="method_call", sender=":1.226" (uid=500 pid=15249
comm="/usr/bin/gnome-shell ")
interface="org.freedesktop.DBus.Properties" member="GetAll" error
name="(unset)" requested_reply="0" destination=":1.0" (uid=0 pid=1912
comm="/usr/sbin/console-kit-daemon ")
May 12 20:35:08 siren polkitd[1991]: Registered Authentication Agent for
unix-session:/org/freedesktop/ConsoleKit/Session6 (system bus name
:1.226 [/usr/bin/gnome-shell], object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
May 12 20:35:08 siren dbus[1897]: [system] Rejected send message, 2
matched rules; type="method_call", sender=":1.226" (uid=500 pid=15249
comm="/usr/bin/gnome-shell ")
interface="org.freedesktop.DBus.Properties" member="GetAll" error
name="(unset)" requested_reply="0" destination=":1.0" (uid=0 pid=1912
comm="/usr/sbin/console-kit-daemon ")
May 12 20:35:09 siren gnome-session[15161]: WARNING: Application
'gnome-shell.desktop' killed by signal 11
May 12 20:35:10 siren dbus[1897]: [system] Rejected send message, 2
matched rules; type="method_call", sender=":1.230" (uid=500 pid=15358
comm="/usr/bin/gnome-shell ")
interface="org.freedesktop.DBus.Properties" member="GetAll" error
name="(unset)" requested_reply="0" destination=":1.0" (uid=0 pid=1912
comm="/usr/sbin/console-kit-daemon ")
May 12 20:35:11 siren polkitd[1991]: Registered Authentication Agent for
unix-session:/org/freedesktop/ConsoleKit/Session6 (system bus name
:1.230 [/usr/bin/gnome-shell], object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
May 12 20:35:11 siren dbus[1897]: [system] Rejected send message, 2
matched rules; type="method_call", sender=":1.230" (uid=500 pid=15358
comm="/usr/bin/gnome-shell ")
interface="org.freedesktop.DBus.Properties" member="GetAll" error
name="(unset)" requested_reply="0" destination=":1.0" (uid=0 pid=1912
comm="/usr/sbin/console-kit-daemon ")
May 12 20:35:11 siren gnome-session[15161]: WARNING: Application
'gnome-shell.desktop' killed by signal 11
May 12 20:35:11 siren gnome-session[15161]: WARNING: App
'gnome-shell.desktop' respawning too quickly

--
Stan & HD Tashi Grad 10/08 Edgewood, NM SWR
PR - Cindy and Jenny - Sammamish, WA NWR
http://www.cci.org
Re: gnome-shell segfault [ In reply to ]
÷ Sun, 12 May 2013 21:14:29 -0600
Stan Sander <stsander@sblan.net> ÐÉÛÅÔ:

> I doubt this is specifically a hardened issue, but this is the only list
> I'm currently subscribed to and I know there are some very savvy folks
> who hang out here. I've been poking at this issue off and on for a
> couple of months (kind of hoping that an update would take care of the
> problem), but it hasn't so here are the details.
>
> I decided to give gnome a try (I've never used anything other than KDE
> on this system) on my ~amd64 desktop so I emerged the meta package with
> the USE flags of my liking, enabled the gnome USE flag globally and let
> the system build away. My problem is gnome-shell segfaults. I get a
> blue background with vertical stripes that sort of reminds me of a
> curtain. After a few seconds I see the message that something has gone
> wrong and I have to log out. I've done some google searches and tried
> all sorts of things that have worked for others with similar symptoms
> but none have helped here. Also many emerge -auvND and revdep-rebuilds
> have been done since I first attempted to run gnome. Mesa has gallium
> enabled and eselected since I'm using an ATI video card. I've toyed
> around with the idea of a bug report, but decided to try here first.
>
> backtrace is attached
>
> Log files of the most recent attempt show the following:
>
> May 12 20:35:08 siren dbus[1897]: [system] Rejected send message, 2
> matched rules; type="method_call", sender=":1.226" (uid=500 pid=15249
> comm="/usr/bin/gnome-shell ")
> interface="org.freedesktop.DBus.Properties" member="GetAll" error
> name="(unset)" requested_reply="0" destination=":1.0" (uid=0 pid=1912
> comm="/usr/sbin/console-kit-daemon ")
> May 12 20:35:08 siren polkitd[1991]: Registered Authentication Agent for
> unix-session:/org/freedesktop/ConsoleKit/Session6 (system bus name
> :1.226 [/usr/bin/gnome-shell], object path
> /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
> May 12 20:35:08 siren dbus[1897]: [system] Rejected send message, 2
> matched rules; type="method_call", sender=":1.226" (uid=500 pid=15249
> comm="/usr/bin/gnome-shell ")
> interface="org.freedesktop.DBus.Properties" member="GetAll" error
> name="(unset)" requested_reply="0" destination=":1.0" (uid=0 pid=1912
> comm="/usr/sbin/console-kit-daemon ")
> May 12 20:35:09 siren gnome-session[15161]: WARNING: Application
> 'gnome-shell.desktop' killed by signal 11
> May 12 20:35:10 siren dbus[1897]: [system] Rejected send message, 2
> matched rules; type="method_call", sender=":1.230" (uid=500 pid=15358
> comm="/usr/bin/gnome-shell ")
> interface="org.freedesktop.DBus.Properties" member="GetAll" error
> name="(unset)" requested_reply="0" destination=":1.0" (uid=0 pid=1912
> comm="/usr/sbin/console-kit-daemon ")
> May 12 20:35:11 siren polkitd[1991]: Registered Authentication Agent for
> unix-session:/org/freedesktop/ConsoleKit/Session6 (system bus name
> :1.230 [/usr/bin/gnome-shell], object path
> /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
> May 12 20:35:11 siren dbus[1897]: [system] Rejected send message, 2
> matched rules; type="method_call", sender=":1.230" (uid=500 pid=15358
> comm="/usr/bin/gnome-shell ")
> interface="org.freedesktop.DBus.Properties" member="GetAll" error
> name="(unset)" requested_reply="0" destination=":1.0" (uid=0 pid=1912
> comm="/usr/sbin/console-kit-daemon ")
> May 12 20:35:11 siren gnome-session[15161]: WARNING: Application
> 'gnome-shell.desktop' killed by signal 11
> May 12 20:35:11 siren gnome-session[15161]: WARNING: App
> 'gnome-shell.desktop' respawning too quickly
>

Hello!

Do you have errors like 'grsec: denied RWX mprotect of ...' in dmesg or
journal?

Also see this bug report:
https://bugs.gentoo.org/show_bug.cgi?id=455938

--
Alexander Tsoy
Re: gnome-shell segfault [ In reply to ]
On Sun, May 12, 2013 at 09:14:29PM -0600, Stan Sander wrote:
> I doubt this is specifically a hardened issue, but this is the only list
> I'm currently subscribed to and I know there are some very savvy folks
> who hang out here. I've been poking at this issue off and on for a
> couple of months (kind of hoping that an update would take care of the
> problem), but it hasn't so here are the details.
>
> I decided to give gnome a try (I've never used anything other than KDE
> on this system) on my ~amd64 desktop so I emerged the meta package with
> the USE flags of my liking, enabled the gnome USE flag globally and let
> the system build away. My problem is gnome-shell segfaults. I get a
> blue background with vertical stripes that sort of reminds me of a
> curtain. After a few seconds I see the message that something has gone
> wrong and I have to log out. I've done some google searches and tried
> all sorts of things that have worked for others with similar symptoms
> but none have helped here. Also many emerge -auvND and revdep-rebuilds
> have been done since I first attempted to run gnome. Mesa has gallium
> enabled and eselected since I'm using an ATI video card. I've toyed
> around with the idea of a bug report, but decided to try here first.

Hi,

I'd bet on libffi as the culprit. You may try to use the version from
the hardened overlay (there was one that should patch the issue a while
ago). I was able to fix gnome on the only box I'm running gnome on right
now (the issue was more or less the same).

Note: I use 3.0.12-r1 (which is an old version because an update to the
stable version broke it again and I haven't had time to upgrade and
retry).

WKR
Hinnerk
Re: gnome-shell segfault [ In reply to ]
On 05/13/2013 02:44 AM, Alexander Tsoy wrote:
> Hello! Do you have errors like 'grsec: denied RWX mprotect of ...' in
> dmesg or journal? Also see this bug report:
> https://bugs.gentoo.org/show_bug.cgi?id=455938
I'm not using GRSEC, only PAX and SELinux and the latter is not enforcing.

--
Stan & HD Tashi Grad 10/08 Edgewood, NM SWR
PR - Cindy and Jenny - Sammamish, WA NWR
http://www.cci.org
Re: gnome-shell segfault [ In reply to ]
On 05/13/2013 03:03 AM, Hinnerk van Bruinehsen wrote:
> Hi,
>
> I'd bet on libffi as the culprit. You may try to use the version from
> the hardened overlay (there was one that should patch the issue a while
> ago). I was able to fix gnome on the only box I'm running gnome on right
> now (the issue was more or less the same).
>
> Note: I use 3.0.12-r1 (which is an old version because an update to the
> stable version broke it again and I haven't had time to upgrade and
> retry).
>
> WKR
> Hinnerk

Well, you got it!!! I had seen other posts talking about rebuilding
libffi, which I had tried. However I did not try changing versions of
the library. I now have a working gnome-shell. So now I can start
poking around and learning how the gnome desktop works and tweaking
settings to my liking. I did have to downgrade libffi to 3.0.11 in
order to get things to work. Do you know if there is a bug open on the
libffi->gnome-shell interaction? If not, I'll open one as this is
something that needs to be looked at and fixed. If there is one, I'll
add myself to the CC.

Thanks for the pointer!

--
Stan & HD Tashi Grad 10/08 Edgewood, NM SWR
PR - Cindy and Jenny - Sammamish, WA NWR
http://www.cci.org
Re: gnome-shell segfault [ In reply to ]
On Mon, May 13, 2013 at 10:34:09AM -0600, Stan Sander wrote:
> On 05/13/2013 03:03 AM, Hinnerk van Bruinehsen wrote:
> > Hi,
> >
> > I'd bet on libffi as the culprit. You may try to use the version from
> > the hardened overlay (there was one that should patch the issue a while
> > ago). I was able to fix gnome on the only box I'm running gnome on right
> > now (the issue was more or less the same).
> >
> > Note: I use 3.0.12-r1 (which is an old version because an update to the
> > stable version broke it again and I haven't had time to upgrade and
> > retry).
> >
> > WKR
> > Hinnerk
>
> Well, you got it!!! I had seen other posts talking about rebuilding
> libffi, which I had tried. However I did not try changing versions of
> the library. I now have a working gnome-shell. So now I can start
> poking around and learning how the gnome desktop works and tweaking
> settings to my liking. I did have to downgrade libffi to 3.0.11 in
> order to get things to work. Do you know if there is a bug open on the
> libffi->gnome-shell interaction? If not, I'll open one as this is
> something that needs to be looked at and fixed. If there is one, I'll
> add myself to the CC.

I'm not aware of any open bugs regarding this issue. As I said above: I
didn't upgrade due to time constraints (mostly because it's a remote
system). If you open a new bug for the issue (if there isn't an open one
at b.g.o.) it would be nice if you could add me to CC (or reply with the
bug id so I can add myself).
Re: gnome-shell segfault [ In reply to ]
On Mon, May 13, 2013 at 09:55:38AM -0600, Stan Sander wrote:
> On 05/13/2013 02:44 AM, Alexander Tsoy wrote:
> > Hello! Do you have errors like 'grsec: denied RWX mprotect of ...' in
> > dmesg or journal? Also see this bug report:
> > https://bugs.gentoo.org/show_bug.cgi?id=455938
> I'm not using GRSEC, only PAX and SELinux and the latter is not enforcing.

Actually the errormessage 'denied RWX mprotect of ...' should be
produced by PAX (And if libffi really was your problem you should have
gotten some of that)...
Re: gnome-shell segfault [ In reply to ]
On 05/13/2013 02:37 PM, Hinnerk van Bruinehsen wrote:
>
> I'm not aware of any open bugs regarding this issue. As I said above: I
> didn't upgrade due to time constraints (mostly because it's a remote
> system). If you open a new bug for the issue (if there isn't an open one
> at b.g.o.) it would be nice if you could add me to CC (or reply with the
> bug id so I can add myself).
>
>
The bug is Bug 469758, in case anyone else wants to follow it. Hinnerk
I have added you to the CC list.

https://bugs.gentoo.org/show_bug.cgi?id=469758

--
Stan & HD Tashi Grad 10/08 Edgewood, NM SWR
PR - Cindy and Jenny - Sammamish, WA NWR
http://www.cci.org