{"action":"created","issue":{"url":"https://api.github.com/repos/intel/mkl-dnn/issues/180","repository_url":"https://api.github.com/repos/intel/mkl-dnn","labels_url":"https://api.github.com/repos/intel/mkl-dnn/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/intel/mkl-dnn/issues/180/comments","events_url":"https://api.github.com/repos/intel/mkl-dnn/issues/180/events","html_url":"https://github.com/intel/mkl-dnn/issues/180","id":287751576,"number":180,"title":"Crash when running on 32bit Windows inside VMWare virtual machine","user":{"login":"thefiddler","id":3104289,"avatar_url":"https://avatars3.githubusercontent.com/u/3104289?v=4","gravatar_id":"","url":"https://api.github.com/users/thefiddler","html_url":"https://github.com/thefiddler","followers_url":"https://api.github.com/users/thefiddler/followers","following_url":"https://api.github.com/users/thefiddler/following{/other_user}","gists_url":"https://api.github.com/users/thefiddler/gists{/gist_id}","starred_url":"https://api.github.com/users/thefiddler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefiddler/subscriptions","organizations_url":"https://api.github.com/users/thefiddler/orgs","repos_url":"https://api.github.com/users/thefiddler/repos","events_url":"https://api.github.com/users/thefiddler/events{/privacy}","received_events_url":"https://api.github.com/users/thefiddler/received_events","type":"User","site_admin":false},"labels":[{"id":373491617,"url":"https://api.github.com/repos/intel/mkl-dnn/labels/bug","name":"bug","color":"ee0701","default":true},{"id":373491621,"url":"https://api.github.com/repos/intel/mkl-dnn/labels/invalid","name":"invalid","color":"e6e6e6","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-11T11:22:56Z","updated_at":"2018-02-08T18:54:19Z","closed_at":"2018-02-08T18:54:19Z","author_association":"NONE","body":"### Description\r\nI am getting a crash when trying to run mkl-dnn inside a VMWare virtual machine. I have successfully compiled the source for Windows 32bits using Visual Studio 2015, but all examples and tests fail with an error.\r\n\r\n### Environment\r\nIntel MKL-DNN includes hardware-specific optimizations and may behave \r\ndifferently on depending on the compiler and build environment. Include \r\nthe following information to help reproduce the issue:\r\n* CPU make and model (try `lscpu`): Intel Core i7-4870HQ CPU @ 2.5GHz\r\n* OS version (`uname -a`): Windows 10 32bit\r\n* Compiler version (`gcc --version`): Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86\r\n* MKLROOT value (`echo MKLROOT=$MKLROOT`): not installed\r\n* CMake version (`cmake --version`): cmake version 3.10.1\r\n* CMake output log: [CMakeOutput.log](https://github.com/01org/mkl-dnn/files/1622330/CMakeOutput.log) and [CMakeError.log](https://github.com/01org/mkl-dnn/files/1622331/CMakeError.log)\r\n\r\n\r\n### Steps to reproduce\r\nRun the \"simple-net-c\" example. It fails in the `mkldnn_primitive_create()` call on line 245.\r\n\r\n### Actual behavior\r\nThe application crashes with the following error:\r\n```\r\nUnhandled exception at 0x7523DB18 in simple-net-c.exe: Microsoft C++ exception: Xbyak::Error at memory location 0x004FD750.\r\n```\r\nThe stacktrace is pointing to xbyak.h, line 1553:\r\n```\r\n \tKernelBase.dll!7523db18()\tUnknown\r\n \t[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]\t\r\n \t[External Code]\t\r\n>\tmkldnn.dll!Xbyak::CodeGenerator::setSIB(const Xbyak::RegExp & e, int reg, int disp8N) Line 1553\tC++\r\n \tmkldnn.dll!Xbyak::CodeGenerator::opAddr(const Xbyak::Address & addr, int reg, int immSize, int disp8N) Line 1670\tC++\r\n \tmkldnn.dll!Xbyak::CodeGenerator::opModM(const Xbyak::Address & addr, const Xbyak::Reg & reg, int code0, int code1, int code2, int immSize) Line 1615\tC++\r\n \tmkldnn.dll!Xbyak::CodeGenerator::movdqu(const Xbyak::Address & addr, const Xbyak::Xmm & xmm) Line 494\tC++\r\n \tmkldnn.dll!mkldnn::impl::cpu::jit_generator::preamble() Line 281\tC++\r\n \tmkldnn.dll!mkldnn::impl::cpu::jit_avx2_conv_fwd_kernel_f32::generate() Line 319\tC++\r\n \tmkldnn.dll!mkldnn::impl::cpu::jit_avx2_conv_fwd_kernel_f32::jit_avx2_conv_fwd_kernel_f32(mkldnn::impl::cpu::jit_conv_conf_t ajcp, const mkldnn_primitive_attr & attr) Line 33\tC++\r\n \tmkldnn.dll!mkldnn::impl::cpu::_jit_avx2_convolution_fwd_t<0>::_jit_avx2_convolution_fwd_t<0>(const mkldnn::impl::cpu::_jit_avx2_convolution_fwd_t<0>::pd_t * pd, const mkldnn::impl::nstl::vector<mkldnn_primitive_at_t> & inputs, const mkldnn::impl::nstl::vector<mkldnn_primitive const *> & outputs) Line 91\tC++\r\n \tmkldnn.dll!mkldnn::impl::cpu::_jit_avx2_convolution_fwd_t<0>::pd_t::create_primitive(mkldnn_primitive * * primitive, const mkldnn_primitive_at_t * inputs, const mkldnn_primitive * * outputs) Line 43\tC++\r\n \tmkldnn.dll!mkldnn_primitive_create(mkldnn_primitive * * primitive, const mkldnn_primitive_desc * primitive_desc, const mkldnn_primitive_at_t * inputs, const mkldnn_primitive * * outputs) Line 45\tC++\r\n \tsimple-net-c.exe!simple_net(...) Line 245\tC\r\n \tsimple-net-c.exe!main(int argc, char * * argv) Line 488\tC\r\n \t[External Code]\t\r\n```\r\n\r\n### Expected behavior\r\nThe example should probably run.\r\n\r\nIs there any way to change the AVX level for the JIT, or disable it completely, to see whether it works then?"},"comment":{"url":"https://api.github.com/repos/intel/mkl-dnn/issues/comments/364212134","html_url":"https://github.com/intel/mkl-dnn/issues/180#issuecomment-364212134","issue_url":"https://api.github.com/repos/intel/mkl-dnn/issues/180","id":364212134,"user":{"login":"rsdubtso","id":15225631,"avatar_url":"https://avatars2.githubusercontent.com/u/15225631?v=4","gravatar_id":"","url":"https://api.github.com/users/rsdubtso","html_url":"https://github.com/rsdubtso","followers_url":"https://api.github.com/users/rsdubtso/followers","following_url":"https://api.github.com/users/rsdubtso/following{/other_user}","gists_url":"https://api.github.com/users/rsdubtso/gists{/gist_id}","starred_url":"https://api.github.com/users/rsdubtso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsdubtso/subscriptions","organizations_url":"https://api.github.com/users/rsdubtso/orgs","repos_url":"https://api.github.com/users/rsdubtso/repos","events_url":"https://api.github.com/users/rsdubtso/events{/privacy}","received_events_url":"https://api.github.com/users/rsdubtso/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T18:54:19Z","updated_at":"2018-02-08T18:54:19Z","author_association":"CONTRIBUTOR","body":"Closing as invalid (MKL-DNN does not support 32-bit mode)."}}
{"actor":{"display_login":"rsdubtso"}}