{"action":"created","issue":{"url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/1938","repository_url":"https://api.github.com/repos/DynamoRIO/dynamorio","labels_url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/1938/labels{/name}","comments_url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/1938/comments","events_url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/1938/events","html_url":"https://github.com/DynamoRIO/dynamorio/issues/1938","id":155228572,"number":1938,"title":"Incorrect error when -loglevel is used","user":{"login":"algr","id":7426743,"avatar_url":"https://avatars.githubusercontent.com/u/7426743?v=3","gravatar_id":"","url":"https://api.github.com/users/algr","html_url":"https://github.com/algr","followers_url":"https://api.github.com/users/algr/followers","following_url":"https://api.github.com/users/algr/following{/other_user}","gists_url":"https://api.github.com/users/algr/gists{/gist_id}","starred_url":"https://api.github.com/users/algr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algr/subscriptions","organizations_url":"https://api.github.com/users/algr/orgs","repos_url":"https://api.github.com/users/algr/repos","events_url":"https://api.github.com/users/algr/events{/privacy}","received_events_url":"https://api.github.com/users/algr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-17T10:40:20Z","updated_at":"2016-05-17T15:43:11Z","closed_at":null,"body":"So I've got a test failure:\r\n```\r\ndrrun -s 90 -quiet -debug -killpg -stderr_mask -- tests/bin/common.decode-bad\r\n```\r\nand I want to rerun it with logging:\r\n```\r\ndrrun -s 90 -quiet -debug -loglevel 2 -killpg -stderr_mask -- tests/bin/common.decode-bad\r\n```\r\nbut it faults whatever option is after -loglevel and its argument: \r\n```\r\n<Application tests/bin/common.decode-bad (21635). Option parsing error : unknown option -killpg. Terminating>\r\n```\r\nClearly this is a debug build otherwise -loglevel itself would have been faulted."},"comment":{"url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/comments/219759901","html_url":"https://github.com/DynamoRIO/dynamorio/issues/1938#issuecomment-219759901","issue_url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/1938","id":219759901,"user":{"login":"derekbruening","id":6509618,"avatar_url":"https://avatars.githubusercontent.com/u/6509618?v=3","gravatar_id":"","url":"https://api.github.com/users/derekbruening","html_url":"https://github.com/derekbruening","followers_url":"https://api.github.com/users/derekbruening/followers","following_url":"https://api.github.com/users/derekbruening/following{/other_user}","gists_url":"https://api.github.com/users/derekbruening/gists{/gist_id}","starred_url":"https://api.github.com/users/derekbruening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekbruening/subscriptions","organizations_url":"https://api.github.com/users/derekbruening/orgs","repos_url":"https://api.github.com/users/derekbruening/repos","events_url":"https://api.github.com/users/derekbruening/events{/privacy}","received_events_url":"https://api.github.com/users/derekbruening/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T15:43:11Z","updated_at":"2016-05-17T15:43:11Z","body":"The error messages are odd, but note that you're missing the arg to -stderr_mask."}}