Re: [question] valgrind stack trace under Native / i965



On Tue, Feb 20, 2018 at 08:39:56AM +0100, Cyrille Chépélov wrote:
Hi,

While working to improve my reports on
https://gitlab.gnome.org/GNOME/mutter/issues/18, 19 and 31, I've tried to
run gnome-shell under valgrind.

Jonas Ådahl's suggestion in
https://gitlab.gnome.org/GNOME/mutter/issues/31#note_56382 was good, and
I've successfully reached a (quick but permanent) crash situation, even when
running in non-hybrid GPU mode.

I've written a rather liberal suppressions file in order to ignore every
writes made to memory mapped from the i965 GPU (attached here, fwiw)

The crash location is very reliably in "st_theme_get_custom_stylesheets
(st-theme.c:311)" as called from Javascript code — unfortunately
dump_gjs_stack_on_signal_handler() dies trying to report the JS stack.

It seems that st_theme_get_custom_stylesheets() at
https://gitlab.gnome.org/GNOME/gnome-shell/blob/master/src/st/st-theme.c#L311
is attempting to check the type of an object which has already been
allocated and de-allocated (the actual place of allocation/deallocation
varies from run to run, but here are a few samples). Upon closer inspection,
it actually looks like the themes->stylesheets g_hash_table's nodes got
overwritten at some point.

My question is, what is the best course of action here?

 * non-trivially fixable valgrind false positive ⇒ drop?

Report bugs. But before, you could try with a newer gjs, and with the
gnome-shell commits in https://gitlab.gnome.org/GNOME/gnome-shell as
they might fix some.

 * mutter issue ⇒ report in the mutter project?

Yes.

 * gnome-shell issue ⇒ report in the gnome-shell issue?

Yes.


(my goal is to attempt to get meaningful clues to #18, #19 and possibly #31
in order to help with the search for a solution)

Thanks in advance!

Thanks yourself,


Jonas


    -- Cyrille

———————————

