{"action":"created","issue":{"url":"https://api.github.com/repos/pothosware/pothos/issues/32","labels_url":"https://api.github.com/repos/pothosware/pothos/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/pothosware/pothos/issues/32/comments","events_url":"https://api.github.com/repos/pothosware/pothos/issues/32/events","html_url":"https://github.com/pothosware/pothos/issues/32","id":110467489,"number":32,"title":"Crashing PothosUtil (MSVC)","user":{"login":"gvanem","id":945271,"avatar_url":"https://avatars.githubusercontent.com/u/945271?v=3","gravatar_id":"","url":"https://api.github.com/users/gvanem","html_url":"https://github.com/gvanem","followers_url":"https://api.github.com/users/gvanem/followers","following_url":"https://api.github.com/users/gvanem/following{/other_user}","gists_url":"https://api.github.com/users/gvanem/gists{/gist_id}","starred_url":"https://api.github.com/users/gvanem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvanem/subscriptions","organizations_url":"https://api.github.com/users/gvanem/orgs","repos_url":"https://api.github.com/users/gvanem/repos","events_url":"https://api.github.com/users/gvanem/events{/privacy}","received_events_url":"https://api.github.com/users/gvanem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-08T14:46:09Z","updated_at":"2015-10-08T19:59:56Z","closed_at":null,"body":"I've built Pothos with success in the past using MSVC 2013. But now it crashes on some unknown place in PothosUtil.exe during a MSbuild using MSVC 2015. Last output before crash:\r\n```\r\nCustomBuild:\r\n  Building Custom Rule F:/gv/dx-radio/Pothos/blocks/event/CMakeLists.txt\r\n  CMake does not need to re-run because F:\\gv\\dx-radio\\Pothos\\build\\blocks\\event\\CMakeFiles\\generate.stamp is up-to-date.\r\n  Generating EventBlocksDocs.cpp\r\n```\r\n\r\nMore details from WinDbg:\r\n```\r\nExecutable search path is: \r\nModLoad: 00f40000 00f6a000   F:\\gv\\dx-radio\\Pothos\\build\\library\\apps\\Release\\PothosUtil.exe\r\nModLoad: 778c0000 77a2e000   C:\\Windows\\SYSTEM32\\ntdll.dll\r\nModLoad: 76ab0000 76bf0000   C:\\Windows\\SYSTEM32\\KERNEL32.DLL\r\nModLoad: 76470000 76547000   C:\\Windows\\SYSTEM32\\KERNELBASE.dll\r\nModLoad: 5c210000 5c7fa000   F:\\gv\\dx-radio\\Pothos\\build\\library\\lib\\Release\\Pothos.dll\r\nModLoad: 64910000 64a44000   f:\\ProgramFiler\\Pothos\\bin\\PocoFoundation.dll\r\nModLoad: 6ca60000 6cab4000   f:\\ProgramFiler\\Pothos\\bin\\PocoUtil.dll\r\nModLoad: 668d0000 66983000   f:\\ProgramFiler\\Pothos\\bin\\PocoNet.dll\r\nModLoad: 70290000 702c5000   f:\\ProgramFiler\\Pothos\\bin\\PocoJSON.dll\r\nModLoad: 6c9f0000 6ca5d000   C:\\Windows\\SYSTEM32\\MSVCP140.dll\r\nModLoad: 71fe0000 71ff5000   C:\\Windows\\SYSTEM32\\VCRUNTIME140.dll\r\nModLoad: 71100000 71104000   C:\\Windows\\SYSTEM32\\api-ms-win-crt-runtime-l1-1-0.dll\r\nModLoad: 71120000 71124000   C:\\Windows\\SYSTEM32\\api-ms-win-crt-stdio-l1-1-0.dll\r\nModLoad: 71380000 71383000   C:\\Windows\\SYSTEM32\\api-ms-win-crt-filesystem-l1-1-0.dll\r\nModLoad: 70fe0000 70fe3000   C:\\Windows\\SYSTEM32\\api-ms-win-crt-heap-l1-1-0.dll\r\nModLoad: 70d90000 70d95000   C:\\Windows\\SYSTEM32\\api-ms-win-crt-math-l1-1-0.dll\r\nModLoad: 70db0000 70db3000   C:\\Windows\\SYSTEM32\\api-ms-win-crt-locale-l1-1-0.dll\r\nModLoad: 660e0000 6614a000   F:\\gv\\dx-radio\\Pothos\\build\\serialization\\Release\\PothosSerialization.dll\r\nModLoad: 65ea0000 65f0b000   f:\\ProgramFiler\\Pothos\\bin\\PocoXML.dll\r\nModLoad: 71f80000 71f84000   C:\\Windows\\SYSTEM32\\api-ms-win-crt-convert-l1-1-0.dll\r\nModLoad: 710f0000 710f4000   C:\\Windows\\SYSTEM32\\api-ms-win-crt-string-l1-1-0.dll\r\nModLoad: 70fd0000 70fd3000   C:\\Windows\\SYSTEM32\\api-ms-win-crt-utility-l1-1-0.dll\r\nModLoad: 76720000 7679c000   C:\\Windows\\SYSTEM32\\ADVAPI32.dll\r\nModLoad: 72ac0000 72ae0000   C:\\Windows\\SYSTEM32\\IPHLPAPI.DLL\r\nModLoad: 65c20000 65c91000   C:\\Windows\\SYSTEM32\\MSVCP120.dll\r\nModLoad: 63500000 635ee000   C:\\Windows\\SYSTEM32\\MSVCR120.dll\r\nModLoad: 76e30000 76e80000   C:\\Windows\\SYSTEM32\\WS2_32.dll\r\nModLoad: 70b10000 70b15000   C:\\Windows\\SYSTEM32\\api-ms-win-crt-multibyte-l1-1-0.dll\r\nModLoad: 71030000 71033000   C:\\Windows\\SYSTEM32\\api-ms-win-crt-time-l1-1-0.dll\r\nModLoad: 70ff0000 70ff3000   C:\\Windows\\SYSTEM32\\api-ms-win-crt-environment-l1-1-0.dll\r\nModLoad: 763a0000 76463000   C:\\Windows\\SYSTEM32\\msvcrt.dll\r\nModLoad: 77570000 775b1000   C:\\Windows\\SYSTEM32\\sechost.dll\r\nModLoad: 76bf0000 76caa000   C:\\Windows\\SYSTEM32\\RPCRT4.dll\r\nModLoad: 76550000 76557000   C:\\Windows\\SYSTEM32\\NSI.dll\r\nModLoad: 72ab0000 72ab8000   C:\\Windows\\SYSTEM32\\WINNSI.DLL\r\nModLoad: 69720000 697fc000   C:\\Windows\\SYSTEM32\\ucrtbase.DLL\r\nModLoad: 750c0000 750de000   C:\\Windows\\SYSTEM32\\SspiCli.dll\r\nModLoad: 750b0000 750ba000   C:\\Windows\\SYSTEM32\\CRYPTBASE.dll\r\nModLoad: 75050000 750a4000   C:\\Windows\\SYSTEM32\\bcryptPrimitives.dll\r\n(84c.49c): Security check failure or stack buffer overrun - code c0000409 (!!! second chance !!!)\r\neax=00000001 ebx=00000000 ecx=00000005 edx=7f6ab000 esi=00000000 edi=013152a8\r\neip=6979c3a2 esp=0106f184 ebp=0106f1b4 iopl=0         nv up ei pl nz na po nc\r\ncs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000202\r\nucrtbase!_invoke_watson+0x12:\r\n6979c3a2 cd29            int     29h\r\n```\r\n\r\nNote the ` Security check failure or stack buffer overrun` in a *Release* build!\r\n\r\nI suspect the cause is the previous MSVC 2013 version is interfering with the new build. I.e.MSVC*120.DLL + UCRT dll in the same process. Should the old version be removed first?"},"comment":{"url":"https://api.github.com/repos/pothosware/pothos/issues/comments/146669959","html_url":"https://github.com/pothosware/pothos/issues/32#issuecomment-146669959","issue_url":"https://api.github.com/repos/pothosware/pothos/issues/32","id":146669959,"user":{"login":"gvanem","id":945271,"avatar_url":"https://avatars.githubusercontent.com/u/945271?v=3","gravatar_id":"","url":"https://api.github.com/users/gvanem","html_url":"https://github.com/gvanem","followers_url":"https://api.github.com/users/gvanem/followers","following_url":"https://api.github.com/users/gvanem/following{/other_user}","gists_url":"https://api.github.com/users/gvanem/gists{/gist_id}","starred_url":"https://api.github.com/users/gvanem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvanem/subscriptions","organizations_url":"https://api.github.com/users/gvanem/orgs","repos_url":"https://api.github.com/users/gvanem/repos","events_url":"https://api.github.com/users/gvanem/events{/privacy}","received_events_url":"https://api.github.com/users/gvanem/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T19:59:56Z","updated_at":"2015-10-08T19:59:56Z","body":"> BTW, I would provide MSVC2015 installers\r\n\r\nPlease do since the Cmake generated `INSTALL.vcxproj` fails to install all stuff under the same directory tree. E.g. some `*.py` files end up in `f:\\PothosTestBlocks`!!?"}}