{"action":"created","issue":{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/193","labels_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/193/comments","events_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/193/events","html_url":"https://github.com/ElektraInitiative/libelektra/issues/193","id":59822203,"number":193,"title":"Refcounting in Bindings","user":{"login":"markus2330","id":7949075,"avatar_url":"https://avatars.githubusercontent.com/u/7949075?v=3","gravatar_id":"","url":"https://api.github.com/users/markus2330","html_url":"https://github.com/markus2330","followers_url":"https://api.github.com/users/markus2330/followers","following_url":"https://api.github.com/users/markus2330/following{/other_user}","gists_url":"https://api.github.com/users/markus2330/gists{/gist_id}","starred_url":"https://api.github.com/users/markus2330/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markus2330/subscriptions","organizations_url":"https://api.github.com/users/markus2330/orgs","repos_url":"https://api.github.com/users/markus2330/repos","events_url":"https://api.github.com/users/markus2330/events{/privacy}","received_events_url":"https://api.github.com/users/markus2330/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/labels/rc","name":"rc","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"manuelm","id":357694,"avatar_url":"https://avatars.githubusercontent.com/u/357694?v=3","gravatar_id":"","url":"https://api.github.com/users/manuelm","html_url":"https://github.com/manuelm","followers_url":"https://api.github.com/users/manuelm/followers","following_url":"https://api.github.com/users/manuelm/following{/other_user}","gists_url":"https://api.github.com/users/manuelm/gists{/gist_id}","starred_url":"https://api.github.com/users/manuelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuelm/subscriptions","organizations_url":"https://api.github.com/users/manuelm/orgs","repos_url":"https://api.github.com/users/manuelm/repos","events_url":"https://api.github.com/users/manuelm/events{/privacy}","received_events_url":"https://api.github.com/users/manuelm/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/milestones/4","html_url":"https://github.com/ElektraInitiative/libelektra/milestones/0.8.11","labels_url":"https://api.github.com/repos/ElektraInitiative/libelektra/milestones/4/labels","id":889963,"number":4,"title":"0.8.11","description":"","creator":{"login":"markus2330","id":7949075,"avatar_url":"https://avatars.githubusercontent.com/u/7949075?v=3","gravatar_id":"","url":"https://api.github.com/users/markus2330","html_url":"https://github.com/markus2330","followers_url":"https://api.github.com/users/markus2330/followers","following_url":"https://api.github.com/users/markus2330/following{/other_user}","gists_url":"https://api.github.com/users/markus2330/gists{/gist_id}","starred_url":"https://api.github.com/users/markus2330/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markus2330/subscriptions","organizations_url":"https://api.github.com/users/markus2330/orgs","repos_url":"https://api.github.com/users/markus2330/repos","events_url":"https://api.github.com/users/markus2330/events{/privacy}","received_events_url":"https://api.github.com/users/markus2330/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":6,"state":"open","created_at":"2014-12-03T13:47:04Z","updated_at":"2015-03-04T16:27:26Z","due_on":"2015-03-14T23:00:00Z","closed_at":null},"comments":1,"created_at":"2015-03-04T16:27:26Z","updated_at":"2015-03-04T16:38:16Z","closed_at":null,"body":"glib unit tests fail and/or segfault. It seems like something in the refcounting has changed. All other tests, however, pass without memory problems so its more likely that something in the bindings happened, maybe because of C++ binding changes?\r\n\r\nThe only relevant changes was fixing the Va bug #42 in 55ae0b7ce62019048c323a06ad3bfc2809f80871 and corrections in e16fc9ec2974a351962d28f4233e8f0d2363b020\r\n\r\n\r\nIn 8a66b9d41e71045dfb14b891f316f6b2055cbfa0 I fixed the cascading unit test, but the problem was there already.\r\n\r\n```\r\n\r\n*** Error in `/home/jenkins/workspace/workspace/elektra-gcc-configure-debian/build/bin/testglib_keyset': double free or corruption (fasttop): 0x0000000000debb20 ***\r\n\r\n        Start  43: testglib_key\r\n 43/104 Test  #43: testglib_key .......................***Failed    0.00 sec\r\nKEY TESTS\r\n===============\r\n\r\n/home/jenkins/workspace/workspace/elektra-gcc-configure-debian/src/bindings/glib/tests/testglib_key.c:32: error in test_ctor: refcount should be 1\r\n/home/jenkins/workspace/workspace/elektra-gcc-configure-debian/src/bindings/glib/tests/testglib_key.c:38: error in test_ctor: refcount should be 1\r\n/home/jenkins/workspace/workspace/elektra-gcc-configure-debian/src/bindings/glib/tests/testglib_key.c:44: error in test_ctor: refcount should be 1\r\n/home/jenkins/workspace/workspace/elektra-gcc-configure-debian/src/bindings/glib/tests/testglib_key.c:50: error in test_ctor: refcount should be 1\r\n/home/jenkins/workspace/workspace/elektra-gcc-configure-debian/src/bindings/glib/tests/testglib_key.c:56: error in test_ctor: refcount should be 1\r\n/home/jenkins/workspace/workspace/elektra-gcc-configure-debian/src/bindings/glib/tests/testglib_key.c:62: error in test_ctor: refcount should be 1\r\n/home/jenkins/workspace/workspace/elektra-gcc-configure-debian/src/bindings/glib/tests/testglib_key.c:68: error in test_ctor: refcount should be 1\r\n/home/jenkins/workspace/workspace/elektra-gcc-configure-debian/src/bindings/glib/tests/testglib_key.c:94: error in create_global_keys: refcount should be 1\r\n/home/jenkins/workspace/workspace/elektra-gcc-configure-debian/src/bindings/glib/tests/testglib_key.c:103: error in create_global_keys: refcount should be 1\r\n/home/jenkins/workspace/workspace/elektra-gcc-configure-debian/src/bindings/glib/tests/testglib_key.c:141: error in test_basic: refcount should be still 1\r\n```"},"comment":{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/comments/77193188","html_url":"https://github.com/ElektraInitiative/libelektra/issues/193#issuecomment-77193188","issue_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/193","id":77193188,"user":{"login":"manuelm","id":357694,"avatar_url":"https://avatars.githubusercontent.com/u/357694?v=3","gravatar_id":"","url":"https://api.github.com/users/manuelm","html_url":"https://github.com/manuelm","followers_url":"https://api.github.com/users/manuelm/followers","following_url":"https://api.github.com/users/manuelm/following{/other_user}","gists_url":"https://api.github.com/users/manuelm/gists{/gist_id}","starred_url":"https://api.github.com/users/manuelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuelm/subscriptions","organizations_url":"https://api.github.com/users/manuelm/orgs","repos_url":"https://api.github.com/users/manuelm/repos","events_url":"https://api.github.com/users/manuelm/events{/privacy}","received_events_url":"https://api.github.com/users/manuelm/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T16:38:16Z","updated_at":"2015-03-04T16:38:16Z","body":"This is glib and glib doesn't care about c++ ;-)"}}