{"action":"reopened","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/3637","repository_url":"https://api.github.com/repos/mpv-player/mpv","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/3637/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/3637/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/3637/events","html_url":"https://github.com/mpv-player/mpv/issues/3637","id":181837149,"number":3637,"title":"libmpv static crashes on windows (Lua)","user":{"login":"gen2brain","id":17418,"avatar_url":"https://avatars.githubusercontent.com/u/17418?v=3","gravatar_id":"","url":"https://api.github.com/users/gen2brain","html_url":"https://github.com/gen2brain","followers_url":"https://api.github.com/users/gen2brain/followers","following_url":"https://api.github.com/users/gen2brain/following{/other_user}","gists_url":"https://api.github.com/users/gen2brain/gists{/gist_id}","starred_url":"https://api.github.com/users/gen2brain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gen2brain/subscriptions","organizations_url":"https://api.github.com/users/gen2brain/orgs","repos_url":"https://api.github.com/users/gen2brain/repos","events_url":"https://api.github.com/users/gen2brain/events{/privacy}","received_events_url":"https://api.github.com/users/gen2brain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-08T17:07:38Z","updated_at":"2016-10-21T13:08:57Z","closed_at":null,"body":"Hello,\r\n\r\nI am trying to use libmpv statically built in my app. It works in Linux, but on Windows it crashes. I managed to get some info from windbg:\r\n```\r\n*** ERROR: Symbol file could not be found.  Defaulted to export symbols for a.out.exe - \r\na_out!luaopen_package+0x15744:\r\n01dd6424 891490          mov     dword ptr [eax+edx*4],edx ds:002b:00000000=????????\r\n0:016> k\r\nChildEBP RetAddr  \r\nWARNING: Stack unwind information not available. Following frames may be wrong.\r\n404cf848 01dc91b8 a_out!luaopen_package+0x15744\r\n404cf8f0 776633b5 a_out!luaopen_package+0x84d8\r\n404cfa50 01c948e7 ntdll!RtlpAllocateHeap+0xe68\r\n404cfa78 01c4c08e a_out+0x18948e7\r\n404cfa80 77662b65 a_out+0x184c08e\r\n404cfab0 01c948e7 ntdll!RtlFreeHeap+0x142\r\n404cfad8 01c4d1b8 a_out+0x18948e7\r\n404cfae8 76dd98da a_out+0x184d1b8\r\n404cfb3c 6eccd952 msvcrt!free+0xec\r\n404cfbd0 00000000 d3d9!CD3DDDIDX10::Clear+0x43\r\n```\r\n\r\nlibmpv and app are built on Linux, with i686-w64-mingw32 toolchain. I tried to compile with lua5.1, lua5.2 and luajit, no difference. If I disable osc then it works, but I need osc.\r\n\r\nHere is a verbose log output:\r\nhttps://gist.github.com/gen2brain/c991e6dba4c4fb3ea68b5e85bc23b483\r\n\r\nDo you have any idea what I am missing? \r\n\r\nThanks,\r\nMilan"}}
{"actor":{"display_login":"gen2brain"}}