Re: question-avatar-chooser-hang



Hi again,
To be more specific I also attach a back-trace of the program when it
hangs with cpu usage 100%.

P.S The backtrack is for the original version on the demo, without
removing the run function.



Raluca-Elena
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/bunny/gsoc/cheese/tests/.libs/mumu...done.
(gdb) run
Starting program: /home/bunny/gsoc/cheese/tests/.libs/mumu 
[Thread debugging using libthread_db enabled]
[New Thread 0xb4f7eb70 (LWP 6256)]
[New Thread 0xb45ffb70 (LWP 6257)]
[New Thread 0xb3dfeb70 (LWP 6258)]
[New Thread 0xb35fdb70 (LWP 6259)]
[New Thread 0xb2d6db70 (LWP 6260)]
[Thread 0xb4f7eb70 (LWP 6256) exited]
[Thread 0xb2d6db70 (LWP 6260) exited]
BEFORE clutter_gst_video_sink_newAFTER  clutter_gst_video_sink_new[New Thread 0xb2d6db70 (LWP 6261)]
[New Thread 0xb4f7eb70 (LWP 6262)]

Program received signal SIGINT, Interrupt.
ralloc_vasprintf_append (str=0xbffe948c, fmt=0x18de43a "%s%d.%02d%s", 
    args=0xbffe9438 "\001\203\220\001\224\025") at ralloc.c:436
	in ralloc.c
(gdb) bt
#0  ralloc_vasprintf_append (str=0xbffe948c, fmt=0x18de43a "%s%d.%02d%s", 
    args=0xbffe9438 "\001\203\220\001\224\025") at ralloc.c:436
#1  0x017a962f in ralloc_asprintf_append (str=0xbffe948c, fmt=0x18de43a "%s%d.%02d%s")
    at ralloc.c:413
#2  0x016f1432 in _mesa_glsl_parse_state::_mesa_glsl_parse_state (this=0x8353e18, 
    ctx=0xbffe94d0, target=35633, mem_ctx=0x8287aa8) at glsl_parser_extras.cpp:110
#3  0x017b0683 in read_builtins (target=35633, 
    protos=0x1918dc0 "(\n(function radians\n  (signature float\n    (parameters\n      (declare (in) float degrees))\n    ())\n  (signature vec2\n    (parameters\n      (declare (in) vec2 degrees))\n    ())\n  (signature vec3\n    (p"..., functions=0x19af360, count=63)
    at builtin_function.cpp:42
#4  0x017b0854 in _mesa_read_profile (state=0x83e17b0, 
    profile_index=<value optimized out>, 
    prototypes=0x1918dc0 "(\n(function radians\n  (signature float\n    (parameters\n      (declare (in) float degrees))\n    ())\n  (signature vec2\n    (parameters\n      (declare (in) vec2 degrees))\n    ())\n  (signature vec3\n    (p"..., functions=0x19af360, 
    count=63, instructions=<value optimized out>) at builtin_function.cpp:13535
#5  0x017b0c2f in _mesa_glsl_initialize_functions (instructions=0x8322cb0, 
    state=0x83e17b0) at builtin_function.cpp:13573
#6  0x017aa985 in _mesa_ast_to_hir (instructions=0x8322cb0, state=0x83e17b0)
    at ast_to_hir.cpp:63
#7  0x017a84d2 in _mesa_glsl_compile_shader (ctx=0x8437d10, shader=0x840e140)
    at program/ir_to_mesa.cpp:2973
#8  0x0174a4dd in compile_shader (ctx=0x8437d10, shaderObj=<value optimized out>)
    at main/shaderapi.c:854
#9  0x0056dce5 in _cogl_shader_compile_real (handle=0x85ca950, n_tex_coord_attribs=0)
    at ./cogl-shader.c:392
#10 0x0056ddc6 in cogl_shader_compile (handle=0x85ca950) at ./cogl-shader.c:181
#11 0x0013362c in _create_cogl_program (sink=<value optimized out>, 
    source=0x1374e0 "uniform sampler2D tex;void main () {  vec4 color = texture2D (tex, vec2(gl_TexCoord[0]));  float y = 1.1640625 * (color.g - 0.0625);  float u = color.b - 0.5;  float v = color.a - 0.5;  color.a = colo"..., set_uniforms=1, n_layers=1)
    at ./clutter-gst-video-sink.c:392
#12 _create_template_material (sink=<value optimized out>, 
    source=0x1374e0 "uniform sampler2D tex;void main () {  vec4 color = texture2D (tex, vec2(gl_TexCoord[0]));  float y = 1.1640625 * (color.g - 0.0625);  float u = color.b - 0.5;  float v = color.a - 0.5;  color.a = colo"..., set_uniforms=1, n_layers=1)
    at ./clutter-gst-video-sink.c:420
#13 0x0013378f in clutter_gst_ayuv_glsl_init (sink=0x8508008)
    at ./clutter-gst-video-sink.c:739
#14 0x0013317c in clutter_gst_source_dispatch (source=0x85b8d40, callback=0, 
    user_data=0x0) at ./clutter-gst-video-sink.c:325
#15 0x00e16aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#16 0x00e17270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#17 0x00e1792b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#18 0x00762e5d in gtk_main () from /usr/lib/libgtk-3.so.0
#19 0x08048f9e in main (argc=1, argv=0xbffff394) at mumu.c:69
(gdb) q
A debugging session is active.

	Inferior 1 [process 6252] will be killed.

Quit anyway? (y or n) 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]