{"action":"created","issue":{"url":"https://api.github.com/repos/SpiderLabs/modsec-sdbm-util/issues/15","repository_url":"https://api.github.com/repos/SpiderLabs/modsec-sdbm-util","labels_url":"https://api.github.com/repos/SpiderLabs/modsec-sdbm-util/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/SpiderLabs/modsec-sdbm-util/issues/15/comments","events_url":"https://api.github.com/repos/SpiderLabs/modsec-sdbm-util/issues/15/events","html_url":"https://github.com/SpiderLabs/modsec-sdbm-util/issues/15","id":265305669,"number":15,"title":"ERROR: Failed to retrieve the next key.","user":{"login":"nitriques","id":771169,"avatar_url":"https://avatars1.githubusercontent.com/u/771169?v=4","gravatar_id":"","url":"https://api.github.com/users/nitriques","html_url":"https://github.com/nitriques","followers_url":"https://api.github.com/users/nitriques/followers","following_url":"https://api.github.com/users/nitriques/following{/other_user}","gists_url":"https://api.github.com/users/nitriques/gists{/gist_id}","starred_url":"https://api.github.com/users/nitriques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitriques/subscriptions","organizations_url":"https://api.github.com/users/nitriques/orgs","repos_url":"https://api.github.com/users/nitriques/repos","events_url":"https://api.github.com/users/nitriques/events{/privacy}","received_events_url":"https://api.github.com/users/nitriques/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"zimmerle","id":428268,"avatar_url":"https://avatars3.githubusercontent.com/u/428268?v=4","gravatar_id":"","url":"https://api.github.com/users/zimmerle","html_url":"https://github.com/zimmerle","followers_url":"https://api.github.com/users/zimmerle/followers","following_url":"https://api.github.com/users/zimmerle/following{/other_user}","gists_url":"https://api.github.com/users/zimmerle/gists{/gist_id}","starred_url":"https://api.github.com/users/zimmerle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimmerle/subscriptions","organizations_url":"https://api.github.com/users/zimmerle/orgs","repos_url":"https://api.github.com/users/zimmerle/repos","events_url":"https://api.github.com/users/zimmerle/events{/privacy}","received_events_url":"https://api.github.com/users/zimmerle/received_events","type":"User","site_admin":false},"assignees":[{"login":"zimmerle","id":428268,"avatar_url":"https://avatars3.githubusercontent.com/u/428268?v=4","gravatar_id":"","url":"https://api.github.com/users/zimmerle","html_url":"https://github.com/zimmerle","followers_url":"https://api.github.com/users/zimmerle/followers","following_url":"https://api.github.com/users/zimmerle/following{/other_user}","gists_url":"https://api.github.com/users/zimmerle/gists{/gist_id}","starred_url":"https://api.github.com/users/zimmerle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimmerle/subscriptions","organizations_url":"https://api.github.com/users/zimmerle/orgs","repos_url":"https://api.github.com/users/zimmerle/repos","events_url":"https://api.github.com/users/zimmerle/events{/privacy}","received_events_url":"https://api.github.com/users/zimmerle/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-10-13T14:19:08Z","updated_at":"2017-10-18T13:14:21Z","closed_at":null,"author_association":"NONE","body":"I had the 6.1Gb file and tried to shrink it with this tools.\r\nI was able to process 1250 records and failed with:\r\n\r\n> modsec-sdbm-util.c:332:dump_database(): Failed to retrieve the next key.\r\n\r\nI then move the 6.1Gb file and let mod_sec recreate the file. But I still get the same error when running either -x or -k, on the newly created file.\r\n\r\nI tried this on the lastest master branch."},"comment":{"url":"https://api.github.com/repos/SpiderLabs/modsec-sdbm-util/issues/comments/337586222","html_url":"https://github.com/SpiderLabs/modsec-sdbm-util/issues/15#issuecomment-337586222","issue_url":"https://api.github.com/repos/SpiderLabs/modsec-sdbm-util/issues/15","id":337586222,"user":{"login":"bostrt","id":215290,"avatar_url":"https://avatars0.githubusercontent.com/u/215290?v=4","gravatar_id":"","url":"https://api.github.com/users/bostrt","html_url":"https://github.com/bostrt","followers_url":"https://api.github.com/users/bostrt/followers","following_url":"https://api.github.com/users/bostrt/following{/other_user}","gists_url":"https://api.github.com/users/bostrt/gists{/gist_id}","starred_url":"https://api.github.com/users/bostrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bostrt/subscriptions","organizations_url":"https://api.github.com/users/bostrt/orgs","repos_url":"https://api.github.com/users/bostrt/repos","events_url":"https://api.github.com/users/bostrt/events{/privacy}","received_events_url":"https://api.github.com/users/bostrt/received_events","type":"User","site_admin":false},"created_at":"2017-10-18T13:14:21Z","updated_at":"2017-10-18T13:14:21Z","author_association":"COLLABORATOR","body":"@nitriques I recommend creating a copy of the db that you can reproduce issues with. Try running the shrink operation (`-k`) or extract (`-D`). Basically, anything else besides dumping; just curious if the issue is isolated to dump.\r\n\r\n> I tried this on the lastest master branch.\r\n\r\nDid you test with latest ModSecurity master branch?"}}
{"actor":{"display_login":"bostrt"}}