[Mageia-dev] Video/X/GL/gnome-shell issues?

Olav Vitters olav at vitters.nl
Sat Jul 28 21:57:30 CEST 2012


On Fri, Jul 27, 2012 at 11:35:44PM +0200, Olivier Blin wrote:
> gdb --pid can be used to get a stack trace then

gnome-shell:

The hang is in thread 1. Hangs in glibc, with Pulseaudio calling it.
Seems exactly like the mplayer issue. I've seen this hang before
Pulseaudio 2.1.


Thread 6 (Thread 0x7f97472ae700 (LWP 2368)):
#0  0x00007f975a44c85d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f975a978c34 in g_main_context_poll (n_fds=5, fds=0x7f974000b660, timeout=-1, context=0x21663f0, priority=<optimized out>) at gmain.c:3560
#2  g_main_context_iterate (context=0x21663f0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3261
#3  0x00007f975a979092 in g_main_loop_run (loop=0x2166310) at gmain.c:3460
#4  0x00007f975af4b026 in gdbus_shared_thread_func (user_data=0x21663c0) at gdbusprivate.c:277
#5  0x00007f975a99b9e5 in g_thread_proxy (data=0x2164140) at gthread.c:801
#6  0x00007f975a71cd18 in start_thread (arg=0x7f97472ae700) at pthread_create.c:308
#7  0x00007f975a4554ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f9746aad700 (LWP 2369)):
#0  0x00007f975a44c85d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f975a978c34 in g_main_context_poll (n_fds=1, fds=0x7f97380010c0, timeout=-1, context=0x21b7c20, priority=<optimized out>) at gmain.c:3560
#2  g_main_context_iterate (context=context at entry=0x21b7c20, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3261
#3  0x00007f975a978d54 in g_main_context_iteration (context=context at entry=0x21b7c20, may_block=may_block at entry=1) at gmain.c:3327
#4  0x00007f974a05e1ad in dconf_gdbus_worker_thread (user_data=0x21b7c20) at dconf-gdbus-thread.c:81
#5  0x00007f975a99b9e5 in g_thread_proxy (data=0x21b6c50) at gthread.c:801
#6  0x00007f975a71cd18 in start_thread (arg=0x7f9746aad700) at pthread_create.c:308
#7  0x00007f975a4554ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f97460a5700 (LWP 2370)):
#0  0x00007f975a44c85d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f97558a448f in poll (__timeout=-1, __nfds=2, __fds=0x7f973c0030d0) at /usr/include/bits/poll2.h:46
#2  poll_func (ufds=0x7f973c0030d0, nfds=2, timeout=-1, userdata=0x21bdf40) at pulse/thread-mainloop.c:69
#3  0x00007f97558959ec in pa_mainloop_poll (m=m at entry=0x21bfc60) at pulse/mainloop.c:873
#4  0x00007f9755896049 in pa_mainloop_iterate (m=m at entry=0x21bfc60, block=block at entry=1, retval=retval at entry=0x0) at pulse/mainloop.c:955
#5  0x00007f9755896100 in pa_mainloop_run (m=0x21bfc60, retval=retval at entry=0x0) at pulse/mainloop.c:973
#6  0x00007f97558a443f in thread (userdata=0x21bdf00) at pulse/thread-mainloop.c:88
#7  0x00007f974dfdf323 in internal_thread_func (userdata=0x21bff40) at pulsecore/thread-posix.c:83
#8  0x00007f975a71cd18 in start_thread (arg=0x7f97460a5700) at pthread_create.c:308
#9  0x00007f975a4554ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f97458a4700 (LWP 2371)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:168
#1  0x00007f975287a080 in PR_WaitCondVar () from /lib64/libnspr4.so
#2  0x00007f9759ebf0b7 in threadLoop (rt=0x21c6970, this=0x21c6be8) at jsgc.cpp:2084
#3  js::GCHelperThread::threadMain (arg=0x21c6970) at jsgc.cpp:2070
#4  0x00007f975287f3e3 in ?? () from /lib64/libnspr4.so
#5  0x00007f975a71cd18 in start_thread (arg=0x7f97458a4700) at pthread_create.c:308
#6  0x00007f975a4554ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9712cfe700 (LWP 3384)):
#0  0x00007f975a44c85d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f975a978c34 in g_main_context_poll (n_fds=1, fds=0x7f9704002c00, timeout=-1, context=0x4053940, priority=<optimized out>) at gmain.c:3560
#2  g_main_context_iterate (context=context at entry=0x4053940, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3261
#3  0x00007f975a978d54 in g_main_context_iteration (context=0x4053940, may_block=may_block at entry=1) at gmain.c:3327
#4  0x00007f975a978da1 in glib_worker_main (data=<optimized out>) at gmain.c:5003
#5  0x00007f975a99b9e5 in g_thread_proxy (data=0x403ced0) at gthread.c:801
#6  0x00007f975a71cd18 in start_thread (arg=0x7f9712cfe700) at pthread_create.c:308
#7  0x00007f975a4554ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f975cfe8900 (LWP 2367)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:144
#1  0x00007f97558a4aa0 in pa_threaded_mainloop_wait (m=0x21bdf00) at pulse/thread-mainloop.c:206
#2  0x00007f97460aaa0b in pulse_driver_play (c=0x21b5280, id=<optimized out>, proplist=0x704c9c0, cb=<optimized out>, userdata=<optimized out>) at pulse.c:1085
#3  0x00007f975955624e in ca_context_play_full (c=c at entry=0x21b5280, id=id at entry=1, p=0x704c9c0, cb=cb at entry=0x0, userdata=userdata at entry=0x0) at common.c:522
#4  0x00007f97595565cf in ca_context_play (c=0x21b5280, id=1) at common.c:462
#5  0x00007f975a0bf234 in ffi_call_unix64 () at src/x86/unix64.S:75
#6  0x00007f975a0bec71 in ffi_call (cif=cif at entry=0x7f9718039b78, fn=0x7f975cbc1ae0 <shell_global_play_theme_sound>, rvalue=<optimized out>, rvalue at entry=0x7fffb606c500, avalue=<optimized out>, avalue at entry=0x7fffb606c3f0)
    at src/x86/ffi64.c:485
