Bug 878323 - gnome-shell freezes
Summary: gnome-shell freezes
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell
Version: 18
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Owen Taylor
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-20 06:10 UTC by sangu
Modified: 2014-02-05 13:09 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-05 13:09:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Similar backtrace full, with debuginfo (186.16 KB, text/x-log)
2013-02-14 19:32 UTC, Patrick Higgins
no flags Details
backtrace in gnome-shell 3.7.91 (5.29 KB, text/plain)
2013-03-10 10:19 UTC, sangu
no flags Details
backtrace in gnome-shell 3.7.92 (5.59 KB, text/plain)
2013-03-23 02:58 UTC, sangu
no flags Details
while alt+tab, gnome dead lock, backtrace in gnome-shell 3.8.0.1-2 (8.76 KB, text/plain)
2013-04-03 03:50 UTC, sangu
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 688197 0 None None None Never
GNOME Bugzilla 690982 0 None None None Never

Description sangu 2012-11-20 06:10:34 UTC
Description of problem:
gnome-shell freezes.
 
Version-Release number of selected component (if applicable):
3.6.2-2.fc18.x86_64


How reproducible:
sometimes, random

Steps to Reproduce:
1. start GNOME3.6.2
2.
3.
  
Actual results:


Expected results:


Additional info:
CPU Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
VGA Intel Ivybridge HD 4000
kernel-3.6.6-9.fc18.x86_64
gjs-1.34.0-1.fc18.x86_64
mutter-3.6.2-1.fc18.x86_64

xorg-x11-drv-intel-2.20.12-1.fc18.x86_64

