After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 696035 - clutter 1.14 hangs gnome-shell 3.6.x from starting up
clutter 1.14 hangs gnome-shell 3.6.x from starting up
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
3.6.x
Other Linux
: Normal critical
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-03-18 08:57 UTC by Maciej (Matthew) Piechotka
Modified: 2013-08-08 15:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Maciej (Matthew) Piechotka 2013-03-18 08:57:53 UTC
Clutter/cogl 1.13.8 prevents gdm from starting up.

From /var/log/gdm/:0-greeter.log:

Window manager warning: Log level 16: Failed to load apps: Failed to look up menu_file for "applications.menu"

      JS LOG: GNOME Shell started at Sun Mar 17 2013 21:14:36 GMT+0000 (GMT)
WARNING: gnome-keyring:: couldn't connect to: /run/user/106/keyring-cLkKQb/pkcs11: No such file or directory
failed to create drawable
(...)
failed to create drawable
Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0.  This shouldn't happen!
Window manager warning: Log level 8: g_source_remove: assertion `tag > 0' failed
gnome-session[25280]: WARNING: Detected that screensaver has left the bus
gnome-session[25280]: CRITICAL: gsm_manager_set_phase: assertion `GSM_IS_MANAGER (manager)' failed

(gnome-settings-daemon:25303): GLib-GIO-WARNING **: Error releasing name org.gnome.SettingsDaemon: The connection is closed

(gnome-settings-daemon:25303): GLib-GIO-WARNING **: Error releasing name org.freedesktop.ScreenSaver: The connection is closed

After downgrade to 1.12.x the problem was gone.
Comment 1 Emmanuele Bassi (:ebassi) 2013-03-18 09:56:57 UTC
thanks for your bug report.

I am afraid I will need more information as to what happens, given that the log is not helping me in any way.

even if downgrading Clutter seems to "fix" this, I'm going to re-assign the bug to GDM in the hope that the maintainer can glean some information from the log, or at least ask the right questions.
Comment 2 Ray Strode [halfline] 2013-03-18 21:15:11 UTC
unfortunately that log doesn't seem to have much to do with the problem (other than it shows gnome-shell is crashing)

i assume startx fails as well? any chance you could get a backtrace?
Comment 3 Maciej (Matthew) Piechotka 2013-03-18 21:19:48 UTC
(In reply to comment #2)
> unfortunately that log doesn't seem to have much to do with the problem (other
> than it shows gnome-shell is crashing)
> 
> i assume startx fails as well? any chance you could get a backtrace?

All debug symbols are installed. However I'm a little bit (~5 years) out of date with gnome session startup. What programs do you want to run, under which account and with what parameters?
Comment 4 Ray Strode [halfline] 2013-03-18 23:36:51 UTC
can you log in with working clutter, update your clutter,then open up a terminal and run

$ screen
$ script
$ gdb --args gnome-shell --replace
(gdb) run

THe problem should reproduce.  Switch to a text vt with e.g. ctrl-alt-f3, log in, and run

screen -rd

to get access to the gdb prompt.  Is it crashed? are there any messages on the screen?

If it's crashed run:

(gdb) thread apply backtrace full

When it's all said and done there should be a log file called typescript that has the messages in it.
Comment 5 Maciej (Matthew) Piechotka 2013-03-20 16:25:22 UTC
(In reply to comment #4)
> $ gdb --args gnome-shell --replace

It looks like gnome-shell doesn't segfault's. The stacktracke of gnome-shell from gdm session is attached below - I got the same results from replacing gnome-shell from inside session. gjs_callstack is empty.

Continuing.
[Thread 0x7f7464fa1700 (LWP 14268) exited]

Program received signal SIGINT, Interrupt.
0x00007f748d25a27d in poll () at ../sysdeps/unix/syscall-template.S:81
81	in ../sysdeps/unix/syscall-template.S


Comment 6 Maciej (Matthew) Piechotka 2013-03-29 00:46:22 UTC
I've got reproduction with gtk+ 3.8, clutter/cogl 1.14 and gdm/gnome-shell 3.6.x.
Comment 7 Maciej (Matthew) Piechotka 2013-03-29 09:51:29 UTC
As additional information - in user session the hang is triggered by the overlay mode. The display is not hanged (i.e. the changes inside windows are still redrawn) but it is not possible to get outside the overlay etc. There are no additional errors printed (I got error about calendar but it was present when I downgraded the clutter). The gtk+ 3.8 + clutter/cogl 1.12 does not trigger the behaviour.
Comment 8 Maciej (Matthew) Piechotka 2013-03-29 17:12:55 UTC
The problem does not occur with gdm+gnome-shell 3.8.
Comment 9 Maciej (Matthew) Piechotka 2013-08-08 15:38:04 UTC
Not reproduced anymore + no duplicates.