#7  0x00007f975c2851a7 in gjs_invoke_c_function (context=context at entry=0x2237090, function=0x7f9718039b60, obj=obj at entry=0x7f9744b27798, js_argc=js_argc at entry=2, js_argv=js_argv at entry=0x7f9744c832e0, js_rval=js_rval at entry=0x7fffb606c708)
    at gi/function.c:939
#8  0x00007f975c2866f3 in function_call (context=0x2237090, js_argc=2, vp=0x7f9744c832d0) at gi/function.c:1250
#9  0x00007f9759edd615 in CallJSNative (vp=0x7f9744c832d0, argc=<optimized out>, native=<optimized out>, cx=0x2237090) at jscntxtinlines.h:701
#10 js::Invoke (cx=0x2237090, argsRef=..., flags=<optimized out>) at jsinterp.cpp:696
#11 0x00007f9759ec99f2 in js::Interpret (cx=0x2237090, entryFrame=0x7f9744c83278, inlineCallCount=0, interpMode=JSINTERP_NORMAL) at jsinterp.cpp:4810
#12 0x00007f9759edcf55 in js::RunScript (cx=0x2237090, script=<optimized out>, fp=0x7f9744c83278) at jsinterp.cpp:653
#13 0x00007f9759edd3f2 in js::Invoke (cx=0x2237090, argsRef=..., flags=<optimized out>) at jsinterp.cpp:740
#14 0x00007f9759eaf451 in js_fun_apply (cx=0x2237090, argc=<optimized out>, vp=0x7f9744c83248) at jsfun.cpp:2205
#15 0x00007f9759ed3816 in CallJSNative (vp=0x7f9744c83248, argc=2, native=<optimized out>, cx=0x2237090) at jscntxtinlines.h:701
#16 js::Interpret (cx=0x2237090, entryFrame=0x7f9744c83168, inlineCallCount=1, interpMode=JSINTERP_NORMAL) at jsinterp.cpp:4799
#17 0x00007f9759edcf55 in js::RunScript (cx=0x2237090, script=<optimized out>, fp=0x7f9744c83168) at jsinterp.cpp:653
#18 0x00007f9759edd3f2 in js::Invoke (cx=0x2237090, argsRef=..., flags=<optimized out>) at jsinterp.cpp:740
#19 0x00007f9759eaf451 in js_fun_apply (cx=0x2237090, argc=<optimized out>, vp=0x7f9744c83128) at jsfun.cpp:2205
#20 0x00007f9759ed3816 in CallJSNative (vp=0x7f9744c83128, argc=2, native=<optimized out>, cx=0x2237090) at jscntxtinlines.h:701
#21 js::Interpret (cx=0x2237090, entryFrame=0x7f9744c830c0, inlineCallCount=0, interpMode=JSINTERP_NORMAL) at jsinterp.cpp:4799
#22 0x00007f9759edcf55 in js::RunScript (cx=0x2237090, script=<optimized out>, fp=0x7f9744c830c0) at jsinterp.cpp:653
#23 0x00007f9759edd3f2 in js::Invoke (cx=0x2237090, argsRef=..., flags=<optimized out>) at jsinterp.cpp:740
#24 0x00007f9759eaf0e1 in js::CallOrConstructBoundFunction (cx=0x2237090, argc=2, vp=0x7f9744c83038) at jsfun.cpp:2319
#25 0x00007f9759edd473 in CallJSNative (vp=0x7f9744c83038, argc=<optimized out>, native=<optimized out>, cx=0x2237090) at jscntxtinlines.h:701
#26 js::Invoke (cx=0x2237090, argsRef=..., flags=<optimized out>) at jsinterp.cpp:703
#27 0x00007f9759ede2a3 in js::ExternalInvoke (cx=0x2237090, thisv=..., fval=..., argc=2, argv=0x7fffb606de00, rval=0x7fffb606de58) at jsinterp.cpp:863
#28 0x00007f9759e56c91 in JS_CallFunctionValue (cx=cx at entry=0x2237090, obj=<optimized out>, obj at entry=0x0, fval=fval at entry=18445617723687335296, argc=<optimized out>, argc at entry=2, argv=<optimized out>, rval=<optimized out>)
    at jsapi.cpp:5145
