{"action":"opened","issue":{"url":"https://api.github.com/repos/sysrepo/sysrepo/issues/657","repository_url":"https://api.github.com/repos/sysrepo/sysrepo","labels_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/657/labels{/name}","comments_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/657/comments","events_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/657/events","html_url":"https://github.com/sysrepo/sysrepo/issues/657","id":197157441,"number":657,"title":"invalid reads in cl_state_data_test","user":{"login":"rastislavszabo","id":15926980,"avatar_url":"https://avatars.githubusercontent.com/u/15926980?v=3","gravatar_id":"","url":"https://api.github.com/users/rastislavszabo","html_url":"https://github.com/rastislavszabo","followers_url":"https://api.github.com/users/rastislavszabo/followers","following_url":"https://api.github.com/users/rastislavszabo/following{/other_user}","gists_url":"https://api.github.com/users/rastislavszabo/gists{/gist_id}","starred_url":"https://api.github.com/users/rastislavszabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rastislavszabo/subscriptions","organizations_url":"https://api.github.com/users/rastislavszabo/orgs","repos_url":"https://api.github.com/users/rastislavszabo/repos","events_url":"https://api.github.com/users/rastislavszabo/events{/privacy}","received_events_url":"https://api.github.com/users/rastislavszabo/received_events","type":"User","site_admin":false},"labels":[{"id":297407903,"url":"https://api.github.com/repos/sysrepo/sysrepo/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-22T11:46:55Z","updated_at":"2016-12-22T11:46:55Z","closed_at":null,"body":"Occurs occasionally in Travis, e.g.: https://travis-ci.org/sysrepo/sysrepo/jobs/186041154\r\n\r\n```\r\n[DBG] [119944960] (rp_data_provide_resp_process:2331) All data from data providers has been received session id = 1695441418, reenque the request\r\n\r\n[DBG] [119944960] (sr_cbuff_enqueue:461) Circular buffer enqueue to position=9, current count=2.\r\n\r\n[DBG] [119944960] (rp_msg_process:3615) Threads: active=1/4, 2 requests in queue\r\n\r\n[DBG] [119944960] (sr_cbuff_dequeue:477) Circular buffer dequeue, new buffer head=9, count=1.\r\n\r\n[DBG] [119944960] (rp_oper_data_timeout_req_process:2504) Processing oper-data-timeout request.\r\n\r\n[DBG] [119944960] (rp_oper_data_timeout_req_process:2507) Time out expired for operational data to be loaded. Request processing continue, session id = 1695441418\r\n\r\n[DBG] [119944960] (sr_cbuff_enqueue:461) Circular buffer enqueue to position=0, current count=2.\r\n\r\n[DBG] [119944960] (rp_msg_process:3615) Threads: active=1/4, 2 requests in queue\r\n\r\n[DBG] [119944960] (sr_cbuff_dequeue:477) Circular buffer dequeue, new buffer head=0, count=1.\r\n\r\n[DBG] [119944960] (rp_get_subtree_req_process:739) Processing get_subtree request.\r\n\r\n[INF] [119944960] (rp_dt_get_subtree_wrapper:1398) Get subtree request running datastore, xpath: /state-module:bus\r\n\r\n[DBG] [119944960] (rp_dt_prepare_data:1229) Session id = 1695441418 data loaded, continue processing\r\n\r\n[DBG] [119944960] (dm_get_data_info:1914) Module state-module already loaded\r\n\r\n[DBG] [119944960] (sr_cbuff_enqueue:461) Circular buffer enqueue to position=13, current count=1.\r\n\r\n[DBG] [119944960] (sr_cbuff_dequeue:477) Circular buffer dequeue, new buffer head=1, count=0.\r\n\r\n==10980== Thread 5:\r\n\r\n==10980== Invalid read of size 4\r\n\r\n==10980==    at 0x4B23A6: rp_msg_dispatch (request_processor.c:3074)\r\n\r\n==10980==    by 0x4B3940: rp_worker_thread_execute (request_processor.c:3192)\r\n\r\n==10980==    by 0x5252183: start_thread (pthread_create.c:312)\r\n\r\n==10980==    by 0x5E5437C: clone (clone.S:111)\r\n\r\n==10980==  Address 0x8b9aad8 is 24 bytes inside a block of size 80 free'd\r\n\r\n==10980==    at 0x4C2BDEC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)\r\n\r\n==10980==    by 0x6176F7: sr__msg__free_unpacked (sysrepo.pb-c.c:3663)\r\n\r\n==10980==    by 0x46046E: sr_msg_free (sr_mem_mgmt.c:515)\r\n\r\n==10980==    by 0x4B2A33: rp_msg_dispatch (request_processor.c:3111)\r\n\r\n==10980==    by 0x4B3940: rp_worker_thread_execute (request_processor.c:3192)\r\n\r\n==10980==    by 0x5252183: start_thread (pthread_create.c:312)\r\n\r\n==10980==    by 0x5E5437C: clone (clone.S:111)\r\n\r\n==10980== \r\n\r\n==10980== Invalid read of size 4\r\n\r\n==10980==    at 0x4B26FF: rp_msg_dispatch (request_processor.c:3090)\r\n\r\n==10980==    by 0x4B3940: rp_worker_thread_execute (request_processor.c:3192)\r\n\r\n==10980==    by 0x5252183: start_thread (pthread_create.c:312)\r\n\r\n==10980==    by 0x5E5437C: clone (clone.S:111)\r\n\r\n==10980==  Address 0x8b9aad8 is 24 bytes inside a block of size 80 free'd\r\n\r\n==10980==    at 0x4C2BDEC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)\r\n\r\n==10980==    by 0x6176F7: sr__msg__free_unpacked (sysrepo.pb-c.c:3663)\r\n\r\n==10980==    by 0x46046E: sr_msg_free (sr_mem_mgmt.c:515)\r\n\r\n==10980==    by 0x4B2A33: rp_msg_dispatch (request_processor.c:3111)\r\n\r\n==10980==    by 0x4B3940: rp_worker_thread_execute (request_processor.c:3192)\r\n\r\n==10980==    by 0x5252183: start_thread (pthread_create.c:312)\r\n\r\n==10980==    by 0x5E5437C: clone (clone.S:111)\r\n```"}}
{"actor":{"display_login":"rastislavszabo"}}