Advertisement
Guest User

Untitled

a guest
Oct 7th, 2017
640
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.67 KB | None | 0 0
  1. Compositor terminal output:
  2.  
  3. 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
  4. XDG_RUNTIME_DIR not set, falling back to .
  5. using socket ./wayland-0
  6. [2175166.282] -> wl_display@1.range(256)
  7. [2175216.713] -> wl_display@1.global(1, "wl_display", 1)
  8. [2175219.965] -> wl_display@1.global(2, "wl_compositor", 1)
  9. [2175220.499] -> wl_display@1.global(3, "wl_visual", 1)
  10. [2175220.992] -> wl_display@1.global(4, "wl_visual", 1)
  11. [2175221.442] -> wl_display@1.global(5, "wl_visual", 1)
  12. [2175221.890] -> wl_display@1.global(6, "wl_shm", 1)
  13. [2175222.511] -> wl_display@1.global(7, "wl_drm", 1)
  14. [2175224.447] -> wl_display@1.global(8, "screenshooter", 1)
  15. [2175224.970] -> wl_display@1.global(9, "wl_output", 1)
  16. [2175225.423] -> wl_display@1.global(10, "wl_input_device", 1)
  17. [2175225.870] -> wl_display@1.global(11, "wl_shell", 1)
  18. disconnect from client 0xb13c770
  19. ^Ccaught signal 2
  20.  
  21.  
  22.  
  23. Client terminal output:
  24.  
  25. paulo-dev@tifa:~/git/wayland/wayland-demos$ valgrind --num-callers=40 --track-origins=yes --log-file=client.log ./clients/simple-shm
  26. XDG_RUNTIME_DIR not set, falling back to .
  27. [2175172.601] -> wl_display@1.bind(1, "wl_display", 1)
  28. [2175262.446] wl_display@1.range(256)
  29. Falha de segmentação
  30.  
  31.  
  32. Compositor valgrind log:
  33.  
  34. ==13313== Memcheck, a memory error detector
  35. ==13313== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
  36. ==13313== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
  37. ==13313== Command: ./compositor/wayland-compositor -b /usr/share/banshee/icons/hicolor/48x48/categories/wikipedia.png
  38. ==13313== Parent PID: 12758
  39. ==13313==
  40. ==13313== Invalid read of size 8
  41. ==13313== at 0x5F377C4: __strspn_sse42 (smmintrin.h:628)
  42. ==13313== by 0x90A6CC5: parseValue (xmlconfig.c:304)
  43. ==13313== by 0x90A6F7E: parseRanges (xmlconfig.c:366)
  44. ==13313== by 0x90A7D2E: parseOptInfoAttr (xmlconfig.c:575)
  45. ==13313== by 0x90A832F: optInfoStartElem (xmlconfig.c:626)
  46. ==13313== by 0x974F615: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  47. ==13313== by 0x975077D: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  48. ==13313== by 0x974D2E1: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  49. ==13313== by 0x974EE6A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  50. ==13313== by 0x97526E1: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  51. ==13313== by 0x90A869C: driParseOptionInfo (xmlconfig.c:704)
  52. ==13313== by 0x90C6ED6: intelInitScreen2 (intel_screen.c:635)
  53. ==13313== by 0x90A6466: dri2CreateNewScreen (dri_util.c:894)
  54. ==13313== by 0x504D27F: dri2_create_screen (egl_dri2.c:490)
  55. ==13313== by 0x5051114: dri2_initialize_x11_dri2 (platform_x11.c:1033)
  56. ==13313== by 0x5051275: dri2_initialize_x11 (platform_x11.c:1080)
  57. ==13313== by 0x504D445: dri2_initialize (egl_dri2.c:542)
  58. ==13313== by 0x50490F5: _eglMatchAndInitialize (egldriver.c:608)
  59. ==13313== by 0x504918D: _eglMatchDriver (egldriver.c:639)
  60. ==13313== by 0x5041B10: eglInitialize (eglapi.c:323)
  61. ==13313== by 0x8C68DB7: x11_compositor_init_egl (compositor-x11.c:126)
  62. ==13313== by 0x8C6A418: x11_compositor_create (compositor-x11.c:717)
  63. ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
  64. ==13313== by 0x409A4E: main (compositor.c:2088)
  65. ==13313== Address 0x88895e0 is 0 bytes inside a block of size 4 alloc'd
  66. ==13313== at 0x4C28FAC: malloc (vg_replace_malloc.c:236)
  67. ==13313== by 0x90A6E0C: parseRanges (xmlconfig.c:343)
  68. ==13313== by 0x90A7D2E: parseOptInfoAttr (xmlconfig.c:575)
  69. ==13313== by 0x90A832F: optInfoStartElem (xmlconfig.c:626)
  70. ==13313== by 0x974F615: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  71. ==13313== by 0x975077D: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  72. ==13313== by 0x974D2E1: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  73. ==13313== by 0x974EE6A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  74. ==13313== by 0x97526E1: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  75. ==13313== by 0x90A869C: driParseOptionInfo (xmlconfig.c:704)
  76. ==13313== by 0x90C6ED6: intelInitScreen2 (intel_screen.c:635)
  77. ==13313== by 0x90A6466: dri2CreateNewScreen (dri_util.c:894)
  78. ==13313== by 0x504D27F: dri2_create_screen (egl_dri2.c:490)
  79. ==13313== by 0x5051114: dri2_initialize_x11_dri2 (platform_x11.c:1033)
  80. ==13313== by 0x5051275: dri2_initialize_x11 (platform_x11.c:1080)
  81. ==13313== by 0x504D445: dri2_initialize (egl_dri2.c:542)
  82. ==13313== by 0x50490F5: _eglMatchAndInitialize (egldriver.c:608)
  83. ==13313== by 0x504918D: _eglMatchDriver (egldriver.c:639)
  84. ==13313== by 0x5041B10: eglInitialize (eglapi.c:323)
  85. ==13313== by 0x8C68DB7: x11_compositor_init_egl (compositor-x11.c:126)
  86. ==13313== by 0x8C6A418: x11_compositor_create (compositor-x11.c:717)
  87. ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
  88. ==13313== by 0x409A4E: main (compositor.c:2088)
  89. ==13313==
  90. ==13313== Invalid read of size 8
  91. ==13313== at 0x5F3784C: __strspn_sse42 (strspn-c.c:146)
  92. ==13313== by 0x90A6CC5: parseValue (xmlconfig.c:304)
  93. ==13313== by 0x90A6FAE: parseRanges (xmlconfig.c:367)
  94. ==13313== by 0x90A7D2E: parseOptInfoAttr (xmlconfig.c:575)
  95. ==13313== by 0x90A832F: optInfoStartElem (xmlconfig.c:626)
  96. ==13313== by 0x974F615: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  97. ==13313== by 0x975077D: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  98. ==13313== by 0x974D2E1: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  99. ==13313== by 0x974EE6A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  100. ==13313== by 0x97526E1: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  101. ==13313== by 0x90A869C: driParseOptionInfo (xmlconfig.c:704)
  102. ==13313== by 0x90C6ED6: intelInitScreen2 (intel_screen.c:635)
  103. ==13313== by 0x90A6466: dri2CreateNewScreen (dri_util.c:894)
  104. ==13313== by 0x504D27F: dri2_create_screen (egl_dri2.c:490)
  105. ==13313== by 0x5051114: dri2_initialize_x11_dri2 (platform_x11.c:1033)
  106. ==13313== by 0x5051275: dri2_initialize_x11 (platform_x11.c:1080)
  107. ==13313== by 0x504D445: dri2_initialize (egl_dri2.c:542)
  108. ==13313== by 0x50490F5: _eglMatchAndInitialize (egldriver.c:608)
  109. ==13313== by 0x504918D: _eglMatchDriver (egldriver.c:639)
  110. ==13313== by 0x5041B10: eglInitialize (eglapi.c:323)
  111. ==13313== by 0x8C68DB7: x11_compositor_init_egl (compositor-x11.c:126)
  112. ==13313== by 0x8C6A418: x11_compositor_create (compositor-x11.c:717)
  113. ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
  114. ==13313== by 0x409A4E: main (compositor.c:2088)
  115. ==13313== Address 0x88895e0 is 0 bytes inside a block of size 4 alloc'd
  116. ==13313== at 0x4C28FAC: malloc (vg_replace_malloc.c:236)
  117. ==13313== by 0x90A6E0C: parseRanges (xmlconfig.c:343)
  118. ==13313== by 0x90A7D2E: parseOptInfoAttr (xmlconfig.c:575)
  119. ==13313== by 0x90A832F: optInfoStartElem (xmlconfig.c:626)
  120. ==13313== by 0x974F615: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  121. ==13313== by 0x975077D: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  122. ==13313== by 0x974D2E1: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  123. ==13313== by 0x974EE6A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  124. ==13313== by 0x97526E1: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
  125. ==13313== by 0x90A869C: driParseOptionInfo (xmlconfig.c:704)
  126. ==13313== by 0x90C6ED6: intelInitScreen2 (intel_screen.c:635)
  127. ==13313== by 0x90A6466: dri2CreateNewScreen (dri_util.c:894)
  128. ==13313== by 0x504D27F: dri2_create_screen (egl_dri2.c:490)
  129. ==13313== by 0x5051114: dri2_initialize_x11_dri2 (platform_x11.c:1033)
  130. ==13313== by 0x5051275: dri2_initialize_x11 (platform_x11.c:1080)
  131. ==13313== by 0x504D445: dri2_initialize (egl_dri2.c:542)
  132. ==13313== by 0x50490F5: _eglMatchAndInitialize (egldriver.c:608)
  133. ==13313== by 0x504918D: _eglMatchDriver (egldriver.c:639)
  134. ==13313== by 0x5041B10: eglInitialize (eglapi.c:323)
  135. ==13313== by 0x8C68DB7: x11_compositor_init_egl (compositor-x11.c:126)
  136. ==13313== by 0x8C6A418: x11_compositor_create (compositor-x11.c:717)
  137. ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
  138. ==13313== by 0x409A4E: main (compositor.c:2088)
  139. ==13313==
  140. ==13313== Syscall param ioctl(generic) points to uninitialised byte(s)
  141. ==13313== at 0x5EE5297: ioctl (syscall-template.S:82)
  142. ==13313== by 0x796F399: drmIoctl (xf86drm.c:167)
  143. ==13313== by 0x79731DD: drmCommandWriteRead (xf86drm.c:2444)
  144. ==13313== by 0x90C651A: intel_get_param (intel_screen.c:336)
  145. ==13313== by 0x90C6F0F: intelInitScreen2 (intel_screen.c:642)
  146. ==13313== by 0x90A6466: dri2CreateNewScreen (dri_util.c:894)
  147. ==13313== by 0x504D27F: dri2_create_screen (egl_dri2.c:490)
  148. ==13313== by 0x5051114: dri2_initialize_x11_dri2 (platform_x11.c:1033)
  149. ==13313== by 0x5051275: dri2_initialize_x11 (platform_x11.c:1080)
  150. ==13313== by 0x504D445: dri2_initialize (egl_dri2.c:542)
  151. ==13313== by 0x50490F5: _eglMatchAndInitialize (egldriver.c:608)
  152. ==13313== by 0x504918D: _eglMatchDriver (egldriver.c:639)
  153. ==13313== by 0x5041B10: eglInitialize (eglapi.c:323)
  154. ==13313== by 0x8C68DB7: x11_compositor_init_egl (compositor-x11.c:126)
  155. ==13313== by 0x8C6A418: x11_compositor_create (compositor-x11.c:717)
  156. ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
  157. ==13313== by 0x409A4E: main (compositor.c:2088)
  158. ==13313== Address 0x7fefffdf4 is on thread 1's stack
  159. ==13313== Uninitialised value was created by a stack allocation
  160. ==13313== at 0x90C64DB: intel_get_param (intel_screen.c:329)
  161. ==13313==
  162. ==13313== Syscall param ioctl(generic) points to uninitialised byte(s)
  163. ==13313== at 0x5EE5297: ioctl (syscall-template.S:82)
  164. ==13313== by 0x796F399: drmIoctl (xf86drm.c:167)
  165. ==13313== by 0x99781E7: drm_intel_bufmgr_gem_init (intel_bufmgr_gem.c:2148)
  166. ==13313== by 0x90C6C18: intel_init_bufmgr (intel_screen.c:534)
  167. ==13313== by 0x90C7AC9: intelInitScreen2 (intel_screen.c:693)
  168. ==13313== by 0x90A6466: dri2CreateNewScreen (dri_util.c:894)
  169. ==13313== by 0x504D27F: dri2_create_screen (egl_dri2.c:490)
  170. ==13313== by 0x5051114: dri2_initialize_x11_dri2 (platform_x11.c:1033)
  171. ==13313== by 0x5051275: dri2_initialize_x11 (platform_x11.c:1080)
  172. ==13313== by 0x504D445: dri2_initialize (egl_dri2.c:542)
  173. ==13313== by 0x50490F5: _eglMatchAndInitialize (egldriver.c:608)
  174. ==13313== by 0x504918D: _eglMatchDriver (egldriver.c:639)
  175. ==13313== by 0x5041B10: eglInitialize (eglapi.c:323)
  176. ==13313== by 0x8C68DB7: x11_compositor_init_egl (compositor-x11.c:126)
  177. ==13313== by 0x8C6A418: x11_compositor_create (compositor-x11.c:717)
  178. ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
  179. ==13313== by 0x409A4E: main (compositor.c:2088)
  180. ==13313== Address 0x7fefffda4 is on thread 1's stack
  181. ==13313== Uninitialised value was created by a stack allocation
  182. ==13313== at 0x90A2EE0: ??? (in /home/paulo-dev/opt/lib/dri/i965_dri.so)
  183. ==13313==
  184. ==13313== Conditional jump or move depends on uninitialised value(s)
  185. ==13313== at 0x8250510: inflateReset2 (in /lib/x86_64-linux-gnu/libz.so.1.2.3.4)
  186. ==13313== by 0x8250605: inflateInit2_ (in /lib/x86_64-linux-gnu/libz.so.1.2.3.4)
  187. ==13313== by 0x57C71C0: png_create_read_struct_2 (in /lib/x86_64-linux-gnu/libpng12.so.0.44.0)
  188. ==13313== by 0x57C7366: png_create_read_struct (in /lib/x86_64-linux-gnu/libpng12.so.0.44.0)
  189. ==13313== by 0x409D2C: wlsc_load_image (image-loader.c:96)
  190. ==13313== by 0x4057E9: create_sprite_from_png (compositor.c:445)
  191. ==13313== by 0x405A3E: create_pointer_images (compositor.c:510)
  192. ==13313== by 0x40953A: wlsc_compositor_init (compositor.c:1935)
  193. ==13313== by 0x8C6A44B: x11_compositor_create (compositor-x11.c:723)
  194. ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
  195. ==13313== by 0x409A4E: main (compositor.c:2088)
  196. ==13313== Uninitialised value was created by a heap allocation
  197. ==13313== at 0x4C28FAC: malloc (vg_replace_malloc.c:236)
  198. ==13313== by 0x57D1FFC: png_malloc (in /lib/x86_64-linux-gnu/libpng12.so.0.44.0)
  199. ==13313== by 0x57BAB95: ??? (in /lib/x86_64-linux-gnu/libpng12.so.0.44.0)
  200. ==13313== by 0x82505E1: inflateInit2_ (in /lib/x86_64-linux-gnu/libz.so.1.2.3.4)
  201. ==13313== by 0x57C71C0: png_create_read_struct_2 (in /lib/x86_64-linux-gnu/libpng12.so.0.44.0)
  202. ==13313== by 0x57C7366: png_create_read_struct (in /lib/x86_64-linux-gnu/libpng12.so.0.44.0)
  203. ==13313== by 0x409D2C: wlsc_load_image (image-loader.c:96)
  204. ==13313== by 0x4057E9: create_sprite_from_png (compositor.c:445)
  205. ==13313== by 0x405A3E: create_pointer_images (compositor.c:510)
  206. ==13313== by 0x40953A: wlsc_compositor_init (compositor.c:1935)
  207. ==13313== by 0x8C6A44B: x11_compositor_create (compositor-x11.c:723)
  208. ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
  209. ==13313== by 0x409A4E: main (compositor.c:2088)
  210. ==13313==
  211. ==13313== Invalid write of size 8
  212. ==13313== at 0x4C2A33A: memcpy (mc_replace_strmem.c:635)
  213. ==13313== by 0x91FE292: memcpy_texture (texstore.c:994)
  214. ==13313== by 0x91FF553: _mesa_texstore_argb8888 (texstore.c:1432)
  215. ==13313== by 0x9207B8B: _mesa_texstore (texstore.c:4549)
  216. ==13313== by 0x90D33B1: intelTexImage (intel_tex_image.c:569)
  217. ==13313== by 0x90D359C: intelTexImage2D (intel_tex_image.c:624)
  218. ==13313== by 0x91F40D1: teximage (teximage.c:2481)
  219. ==13313== by 0x91F4323: _mesa_TexImage2D (teximage.c:2535)
  220. ==13313== by 0x92123A8: _es_TexImage2D (api_exec_es2.c:1841)
  221. ==13313== by 0x5263835: glTexImage2D (glapi_mapi_tmp.h:1158)
  222. ==13313== by 0x4059B1: create_sprite_from_png (compositor.c:475)
  223. ==13313== by 0x405A3E: create_pointer_images (compositor.c:510)
  224. ==13313== by 0x40953A: wlsc_compositor_init (compositor.c:1935)
  225. ==13313== by 0x8C6A44B: x11_compositor_create (compositor-x11.c:723)
  226. ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
  227. ==13313== by 0x409A4E: main (compositor.c:2088)
  228. ==13313== Address 0x7f4927ca6078 is not stack'd, malloc'd or (recently) free'd
  229. ==13313==
  230. ==13313== Conditional jump or move depends on uninitialised value(s)
  231. ==13313== at 0x406C68: wlsc_output_repaint (compositor.c:875)
  232. ==13313== by 0x406E98: repaint (compositor.c:908)
  233. ==13313== by 0x406FE6: idle_repaint (compositor.c:929)
  234. ==13313== by 0x4E35F41: dispatch_idle_sources (event-loop.c:440)
  235. ==13313== by 0x4E35FA3: wl_event_loop_dispatch (event-loop.c:452)
  236. ==13313== by 0x4E34856: wl_display_run (wayland-server.c:734)
  237. ==13313== by 0x409B00: main (compositor.c:2105)
  238. ==13313== Uninitialised value was created by a heap allocation
  239. ==13313== at 0x4C28FAC: malloc (vg_replace_malloc.c:236)
  240. ==13313== by 0x404FAE: wlsc_surface_create (compositor.c:231)
  241. ==13313== by 0x408749: wlsc_input_device_init (compositor.c:1608)
  242. ==13313== by 0x8C68CAC: x11_input_create (compositor-x11.c:92)
  243. ==13313== by 0x8C6A4BA: x11_compositor_create (compositor-x11.c:733)
  244. ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
  245. ==13313== by 0x409A4E: main (compositor.c:2088)
  246. ==13313==
  247. ==13313== Invalid read of size 1
  248. ==13313== at 0x4C2ABB0: bcmp (mc_replace_strmem.c:679)
  249. ==13313== by 0x90F68A3: brw_try_upload_using_copy (brw_state_cache.c:219)
  250. ==13313== by 0x90F6A72: brw_upload_cache (brw_state_cache.c:292)
  251. ==13313== by 0x9103D3D: do_wm_prog (brw_wm.c:260)
  252. ==13313== by 0x9104470: brw_prepare_wm_prog (brw_wm.c:468)
  253. ==13313== by 0x90F9F3F: brw_validate_state (brw_state_upload.c:480)
  254. ==13313== by 0x90E3016: brw_try_draw_prims (brw_draw.c:340)
  255. ==13313== by 0x90E32C6: brw_draw_prims (brw_draw.c:431)
  256. ==13313== by 0x9228DB6: vbo_validated_drawrangeelements (vbo_exec_array.c:846)
  257. ==13313== by 0x92290CB: vbo_exec_DrawElements (vbo_exec_array.c:1003)
  258. ==13313== by 0x9229CEF: _mesa_DrawElements (vbo_exec_array.c:1314)
  259. ==13313== by 0x9210911: _es_DrawElements (api_exec_es2.c:748)
  260. ==13313== by 0x5263EAE: glDrawElements (glapi_mapi_tmp.h:1354)
  261. ==13313== by 0x406301: wlsc_surface_draw (compositor.c:675)
  262. ==13313== by 0x406DC6: wlsc_output_repaint (compositor.c:890)
  263. ==13313== by 0x406E98: repaint (compositor.c:908)
  264. ==13313== by 0x406FE6: idle_repaint (compositor.c:929)
  265. ==13313== by 0x4E35F41: dispatch_idle_sources (event-loop.c:440)
  266. ==13313== by 0x4E35FA3: wl_event_loop_dispatch (event-loop.c:452)
  267. ==13313== by 0x4E34856: wl_display_run (wayland-server.c:734)
  268. ==13313== by 0x409B00: main (compositor.c:2105)
  269. ==13313== Address 0x7f4927c97000 is not stack'd, malloc'd or (recently) free'd
  270. ==13313==
  271. ==13313== Invalid read of size 1
  272. ==13313== at 0x4C2ABC4: bcmp (mc_replace_strmem.c:679)
  273. ==13313== by 0x90F68A3: brw_try_upload_using_copy (brw_state_cache.c:219)
  274. ==13313== by 0x90F6A72: brw_upload_cache (brw_state_cache.c:292)
  275. ==13313== by 0x9103D3D: do_wm_prog (brw_wm.c:260)
  276. ==13313== by 0x9104470: brw_prepare_wm_prog (brw_wm.c:468)
  277. ==13313== by 0x90F9F3F: brw_validate_state (brw_state_upload.c:480)
  278. ==13313== by 0x90E3016: brw_try_draw_prims (brw_draw.c:340)
  279. ==13313== by 0x90E32C6: brw_draw_prims (brw_draw.c:431)
  280. ==13313== by 0x9228DB6: vbo_validated_drawrangeelements (vbo_exec_array.c:846)
  281. ==13313== by 0x92290CB: vbo_exec_DrawElements (vbo_exec_array.c:1003)
  282. ==13313== by 0x9229CEF: _mesa_DrawElements (vbo_exec_array.c:1314)
  283. ==13313== by 0x9210911: _es_DrawElements (api_exec_es2.c:748)
  284. ==13313== by 0x5263EAE: glDrawElements (glapi_mapi_tmp.h:1354)
  285. ==13313== by 0x406301: wlsc_surface_draw (compositor.c:675)
  286. ==13313== by 0x406DC6: wlsc_output_repaint (compositor.c:890)
  287. ==13313== by 0x406E98: repaint (compositor.c:908)
  288. ==13313== by 0x406FE6: idle_repaint (compositor.c:929)
  289. ==13313== by 0x4E35F41: dispatch_idle_sources (event-loop.c:440)
  290. ==13313== by 0x4E35FA3: wl_event_loop_dispatch (event-loop.c:452)
  291. ==13313== by 0x4E34856: wl_display_run (wayland-server.c:734)
  292. ==13313== by 0x409B00: main (compositor.c:2105)
  293. ==13313== Address 0x7f4927c97001 is not stack'd, malloc'd or (recently) free'd
  294. ==13313==
  295. ==13313== Conditional jump or move depends on uninitialised value(s)
  296. ==13313== at 0x406EF7: repaint (compositor.c:915)
  297. ==13313== by 0x406FE6: idle_repaint (compositor.c:929)
  298. ==13313== by 0x4E35F41: dispatch_idle_sources (event-loop.c:440)
  299. ==13313== by 0x4E35FA3: wl_event_loop_dispatch (event-loop.c:452)
  300. ==13313== by 0x4E34856: wl_display_run (wayland-server.c:734)
  301. ==13313== by 0x409B00: main (compositor.c:2105)
  302. ==13313== Uninitialised value was created by a heap allocation
  303. ==13313== at 0x4C28FAC: malloc (vg_replace_malloc.c:236)
  304. ==13313== by 0x404FAE: wlsc_surface_create (compositor.c:231)
  305. ==13313== by 0x408749: wlsc_input_device_init (compositor.c:1608)
  306. ==13313== by 0x8C68CAC: x11_input_create (compositor-x11.c:92)
  307. ==13313== by 0x8C6A4BA: x11_compositor_create (compositor-x11.c:733)
  308. ==13313== by 0x8C6A621: backend_init (compositor-x11.c:778)
  309. ==13313== by 0x409A4E: main (compositor.c:2088)
  310. ==13313==
  311. ==13313==
  312. ==13313== HEAP SUMMARY:
  313. ==13313== in use at exit: 18,435,824 bytes in 3,075 blocks
  314. ==13313== total heap usage: 67,937 allocs, 64,862 frees, 41,420,654 bytes allocated
  315. ==13313==
  316. ==13313== LEAK SUMMARY:
  317. ==13313== definitely lost: 87,296 bytes in 247 blocks
  318. ==13313== indirectly lost: 22,354 bytes in 46 blocks
  319. ==13313== possibly lost: 18,287,847 bytes in 2,729 blocks
  320. ==13313== still reachable: 38,327 bytes in 53 blocks
  321. ==13313== suppressed: 0 bytes in 0 blocks
  322. ==13313== Rerun with --leak-check=full to see details of leaked memory
  323. ==13313==
  324. ==13313== For counts of detected and suppressed errors, rerun with: -v
  325. ==13313== ERROR SUMMARY: 7849 errors from 10 contexts (suppressed: 18 from 8)
  326.  
  327.  
  328.  
  329.  
  330. Client log:
  331.  
  332. ==13317== Memcheck, a memory error detector
  333. ==13317== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
  334. ==13317== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
  335. ==13317== Command: ./clients/simple-shm
  336. ==13317== Parent PID: 12812
  337. ==13317==
  338. ==13317== Invalid read of size 8
  339. ==13317== at 0x52602E8: handle_event (wayland-client.c:536)
  340. ==13317== by 0x82DD29F: ???
  341. ==13317== by 0xC00000FFF: ???
  342. ==13317== by 0x100000002: ???
  343. ==13317== by 0x82DD0AF: ???
  344. ==13317== by 0xC000300000000: ???
  345. ==13317== by 0x170000000FF: ???
  346. ==13317== by 0x700000000: ???
  347. ==13317== Address 0x6ffffffe8 is not stack'd, malloc'd or (recently) free'd
  348. ==13317==
  349. ==13317==
  350. ==13317== Process terminating with default action of signal 11 (SIGSEGV)
  351. ==13317== Access not within mapped region at address 0x6FFFFFFE8
  352. ==13317== at 0x52602E8: handle_event (wayland-client.c:536)
  353. ==13317== by 0x82DD29F: ???
  354. ==13317== by 0xC00000FFF: ???
  355. ==13317== by 0x100000002: ???
  356. ==13317== by 0x82DD0AF: ???
  357. ==13317== by 0xC000300000000: ???
  358. ==13317== by 0x170000000FF: ???
  359. ==13317== by 0x700000000: ???
  360. ==13317== If you believe this happened as a result of a stack
  361. ==13317== overflow in your program's main thread (unlikely but
  362. ==13317== possible), you can try to increase the size of the
  363. ==13317== main thread stack using the --main-stacksize= flag.
  364. ==13317== The main thread stack size used in this run was 8388608.
  365. ==13317==
  366. ==13317== HEAP SUMMARY:
  367. ==13317== in use at exit: 18,080 bytes in 6 blocks
  368. ==13317== total heap usage: 6 allocs, 0 frees, 18,080 bytes allocated
  369. ==13317==
  370. ==13317== LEAK SUMMARY:
  371. ==13317== definitely lost: 0 bytes in 0 blocks
  372. ==13317== indirectly lost: 0 bytes in 0 blocks
  373. ==13317== possibly lost: 32 bytes in 1 blocks
  374. ==13317== still reachable: 18,048 bytes in 5 blocks
  375. ==13317== suppressed: 0 bytes in 0 blocks
  376. ==13317== Rerun with --leak-check=full to see details of leaked memory
  377. ==13317==
  378. ==13317== For counts of detected and suppressed errors, rerun with: -v
  379. ==13317== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 6 from 6)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement