{"action":"opened","issue":{"url":"https://api.github.com/repos/boostorg/stacktrace/issues/56","repository_url":"https://api.github.com/repos/boostorg/stacktrace","labels_url":"https://api.github.com/repos/boostorg/stacktrace/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/boostorg/stacktrace/issues/56/comments","events_url":"https://api.github.com/repos/boostorg/stacktrace/issues/56/events","html_url":"https://github.com/boostorg/stacktrace/issues/56","id":332378324,"node_id":"MDU6SXNzdWUzMzIzNzgzMjQ=","number":56,"title":"can't write dump file on windows","user":{"login":"yokarno","id":23699567,"node_id":"MDQ6VXNlcjIzNjk5NTY3","avatar_url":"https://avatars3.githubusercontent.com/u/23699567?v=4","gravatar_id":"","url":"https://api.github.com/users/yokarno","html_url":"https://github.com/yokarno","followers_url":"https://api.github.com/users/yokarno/followers","following_url":"https://api.github.com/users/yokarno/following{/other_user}","gists_url":"https://api.github.com/users/yokarno/gists{/gist_id}","starred_url":"https://api.github.com/users/yokarno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yokarno/subscriptions","organizations_url":"https://api.github.com/users/yokarno/orgs","repos_url":"https://api.github.com/users/yokarno/repos","events_url":"https://api.github.com/users/yokarno/events{/privacy}","received_events_url":"https://api.github.com/users/yokarno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-14T12:22:32Z","updated_at":"2018-06-14T12:22:32Z","closed_at":null,"author_association":"NONE","body":"Hello:\r\n  I write a test program and want to write dump file on windows, but it doesn't work, I think it has something wrong in my code, but I don't know why , can someone help me  :\r\nmy whole code, on Windows 10 ,VS2010  boost 1.67:\r\n\r\n#include <signal.h>\r\n#include <boost/stacktrace.hpp>\r\n\r\nvoid my_signal_handler(int signum)\r\n{\r\n    ::signal(signum, SIG_DFL);\r\n    boost::stacktrace::safe_dump_to( \"./backtrace.dump\");\r\n    ::raise(SIGABRT);\r\n}\r\n\r\nint main()\r\n{\r\n    ::signal(SIGSEGV, &my_signal_handler);\r\n    ::signal(SIGABRT, &my_signal_handler);\r\n\r\n //do something;\r\n    std::terminate();\r\n}\r\n\r\nis it some macro i missed ? \r\n\r\nthanks."}}
{"actor":{"display_login":"yokarno"}}