19roland70

19roland70

Nov 9th, 2013
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.27 KB | None | 0 0
  1. root@raspberrypi:~# sudo valgrind --tool=memcheck --leak-check=full --track-origins=yes --trace-children=yes pilight-daemon -D
  2. ==2776== Memcheck, a memory error detector
  3. ==2776== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
  4. ==2776== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
  5. ==2776== Command: pilight-daemon -D
  6. ==2776==
  7. ==2779== Memcheck, a memory error detector
  8. ==2779== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
  9. ==2779== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
  10. ==2779== Command: /usr/local/bin/gpio edge 18 both
  11. ==2779==
  12. ==2779==
  13. ==2779== HEAP SUMMARY:
  14. ==2779== in use at exit: 0 bytes in 0 blocks
  15. ==2779== total heap usage: 3 allocs, 3 frees, 1,080 bytes allocated
  16. ==2779==
  17. ==2779== All heap blocks were freed -- no leaks are possible
  18. ==2779==
  19. ==2779== For counts of detected and suppressed errors, rerun with: -v
  20. ==2779== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 17 from 6)
  21. [Nov 09 20:49:26:283285] pilight-daemon: DEBUG: -- start parsed config file --
  22. {
  23. "vloerverwarming": {
  24. "name": "Vloerverwarming",
  25. "temperature": {
  26. "name": "Temperature",
  27. "protocol": [ "ds18b20" ],
  28. "id": [{
  29. "id": "0000056d5665"
  30. }],
  31. "temperature": 1550
  32. }
  33. }
  34. }
  35. [Nov 09 20:49:26:464843] pilight-daemon: DEBUG: -- end parsed config file --
  36. [Nov 09 20:49:26:501611] pilight-daemon: INFO: daemon listening to port: 5000
  37. [Nov 09 20:49:27:956409] pilight-daemon: DEBUG: new thread, 1 thread running
  38. [Nov 09 20:49:28:774076] pilight-daemon: INFO: webserver listening to port: 5001
  39. [Nov 09 20:49:28:809870] pilight-daemon: DEBUG: new thread, 2 threads running
  40. [Nov 09 20:49:29:554264] pilight-daemon: DEBUG: new thread, 3 threads running
  41. ==2776== Thread 6:
  42. ==2776== Invalid read of size 4
  43. ==2776== at 0x485DC50: json_find_member (json.c:469)
  44. ==2776== by 0x4860377: config_update (config.c:47)
  45. ==2776== by 0xC357: broadcast (daemon.c:195)
  46. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  47. ==2776== by 0x496A757: ??? (clone.S:116)
  48. ==2776== Address 0x4a11868 is 16 bytes inside a block of size 32 free'd
  49. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  50. ==2776== by 0x48675BB: ds18b20Parse (ds18b20.c:133)
  51. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  52. ==2776== by 0x496A757: ??? (clone.S:116)
  53. ==2776==
  54. ==2776== Invalid read of size 4
  55. ==2776== at 0x485DC60: json_find_member (json.c:482)
  56. ==2776== by 0x4860377: config_update (config.c:47)
  57. ==2776== by 0xC357: broadcast (daemon.c:195)
  58. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  59. ==2776== by 0x496A757: ??? (clone.S:116)
  60. ==2776== Address 0x4a11870 is 24 bytes inside a block of size 32 free'd
  61. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  62. ==2776== by 0x48675BB: ds18b20Parse (ds18b20.c:133)
  63. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  64. ==2776== by 0x496A757: ??? (clone.S:116)
  65. ==2776==
  66. ==2776== Invalid read of size 4
  67. ==2776== at 0x485C910: emit_value (json.c:976)
  68. ==2776== by 0x485D44F: json_stringify (json.c:402)
  69. ==2776== by 0xC38F: broadcast (daemon.c:216)
  70. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  71. ==2776== by 0x496A757: ??? (clone.S:116)
  72. ==2776== Address 0x4a11868 is 16 bytes inside a block of size 32 free'd
  73. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  74. ==2776== by 0x48675BB: ds18b20Parse (ds18b20.c:133)
  75. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  76. ==2776== by 0x496A757: ??? (clone.S:116)
  77. ==2776==
  78. ==2776== Invalid read of size 4
  79. ==2776== at 0x485C9C4: emit_value (json.c:481)
  80. ==2776== by 0x485D44F: json_stringify (json.c:402)
  81. ==2776== by 0xC38F: broadcast (daemon.c:216)
  82. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  83. ==2776== by 0x496A757: ??? (clone.S:116)
  84. ==2776== Address 0x4a11868 is 16 bytes inside a block of size 32 free'd
  85. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  86. ==2776== by 0x48675BB: ds18b20Parse (ds18b20.c:133)
  87. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  88. ==2776== by 0x496A757: ??? (clone.S:116)
  89. ==2776==
  90. ==2776== Invalid read of size 4
  91. ==2776== at 0x485CB0C: emit_value (json.c:482)
  92. ==2776== by 0x485D44F: json_stringify (json.c:402)
  93. ==2776== by 0xC38F: broadcast (daemon.c:216)
  94. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  95. ==2776== by 0x496A757: ??? (clone.S:116)
  96. ==2776== Address 0x4a11870 is 24 bytes inside a block of size 32 free'd
  97. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  98. ==2776== by 0x48675BB: ds18b20Parse (ds18b20.c:133)
  99. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  100. ==2776== by 0x496A757: ??? (clone.S:116)
  101. ==2776==
  102. [Nov 09 20:49:30:132682] pilight-daemon: DEBUG: broadcasted: {}
  103. ==2776== Invalid read of size 4
  104. ==2776== at 0x485D468: json_delete (json.c:603)
  105. ==2776== by 0xC3FF: broadcast (daemon.c:230)
  106. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  107. ==2776== by 0x496A757: ??? (clone.S:116)
  108. ==2776== Address 0x4a11858 is 0 bytes inside a block of size 32 free'd
  109. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  110. ==2776== by 0x48675BB: ds18b20Parse (ds18b20.c:133)
  111. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  112. ==2776== by 0x496A757: ??? (clone.S:116)
  113. ==2776==
  114. ==2776== Invalid read of size 4
  115. ==2776== at 0x485D4B4: json_delete (json.c:412)
  116. ==2776== by 0xC3FF: broadcast (daemon.c:230)
  117. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  118. ==2776== by 0x496A757: ??? (clone.S:116)
  119. ==2776== Address 0x4a11868 is 16 bytes inside a block of size 32 free'd
  120. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  121. ==2776== by 0x48675BB: ds18b20Parse (ds18b20.c:133)
  122. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  123. ==2776== by 0x496A757: ??? (clone.S:116)
  124. ==2776==
  125. ==2776== Invalid read of size 4
  126. ==2776== at 0x485D4DC: json_delete (json.c:420)
  127. ==2776== by 0xC3FF: broadcast (daemon.c:230)
  128. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  129. ==2776== by 0x496A757: ??? (clone.S:116)
  130. ==2776== Address 0x4a11870 is 24 bytes inside a block of size 32 free'd
  131. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  132. ==2776== by 0x48675BB: ds18b20Parse (ds18b20.c:133)
  133. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  134. ==2776== by 0x496A757: ??? (clone.S:116)
  135. ==2776==
  136. ==2776== Invalid free() / delete / delete[] / realloc()
  137. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  138. ==2776== by 0xC3FF: broadcast (daemon.c:230)
  139. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  140. ==2776== by 0x496A757: ??? (clone.S:116)
  141. ==2776== Address 0x4a11858 is 0 bytes inside a block of size 32 free'd
  142. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  143. ==2776== by 0x48675BB: ds18b20Parse (ds18b20.c:133)
  144. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  145. ==2776== by 0x496A757: ??? (clone.S:116)
  146. ==2776==
  147. [Nov 09 20:49:30:191968] pilight-daemon: DEBUG: new thread, 4 threads running
  148. [Nov 09 20:49:30:625118] pilight-daemon: DEBUG: new thread, 5 threads running
  149. [Nov 09 20:49:31:206499] pilight-daemon: DEBUG: new thread, 6 threads running
  150. [ Nov 09 20:49:32:83446] pilight-daemon: DEBUG: socket write succeeded: {"message":"client gui"}
  151.  
  152. [Nov 09 20:49:32:102931] pilight-daemon: DEBUG: new thread, 7 threads running
  153. [Nov 09 20:49:32:168828] pilight-daemon: INFO: new client, ip: 127.0.0.1, port: 46107
  154. [Nov 09 20:49:32:176920] pilight-daemon: DEBUG: client fd: 8
  155. [Nov 09 20:49:32:187636] pilight-daemon: DEBUG: client id: 0
  156. [Nov 09 20:49:32:240073] pilight-daemon: DEBUG: socket recv: {"message":"client gui"}
  157.  
  158. [Nov 09 20:49:32:359380] pilight-daemon: DEBUG: socket write succeeded: {"message":"accept client"}
  159.  
  160. [Nov 09 20:49:32:383855] pilight-daemon: INFO: client recognized as gui
  161. [Nov 09 20:49:35:449425] pilight-daemon: DEBUG: broadcasted: {}
  162. [Nov 09 20:49:41:250661] pilight-daemon: DEBUG: broadcasted: {}
  163. [Nov 09 20:49:47:100559] pilight-daemon: DEBUG: broadcasted: {}
  164. [Nov 09 20:49:52:950345] pilight-daemon: DEBUG: broadcasted: {}
  165. [Nov 09 20:49:58:800735] pilight-daemon: DEBUG: broadcasted: {}
  166. [Nov 09 20:50:04:650432] pilight-daemon: DEBUG: broadcasted: {}
  167. [Nov 09 20:50:08:245149] pilight-daemon: NOTICE: caching /usr/local/share/pilight/index.html
  168. [Nov 09 20:50:10:490740] pilight-daemon: DEBUG: broadcasted: {}
  169. [Nov 09 20:50:16:340408] pilight-daemon: DEBUG: broadcasted: {}
  170. [Nov 09 20:50:22:190594] pilight-daemon: DEBUG: broadcasted: {}
  171. [ Nov 09 20:50:28:40558] pilight-daemon: DEBUG: broadcasted: {}
  172. [Nov 09 20:50:33:890547] pilight-daemon: DEBUG: broadcasted: {}
  173. [Nov 09 20:50:39:740264] pilight-daemon: DEBUG: broadcasted: {}
  174. [Nov 09 20:50:45:590561] pilight-daemon: DEBUG: broadcasted: {}
  175. [Nov 09 20:50:51:440608] pilight-daemon: DEBUG: broadcasted: {}
  176. [Nov 09 20:50:57:290380] pilight-daemon: DEBUG: broadcasted: {}
  177. [Nov 09 20:51:03:140366] pilight-daemon: DEBUG: broadcasted: {}
  178. [Nov 09 20:51:08:990498] pilight-daemon: DEBUG: broadcasted: {}
  179. [Nov 09 20:51:14:840506] pilight-daemon: DEBUG: broadcasted: {}
  180. [Nov 09 20:51:20:691181] pilight-daemon: DEBUG: broadcasted: {}
  181. [Nov 09 20:51:26:540397] pilight-daemon: DEBUG: broadcasted: {}
  182. [Nov 09 20:51:32:390553] pilight-daemon: DEBUG: broadcasted: {}
  183. [Nov 09 20:51:38:240387] pilight-daemon: DEBUG: broadcasted: {}
  184. [ Nov 09 20:51:44:90237] pilight-daemon: DEBUG: broadcasted: {}
  185. [Nov 09 20:51:49:940581] pilight-daemon: DEBUG: broadcasted: {}
  186. [Nov 09 20:51:55:790482] pilight-daemon: DEBUG: broadcasted: {}
  187. [Nov 09 20:52:01:640371] pilight-daemon: DEBUG: broadcasted: {}
  188. [Nov 09 20:52:07:490623] pilight-daemon: DEBUG: broadcasted: {}
  189. [Nov 09 20:52:13:340274] pilight-daemon: DEBUG: broadcasted: {}
  190. [Nov 09 20:52:19:190362] pilight-daemon: DEBUG: broadcasted: {}
  191. [ Nov 09 20:52:25:40757] pilight-daemon: DEBUG: broadcasted: {}
  192. [Nov 09 20:52:30:890452] pilight-daemon: DEBUG: broadcasted: {}
  193. ^C[ Nov 09 20:52:36:31670] pilight-daemon: DEBUG: removed stale pid_file /var/run/pilight-daemon.pid
  194. [ Nov 09 20:52:36:52539] pilight-daemon: INFO: client disconnected, ip 127.0.0.1, port 5000
  195. [ Nov 09 20:52:36:85722] pilight-daemon: DEBUG: garbage collected fcache library
  196. [ Nov 09 20:52:36:94502] pilight-daemon: DEBUG: garbage collected webserver library
  197. ==2776== Thread 3:
  198. ==2776== Invalid read of size 1
  199. ==2776== at 0x483646C: strlen (mc_replace_strmem.c:390)
  200. ==2776== by 0x485DD1B: json_mkstring (json.c:40)
  201. ==2776== by 0x4867503: ds18b20Parse (ds18b20.c:125)
  202. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  203. ==2776== by 0x496A757: ??? (clone.S:116)
  204. ==2776== Address 0x49f09e8 is 0 bytes inside a block of size 13 free'd
  205. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  206. ==2776== by 0x486725F: ds18b20GC (ds18b20.c:158)
  207. ==2776== by 0x485B3FB: gc_run (gc.c:61)
  208. ==2776== by 0x485B4FF: gc_catch (gc.c:99)
  209. ==2776== by 0xB753: main (daemon.c:1420)
  210. ==2776==
  211. ==2776== Invalid read of size 1
  212. ==2776== at 0x4836484: strlen (mc_replace_strmem.c:390)
  213. ==2776== by 0x485DD1B: json_mkstring (json.c:40)
  214. ==2776== by 0x4867503: ds18b20Parse (ds18b20.c:125)
  215. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  216. ==2776== by 0x496A757: ??? (clone.S:116)
  217. ==2776== Address 0x49f09e9 is 1 bytes inside a block of size 13 free'd
  218. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  219. ==2776== by 0x486725F: ds18b20GC (ds18b20.c:158)
  220. ==2776== by 0x485B3FB: gc_run (gc.c:61)
  221. ==2776== by 0x485B4FF: gc_catch (gc.c:99)
  222. ==2776== by 0xB753: main (daemon.c:1420)
  223. ==2776==
  224. ==2776== Invalid read of size 1
  225. ==2776== at 0x4836490: strlen (mc_replace_strmem.c:390)
  226. ==2776== by 0x485DD1B: json_mkstring (json.c:40)
  227. ==2776== by 0x4867503: ds18b20Parse (ds18b20.c:125)
  228. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  229. ==2776== by 0x496A757: ??? (clone.S:116)
  230. ==2776== Address 0x49f09eb is 3 bytes inside a block of size 13 free'd
  231. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  232. ==2776== by 0x486725F: ds18b20GC (ds18b20.c:158)
  233. ==2776== by 0x485B3FB: gc_run (gc.c:61)
  234. ==2776== by 0x485B4FF: gc_catch (gc.c:99)
  235. ==2776== by 0xB753: main (daemon.c:1420)
  236. ==2776==
  237. ==2776== Invalid read of size 1
  238. ==2776== at 0x48364E8: strcpy (mc_replace_strmem.c:429)
  239. ==2776== by 0x485DD33: json_mkstring (json.c:43)
  240. ==2776== by 0x4867503: ds18b20Parse (ds18b20.c:125)
  241. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  242. ==2776== by 0x496A757: ??? (clone.S:116)
  243. ==2776== Address 0x49f09e8 is 0 bytes inside a block of size 13 free'd
  244. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  245. ==2776== by 0x486725F: ds18b20GC (ds18b20.c:158)
  246. ==2776== by 0x485B3FB: gc_run (gc.c:61)
  247. ==2776== by 0x485B4FF: gc_catch (gc.c:99)
  248. ==2776== by 0xB753: main (daemon.c:1420)
  249. ==2776==
  250. ==2776== Invalid read of size 1
  251. ==2776== at 0x483650C: strcpy (mc_replace_strmem.c:429)
  252. ==2776== by 0x485DD33: json_mkstring (json.c:43)
  253. ==2776== by 0x4867503: ds18b20Parse (ds18b20.c:125)
  254. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  255. ==2776== by 0x496A757: ??? (clone.S:116)
  256. ==2776== Address 0x49f09e9 is 1 bytes inside a block of size 13 free'd
  257. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  258. ==2776== by 0x486725F: ds18b20GC (ds18b20.c:158)
  259. ==2776== by 0x485B3FB: gc_run (gc.c:61)
  260. ==2776== by 0x485B4FF: gc_catch (gc.c:99)
  261. ==2776== by 0xB753: main (daemon.c:1420)
  262. ==2776==
  263. ==2776== Invalid write of size 1
  264. ==2776== at 0x4836750: strncpy (mc_replace_strmem.c:463)
  265. ==2776== by 0x48672EB: ds18b20Parse (ds18b20.c:62)
  266. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  267. ==2776== by 0x496A757: ??? (clone.S:116)
  268. ==2776== Address 0x49f09b0 is 0 bytes inside a block of size 3 free'd
  269. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  270. ==2776== by 0x4867257: ds18b20GC (ds18b20.c:157)
  271. ==2776== by 0x485B3FB: gc_run (gc.c:61)
  272. ==2776== by 0x485B4FF: gc_catch (gc.c:99)
  273. ==2776== by 0xB753: main (daemon.c:1420)
  274. ==2776==
  275. ==2776== Invalid read of size 1
  276. ==2776== at 0x48D349C: ____strtol_l_internal (strtol_l.c:298)
  277. ==2776== by 0x48D3303: strtol (strtol.c:110)
  278. ==2776== by 0x48672FB: ds18b20Parse (stdlib.h:286)
  279. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  280. ==2776== by 0x496A757: ??? (clone.S:116)
  281. ==2776== Address 0x49f09b0 is 0 bytes inside a block of size 3 free'd
  282. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  283. ==2776== by 0x4867257: ds18b20GC (ds18b20.c:157)
  284. ==2776== by 0x485B3FB: gc_run (gc.c:61)
  285. ==2776== by 0x485B4FF: gc_catch (gc.c:99)
  286. ==2776== by 0xB753: main (daemon.c:1420)
  287. ==2776==
  288. ==2776== Invalid read of size 1
  289. ==2776== at 0x48D3508: ____strtol_l_internal (strtol_l.c:314)
  290. ==2776== by 0x48D3303: strtol (strtol.c:110)
  291. ==2776== by 0x48672FB: ds18b20Parse (stdlib.h:286)
  292. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  293. ==2776== by 0x496A757: ??? (clone.S:116)
  294. ==2776== Address 0x49f09b0 is 0 bytes inside a block of size 3 free'd
  295. ==2776== at 0x48348B8: free (vg_replace_malloc.c:427)
  296. ==2776== by 0x4867257: ds18b20GC (ds18b20.c:157)
  297. ==2776== by 0x485B3FB: gc_run (gc.c:61)
  298. ==2776== by 0x485B4FF: gc_catch (gc.c:99)
  299. ==2776== by 0xB753: main (daemon.c:1420)
  300. ==2776==
  301. [Nov 09 20:52:37:162193] pilight-daemon: INFO: client disconnected, ip 127.0.0.1, port 46107
  302. [Nov 09 20:52:38:402862] pilight-daemon: DEBUG: garbage collected threads library
  303. [Nov 09 20:52:38:444598] pilight-daemon: DEBUG: garbage collected config library
  304. [Nov 09 20:52:38:461147] pilight-daemon: DEBUG: freed options struct
  305. [Nov 09 20:52:38:487652] pilight-daemon: DEBUG: freed options struct
  306. [Nov 09 20:52:38:495647] pilight-daemon: DEBUG: freed options struct
  307. [Nov 09 20:52:38:503437] pilight-daemon: DEBUG: freed options struct
  308. [Nov 09 20:52:38:511285] pilight-daemon: DEBUG: freed options struct
  309. [Nov 09 20:52:38:522797] pilight-daemon: DEBUG: freed options struct
  310. [Nov 09 20:52:38:530140] pilight-daemon: DEBUG: freed options struct
  311. [Nov 09 20:52:38:537944] pilight-daemon: DEBUG: freed options struct
  312. [Nov 09 20:52:38:545947] pilight-daemon: DEBUG: freed options struct
  313. [Nov 09 20:52:38:554013] pilight-daemon: DEBUG: freed options struct
  314. [Nov 09 20:52:38:562005] pilight-daemon: DEBUG: freed options struct
  315. [Nov 09 20:52:38:570378] pilight-daemon: DEBUG: freed options struct
  316. [Nov 09 20:52:38:578656] pilight-daemon: DEBUG: freed options struct
  317. [Nov 09 20:52:38:592570] pilight-daemon: DEBUG: garbage collected protocol library
  318. [Nov 09 20:52:38:610122] pilight-daemon: DEBUG: garbage collected hardware library
  319. [Nov 09 20:52:38:631089] pilight-daemon: DEBUG: garbage collected settings library
  320. [Nov 09 20:52:38:647204] pilight-daemon: DEBUG: garbage collected options library
  321. [Nov 09 20:52:38:755921] pilight-daemon: DEBUG: garbage collected socket library
  322. ==2776==
  323. ==2776== HEAP SUMMARY:
  324. ==2776== in use at exit: 1,352 bytes in 3 blocks
  325. ==2776== total heap usage: 2,724 allocs, 2,753 frees, 5,858,134 bytes allocated
  326. ==2776==
  327. ==2776== Thread 1:
  328. ==2776== 1,328 bytes in 1 blocks are definitely lost in loss record 3 of 3
  329. ==2776== at 0x4835978: malloc (vg_replace_malloc.c:263)
  330. ==2776== by 0x486DEA7: lws_allocate_header_table (parsers.c:312)
  331. ==2776== by 0x486FA63: lws_server_socket_service (server.c:106)
  332. ==2776== by 0x486C5B3: libwebsocket_service_fd (libwebsockets.c:971)
  333. ==2776== by 0x486C79B: libwebsocket_service (libwebsockets.c:1306)
  334. ==2776== by 0x485EFBB: webserver_start (webserver.c:382)
  335. ==2776== by 0x4887BFB: start_thread (pthread_create.c:306)
  336. ==2776== by 0x496A757: ??? (clone.S:116)
  337. ==2776==
  338. ==2776== LEAK SUMMARY:
  339. ==2776== definitely lost: 1,328 bytes in 1 blocks
  340. ==2776== indirectly lost: 0 bytes in 0 blocks
  341. ==2776== possibly lost: 0 bytes in 0 blocks
  342. ==2776== still reachable: 24 bytes in 2 blocks
  343. ==2776== suppressed: 0 bytes in 0 blocks
  344. ==2776== Reachable blocks (those to which a pointer was found) are not shown.
  345. ==2776== To see them, rerun with: --leak-check=full --show-reachable=yes
  346. ==2776==
  347. ==2776== For counts of detected and suppressed errors, rerun with: -v
  348. ==2776== ERROR SUMMARY: 319 errors from 18 contexts (suppressed: 20 from 9)
Advertisement
Add Comment
Please, Sign In to add comment