Comment 1 sangu 2012-11-22 06:41:20 UTC
Core was generated by `/usr/bin/gnome-shell'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f9457e8e5e5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0

(gdb) bt
#0  0x00007f9457e8e5e5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x0000003a09823900 in PR_WaitCondVar () from /lib64/libnspr4.so
#2  0x0000003a20eb2de2 in AutoGCSession::AutoGCSession(JSContext*) ()
   from /lib64/libmozjs185.so.1.0
#3  0x0000003a20eb8fa9 in js_GC(JSContext*, JSCompartment*, JSGCInvocationKind)
    () from /lib64/libmozjs185.so.1.0
#4  0x0000003a20e7277f in js_InvokeOperationCallback(JSContext*) ()
   from /lib64/libmozjs185.so.1.0
#5  0x0000003a20e72841 in js_HandleExecutionInterrupt(JSContext*) ()
   from /lib64/libmozjs185.so.1.0
#6  0x0000003a20ec956f in js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode) () from /lib64/libmozjs185.so.1.0
#7  0x0000003a20ed579f in js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    () from /lib64/libmozjs185.so.1.0
#8  0x0000003a20ed77fa in js::Invoke(JSContext*, js::CallArgs const&, unsigned int) () from /lib64/libmozjs185.so.1.0
#9  0x0000003a20eabb31 in js_fun_apply(JSContext*, unsigned int, js::Value*) ()
   from /lib64/libmozjs185.so.1.0
#10 0x0000003a20ecbbb9 in js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode) () from /lib64/libmozjs185.so.1.0
#11 0x0000003a20ed579f in js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    () from /lib64/libmozjs185.so.1.0
---Type <return> to continue, or q <return> to quit---
#12 0x0000003a20ed77fa in js::Invoke(JSContext*, js::CallArgs const&, unsigned int) () from /lib64/libmozjs185.so.1.0
#13 0x0000003a20eabb31 in js_fun_apply(JSContext*, unsigned int, js::Value*) ()
   from /lib64/libmozjs185.so.1.0
#14 0x0000003a20ecbbb9 in js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode) () from /lib64/libmozjs185.so.1.0
#15 0x0000003a20ed579f in js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    () from /lib64/libmozjs185.so.1.0
#16 0x0000003a20ed77fa in js::Invoke(JSContext*, js::CallArgs const&, unsigned int) () from /lib64/libmozjs185.so.1.0
#17 0x0000003a20ea6295 in js::CallOrConstructBoundFunction(JSContext*, unsigned int, js::Value*) () from /lib64/libmozjs185.so.1.0
#18 0x0000003a20ed75bb in js::Invoke(JSContext*, js::CallArgs const&, unsigned int) () from /lib64/libmozjs185.so.1.0
#19 0x0000003a20ed7d54 in js::ExternalInvoke(JSContext*, js::Value const&, js::Value const&, unsigned int, js::Value*, js::Value*) ()
   from /lib64/libmozjs185.so.1.0
#20 0x0000003a20e4d404 in JS_CallFunctionValue ()
   from /lib64/libmozjs185.so.1.0
#21 0x00000037756177ec in gjs_call_function_value (context=context@entry=
    0x30db8f0, obj=obj@entry=0x0, fval=18445617710783233536, argc=argc@entry=
    2, argv=argv@entry=0x7fffbecd19f0, rval=rval@entry=0x7fffbecd1a48)
    at gjs/jsapi-util.c:1180
---Type <return> to continue, or q <return> to quit---
#22 0x0000003775622c2f in gjs_closure_invoke (closure=0x3b12730, argc=2, argv=
    0x7fffbecd19f0, retval=0x7fffbecd1a48) at gi/closure.c:278
#23 0x000000377562f059 in closure_marshal (closure=0x3b12730, return_value=
    0x0, n_param_values=2, param_values=0x7fffbecd1ca0, 
    invocation_hint=<optimized out>, marshal_data=<optimized out>)
    at gi/value.c:127
#24 0x00007f9453c9a910 in g_closure_invoke (closure=0x3b12730, 
    return_value=return_value@entry=0x0, n_param_values=2, 
    param_values=param_values@entry=0x7fffbecd1ca0, 
    invocation_hint=invocation_hint@entry=0x7fffbecd1c40) at gclosure.c:777
#25 0x00007f9453cabd08 in signal_emit_unlocked_R (node=node@entry=0x31ecee0, 
    detail=detail@entry=0, instance=instance@entry=0x31744e0, 
    emission_return=emission_return@entry=0x0, 
    instance_and_params=instance_and_params@entry=0x7fffbecd1ca0)
    at gsignal.c:3551
#26 0x00007f9453cb3c8d in g_signal_emit_valist (instance=0x31744e0, 
    signal_id=<optimized out>, detail=0, var_args=var_args@entry=
    0x7fffbecd1ef8) at gsignal.c:3300
#27 0x00007f9453cb3de2 in g_signal_emit (instance=<optimized out>, 
    signal_id=<optimized out>, detail=<optimized out>) at gsignal.c:3356
#28 0x00007f94580d4b82 in meta_plugin_manager_kill_window_effects (actor=
    0x990bb60 [MetaWindowActor], plugin_mgr=<optimized out>)
    at compositor/meta-plugin-manager.c:115
---Type <return> to continue, or q <return> to quit---
#29 meta_plugin_manager_event_simple (plugin_mgr=0x21a12e0, actor=actor@entry=
    0x990bb60 [MetaWindowActor], event=event@entry=8)
    at compositor/meta-plugin-manager.c:167
#30 0x00007f94580d8c70 in start_simple_effect (self=self@entry=
    0x990bb60 [MetaWindowActor], event=8)
    at compositor/meta-window-actor.c:1049
#31 0x00007f94580d9af8 in meta_window_actor_show (self=
    0x990bb60 [MetaWindowActor], effect=META_COMP_EFFECT_CREATE)
    at compositor/meta-window-actor.c:1366
#32 0x00007f94580d25a6 in meta_compositor_show_window (
    compositor=<optimized out>, window=window@entry=0x9763a50 [MetaWindow], 
    effect=<optimized out>) at compositor/compositor.c:828
#33 0x00007f945810bc72 in meta_window_show (window=0x9763a50 [MetaWindow])
    at core/window.c:3145
#34 implement_showing (window=0x9763a50 [MetaWindow], showing=showing@entry=1)
    at core/window.c:2240
#35 0x00007f945810cc0d in idle_calc_showing (data=<optimized out>)
    at core/window.c:2352
#36 0x00007f94581012d3 in run_repaint_laters (data=<optimized out>)
    at core/util.c:793
#37 0x0000003bd888aabc in _clutter_run_repaint_functions (flags=flags@entry=
    CLUTTER_REPAINT_FLAGS_PRE_PAINT) at ./clutter-main.c:3666
#38 0x0000003bd888ccaf in master_clock_update_stages (stages=
---Type <return> to continue, or q <return> to quit---
    0x98ce930 = {...}, master_clock=0x306a5e0 [ClutterMasterClock])
    at ./clutter-master-clock.c:369
#39 clutter_clock_dispatch (source=source@entry=0x3168bd0, 
    callback=<optimized out>, user_data=<optimized out>)
    at ./clutter-master-clock.c:520
#40 0x00007f94539afa75 in g_main_dispatch (context=0x2112a00) at gmain.c:2715
#41 g_main_context_dispatch (context=context@entry=0x2112a00) at gmain.c:3219
#42 0x00007f94539afda8 in g_main_context_iterate (context=0x2112a00, 
    block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at gmain.c:3290
#43 0x00007f94539b01a2 in g_main_loop_run (loop=0x21132d0) at gmain.c:3484
#44 0x00007f94580f2457 in meta_run () at core/main.c:545
#45 0x0000000000401e2c in main (argc=1, argv=0x7fffbecd2468) at main.c:416

Comment 2 sangu 2012-11-26 08:13:51 UTC
Because gnome-shell deadlock happens, gnome doesn't unlock.

 ~/.cache/gdm/session.log
[...]
창 관리자 주의: Log level 8: meta_end_modal_for_plugin: assertion `compositor->modal_plugin == plugin' failed
    JS ERROR: !!!   Exception in callback for signal: unlocked
    JS ERROR: !!!     message = '"incorrect pop"'
    JS ERROR: !!!     fileName = '"/usr/share/gnome-shell/js/ui/main.js"'
    JS ERROR: !!!     lineNumber = '638'
    JS ERROR: !!!     stack = '"popModal([object _private_St_Widget])@/usr/share/gnome-shell/js/ui/main.js:638
