{"action":"closed","issue":{"url":"https://api.github.com/repos/sysrepo/sysrepo/issues/464","repository_url":"https://api.github.com/repos/sysrepo/sysrepo","labels_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/464/labels{/name}","comments_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/464/comments","events_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/464/events","html_url":"https://github.com/sysrepo/sysrepo/issues/464","id":185596419,"number":464,"title":"cl_state_data_test crashes occasionally in Travis CI","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},{"id":418680835,"url":"https://api.github.com/repos/sysrepo/sysrepo/labels/known%20issue","name":"known issue","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-27T07:48:18Z","updated_at":"2016-11-03T09:09:09Z","closed_at":"2016-11-03T09:09:09Z","body":"https://travis-ci.org/sysrepo/sysrepo/jobs/171006218\n\nBacktrace:\n\n```\n[Thread debugging using libthread_db enabled]\n\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\n\nCore was generated by `/home/travis/build/sysrepo/sysrepo/build/tests/cl_state_data_test'.\n\nProgram terminated with signal SIGSEGV, Segmentation fault.\n\n#0  0x0000000000493fe2 in rp_req_dispatch (rp_ctx=0x2518d00, session=0x7fc0cc000dd0, msg=0x7fc0cc004ba8, skip_msg_cleanup=0x7fc0d9d9ad1b) at /home/travis/build/sysrepo/sysrepo/src/request_processor.c:2585\n\n2585        switch (msg->request->operation) {\n\nThread 7 (Thread 0x7fc0d8598700 (LWP 9940)):\n\n#0  0x00007fc0dafa2a7d in fsync () at ../sysdeps/unix/syscall-template.S:81\n\n#1  0x0000000000538b4b in pm_save_data_tree (data_tree=0x7fc0d00056e0, fd=15) at /home/travis/build/sysrepo/sysrepo/src/persistence_manager.c:87\n\n#2  0x000000000053c354 in pm_save_persistent_data (pm_ctx=0x25184d0, user_cred=0x7fc0cc001f80, module_name=0x7fc0cc006d99 \"state-module\", xpath=0x7fc0d8596b40 \"/sysrepo-persistent-data:module[name='state-module']/subscriptions/subscription[type='dp-get-items'][destination-address='/tmp/sysrepo-subscriptions/state-module/9921.MtyHfZ.sock'][destination-id='327\"..., value=0x0, add=false, data_tree_p=0x7fc0d8596b38, running_affected=0x7fc0d8596b32) at /home/travis/build/sysrepo/sysrepo/src/persistence_manager.c:304\n\n#3  0x000000000054415f in pm_remove_subscription (pm_ctx=0x25184d0, user_cred=0x7fc0cc001f80, module_name=0x7fc0cc006d99 \"state-module\", subscription=0x7fc0d8597bd0, disable_running=0x7fc0d8597bbb) at /home/travis/build/sysrepo/sysrepo/src/persistence_manager.c:720\n\n#4  0x000000000052ea55 in np_notification_unsubscribe (np_ctx=0x2518420, rp_session=0x7fc0cc000dd0, notif_type=SR__SUBSCRIPTION_TYPE__DP_GET_ITEMS_SUBS, dst_address=0x7fc0cc006d60 \"/tmp/sysrepo-subscriptions/state-module/9921.MtyHfZ.sock\", dst_id=327746054, module_name=0x7fc0cc006d99 \"state-module\") at /home/travis/build/sysrepo/sysrepo/src/notification_processor.c:513\n\n#5  0x0000000000481532 in rp_unsubscribe_req_process (rp_ctx=0x2518d00, session=0x7fc0cc000dd0, msg=0x7fc0cc006cd8) at /home/travis/build/sysrepo/sysrepo/src/request_processor.c:1536\n\n#6  0x0000000000493ccc in rp_req_dispatch (rp_ctx=0x2518d00, session=0x7fc0cc000dd0, msg=0x7fc0cc006cd8, skip_msg_cleanup=0x7fc0d8597d1b) at /home/travis/build/sysrepo/sysrepo/src/request_processor.c:2560\n\n#7  0x0000000000495a2e in rp_msg_dispatch (rp_ctx=0x2518d00, session=0x7fc0cc000dd0, msg=0x7fc0cc006cd8) at /home/travis/build/sysrepo/sysrepo/src/request_processor.c:2704\n\n#8  0x0000000000496c18 in rp_worker_thread_execute (rp_ctx_p=0x2518d00) at /home/travis/build/sysrepo/sysrepo/src/request_processor.c:2804\n\n#9  0x00007fc0daf9b184 in start_thread (arg=0x7fc0d8598700) at pthread_create.c:312\n\n#10 0x00007fc0da3da37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\n\nThread 6 (Thread 0x7fc0d8d99700 (LWP 9941)):\n\n#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185\n\n#1  0x0000000000497109 in rp_worker_thread_execute (rp_ctx_p=0x2518d00) at /home/travis/build/sysrepo/sysrepo/src/request_processor.c:2852\n\n#2  0x00007fc0daf9b184 in start_thread (arg=0x7fc0d8d99700) at pthread_create.c:312\n\n#3  0x00007fc0da3da37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\n\nThread 5 (Thread 0x7fc0d7d97700 (LWP 9944)):\n\n#0  0x00007fc0da3ccfdd in poll () at ../sysdeps/unix/syscall-template.S:81\n\n#1  0x00007fc0dab866dc in ?? () from /usr/lib/x86_64-linux-gnu/libev.so.4\n\n#2  0x00007fc0dab87998 in ev_run () from /usr/lib/x86_64-linux-gnu/libev.so.4\n\n#3  0x0000000000604672 in cm_event_loop (cm_ctx=0x2514620) at /home/travis/build/sysrepo/sysrepo/src/connection_manager.c:1733\n\n#4  0x000000000060485e in cm_event_loop_threaded (cm_ctx_p=0x2514620) at /home/travis/build/sysrepo/sysrepo/src/connection_manager.c:1750\n\n#5  0x00007fc0daf9b184 in start_thread (arg=0x7fc0d7d97700) at pthread_create.c:312\n\n#6  0x00007fc0da3da37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\n\nThread 4 (Thread 0x7fc0d959a700 (LWP 9942)):\n\n#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185\n\n#1  0x0000000000497109 in rp_worker_thread_execute (rp_ctx_p=0x2518d00) at /home/travis/build/sysrepo/sysrepo/src/request_processor.c:2852\n\n#2  0x00007fc0daf9b184 in start_thread (arg=0x7fc0d959a700) at pthread_create.c:312\n\n#3  0x00007fc0da3da37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\n\nThread 3 (Thread 0x7fc0db7cc8c0 (LWP 9921)):\n\n#0  0x00007fc0dafa27eb in __libc_recv (fd=6, buf=0x24ed8b0, n=969, flags=-1) at ../sysdeps/unix/sysv/linux/x86_64/recv.c:33\n\n#1  0x00000000005ad550 in cl_message_recv (conn_ctx=0x2519d40, msg=0x7ffc2334c070, sr_mem_resp=0x0) at /home/travis/build/sysrepo/sysrepo/src/clientlib/cl_common.c:198\n\n#2  0x00000000005b12b7 in cl_request_process (session=0x24dee80, msg_req=0x7fc0d0006638, msg_resp=0x7ffc2334c070, sr_mem_resp=0x0, expected_response_op=SR__OPERATION__UNSUBSCRIBE) at /home/travis/build/sysrepo/sysrepo/src/clientlib/cl_common.c:441\n\n#3  0x000000000055ed6b in cl_subscription_close (session=0x24dee80, subscription=0x24e43b0) at /home/travis/build/sysrepo/sysrepo/src/clientlib/client_library.c:241\n\n#4  0x000000000058624b in sr_unsubscribe (session=0x24dee80, sr_subscription=0x24e9670) at /home/travis/build/sysrepo/sysrepo/src/clientlib/client_library.c:2651\n\n#5  0x0000000000419803 in cl_parent_subscription_tree (state=0x24dc0b0) at /home/travis/build/sysrepo/sysrepo/tests/cl_state_data_test.c:714\n\n#6  0x00007fc0db3bf4b3 in cmocka_run_one_test_or_fixture () from /home/travis/local/lib/libcmocka.so.0\n\n#7  0x00007fc0db3bf760 in cmocka_run_one_tests () from /home/travis/local/lib/libcmocka.so.0\n\n#8  0x00007fc0db3bfb72 in _cmocka_run_group_tests () from /home/travis/local/lib/libcmocka.so.0\n\n#9  0x0000000000425723 in main () at /home/travis/build/sysrepo/sysrepo/tests/cl_state_data_test.c:2200\n\nThread 2 (Thread 0x7fc0d6d5b700 (LWP 9945)):\n\n#0  0x00007fc0da3ccfdd in poll () at ../sysdeps/unix/syscall-template.S:81\n\n#1  0x00007fc0dab866dc in ?? () from /usr/lib/x86_64-linux-gnu/libev.so.4\n\n#2  0x00007fc0dab87998 in ev_run () from /usr/lib/x86_64-linux-gnu/libev.so.4\n\n#3  0x00000000005a74f5 in cl_sm_event_loop_threaded (sm_ctx_p=0x24ed710) at /home/travis/build/sysrepo/sysrepo/src/clientlib/cl_subscription_manager.c:1597\n\n#4  0x00007fc0daf9b184 in start_thread (arg=0x7fc0d6d5b700) at pthread_create.c:312\n\n#5  0x00007fc0da3da37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\n\nThread 1 (Thread 0x7fc0d9d9b700 (LWP 9943)):\n\n#0  0x0000000000493fe2 in rp_req_dispatch (rp_ctx=0x2518d00, session=0x7fc0cc000dd0, msg=0x7fc0cc004ba8, skip_msg_cleanup=0x7fc0d9d9ad1b) at /home/travis/build/sysrepo/sysrepo/src/request_processor.c:2585\n\n#1  0x0000000000495a2e in rp_msg_dispatch (rp_ctx=0x2518d00, session=0x7fc0cc000dd0, msg=0x7fc0cc004ba8) at /home/travis/build/sysrepo/sysrepo/src/request_processor.c:2704\n\n#2  0x0000000000496c18 in rp_worker_thread_execute (rp_ctx_p=0x2518d00) at /home/travis/build/sysrepo/sysrepo/src/request_processor.c:2804\n\n#3  0x00007fc0daf9b184 in start_thread (arg=0x7fc0d9d9b700) at pthread_create.c:312\n\n#4  0x00007fc0da3da37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\n```\n"}}
{"actor":{"display_login":"rastislavszabo"}}