Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Compositor terminal output:
- paulo-dev@tifa:~/git/wayland/wayland-demos$ valgrind --num-callers=40 --track-origins=yes --log-file=compositor.log ./compositor/wayland-compositor -b /usr/share/banshee/icons/hicolor/48x48/categories/wikipedia.png
- XDG_RUNTIME_DIR not set, falling back to .
- using socket ./wayland-0
- [2175166.282] -> wl_display@1.range(256)
- [2175216.713] -> wl_display@1.global(1, "wl_display", 1)
- [2175219.965] -> wl_display@1.global(2, "wl_compositor", 1)
- [2175220.499] -> wl_display@1.global(3, "wl_visual", 1)
- [2175220.992] -> wl_display@1.global(4, "wl_visual", 1)
- [2175221.442] -> wl_display@1.global(5, "wl_visual", 1)
- [2175221.890] -> wl_display@1.global(6, "wl_shm", 1)
- [2175222.511] -> wl_display@1.global(7, "wl_drm", 1)
- [2175224.447] -> wl_display@1.global(8, "screenshooter", 1)
- [2175224.970] -> wl_display@1.global(9, "wl_output", 1)
- [2175225.423] -> wl_display@1.global(10, "wl_input_device", 1)
- [2175225.870] -> wl_display@1.global(11, "wl_shell", 1)
- disconnect from client 0xb13c770
- ^Ccaught signal 2
- Client terminal output:
- paulo-dev@tifa:~/git/wayland/wayland-demos$ valgrind --num-callers=40 --track-origins=yes --log-file=client.log ./clients/simple-shm
- XDG_RUNTIME_DIR not set, falling back to .
- [2175172.601] -> wl_display@1.bind(1, "wl_display", 1)
- [2175262.446] wl_display@1.range(256)
- Falha de segmentação
- Compositor valgrind log:
- ==13313== Memcheck, a memory error detector
- ==13313== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
- ==13313== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
- ==13313== Command: ./compositor/wayland-compositor -b /usr/share/banshee/icons/hicolor/48x48/categories/wikipedia.png
- ==13313== Parent PID: 12758
- ==13313==
- ==13313== Invalid read of size 8
- ==13313== at 0x5F377C4: __strspn_sse42 (smmintrin.h:628)
- ==13313== by 0x90A6CC5: parseValue (xmlconfig.c:304)
- ==13313== by 0x90A6F7E: parseRanges (xmlconfig.c:366)
- ==13313== by 0x90A7D2E: parseOptInfoAttr (xmlconfig.c:575)
- ==13313== by 0x90A832F: optInfoStartElem (xmlconfig.c:626)
- ==13313== by 0x974F615: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x975077D: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x974D2E1: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x974EE6A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x97526E1: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x90A869C: driParseOptionInfo (xmlconfig.c:704)
- ==13313== by 0x90C6ED6: intelInitScreen2 (intel_screen.c:635)
- ==13313== by 0x90A6466: dri2CreateNewScreen (dri_util.c:894)
- ==13313== by 0x504D27F: dri2_create_screen (egl_dri2.c:490)
- ==13313== by 0x5051114: dri2_initialize_x11_dri2 (platform_x11.c:1033)
- ==13313== by 0x5051275: dri2_initialize_x11 (platform_x11.c:1080)
- ==13313== by 0x504D445: dri2_initialize (egl_dri2.c:542)
- ==13313== by 0x50490F5: _eglMatchAndInitialize (egldriver.c:608)
- ==13313== by 0x504918D: _eglMatchDriver (egldriver.c:639)
- ==13313== by 0x5041B10: eglInitialize (eglapi.c:323)
- ==13313== by 0x8C68DB7: x11_compositor_init_egl (compositor-x11.c:126)
- ==13313== by 0x8C6A418: x11_compositor_create (compositor-x11.c:717)
- ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
- ==13313== by 0x409A4E: main (compositor.c:2088)
- ==13313== Address 0x88895e0 is 0 bytes inside a block of size 4 alloc'd
- ==13313== at 0x4C28FAC: malloc (vg_replace_malloc.c:236)
- ==13313== by 0x90A6E0C: parseRanges (xmlconfig.c:343)
- ==13313== by 0x90A7D2E: parseOptInfoAttr (xmlconfig.c:575)
- ==13313== by 0x90A832F: optInfoStartElem (xmlconfig.c:626)
- ==13313== by 0x974F615: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x975077D: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x974D2E1: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x974EE6A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x97526E1: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x90A869C: driParseOptionInfo (xmlconfig.c:704)
- ==13313== by 0x90C6ED6: intelInitScreen2 (intel_screen.c:635)
- ==13313== by 0x90A6466: dri2CreateNewScreen (dri_util.c:894)
- ==13313== by 0x504D27F: dri2_create_screen (egl_dri2.c:490)
- ==13313== by 0x5051114: dri2_initialize_x11_dri2 (platform_x11.c:1033)
- ==13313== by 0x5051275: dri2_initialize_x11 (platform_x11.c:1080)
- ==13313== by 0x504D445: dri2_initialize (egl_dri2.c:542)
- ==13313== by 0x50490F5: _eglMatchAndInitialize (egldriver.c:608)
- ==13313== by 0x504918D: _eglMatchDriver (egldriver.c:639)
- ==13313== by 0x5041B10: eglInitialize (eglapi.c:323)
- ==13313== by 0x8C68DB7: x11_compositor_init_egl (compositor-x11.c:126)
- ==13313== by 0x8C6A418: x11_compositor_create (compositor-x11.c:717)
- ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
- ==13313== by 0x409A4E: main (compositor.c:2088)
- ==13313==
- ==13313== Invalid read of size 8
- ==13313== at 0x5F3784C: __strspn_sse42 (strspn-c.c:146)
- ==13313== by 0x90A6CC5: parseValue (xmlconfig.c:304)
- ==13313== by 0x90A6FAE: parseRanges (xmlconfig.c:367)
- ==13313== by 0x90A7D2E: parseOptInfoAttr (xmlconfig.c:575)
- ==13313== by 0x90A832F: optInfoStartElem (xmlconfig.c:626)
- ==13313== by 0x974F615: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x975077D: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x974D2E1: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x974EE6A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x97526E1: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x90A869C: driParseOptionInfo (xmlconfig.c:704)
- ==13313== by 0x90C6ED6: intelInitScreen2 (intel_screen.c:635)
- ==13313== by 0x90A6466: dri2CreateNewScreen (dri_util.c:894)
- ==13313== by 0x504D27F: dri2_create_screen (egl_dri2.c:490)
- ==13313== by 0x5051114: dri2_initialize_x11_dri2 (platform_x11.c:1033)
- ==13313== by 0x5051275: dri2_initialize_x11 (platform_x11.c:1080)
- ==13313== by 0x504D445: dri2_initialize (egl_dri2.c:542)
- ==13313== by 0x50490F5: _eglMatchAndInitialize (egldriver.c:608)
- ==13313== by 0x504918D: _eglMatchDriver (egldriver.c:639)
- ==13313== by 0x5041B10: eglInitialize (eglapi.c:323)
- ==13313== by 0x8C68DB7: x11_compositor_init_egl (compositor-x11.c:126)
- ==13313== by 0x8C6A418: x11_compositor_create (compositor-x11.c:717)
- ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
- ==13313== by 0x409A4E: main (compositor.c:2088)
- ==13313== Address 0x88895e0 is 0 bytes inside a block of size 4 alloc'd
- ==13313== at 0x4C28FAC: malloc (vg_replace_malloc.c:236)
- ==13313== by 0x90A6E0C: parseRanges (xmlconfig.c:343)
- ==13313== by 0x90A7D2E: parseOptInfoAttr (xmlconfig.c:575)
- ==13313== by 0x90A832F: optInfoStartElem (xmlconfig.c:626)
- ==13313== by 0x974F615: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x975077D: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x974D2E1: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x974EE6A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x97526E1: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
- ==13313== by 0x90A869C: driParseOptionInfo (xmlconfig.c:704)
- ==13313== by 0x90C6ED6: intelInitScreen2 (intel_screen.c:635)
- ==13313== by 0x90A6466: dri2CreateNewScreen (dri_util.c:894)
- ==13313== by 0x504D27F: dri2_create_screen (egl_dri2.c:490)
- ==13313== by 0x5051114: dri2_initialize_x11_dri2 (platform_x11.c:1033)
- ==13313== by 0x5051275: dri2_initialize_x11 (platform_x11.c:1080)
- ==13313== by 0x504D445: dri2_initialize (egl_dri2.c:542)
- ==13313== by 0x50490F5: _eglMatchAndInitialize (egldriver.c:608)
- ==13313== by 0x504918D: _eglMatchDriver (egldriver.c:639)
- ==13313== by 0x5041B10: eglInitialize (eglapi.c:323)
- ==13313== by 0x8C68DB7: x11_compositor_init_egl (compositor-x11.c:126)
- ==13313== by 0x8C6A418: x11_compositor_create (compositor-x11.c:717)
- ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
- ==13313== by 0x409A4E: main (compositor.c:2088)
- ==13313==
- ==13313== Syscall param ioctl(generic) points to uninitialised byte(s)
- ==13313== at 0x5EE5297: ioctl (syscall-template.S:82)
- ==13313== by 0x796F399: drmIoctl (xf86drm.c:167)
- ==13313== by 0x79731DD: drmCommandWriteRead (xf86drm.c:2444)
- ==13313== by 0x90C651A: intel_get_param (intel_screen.c:336)
- ==13313== by 0x90C6F0F: intelInitScreen2 (intel_screen.c:642)
- ==13313== by 0x90A6466: dri2CreateNewScreen (dri_util.c:894)
- ==13313== by 0x504D27F: dri2_create_screen (egl_dri2.c:490)
- ==13313== by 0x5051114: dri2_initialize_x11_dri2 (platform_x11.c:1033)
- ==13313== by 0x5051275: dri2_initialize_x11 (platform_x11.c:1080)
- ==13313== by 0x504D445: dri2_initialize (egl_dri2.c:542)
- ==13313== by 0x50490F5: _eglMatchAndInitialize (egldriver.c:608)
- ==13313== by 0x504918D: _eglMatchDriver (egldriver.c:639)
- ==13313== by 0x5041B10: eglInitialize (eglapi.c:323)
- ==13313== by 0x8C68DB7: x11_compositor_init_egl (compositor-x11.c:126)
- ==13313== by 0x8C6A418: x11_compositor_create (compositor-x11.c:717)
- ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
- ==13313== by 0x409A4E: main (compositor.c:2088)
- ==13313== Address 0x7fefffdf4 is on thread 1's stack
- ==13313== Uninitialised value was created by a stack allocation
- ==13313== at 0x90C64DB: intel_get_param (intel_screen.c:329)
- ==13313==
- ==13313== Syscall param ioctl(generic) points to uninitialised byte(s)
- ==13313== at 0x5EE5297: ioctl (syscall-template.S:82)
- ==13313== by 0x796F399: drmIoctl (xf86drm.c:167)
- ==13313== by 0x99781E7: drm_intel_bufmgr_gem_init (intel_bufmgr_gem.c:2148)
- ==13313== by 0x90C6C18: intel_init_bufmgr (intel_screen.c:534)
- ==13313== by 0x90C7AC9: intelInitScreen2 (intel_screen.c:693)
- ==13313== by 0x90A6466: dri2CreateNewScreen (dri_util.c:894)
- ==13313== by 0x504D27F: dri2_create_screen (egl_dri2.c:490)
- ==13313== by 0x5051114: dri2_initialize_x11_dri2 (platform_x11.c:1033)
- ==13313== by 0x5051275: dri2_initialize_x11 (platform_x11.c:1080)
- ==13313== by 0x504D445: dri2_initialize (egl_dri2.c:542)
- ==13313== by 0x50490F5: _eglMatchAndInitialize (egldriver.c:608)
- ==13313== by 0x504918D: _eglMatchDriver (egldriver.c:639)
- ==13313== by 0x5041B10: eglInitialize (eglapi.c:323)
- ==13313== by 0x8C68DB7: x11_compositor_init_egl (compositor-x11.c:126)
- ==13313== by 0x8C6A418: x11_compositor_create (compositor-x11.c:717)
- ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
- ==13313== by 0x409A4E: main (compositor.c:2088)
- ==13313== Address 0x7fefffda4 is on thread 1's stack
- ==13313== Uninitialised value was created by a stack allocation
- ==13313== at 0x90A2EE0: ??? (in /home/paulo-dev/opt/lib/dri/i965_dri.so)
- ==13313==
- ==13313== Conditional jump or move depends on uninitialised value(s)
- ==13313== at 0x8250510: inflateReset2 (in /lib/x86_64-linux-gnu/libz.so.1.2.3.4)
- ==13313== by 0x8250605: inflateInit2_ (in /lib/x86_64-linux-gnu/libz.so.1.2.3.4)
- ==13313== by 0x57C71C0: png_create_read_struct_2 (in /lib/x86_64-linux-gnu/libpng12.so.0.44.0)
- ==13313== by 0x57C7366: png_create_read_struct (in /lib/x86_64-linux-gnu/libpng12.so.0.44.0)
- ==13313== by 0x409D2C: wlsc_load_image (image-loader.c:96)
- ==13313== by 0x4057E9: create_sprite_from_png (compositor.c:445)
- ==13313== by 0x405A3E: create_pointer_images (compositor.c:510)
- ==13313== by 0x40953A: wlsc_compositor_init (compositor.c:1935)
- ==13313== by 0x8C6A44B: x11_compositor_create (compositor-x11.c:723)
- ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
- ==13313== by 0x409A4E: main (compositor.c:2088)
- ==13313== Uninitialised value was created by a heap allocation
- ==13313== at 0x4C28FAC: malloc (vg_replace_malloc.c:236)
- ==13313== by 0x57D1FFC: png_malloc (in /lib/x86_64-linux-gnu/libpng12.so.0.44.0)
- ==13313== by 0x57BAB95: ??? (in /lib/x86_64-linux-gnu/libpng12.so.0.44.0)
- ==13313== by 0x82505E1: inflateInit2_ (in /lib/x86_64-linux-gnu/libz.so.1.2.3.4)
- ==13313== by 0x57C71C0: png_create_read_struct_2 (in /lib/x86_64-linux-gnu/libpng12.so.0.44.0)
- ==13313== by 0x57C7366: png_create_read_struct (in /lib/x86_64-linux-gnu/libpng12.so.0.44.0)
- ==13313== by 0x409D2C: wlsc_load_image (image-loader.c:96)
- ==13313== by 0x4057E9: create_sprite_from_png (compositor.c:445)
- ==13313== by 0x405A3E: create_pointer_images (compositor.c:510)
- ==13313== by 0x40953A: wlsc_compositor_init (compositor.c:1935)
- ==13313== by 0x8C6A44B: x11_compositor_create (compositor-x11.c:723)
- ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
- ==13313== by 0x409A4E: main (compositor.c:2088)
- ==13313==
- ==13313== Invalid write of size 8
- ==13313== at 0x4C2A33A: memcpy (mc_replace_strmem.c:635)
- ==13313== by 0x91FE292: memcpy_texture (texstore.c:994)
- ==13313== by 0x91FF553: _mesa_texstore_argb8888 (texstore.c:1432)
- ==13313== by 0x9207B8B: _mesa_texstore (texstore.c:4549)
- ==13313== by 0x90D33B1: intelTexImage (intel_tex_image.c:569)
- ==13313== by 0x90D359C: intelTexImage2D (intel_tex_image.c:624)
- ==13313== by 0x91F40D1: teximage (teximage.c:2481)
- ==13313== by 0x91F4323: _mesa_TexImage2D (teximage.c:2535)
- ==13313== by 0x92123A8: _es_TexImage2D (api_exec_es2.c:1841)
- ==13313== by 0x5263835: glTexImage2D (glapi_mapi_tmp.h:1158)
- ==13313== by 0x4059B1: create_sprite_from_png (compositor.c:475)
- ==13313== by 0x405A3E: create_pointer_images (compositor.c:510)
- ==13313== by 0x40953A: wlsc_compositor_init (compositor.c:1935)
- ==13313== by 0x8C6A44B: x11_compositor_create (compositor-x11.c:723)
- ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
- ==13313== by 0x409A4E: main (compositor.c:2088)
- ==13313== Address 0x7f4927ca6078 is not stack'd, malloc'd or (recently) free'd
- ==13313==
- ==13313== Conditional jump or move depends on uninitialised value(s)
- ==13313== at 0x406C68: wlsc_output_repaint (compositor.c:875)
- ==13313== by 0x406E98: repaint (compositor.c:908)
- ==13313== by 0x406FE6: idle_repaint (compositor.c:929)
- ==13313== by 0x4E35F41: dispatch_idle_sources (event-loop.c:440)
- ==13313== by 0x4E35FA3: wl_event_loop_dispatch (event-loop.c:452)
- ==13313== by 0x4E34856: wl_display_run (wayland-server.c:734)
- ==13313== by 0x409B00: main (compositor.c:2105)
- ==13313== Uninitialised value was created by a heap allocation
- ==13313== at 0x4C28FAC: malloc (vg_replace_malloc.c:236)
- ==13313== by 0x404FAE: wlsc_surface_create (compositor.c:231)
- ==13313== by 0x408749: wlsc_input_device_init (compositor.c:1608)
- ==13313== by 0x8C68CAC: x11_input_create (compositor-x11.c:92)
- ==13313== by 0x8C6A4BA: x11_compositor_create (compositor-x11.c:733)
- ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
- ==13313== by 0x409A4E: main (compositor.c:2088)
- ==13313==
- ==13313== Invalid read of size 1
- ==13313== at 0x4C2ABB0: bcmp (mc_replace_strmem.c:679)
- ==13313== by 0x90F68A3: brw_try_upload_using_copy (brw_state_cache.c:219)
- ==13313== by 0x90F6A72: brw_upload_cache (brw_state_cache.c:292)
- ==13313== by 0x9103D3D: do_wm_prog (brw_wm.c:260)
- ==13313== by 0x9104470: brw_prepare_wm_prog (brw_wm.c:468)
- ==13313== by 0x90F9F3F: brw_validate_state (brw_state_upload.c:480)
- ==13313== by 0x90E3016: brw_try_draw_prims (brw_draw.c:340)
- ==13313== by 0x90E32C6: brw_draw_prims (brw_draw.c:431)
- ==13313== by 0x9228DB6: vbo_validated_drawrangeelements (vbo_exec_array.c:846)
- ==13313== by 0x92290CB: vbo_exec_DrawElements (vbo_exec_array.c:1003)
- ==13313== by 0x9229CEF: _mesa_DrawElements (vbo_exec_array.c:1314)
- ==13313== by 0x9210911: _es_DrawElements (api_exec_es2.c:748)
- ==13313== by 0x5263EAE: glDrawElements (glapi_mapi_tmp.h:1354)
- ==13313== by 0x406301: wlsc_surface_draw (compositor.c:675)
- ==13313== by 0x406DC6: wlsc_output_repaint (compositor.c:890)
- ==13313== by 0x406E98: repaint (compositor.c:908)
- ==13313== by 0x406FE6: idle_repaint (compositor.c:929)
- ==13313== by 0x4E35F41: dispatch_idle_sources (event-loop.c:440)
- ==13313== by 0x4E35FA3: wl_event_loop_dispatch (event-loop.c:452)
- ==13313== by 0x4E34856: wl_display_run (wayland-server.c:734)
- ==13313== by 0x409B00: main (compositor.c:2105)
- ==13313== Address 0x7f4927c97000 is not stack'd, malloc'd or (recently) free'd
- ==13313==
- ==13313== Invalid read of size 1
- ==13313== at 0x4C2ABC4: bcmp (mc_replace_strmem.c:679)
- ==13313== by 0x90F68A3: brw_try_upload_using_copy (brw_state_cache.c:219)
- ==13313== by 0x90F6A72: brw_upload_cache (brw_state_cache.c:292)
- ==13313== by 0x9103D3D: do_wm_prog (brw_wm.c:260)
- ==13313== by 0x9104470: brw_prepare_wm_prog (brw_wm.c:468)
- ==13313== by 0x90F9F3F: brw_validate_state (brw_state_upload.c:480)
- ==13313== by 0x90E3016: brw_try_draw_prims (brw_draw.c:340)
- ==13313== by 0x90E32C6: brw_draw_prims (brw_draw.c:431)
- ==13313== by 0x9228DB6: vbo_validated_drawrangeelements (vbo_exec_array.c:846)
- ==13313== by 0x92290CB: vbo_exec_DrawElements (vbo_exec_array.c:1003)
- ==13313== by 0x9229CEF: _mesa_DrawElements (vbo_exec_array.c:1314)
- ==13313== by 0x9210911: _es_DrawElements (api_exec_es2.c:748)
- ==13313== by 0x5263EAE: glDrawElements (glapi_mapi_tmp.h:1354)
- ==13313== by 0x406301: wlsc_surface_draw (compositor.c:675)
- ==13313== by 0x406DC6: wlsc_output_repaint (compositor.c:890)
- ==13313== by 0x406E98: repaint (compositor.c:908)
- ==13313== by 0x406FE6: idle_repaint (compositor.c:929)
- ==13313== by 0x4E35F41: dispatch_idle_sources (event-loop.c:440)
- ==13313== by 0x4E35FA3: wl_event_loop_dispatch (event-loop.c:452)
- ==13313== by 0x4E34856: wl_display_run (wayland-server.c:734)
- ==13313== by 0x409B00: main (compositor.c:2105)
- ==13313== Address 0x7f4927c97001 is not stack'd, malloc'd or (recently) free'd
- ==13313==
- ==13313== Conditional jump or move depends on uninitialised value(s)
- ==13313== at 0x406EF7: repaint (compositor.c:915)
- ==13313== by 0x406FE6: idle_repaint (compositor.c:929)
- ==13313== by 0x4E35F41: dispatch_idle_sources (event-loop.c:440)
- ==13313== by 0x4E35FA3: wl_event_loop_dispatch (event-loop.c:452)
- ==13313== by 0x4E34856: wl_display_run (wayland-server.c:734)
- ==13313== by 0x409B00: main (compositor.c:2105)
- ==13313== Uninitialised value was created by a heap allocation
- ==13313== at 0x4C28FAC: malloc (vg_replace_malloc.c:236)
- ==13313== by 0x404FAE: wlsc_surface_create (compositor.c:231)
- ==13313== by 0x408749: wlsc_input_device_init (compositor.c:1608)
- ==13313== by 0x8C68CAC: x11_input_create (compositor-x11.c:92)
- ==13313== by 0x8C6A4BA: x11_compositor_create (compositor-x11.c:733)
- ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
- ==13313== by 0x409A4E: main (compositor.c:2088)
- ==13313==
- ==13313==
- ==13313== HEAP SUMMARY:
- ==13313== in use at exit: 18,435,824 bytes in 3,075 blocks
- ==13313== total heap usage: 67,937 allocs, 64,862 frees, 41,420,654 bytes allocated
- ==13313==
- ==13313== LEAK SUMMARY:
- ==13313== definitely lost: 87,296 bytes in 247 blocks
- ==13313== indirectly lost: 22,354 bytes in 46 blocks
- ==13313== possibly lost: 18,287,847 bytes in 2,729 blocks
- ==13313== still reachable: 38,327 bytes in 53 blocks
- ==13313== suppressed: 0 bytes in 0 blocks
- ==13313== Rerun with --leak-check=full to see details of leaked memory
- ==13313==
- ==13313== For counts of detected and suppressed errors, rerun with: -v
- ==13313== ERROR SUMMARY: 7849 errors from 10 contexts (suppressed: 18 from 8)
- Client log:
- ==13317== Memcheck, a memory error detector
- ==13317== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
- ==13317== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
- ==13317== Command: ./clients/simple-shm
- ==13317== Parent PID: 12812
- ==13317==
- ==13317== Invalid read of size 8
- ==13317== at 0x52602E8: handle_event (wayland-client.c:536)
- ==13317== by 0x82DD29F: ???
- ==13317== by 0xC00000FFF: ???
- ==13317== by 0x100000002: ???
- ==13317== by 0x82DD0AF: ???
- ==13317== by 0xC000300000000: ???
- ==13317== by 0x170000000FF: ???
- ==13317== by 0x700000000: ???
- ==13317== Address 0x6ffffffe8 is not stack'd, malloc'd or (recently) free'd
- ==13317==
- ==13317==
- ==13317== Process terminating with default action of signal 11 (SIGSEGV)
- ==13317== Access not within mapped region at address 0x6FFFFFFE8
- ==13317== at 0x52602E8: handle_event (wayland-client.c:536)
- ==13317== by 0x82DD29F: ???
- ==13317== by 0xC00000FFF: ???
- ==13317== by 0x100000002: ???
- ==13317== by 0x82DD0AF: ???
- ==13317== by 0xC000300000000: ???
- ==13317== by 0x170000000FF: ???
- ==13317== by 0x700000000: ???
- ==13317== If you believe this happened as a result of a stack
- ==13317== overflow in your program's main thread (unlikely but
- ==13317== possible), you can try to increase the size of the
- ==13317== main thread stack using the --main-stacksize= flag.
- ==13317== The main thread stack size used in this run was 8388608.
- ==13317==
- ==13317== HEAP SUMMARY:
- ==13317== in use at exit: 18,080 bytes in 6 blocks
- ==13317== total heap usage: 6 allocs, 0 frees, 18,080 bytes allocated
- ==13317==
- ==13317== LEAK SUMMARY:
- ==13317== definitely lost: 0 bytes in 0 blocks
- ==13317== indirectly lost: 0 bytes in 0 blocks
- ==13317== possibly lost: 32 bytes in 1 blocks
- ==13317== still reachable: 18,048 bytes in 5 blocks
- ==13317== suppressed: 0 bytes in 0 blocks
- ==13317== Rerun with --leak-check=full to see details of leaked memory
- ==13317==
- ==13317== For counts of detected and suppressed errors, rerun with: -v
- ==13317== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 6 from 6)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement