I think the cause of this issue is described in the following message: https://mail.gnome.org/archives/commits-list/2012-July/msg02956.html
A call to "gjs_context_gc(..)", which runs the garbage collector, causes a deadlock between threads somehow. I have compared the source of gnome-shell-3.4.2 and gnome-shell-3.6.2 and these lines of code were removed. This is the only change in function "run_leisure_functions(..)". However, I also read something about garbage collection being fixed (after 3.4.2) and how this obsoletes the call to "gjs_context_gc(..)" here: https://bugzilla.gnome.org/show_bug.cgi?id=679832 This is why I am not sure whether it's safe to apply the same patch against 3.4.2. Perhaps this question can be answered by a gnome-shell developer. -- Sander de Leeuw