{"action":"created","issue":{"url":"https://api.github.com/repos/KjellKod/g3log/issues/280","repository_url":"https://api.github.com/repos/KjellKod/g3log","labels_url":"https://api.github.com/repos/KjellKod/g3log/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/KjellKod/g3log/issues/280/comments","events_url":"https://api.github.com/repos/KjellKod/g3log/issues/280/events","html_url":"https://github.com/KjellKod/g3log/issues/280","id":341927296,"node_id":"MDU6SXNzdWUzNDE5MjcyOTY=","number":280,"title":"Callstack on Windows (MinGW)","user":{"login":"coderalpha","id":473817,"node_id":"MDQ6VXNlcjQ3MzgxNw==","avatar_url":"https://avatars1.githubusercontent.com/u/473817?v=4","gravatar_id":"","url":"https://api.github.com/users/coderalpha","html_url":"https://github.com/coderalpha","followers_url":"https://api.github.com/users/coderalpha/followers","following_url":"https://api.github.com/users/coderalpha/following{/other_user}","gists_url":"https://api.github.com/users/coderalpha/gists{/gist_id}","starred_url":"https://api.github.com/users/coderalpha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderalpha/subscriptions","organizations_url":"https://api.github.com/users/coderalpha/orgs","repos_url":"https://api.github.com/users/coderalpha/repos","events_url":"https://api.github.com/users/coderalpha/events{/privacy}","received_events_url":"https://api.github.com/users/coderalpha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-17T13:47:56Z","updated_at":"2018-07-18T13:33:11Z","closed_at":null,"author_association":"NONE","body":"Hi\r\n\r\nWe ran the sigsegv example to test the crash handler after compiling g3log with MinGW, but unfortunately, the call stack contains some mangled symbols and some of the entries (the more meaningful ones) are empty. This is a release build, in which case it makes sense that there is no symbol information available, but this is where the call stack in the log file is actually helpful. Is there some way to achieve a meaningful call stack in a release build?\r\n\r\n>***** Vectored Exception Handler: Received fatal exception EXCEPTION_ACCESS_VIOLATION   PID: 3432\r\n>\r\n>******* STACKDUMP *******\r\n>\r\n> stack dump [0]   strftime\r\n> stack dump [1]   vsprintf_s\r\n> stack dump [2]   vsnprintf_s\r\n> stack dump [3]   ZN10LogCapture8capturefEPKcz\r\n> stack dump [4]\r\n> stack dump [5]\r\n> stack dump [6]\r\n> stack dump [7]\r\n> stack dump [8]   BaseThreadInitThunk\r\n> stack dump [9]   RtlUserThreadStart\r\n> \r\n> Exiting after fatal event  (FATAL_EXCEPTION). Fatal type:  EXCEPTION_ACCESS_VIOLATION'"},"comment":{"url":"https://api.github.com/repos/KjellKod/g3log/issues/comments/405932161","html_url":"https://github.com/KjellKod/g3log/issues/280#issuecomment-405932161","issue_url":"https://api.github.com/repos/KjellKod/g3log/issues/280","id":405932161,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTkzMjE2MQ==","user":{"login":"coderalpha","id":473817,"node_id":"MDQ6VXNlcjQ3MzgxNw==","avatar_url":"https://avatars1.githubusercontent.com/u/473817?v=4","gravatar_id":"","url":"https://api.github.com/users/coderalpha","html_url":"https://github.com/coderalpha","followers_url":"https://api.github.com/users/coderalpha/followers","following_url":"https://api.github.com/users/coderalpha/following{/other_user}","gists_url":"https://api.github.com/users/coderalpha/gists{/gist_id}","starred_url":"https://api.github.com/users/coderalpha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderalpha/subscriptions","organizations_url":"https://api.github.com/users/coderalpha/orgs","repos_url":"https://api.github.com/users/coderalpha/repos","events_url":"https://api.github.com/users/coderalpha/events{/privacy}","received_events_url":"https://api.github.com/users/coderalpha/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T13:33:11Z","updated_at":"2018-07-18T13:33:11Z","author_association":"NONE","body":"We tried the -g option, but the call stack was still not complete. We then tested with a debug build with the same result. However, when we disable the crash handler and use DrMinGW, the call stack contains the symbol information."}}
{"actor":{"display_login":"coderalpha"}}