==6345== Invalid read of size 8
==6345==    at 0x5662C07: g_type_check_instance_is_fundamentally_a (gtype.c:4023)
==6345==    by 0x5641A7D: g_object_ref (gobject.c:3204)
==6345==    by 0x7ED7EFC:*st_theme_get_custom_stylesheets (st-theme.c:311)*
==6345==    by 0xB62FFCD: ffi_call_unix64 (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==6345==    by 0xB62F93E: ffi_call (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==6345==    by 0x6917ED7: ??? (in /usr/lib/libgjs.so.0.0.0)
==6345==    by 0x69197B3: ??? (in /usr/lib/libgjs.so.0.0.0)
==6345==    by 0xEB8AFDB: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==6345==    by 0xEB7E086: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==6345==    by 0xEB8A845: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==6345==    by 0xEB8AE1E: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==6345==    by 0xEB8B0F8: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==6345==  Address*0x2215f0a0*  is 0 bytes inside a block of size 32 free'd
==6345==    at 0x4C2E2BB: operator delete(void*) (vg_replace_malloc.c:576)
==6345==    by 0x6926891: ??? (in /usr/lib/libgjs.so.0.0.0)
==6345==    by 0x566577F: g_value_unset (gvalue.c:275)
==6345==    by 0x56441FB: g_object_new_valist (gobject.c:2123)
==6345==    by 0x5644798: g_object_new (gobject.c:1640)
==6345==    by 0x6C3C120: create_child_meta (clutter-container.c:933)
==6345==    by 0x6C22D64: clutter_actor_add_child_internal (clutter-actor.c:12889)
==6345==    by 0x6C22D64: clutter_actor_add_child (clutter-actor.c:13024)
==6345==    by 0xB62FFCD: ffi_call_unix64 (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==6345==    by 0xB62F93E: ffi_call (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==6345==    by 0x6917ED7: ??? (in /usr/lib/libgjs.so.0.0.0)
==6345==    by 0x69197B3: ??? (in /usr/lib/libgjs.so.0.0.0)
==6345==    by 0xEB8AFDB: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==6345==  Block was alloc'd at
==6345==    at 0x4C2D1FF: operator new(unsigned long) (vg_replace_malloc.c:334)
==6345==    by 0x6926D90: ??? (in /usr/lib/libgjs.so.0.0.0)
==6345==    by 0x5641AF6: g_object_ref (gobject.c:3210)
==6345==    by 0x5641BA7: g_value_object_collect_value (gobject.c:3832)
==6345==    by 0x56443CA: g_object_new_valist (gobject.c:2106)
==6345==    by 0x5644798: g_object_new (gobject.c:1640)
==6345==    by 0x6C3C120: create_child_meta (clutter-container.c:933)
==6345==    by 0x6C22D64: clutter_actor_add_child_internal (clutter-actor.c:12889)
==6345==    by 0x6C22D64: clutter_actor_add_child (clutter-actor.c:13024)
==6345==    by 0xB62FFCD: ffi_call_unix64 (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==6345==    by 0xB62F93E: ffi_call (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==6345==    by 0x6917ED7: ??? (in /usr/lib/libgjs.so.0.0.0)
==6345==    by 0x69197B3: ??? (in /usr/lib/libgjs.so.0.0.0)


Another run:

==7769== Invalid read of size 8
==7769==    at 0x5662C0F: g_type_check_instance_is_fundamentally_a (gtype.c:4025)
==7769==    by 0x5641A7D: g_object_ref (gobject.c:3204)
==7769==    by 0x7ED7EFC:*st_theme_get_custom_stylesheets (st-theme.c:311)*
==7769==    by 0xB62FFCD: ffi_call_unix64 (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==7769==    by 0xB62F93E: ffi_call (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==7769==    by 0x6917ED7: ??? (in /usr/lib/libgjs.so.0.0.0)
==7769==    by 0x69197B3: ??? (in /usr/lib/libgjs.so.0.0.0)
==7769==    by 0xEB8AFDB: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==7769==    by 0xEB7E086: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==7769==    by 0xEB8A845: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==7769==    by 0xEB8AE1E: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==7769==    by 0xEB8B0F8: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==7769==  Address*0x21627490*  is 0 bytes inside a block of size 8 free'd
==7769==    at 0x4C2DDBB: free (vg_replace_malloc.c:530)
==7769==    by 0x58EE8C9: g_string_free (gstring.c:219)
==7769==    by 0x13D97F8A: cr_string_destroy (in /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1)
==7769==    by 0x13D88DB8: cr_parser_parse_ruleset (in /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1)
==7769==    by 0x13D89F42: cr_parser_parse (in /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1)
==7769==    by 0x13D904FC: cr_om_parser_parse_buf (in /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1)
==7769==    by 0x13D90BE6: cr_om_parser_simply_parse_buf (in 
/usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1)
==7769==    by 0x7ED724C: parse_stylesheet (st-theme.c:193)
==7769==    by 0x7ED7DF4: st_theme_load_stylesheet (st-theme.c:259)
==7769==    by 0xB62FFCD: ffi_call_unix64 (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==7769==    by 0xB62F93E: ffi_call (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==7769==    by 0x6917ED7: ??? (in /usr/lib/libgjs.so.0.0.0)
==7769==  Block was alloc'd at
==7769==    at 0x4C2EDAF: realloc (vg_replace_malloc.c:785)
==7769==    by 0x58D23BF: g_realloc (gmem.c:159)
==7769==    by 0x58EE7E6: g_string_maybe_expand (gstring.c:102)
==7769==    by 0x58EF22C: g_string_insert_unichar (gstring.c:852)
==7769==    by 0x13D7F9BC: ??? (in /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1)
==7769==    by 0x13D800A1: cr_tknzr_get_next_token (in /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1)
==7769==    by 0x13D820E5: cr_tknzr_parse_token (in /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1)
==7769==    by 0x13D854DA: ??? (in /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1)
==7769==    by 0x13D8763A: cr_parser_parse_declaration (in /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1)
==7769==    by 0x13D88D6A: cr_parser_parse_ruleset (in /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1)
==7769==    by 0x13D89F42: cr_parser_parse (in /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1)
==7769==    by 0x13D904FC: cr_om_parser_parse_buf (in /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1)

and another:
==8043== Invalid read of size 1
==8043==    at 0x5662C31: g_type_check_instance_is_fundamentally_a (gtype.c:4026)
==8043==    by 0x5641A7D: g_object_ref (gobject.c:3204)
==8043==    by 0x7ED7EFC: st_theme_get_custom_stylesheets (st-theme.c:311)
==8043==    by 0xB62FFCD: ffi_call_unix64 (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==8043==    by 0xB62F93E: ffi_call (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==8043==    by 0x6917ED7: ??? (in /usr/lib/libgjs.so.0.0.0)
==8043==    by 0x69197B3: ??? (in /usr/lib/libgjs.so.0.0.0)
==8043==    by 0xEB8AFDB: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==8043==    by 0xEB7E086: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==8043==    by 0xEB8A845: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==8043==    by 0xEB8AE1E: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==8043==    by 0xEB8B0F8: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==8043==  Address*0x69642d6c61646f80*  is not stack'd, malloc'd or (recently) free'd

==8437== Invalid read of size 8
==8437==    at 0x5662C07: g_type_check_instance_is_fundamentally_a (gtype.c:4023)
==8437==    by 0x5641A7D: g_object_ref (gobject.c:3204)
==8437==    by 0x7ED7EFC: st_theme_get_custom_stylesheets (st-theme.c:311)
==8437==    by 0xB62FFCD: ffi_call_unix64 (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==8437==    by 0xB62F93E: ffi_call (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==8437==    by 0x6917ED7: ??? (in /usr/lib/libgjs.so.0.0.0)
==8437==    by 0x69197B3: ??? (in /usr/lib/libgjs.so.0.0.0)
==8437==    by 0xEB8AFDB: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==8437==    by 0xEB7E086: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==8437==    by 0xEB8A845: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==8437==    by 0xEB8AE1E: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==8437==    by 0xEB8B0F8: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==8437==  Address*0x3f3ec300*  is 480 bytes inside an unallocated block of size 512 in arena "client"

==9324== Invalid read of size 8
==9324==    at 0x5662C07: g_type_check_instance_is_fundamentally_a (gtype.c:4023)
==9324==    by 0x5641A7D: g_object_ref (gobject.c:3204)
==9324==    by 0x7ED7EFC:*st_theme_get_custom_stylesheets (st-theme.c:311)*
==9324==    by 0xB62FFCD: ffi_call_unix64 (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==9324==    by 0xB62F93E: ffi_call (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==9324==    by 0x6917ED7: ??? (in /usr/lib/libgjs.so.0.0.0)
==9324==    by 0x69197B3: ??? (in /usr/lib/libgjs.so.0.0.0)
==9324==    by 0xEB8AFDB: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==9324==    by 0xEB7E086: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==9324==    by 0xEB8A845: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==9324==    by 0xEB8AE1E: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==9324==    by 0xEB8B0F8: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==9324==  Address*0x22c3b400*  is 0 bytes inside a block of size 32 free'd
==9324==    at 0x4C2DDBB: free (vg_replace_malloc.c:530)
==9324==    by 0x691EA84: ??? (in /usr/lib/libgjs.so.0.0.0)
==9324==    by 0x6927807: ??? (in /usr/lib/libgjs.so.0.0.0)
==9324==    by 0xEB8AECC: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==9324==    by 0xEB8B0F8: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==9324==    by 0xEA1F553: JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, 
JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) (in 
/usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==9324==    by 0x69411E5: gjs_call_function_value (in /usr/lib/libgjs.so.0.0.0)
==9324==    by 0x69262F5: ??? (in /usr/lib/libgjs.so.0.0.0)
==9324==    by 0xEB9082F: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==9324==    by 0xEB86031: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==9324==    by 0xEB8A845: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==9324==    by 0xEB8AE1E: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==9324==  Block was alloc'd at
==9324==    at 0x4C2CABF: malloc (vg_replace_malloc.c:298)
==9324==    by 0x4C2EE04: realloc (vg_replace_malloc.c:785)
==9324==    by 0x58D23BF: g_realloc (gmem.c:159)
==9324==    by 0x58EE7E6: g_string_maybe_expand (gstring.c:102)
==9324==    by 0x58EE841: g_string_sized_new (gstring.c:127)
==9324==    by 0x692AE54: gjs_hyphen_from_camel (in /usr/lib/libgjs.so.0.0.0)
==9324==    by 0x691EA4B: ??? (in /usr/lib/libgjs.so.0.0.0)
==9324==    by 0x6927807: ??? (in /usr/lib/libgjs.so.0.0.0)
==9324==    by 0xEB8AECC: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==9324==    by 0xEB8B0F8: ??? (in /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==9324==    by 0xEA1F553: JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, 
JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) (in 
/usr/lib/x86_64-linux-gnu/libmozjs-52.so.0.0.0)
==9324==    by 0x69411E5: gjs_call_function_value (in /usr/lib/libgjs.so.0.0.0)
==9324==


{
   scandir_funny_business
   Memcheck:Cond
   fun:__wmemchr_avx2
   fun:internal_fnwmatch
   fun:fnmatch@@GLIBC_2.2.5
   obj:/usr/lib/x86_64-linux-gnu/libEGL.so.1.0.0
   fun:__scandir_tail
   obj:/usr/lib/x86_64-linux-gnu/libEGL.so.1.0.0
   fun:__pthread_once_slow
   obj:/usr/lib/x86_64-linux-gnu/libEGL.so.1.0.0
   obj:/usr/lib/x86_64-linux-gnu/libEGL.so.1.0.0
   fun:eglGetProcAddress
   fun:meta_egl_constructed
   fun:g_object_new_internal
}
{
   nouveau_device_new/drmCommandWriteRead_pointing_to_uninit_bytes
   Memcheck:Param
   ioctl(generic)
   fun:ioctl
   fun:drmIoctl
   fun:drmCommandWriteRead
   obj:/usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0
   fun:nouveau_device_new
   fun:nouveau_drm_screen_create
   fun:pipe_nouveau_create_screen
   fun:pipe_loader_create_screen
   fun:dri2_init_screen
   fun:driCreateNewScreen2
   fun:dri_screen_create_dri2
   fun:dri_screen_create
   fun:dri_device_create
}
{
   nouveau_device_new/drmCommandWriteRead_pointing_to_uninit_bytes/2
   Memcheck:Param
   ioctl(generic)
   fun:ioctl
   fun:drmIoctl
   fun:drmCommandWriteRead
   fun:nouveau_device_new
}
{
   mesa_intel_pipe_control/4
   Memcheck:Addr4
   fun:brw_emit_pipe_control
   fun:brw_emit_select_pipeline
}
{
   mesa_intel_pipe_control/8
   Memcheck:Addr8
   fun:brw_emit_pipe_control
   fun:brw_emit_select_pipeline
}
{
   mesa_intel_pipe_select_pipeline/4
   Memcheck:Addr4
   fun:brw_emit_select_pipeline
   fun:brw_upload_invariant_state
   fun:brw_upload_initial_gpu_state
   fun:brw_init_state
}
{
   mesa_intel_upload_invariant_state/4
   Memcheck:Addr4
   fun:brw_upload_invariant_state
   fun:brw_upload_initial_gpu_state
   fun:brw_init_state
}
{
   mesa_intel_upload_invariant_state/8
   Memcheck:Addr8
   fun:brw_upload_invariant_state
   fun:brw_upload_initial_gpu_state
   fun:brw_init_state
}
{
   mesa/blorp_exec/emit_pipeline/emit/GEN_*_pack/8
   Memcheck:Addr8
   fun:GEN9_*_pack
   fun:blorp_emit_*
   fun:blorp_emit_pipeline
   fun:blorp_exec
}
{
   mesa/blorp_exec/emit_pipeline/emit/GEN_*_pack/4
   Memcheck:Addr4
   fun:GEN9_*_pack
   fun:blorp_emit_*
   fun:blorp_emit_pipeline
   fun:blorp_exec
}
{
   mesa/blorp_exec/emit/GEN_*_pack
   Memcheck:Addr8
   fun:GEN9_*_pack
   fun:blorp_emit_pipeline
   fun:blorp_exec
   fun:gen9_blorp_exec
}
{
   mesa/blorp_exec/emit/GEN_*_pack
   Memcheck:Addr4
   fun:GEN9_*_pack
   fun:blorp_emit_pipeline
   fun:blorp_exec
   fun:gen9_blorp_exec
}
{
   mesa/cogl_texture_driver_upload_to_gl
   Memcheck:Addr8
   fun:blorp_surface_reloc
   fun:blorp_emit_surface_state.constprop.61
   fun:blorp_emit_surface_states
   fun:blorp_exec
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_copy
   fun:brw_blorp_copy_miptrees
   fun:brw_blorp_upload_miptree
   fun:intel_texsubimage_blorp
   fun:intel_upload_tex
   fun:intelTexImage
   fun:teximage
   fun:teximage_err
   fun:_mesa_TexImage2D
   fun:_cogl_texture_driver_upload_to_gl
   fun:allocate_from_bitmap
   fun:_cogl_texture_2d_gl_allocate
}
{
   mesa/blorp_exec_stencil/GEN_*_pack
   Memcheck:Addr4
   fun:GEN9_3DSTATE_*_pack
   fun:isl_gen9_emit_depth_stencil_hiz_s
   fun:blorp_emit_depth_stencil_config
   fun:blorp_exec
}
{
   mesa/brw/init/load_register_imm32
   Memcheck:Addr4
   fun:brw_load_register_imm32
   fun:brw_upload_initial_gpu_state
   fun:brw_init_state
}
{
   mesa/brw/init/gen8_emit_3dstate_sample_pattern/8
   Memcheck:Addr8
   fun:gen8_emit_3dstate_sample_pattern
   fun:brw_upload_initial_gpu_state
   fun:brw_init_state
}
{
   mesa/brw/init/gen8_emit_3dstate_sample_pattern/4
   Memcheck:Addr4
   fun:gen8_emit_3dstate_sample_pattern
   fun:brw_upload_initial_gpu_state
   fun:brw_init_state
}
{
   mesa/brw/init/initial_GPU/8
   Memcheck:Addr8
   fun:brw_upload_initial_gpu_state
   fun:brw_init_state
}
{
   mesa/brw/init/initial_GPU/4
   Memcheck:Addr4
   fun:brw_upload_initial_gpu_state
   fun:brw_init_state
}
{
   mesa/brw/setup_l3/4
   Memcheck:Addr4
   fun:brw_emit_pipe_control
   fun:setup_l3_config
}
{
   mesa/brw/setup_l3/8
   Memcheck:Addr8
   fun:brw_emit_pipe_control
   fun:setup_l3_config
}
{
   mesa/brw/finish_batch/load_register_imm/4
   Memcheck:Addr4
   fun:brw_load_register_imm32
   fun:gen7_restore_default_l3_config
   fun:brw_finish_batch
   fun:_intel_batchbuffer_flush_fence.part.6
   fun:intel_glFlush
   fun:dri2_make_current
   fun:eglMakeCurrent
}
{
   mesa/brw/finish_batch/4
   Memcheck:Addr4
   fun:brw_finish_batch
   fun:_intel_batchbuffer_flush_fence.part.6
   fun:intel_glFlush
   fun:dri2_make_current
   fun:eglMakeCurrent
}
{
   mesa/brw/glsl/wm_prog/8
   Memcheck:Addr8
   fun:memmove
   fun:memcpy
   fun:brw_upload_cache
   fun:brw_codegen_wm_prog
   fun:brw_fs_precompile
   fun:brw_shader_precompile
   fun:brw_link_shader
   fun:_mesa_glsl_link_shader
   fun:create_new_program
}
{
   mesa/brw/vs_prog/8
   Memcheck:Addr8
   fun:memmove
   fun:memcpy
   fun:brw_upload_cache
   fun:brw_codegen_vs_prog
   fun:brw_vs_precompile
   fun:brwProgramStringNotify
}
{
   mesa/brw/shader/8
   Memcheck:Addr8
   fun:memmove
   fun:memcpy
   fun:brw_upload_cache
   fun:brw_blorp_upload_shader
   fun:brw_blorp_get_blit_kernel
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_copy
}
{
   mesa/brw/end_of_pipe_sync
   Memcheck:Addr4
   fun:brw_emit_pipe_control
   fun:brw_emit_pipe_control_write
   fun:brw_emit_end_of_pipe_sync
}
{
   mesa/brw/blorp_blit_end/4
   Memcheck:Addr4
   fun:brw_upload_state_base_address
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_copy
}
{
   mesa/brw/blorp_blit_end/4/bis
   Memcheck:Addr4
   fun:brw_emit_pipe_control
   fun:brw_upload_state_base_address
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_copy
}
{
   mesa/brw/blorp_blit_end/8
   Memcheck:Addr8
   fun:brw_upload_state_base_address
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_copy
}
{
   mesa/brw/blorp_blit_end/8/bis
   Memcheck:Addr8
   fun:brw_emit_pipe_control
   fun:brw_upload_state_base_address
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_copy
}
{
   mesa/brw/blorp_exec/3DSTATE_*_pack/8
   Memcheck:Addr8
   fun:GEN9_3DSTATE_*_pack
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_copy
}
{
   mesa/brw/blorp_exec/3DSTATE_*_pack/4
   Memcheck:Addr4
   fun:GEN9_3DSTATE_*_pack
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_copy
}
{
   mesa/brw/blorp_blit/emit_vertex_data/4
   Memcheck:Addr4
   fun:memcpy
   fun:blorp_emit_vertex_data
   fun:blorp_emit_vertex_buffers
   fun:blorp_exec
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_copy
}
{
   mesa/brw/blorp_blit/emit_input_varying_data/4
   Memcheck:Addr4
   fun:memcpy
   fun:blorp_emit_input_varying_data
   fun:blorp_emit_vertex_buffers
   fun:blorp_exec
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_copy
}
{
   mesa/brw/blorp_blit/emit_input_varying_data/8
   Memcheck:Addr8
   fun:memcpy
   fun:blorp_emit_input_varying_data
   fun:blorp_emit_vertex_buffers
   fun:blorp_exec
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_copy
}
{
   mesa/brw/blorp_blit/emit_l3/4
   Memcheck:Addr4
   fun:brw_load_register_imm32
   fun:emit_l3_state
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_copy
}
{
   mesa/brw/blorp_blit/GEN9_*_pack
   Memcheck:Addr4
   fun:GEN9_*_pack
   fun:blorp_emit_vertex_buffers
   fun:blorp_exec
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_copy
}
{
   mesa/brw/blorp_blit/GEN9_*_pack/elements
   Memcheck:Addr4
   fun:GEN9_*_pack
   fun:blorp_emit_vertex_elements
   fun:blorp_exec
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_copy
}
{
   mesa§/brw/blorp_bit/urb/4
   Memcheck:Addr4
   fun:gen7_upload_urb
   fun:blorp_emit_urb_config
   fun:emit_urb_config
   fun:blorp_emit_pipeline
   fun:blorp_exec
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_copy
}
{
   mesa/brw/blrop_blit/GEN9_pack/state/4
   Memcheck:Addr4
   fun:GEN9_*_pack
   fun:blorp_emit_*_state
   fun:blorp_emit_pipeline
   fun:blorp_exec
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
}
{
   mesa/brw/blrop_blit/GEN9_pack/state/8
   Memcheck:Addr8
   fun:GEN9_*_pack
   fun:blorp_emit_*_state
   fun:blorp_emit_pipeline
   fun:blorp_exec
   fun:gen9_blorp_exec
}
{
   mesa/brw/blrop_blit/GEN9_pack/state/state/8
   Memcheck:Addr8
   fun:GEN9_*_pack
   fun:GEN9_*_pack
   fun:blorp_emit_pipeline
   fun:blorp_exec
   fun:gen9_blorp_exec
}
{
   mesa/brw/blrop_blit/GEN9_pack/state/state/4
   Memcheck:Addr4
   fun:GEN9_*_pack
   fun:GEN9_*_pack
   fun:blorp_emit_pipeline
   fun:blorp_exec
   fun:gen9_blorp_exec
}
{
   mesa/miptree/alloc/8
   Memcheck:Addr8
   fun:memset
   fun:memset
   fun:bo_alloc_internal.constprop.5
   fun:intel_alloc_aux_buffer.isra.15
   fun:intel_miptree_alloc_ccs
   fun:intel_miptree_alloc_aux
   fun:intel_miptree_create
   fun:intel_miptree_create_for_teximage
   fun:intel_alloc_texture_image_buffer
   fun:intelTexImage
   fun:teximage
   fun:teximage_err
   fun:_mesa_TexImage2D
}
{
   mesa/brw/finish_batch/flush_fence/4
   Memcheck:Addr4
   fun:brw_finish_batch
   fun:_intel_batchbuffer_flush_fence.part.6
   fun:_intel_batchbuffer_flush_fence
   fun:intel_batchbuffer_require_space
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_blit
}
{  
   mesa/brw/blorp/alloc_binding_table
   Memcheck:Addr4
   fun:blorp_alloc_binding_table
   fun:blorp_emit_surface_states
   fun:blorp_exec
}
{
   mesa/brw/surface_state/4
   Memcheck:Addr4
   fun:GEN9_*
   fun:isl_gen9_surf_fill_state_s
   fun:blorp_emit_surface_state.constprop.61
   fun:blorp_emit_surface_states
   fun:blorp_exec
}
{
   mesa/brw/surface_state/8
   Memcheck:Addr8
   fun:GEN9_*
   fun:isl_gen9_surf_fill_state_s
   fun:blorp_emit_surface_state.constprop.61
   fun:blorp_emit_surface_states
   fun:blorp_exec
}
{
   mesa/brw/blorp/3DPRIMITIVE/4
   Memcheck:Addr4
   fun:GEN9_3DPRIMITIVE_pack
   fun:blorp_exec
   fun:gen9_blorp_exec
}
{
   mesa/brw/blorp/3DPRIMITIVE/8
   Memcheck:Addr8
   fun:GEN9_3DPRIMITIVE_pack
   fun:blorp_exec
   fun:gen9_blorp_exec
}
{
   mesa/brw/emit_vertex_data/4
   Memcheck:Addr4
   fun:memcpy
   fun:blorp_emit_vertex_data
   fun:blorp_emit_vertex_buffers
   fun:blorp_exec
}
{
   mesa/brw/emit_input_varying_data/8
   Memcheck:Addr8
   fun:memcpy
   fun:blorp_emit_input_varying_data
   fun:blorp_emit_vertex_buffers
   fun:blorp_exec
}
{
   mesa/brw/emit_vertex_elements/8
   Memcheck:Addr8
   fun:GEN9_*_pack
   fun:blorp_emit_vertex_elements
   fun:blorp_exec
}
{
   mesa/brw/surface_reloc/4
   Memcheck:Addr4
   fun:blorp_surface_reloc
   fun:blorp_emit_surface_state.constprop.61
   fun:blorp_emit_surface_states
   fun:blorp_exec
}
{
   mesa/brw/emit_surface_states
   Memcheck:Addr8
   fun:GEN9_*_pack
   fun:blorp_emit_*
   fun:blorp_exec
}
{
   mesa/brw/blorp_exec/GEN9_pack/8
   Memcheck:Addr8
   fun:GEN9_*pack
   fun:gen9_blorp_exec
}
{
   mesa/brw/blorp_exec/GEN9_pack/4
   Memcheck:Addr4
   fun:GEN9_*pack
   fun:gen9_blorp_exec
}
{
   mesa/brw/blorp_exec/vertex_buffers/4
   Memcheck:Addr4
   fun:GEN9_*
   fun:blorp_emit_*
   fun:blorp_exec
}
{
   mesa/brw/blorp_exec/vertex_buffers/8
   Memcheck:Addr8
   fun:GEN9_*
   fun:blorp_emit_*
   fun:blorp_exec
}

{
   mesa/brw/upload_state_base_address/4
   Memcheck:Addr4
   fun:brw_upload_state_base_address
   fun:gen9_blorp_exec
}
{
   mesa/brw/upload_state_base_address/8
   Memcheck:Addr8
   fun:brw_upload_state_base_address
   fun:gen9_blorp_exec
}
{
   brw/blorp/surface_states/reloc/8
   Memcheck:Addr8
   fun:blorp_surface_reloc
   fun:blorp_emit_surface_state.constprop.61
   fun:blorp_emit_surface_states
   fun:blorp_exec
   fun:gen9_blorp_exec
   fun:try_blorp_blit
   fun:do_blorp_blit
   fun:blorp_blit
   fun:brw_blorp_blit_miptrees
   fun:brw_blorp_upload_miptree
   fun:intel_texsubimage_blorp
   fun:intel_upload_tex
   fun:texture_sub_image.constprop.39
   fun:texsubimage_err
   fun:_mesa_TexSubImage2D
   fun:_cogl_texture_driver_upload_subregion_to_gl
   fun:_cogl_texture_2d_gl_copy_from_bitmap
}

_______________________________________________
gnome-shell-list mailing list
gnome-shell-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-shell-list



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