#29 0x00007f975c27865c in gjs_call_function_value (context=context at entry=0x2237090, obj=obj at entry=0x0, fval=18445617723687335296, argc=argc at entry=2, argv=argv at entry=0x7fffb606de00, rval=rval at entry=0x7fffb606de58) at gjs/jsapi-util.c:1185
#30 0x00007f975c28350f in gjs_closure_invoke (closure=closure at entry=0x2a3ba50, argc=argc at entry=2, argv=argv at entry=0x7fffb606de00, retval=retval at entry=0x7fffb606de58) at gi/closure.c:278
#31 0x00007f975c28f369 in closure_marshal (closure=0x2a3ba50, return_value=0x7fffb606e010, n_param_values=2, param_values=0x7fffb606e0c0, invocation_hint=<optimized out>, marshal_data=<optimized out>) at gi/value.c:127
#32 0x00007f975ac36050 in g_closure_invoke (closure=0x2a3ba50, return_value=0x7fffb606e010, n_param_values=2, param_values=0x7fffb606e0c0, invocation_hint=0x7fffb606e060) at gclosure.c:777
#33 0x00007f975ac47d30 in signal_emit_unlocked_R (node=node at entry=0x22bb6b0, detail=detail at entry=0, instance=instance at entry=0x29f2460, emission_return=emission_return at entry=0x7fffb606e190, 
    instance_and_params=instance_and_params at entry=0x7fffb606e0c0) at gsignal.c:3551
#34 0x00007f975ac4f73a in g_signal_emit_valist (instance=0x29f2460, signal_id=<optimized out>, detail=0, var_args=var_args at entry=0x7fffb606e318) at gsignal.c:3310
#35 0x00007f975ac50212 in g_signal_emit (instance=instance at entry=0x29f2460, signal_id=<optimized out>, detail=detail at entry=0) at gsignal.c:3356
#36 0x00007f975b8fa37b in clutter_actor_event (actor=0x29f2460, event=event at entry=0x705a4b0, capture=capture at entry=0) at ./clutter-actor.c:13445
#37 0x00007f975b910f1e in _clutter_actor_handle_event (self=<optimized out>, event=event at entry=0x705a4b0) at ./clutter-actor.c:19849
#38 0x00007f975b940fbd in emit_event_chain (event=<optimized out>) at ./clutter-main.c:2263
#39 emit_touch_event (device=<optimized out>, event=<optimized out>) at ./clutter-main.c:2320
#40 _clutter_process_event_details (event=0x705a4b0, stage=<optimized out>, context=<optimized out>) at ./clutter-main.c:2657
#41 _clutter_process_event (event=event at entry=0x705a4b0) at ./clutter-main.c:2707
#42 0x00007f975b95a479 in _clutter_stage_process_queued_events (stage=0x2326800) at ./clutter-stage.c:1023
#43 0x00007f975b941ad5 in master_clock_process_events (stages=0x5ffcd20, master_clock=0x21b7230) at ./clutter-master-clock.c:283
#44 clutter_clock_dispatch (source=source at entry=0x22a4b10, callback=<optimized out>, user_data=<optimized out>) at ./clutter-master-clock.c:514
#45 0x00007f975a978965 in g_main_dispatch (context=0x1f28630) at gmain.c:2691
#46 g_main_context_dispatch (context=context at entry=0x1f28630) at gmain.c:3195
#47 0x00007f975a978c98 in g_main_context_iterate (context=0x1f28630, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3266
#48 0x00007f975a979092 in g_main_loop_run (loop=0x1f2ba50) at gmain.c:3460
#49 0x00007f975c4f3497 in meta_run () at core/main.c:545
#50 0x00000000004019a9 in main (argc=1, argv=0x7fffb606e808) at main.c:408
A debugging session is active.


-- 
Regards,
Olav


More information about the Mageia-dev mailing list