{"action":"created","issue":{"url":"https://api.github.com/repos/PowerDNS/pdns/issues/3147","labels_url":"https://api.github.com/repos/PowerDNS/pdns/issues/3147/labels{/name}","comments_url":"https://api.github.com/repos/PowerDNS/pdns/issues/3147/comments","events_url":"https://api.github.com/repos/PowerDNS/pdns/issues/3147/events","html_url":"https://github.com/PowerDNS/pdns/issues/3147","id":124602476,"number":3147,"title":"pdnsutil check-all-zones segfaults","user":{"login":"zeha","id":26175,"avatar_url":"https://avatars.githubusercontent.com/u/26175?v=3","gravatar_id":"","url":"https://api.github.com/users/zeha","html_url":"https://github.com/zeha","followers_url":"https://api.github.com/users/zeha/followers","following_url":"https://api.github.com/users/zeha/following{/other_user}","gists_url":"https://api.github.com/users/zeha/gists{/gist_id}","starred_url":"https://api.github.com/users/zeha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeha/subscriptions","organizations_url":"https://api.github.com/users/zeha/orgs","repos_url":"https://api.github.com/users/zeha/repos","events_url":"https://api.github.com/users/zeha/events{/privacy}","received_events_url":"https://api.github.com/users/zeha/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PowerDNS/pdns/labels/auth","name":"auth","color":"eb6420"},{"url":"https://api.github.com/repos/PowerDNS/pdns/labels/defect","name":"defect","color":"cccccc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-02T17:48:58Z","updated_at":"2016-01-02T18:11:47Z","closed_at":null,"body":"Reported by @stbuehler.\r\n\r\nDebian testing/sid,\r\n```\r\nii  pdns-backend-mysql                        4.0.0~alpha1-1            amd64                     generic MySQL backend for PowerDNS\r\nii  pdns-server                               4.0.0~alpha1-1            amd64                     extremely powerful and versatile nameserver\r\n```\r\n\r\nCan reproduce with gmysql, enable API, create a zone like this, then run `pdnsutil check-all-zones`.\r\n\r\n```\r\ncurl -XPOST -H 'X-API-Key: changeme' 'http://127.0.0.1:8081/api/v1/servers/localhost/zones' -d '{\"name\":\"example.org.\", \"kind\": \"Native\", \"masters\": [], \"nameservers\": [\"ns1.example.org.\", \"ns2.example.org.\"]}'\r\ncurl -X PATCH --data '{\"rrsets\": [ {\"name\": \"test.example.org.\", \"type\": \"TXT\", \"changetype\": \"REPLACE\", \"records\": [ {\"content\": \"\\\"asdf\\\"\", \"disabled\": false, \"name\": \"test.example.org.\", \"ttl\": 86400, \"type\": \"TXT\" } ] } ] }' -H 'X-API-Key: changeme' http://127.0.0.1:8081/api/v1/servers/localhost/zones/example.org.\r\n```\r\n\r\nUnfortunately debug symbols are unavailable right now, bt all looks like this:\r\n\r\n```\r\n(gdb) run\r\nStarting program: /usr/bin/pdnsutil check-all-zones\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n__memcmp_sse4_1 () at ../sysdeps/x86_64/multiarch/memcmp-sse4.S:865\r\n865\t../sysdeps/x86_64/multiarch/memcmp-sse4.S: No such file or directory.\r\n(gdb) bt full\r\n#0  __memcmp_sse4_1 () at ../sysdeps/x86_64/multiarch/memcmp-sse4.S:865\r\nNo locals.\r\n#1  0x00007ffff6cbaeba in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\r\nNo symbol table info available.\r\n#2  0x00005555555b6aff in main ()\r\nNo symbol table info available.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/PowerDNS/pdns/issues/comments/168413331","html_url":"https://github.com/PowerDNS/pdns/issues/3147#issuecomment-168413331","issue_url":"https://api.github.com/repos/PowerDNS/pdns/issues/3147","id":168413331,"user":{"login":"zeha","id":26175,"avatar_url":"https://avatars.githubusercontent.com/u/26175?v=3","gravatar_id":"","url":"https://api.github.com/users/zeha","html_url":"https://github.com/zeha","followers_url":"https://api.github.com/users/zeha/followers","following_url":"https://api.github.com/users/zeha/following{/other_user}","gists_url":"https://api.github.com/users/zeha/gists{/gist_id}","starred_url":"https://api.github.com/users/zeha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeha/subscriptions","organizations_url":"https://api.github.com/users/zeha/orgs","repos_url":"https://api.github.com/users/zeha/repos","events_url":"https://api.github.com/users/zeha/events{/privacy}","received_events_url":"https://api.github.com/users/zeha/received_events","type":"User","site_admin":false},"created_at":"2016-01-02T18:11:47Z","updated_at":"2016-01-02T18:11:47Z","body":"Broken since d6ddb28a"}}