()@/usr/share/gnome-shell/js/ui/screenShield.js:838
wrapper()@/usr/share/gjs-1.0/lang.js:204
()@/usr/share/gnome-shell/js/ui/screenShield.js:808
wrapper()@/usr/share/gjs-1.0/lang.js:204
([object Object])@/usr/share/gnome-shell/js/ui/screenShield.js:688
wrapper([object Object])@/usr/share/gjs-1.0/lang.js:204
_emit("unlocked")@/usr/share/gjs-1.0/signals.js:124
([object Object])@/usr/share/gnome-shell/js/ui/unlockDialog.js:275
wrapper([object Object])@/usr/share/gjs-1.0/lang.js:204
_emit("verification-complete")@/usr/share/gjs-1.0/signals.js:124
([object _private_Gdm_UserVerifierProxy],"gdm-password")@/usr/share/gnome-shell/js/gdm/util.js:328
wrapper([object _private_Gdm_UserVerifierProxy],"gdm-password")@/usr/share/gjs-1.0/lang.js:204
"'
창 관리자 주의: Log level 8: meta_end_modal_for_plugin: assertion `compositor->modal_plugin == plugin' failed
    JS ERROR: !!!   Exception in callback for signal: Unlock
    JS ERROR: !!!     message = '"incorrect pop"'
    JS ERROR: !!!     fileName = '"/usr/share/gnome-shell/js/ui/main.js"'
    JS ERROR: !!!     lineNumber = '638'
    JS ERROR: !!!     stack = '"popModal([object _private_St_Widget])@/usr/share/gnome-shell/js/ui/main.js:638
()@/usr/share/gnome-shell/js/ui/screenShield.js:838
wrapper()@/usr/share/gjs-1.0/lang.js:204
([object _private_Gio_DBusProxy],":1.1",[object Array])@/usr/share/gnome-shell/js/ui/screenShield.js:425
_emit("Unlock",":1.1",[object Array])@/usr/share/gjs-1.0/signals.js:124
_convertToNativeSignal([object _private_Gio_DBusProxy],":1.1","Unlock",[object _private_GLib_Variant])@/usr/share/gjs-1.0/overrides/Gio.js:126

Comment 3 sangu 2013-01-22 08:37:34 UTC
This bug still happens in Fedora 18.

Comment 4 sangu 2013-01-28 06:13:02 UTC
Can  this bug does be fixed for a fc18??

See Also https://bugzilla.gnome.org/show_bug.cgi?id=690982

Comment 5 Patrick Higgins 2013-02-14 19:32:25 UTC
Created attachment 697348 [details]
Similar backtrace full, with debuginfo

I believe I am seeing the same issue. This is the second time this week I have seen it, though I did not grab a core file the first time. I still have the full core file if that would be useful.

Comment 6 sangu 2013-03-08 03:04:19 UTC
This issue still happens in Fedora development(GNOME 3.7.9X).

After black screen(or screensaver) is activated or while inputing hangul, 
this issue mostly happens.

gnome-shell-3.7.91-1.fc19.x86_64
js-1.8.5-13.fc19.x86_64
gjs-1.35.8-1.fc19.x86_64

Comment 7 sangu 2013-03-10 10:19:08 UTC
Created attachment 707819 [details]
backtrace in gnome-shell 3.7.91

gnome-shell-3.7.91-1.fc19.x86_64
clutter-1.13.8-1.fc19.x86_64
mutter-3.7.91-1.fc19.x86_64
gtk3-3.7.12-1.fc19.x86_64
gjs-1.35.8-1.fc19.x86_64
js-1.8.5-13.fc19.x86_64
glib2-2.35.8-1.fc19.x86_64

Comment 8 sangu 2013-03-23 02:58:55 UTC
Created attachment 714904 [details]
backtrace in gnome-shell 3.7.92

While switching input source, gnome-shell deadlock

gnome-shell-3.7.92-2.fc19.x86_64
mutter-3.7.92-1.fc19.x86_64
gjs-1.35.9-1.fc19.x86_64
ibus-1.5.1-3.fc19.x86_64

Comment 9 Rui Matos 2013-04-01 14:00:34 UTC
When this happens again, please run 'call gjs_dumpstack()' in the gdb prompt. Then paste here the output. It should end up in the journal or on the terminal you started gnome-shell from.

Comment 10 sangu 2013-04-03 03:50:44 UTC
Created attachment 731038 [details]
while alt+tab, gnome dead lock, backtrace in gnome-shell 3.8.0.1-2

(gdb) call gjs_dumpstack 
$1 = {void (void)} 0x7f3d4f0c3360 <gjs_dumpstack>

Comment 11 Fedora End Of Life 2013-12-21 09:26:42 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 12 Fedora End Of Life 2014-02-05 13:09:33 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.