FS#37528 - [gnome-shell] fails to start after boot

Attached to Project: Arch Linux
Opened by Alberto (albertoalcolea) - Monday, 28 October 2013, 18:18 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 30 October 2013, 13:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Jan Alexander Steffens (heftig)
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description:
After login on gdm I get a black screen. I can see and move the cursor but not the rest of the environment of gnome-shell.
After a few minutes an error window appears with this message: "A problem has ocurred and the system can't recover. All extensions have been disabled as a precaution"

Additional info:
* gnome-shell 3.10.1-1
* gdm 3.10.0.1-1


Steps to reproduce:
This error occurred after upgrading the following packages:
* pulseaudio (4.0-2 -> 4.0-5)
* tzdata (2013g-1 -> 2013h-1)
* upower (0.9.22-1 -> 0.9.23-1)
* xorg-xinit (1.3.3-1 -> 1.3.3-2)
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Wednesday, 30 October 2013, 13:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  pulseaudio 4.0-6
Comment by Jelle van der Waa (jelly) - Monday, 28 October 2013, 20:32 GMT
Please provide some more information, logs and attach those to the bugreport.
Comment by Alberto (albertoalcolea) - Monday, 28 October 2013, 21:15 GMT
I have attached the following logs (in this order):
journalctl -b for my user
journalct -u gdm for the last session which fails
journalctl -b for root

"systemctl | grep -i failed" doesn't return any service

Please, if you need another log or more information I will provide it as soon as it's possible.
   log (127.4 KiB)
Comment by ridams (ridams) - Monday, 28 October 2013, 22:27 GMT
In my case it is a white screen with logout button

resolved by downgrading some packages

sudo pacman -U pulseaudio-4.0-2-i686.pkg.tar.xz libpulse-4.0-2-i686.pkg.tar.xz
and
sudo pacman -U libgnomekbd-3.6.0-1-i686.pkg.tar.xz

but I did not test every one alone.
Comment by Alberto (albertoalcolea) - Monday, 28 October 2013, 22:50 GMT
The solution of ridams works for me.
Downgrading pulseaudio and libpulse solved the problem.
Comment by Alberto (albertoalcolea) - Tuesday, 29 October 2013, 11:58 GMT
I tried the same setup on the same machine using x86_64 packages instead of i686 packages.
The system works perfectly with pulseaudio-4.0-5 and libpulse-4.0-5 in x86_64 architecture.
Comment by Ralph Plawetzki (Ralph) - Tuesday, 29 October 2013, 13:01 GMT
I can confirm this bug crashing gnome-session.
Yesterday, using pacman -Syu, I upgraded to pulseaudio-4.0-5 and libpulse-4.0-5 on i686.
After a reboot Gnome displays the "something gone wrong" screen with a button to log out.

Today, reading this bug report, I downgraded to pulseaudio-4.0-2 and libpulse-4.0-2 and Gnome starts fine.

To reproduce this issue, I upgraded to 4.0-5 again (time was 13:18) und rebooted.

Attached you can find the log journalctl --since="2013-10-29 13:20". The log starts with the boot, that contains the error at 13:20:31.
At 13:23 I downgraded to pulseaudio-4.0-2 and libpulse-4.0-2 and rebooted. The log later than 13:23 shows no more errors as Gnome started fine.
Comment by Alberto (albertoalcolea) - Tuesday, 29 October 2013, 13:17 GMT
It seems that the error only affects i686 packages (pulseaudio and libpulse)
Comment by Ralph Plawetzki (Ralph) - Tuesday, 29 October 2013, 13:29 GMT
Attached you can find the Xorg.0.log.old that relates to the error from reboot after 13:18.
Comment by Jan Alexander Steffens (heftig) - Tuesday, 29 October 2013, 19:10 GMT
libpulse seems to work fine on a i686 machine here, but that one has no X.

Can you please install the debugging (libpulse-git and pulseaudio-git) packages from https://bbs.archlinux.org/viewtopic.php?id=117157 and get a backtrace?
Comment by Sven-Ola Tuecke (sven-ola) - Wednesday, 30 October 2013, 07:42 GMT
I'm a bit familiar with this issue. pulseaudio+libpulse-4.0.5 have the same issue than current pulseaudio-git (see https://bugs.archlinux.org/task/37236). It's a bit difficult reporting on this, because no gnome-desktop, no browser ;-) Steps to reproduce:

1) log in to text terminal and 'sudo -s /usr/bin/pulseaudio'. Reboot
2) log in to gnome. Manually start pulseaudio with 'pulseaudio -v'
3) start gnome-control-center, click on audio icon. Here's a first trace:

Edit: non-symbol backtrace removed, see next comment.
Comment by Sven-Ola Tuecke (sven-ola) - Wednesday, 30 October 2013, 07:54 GMT
Here's a better one (see attached backtrace with -ggdb). Obviously dies in some callback:

/usr/src/ABS/extra/pulseaudio/src/pulseaudio-4.0/src/pulse/introspect.c Row 943

if (o->callback) {
pa_card_info_cb_t cb = (pa_card_info_cb_t) o->callback;
--> cb(o->context, &i, 0, o->userdata);
}
Comment by Christopher Hooper (arch_n00b) - Wednesday, 30 October 2013, 10:16 GMT
I too have this issue (brand new ArchLinux user, previously Ubuntu).

One question: surely one can only downgrade to packages already(previously) installed, and therefore located in /var.

How does one use pacman to 'downgrade' to packages not previously installed? thanks
Comment by Thomas Langohr (osbone88) - Wednesday, 30 October 2013, 10:30 GMT
Christopher Hooper > See comment N°3 by ridams

cd to /var/cache/pacman/pkg

and

sudo pacman -U pulseaudio-4.0-2-i686.pkg.tar.xz libpulse-4.0-2-i686.pkg.tar.xz
and
sudo pacman -U libgnomekbd-3.6.0-1-i686.pkg.tar.xz
Comment by Jan Alexander Steffens (heftig) - Wednesday, 30 October 2013, 12:01 GMT
Please try the 4.0-5.1 packages here: http://pkgbuild.com/~heftig/test/

Do they still crash?
Comment by Thomas Langohr (osbone88) - Wednesday, 30 October 2013, 12:23 GMT
The 4.0-5.1 packages did solved the issue for me.

Thanks Jan.
Comment by Ralph Plawetzki (Ralph) - Wednesday, 30 October 2013, 12:36 GMT
# pacman -Qi pulseaudio libpulse | grep Version
Version : 4.0-5.1
Version : 4.0-5.1

They do not crash. System booted normally.
Attached you can find the log of journalctl with the new packages installed.

Good work. Thank you!

Loading...