Re: [Bug 266929] Re: metacity crashed with SIGSEGV in __libc_start_main()

2008-10-18 Thread tdflanders
Hi there,

I think the problem is caused by conflicting configuration of PAM and
Unix Consolekit along with faulty setting of  ~/.dmrc and ~/.dbus.

This causes crashes due to permission errors in
/var/run/dbus/system_bus_socket and crashes a variety of applications
including (not exhaustive):

hald-volume-manager
canberra-play-gtk
jockey-gtk
console-kit-daemon
pulseaudio
compiz
compiz.real
x-session-manager
...

I will document this further shortly.

Cheers,

Thomas


- Original Message 
From: Thomas Thurman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 18, 2008 4:44:45 PM
Subject: [Bug 266929] Re: metacity crashed with SIGSEGV in __libc_start_main()

I'm still bewildered.  Someone reports a crash in Metacity.  Someone
else says he doesn't use Metacity (so what?).  And now you point to a
crash in consolekit.  I can only see the relevance of the first one.
Sorry if I'm being stupid.

-- 
metacity crashed with SIGSEGV in __libc_start_main()
https://bugs.launchpad.net/bugs/266929
You received this bug notification because you are a direct subscriber
of the bug.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

-- 
metacity crashed with SIGSEGV in __libc_start_main()
https://bugs.launchpad.net/bugs/266929
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 266929] Re: metacity crashed with SIGSEGV in __libc_start_main()

2008-10-18 Thread tdflanders
Hi Thomas,

That is exactly the problem in fact. If you run dpkg-reconfigure debconf -p low 
and select text mode and priority low, followed by dpkg-reconfigure -ap low you 
will get configuration questions of the type: use: 1. unix authentication 2. 
consolekit 3. likewise 4. ... The choices should be seperated by a space: 1 2 3 
If you select everything and then change your /home folder: sudo chmod -cR 777 
/home* ; sudo -cR chown -cR 1000 /home/* you will get faulty ~/.dmrc and 
~/.dbus settings. Many users will do that because they cannot remove 
installation files from their home folder through nautilus gui (to save space 
for instance). If you start: $ sudo nautilus you can change the permissions, 
but only one by one. I suspect that is the problem. Since your different 
authentication methods conflict, you experience a wide variety of crashes. To 
get a backtrace you should start valgrind 'previously crashed process' and then 
gdb 21 | gdb-previously_crashed_process
 and use gdb attach pid (check with pidof or ps -A). The problem is that most 
crashes are fatal, requiring reboot and which application will crash is 
unpredictable. I have not been able to backtrace this properly, I am currently 
searching the proper debug symbols: 'apt-cache search packagename | grep 
dbg'. Could you try this out on VirtualBox or VMWare or a dedicated testing 
machine, or better yet a server with many partitions? It could work, I promise.


- Original Message 
From: Thomas Thurman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 18, 2008 5:30:16 PM
Subject: [Bug 266929] Re: metacity crashed with SIGSEGV in __libc_start_main()

Then this can't be a Metacity problem.  Metacity doesn't use ConsoleKit
or DBus.

-- 
metacity crashed with SIGSEGV in __libc_start_main()
https://bugs.launchpad.net/bugs/266929
You received this bug notification because you are a direct subscriber
of the bug.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

-- 
metacity crashed with SIGSEGV in __libc_start_main()
https://bugs.launchpad.net/bugs/266929
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 266929] Re: metacity crashed with SIGSEGV in __libc_start_main()

2008-10-18 Thread tdflanders
Hi Thomas,

Metacity is an X Window manager. All applications such as xserver-xorg
Xorg gnome-session metacity compiz and such require authorization from
PAM or consolekit. In fact I got this very crash twice, once with compiz
loop in event ... and another time with only metacity. The crash occured
for instance by just '$ x-session-manager' after I head already called
'$ sudo valgrind stuff, see wiki compiz.


- Original Message 
From: Thomas Thurman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 18, 2008 6:29:48 PM
Subject: [Bug 266929] Re: metacity crashed with SIGSEGV in __libc_start_main()

Please, please, please, tell me what this has to do with Metacity.  I
didn't see a mention of Metacity anywhere in your reply.

-- 
metacity crashed with SIGSEGV in __libc_start_main()
https://bugs.launchpad.net/bugs/266929
You received this bug notification because you are a direct subscriber
of the bug.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

-- 
metacity crashed with SIGSEGV in __libc_start_main()
https://bugs.launchpad.net/bugs/266929
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs