{"action":"created","issue":{"url":"https://api.github.com/repos/systemd/systemd/issues/1133","labels_url":"https://api.github.com/repos/systemd/systemd/issues/1133/labels{/name}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/1133/comments","events_url":"https://api.github.com/repos/systemd/systemd/issues/1133/events","html_url":"https://github.com/systemd/systemd/issues/1133","id":104636561,"number":1133,"title":"systemd-journald CRASH due to %n$ in metadata field","user":{"login":"dcheckoway","id":281311,"avatar_url":"https://avatars.githubusercontent.com/u/281311?v=3","gravatar_id":"","url":"https://api.github.com/users/dcheckoway","html_url":"https://github.com/dcheckoway","followers_url":"https://api.github.com/users/dcheckoway/followers","following_url":"https://api.github.com/users/dcheckoway/following{/other_user}","gists_url":"https://api.github.com/users/dcheckoway/gists{/gist_id}","starred_url":"https://api.github.com/users/dcheckoway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcheckoway/subscriptions","organizations_url":"https://api.github.com/users/dcheckoway/orgs","repos_url":"https://api.github.com/users/dcheckoway/repos","events_url":"https://api.github.com/users/dcheckoway/events{/privacy}","received_events_url":"https://api.github.com/users/dcheckoway/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-03T07:21:38Z","updated_at":"2015-09-03T09:18:43Z","closed_at":null,"body":"Put something like `%1$` in a metadata field.  Crashorama.\r\n\r\n```\r\nSep 03 07:12:14 stage1-api-2 docker[21799]: *** invalid %N$ use detected ***\r\nSep 03 07:12:14 stage1-api-2 systemd-coredump[13167]: Failed to get COMM, falling back to the command line.\r\nSep 03 07:12:14 stage1-api-2 systemd-coredump[13167]: Failed to get EXE.\r\n```\r\n\r\nI assume it's due to one of these functions (or sprintf or fprintf or something) tripping up on what it thinks is an \"Nth\" argument reference:\r\nhttp://www.freedesktop.org/software/systemd/man/sd_journal_print.html\r\n\r\nI'm working around this by deliberately escaping it with an extra leading `%` like `%%1$`.  If there's a way to avoid this, that'd be lovely!"},"comment":{"url":"https://api.github.com/repos/systemd/systemd/issues/comments/137388401","html_url":"https://github.com/systemd/systemd/issues/1133#issuecomment-137388401","issue_url":"https://api.github.com/repos/systemd/systemd/issues/1133","id":137388401,"user":{"login":"poettering","id":2130732,"avatar_url":"https://avatars.githubusercontent.com/u/2130732?v=3","gravatar_id":"","url":"https://api.github.com/users/poettering","html_url":"https://github.com/poettering","followers_url":"https://api.github.com/users/poettering/followers","following_url":"https://api.github.com/users/poettering/following{/other_user}","gists_url":"https://api.github.com/users/poettering/gists{/gist_id}","starred_url":"https://api.github.com/users/poettering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poettering/subscriptions","organizations_url":"https://api.github.com/users/poettering/orgs","repos_url":"https://api.github.com/users/poettering/repos","events_url":"https://api.github.com/users/poettering/events{/privacy}","received_events_url":"https://api.github.com/users/poettering/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T09:18:43Z","updated_at":"2015-09-03T09:18:43Z","body":"The logs suggest that something run inside a docker container crashed and that systemd's coredump tool collected a coredump. What makes you think the journal is involved at all?\r\n\r\nDoes \"coredumpctl\" show the collected coredump?"}}