You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/09/18 07:43:23 UTC

[GitHub] [incubator-mxnet] zxc971365 opened a new issue #19176: null pointer error

zxc971365 opened a new issue #19176:
URL: https://github.com/apache/incubator-mxnet/issues/19176


   File "mxnet\python\mxnet\_ffi\function.py", line 106, in list_global_func_names, is plist null pointer?
   when i import mxnet, i have OSError: exception: access violation writing 0x0000000000000000 in line 110, ctypes.byref(plist)
   
   Env:
   Windows 10
   Python 3.7.8
   Visual Studio 2019
   mxnet 1.7.0


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] chinakook edited a comment on issue #19176: null pointer error

Posted by GitBox <gi...@apache.org>.
chinakook edited a comment on issue #19176:
URL: https://github.com/apache/incubator-mxnet/issues/19176#issuecomment-730471452


   +1
   You may build from source by yourself, you can copy all the dependency dlls into the mxnet dir and then open a new command prompt to run it again. Good luck!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] chinakook commented on issue #19176: null pointer error

Posted by GitBox <gi...@apache.org>.
chinakook commented on issue #19176:
URL: https://github.com/apache/incubator-mxnet/issues/19176#issuecomment-730471452


   +1


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] github-actions[bot] commented on issue #19176: null pointer error

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #19176:
URL: https://github.com/apache/incubator-mxnet/issues/19176#issuecomment-694712616


   Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue.
   Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly.
   If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on [contributing to MXNet](https://mxnet.apache.org/community/contribute) and our [development guides wiki](https://cwiki.apache.org/confluence/display/MXNET/Developments).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] JustinNeumann edited a comment on issue #19176: null pointer error

Posted by GitBox <gi...@apache.org>.
JustinNeumann edited a comment on issue #19176:
URL: https://github.com/apache/incubator-mxnet/issues/19176#issuecomment-745358498


   +1 and currently fighting with this one, though my overall setup is rather experimental currently.
   
   plist is not the error reason since it is simply **ctypes.POINTER(ctypes.c_char_p)()**. Dependencies are all loaded according to self-crafted C++ script with LoadLibrary and a check of dependencies with dumpbin.exe shows them all in Path environment variable. The relevant function **MXNetFuncListGlobalNames** is existing in libmxnet.dll.
   
   Now trying to debug the release .dll for further info. Not sure if it will work out.
   
   Env:
   Windows 10
   Python 3.7.9
   Visual Studio 2019
   mxnet 2.0.0. from Source
   cuda V11.1.105
   nvidia Driver Version: 460.79
   GPU: RTX 3080
   
   EDIT: It works! I just had to deactivate the USE_SPLIT_ARCH_DLL option in CMakeLists.txt and then fix the dependencies with dumpbin /DEPENDENTS libmxnet.dll. This issue is related by the way (https://github.com/apache/incubator-mxnet/issues/19579). Good enough for my single GPU architecture.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] JustinNeumann commented on issue #19176: null pointer error

Posted by GitBox <gi...@apache.org>.
JustinNeumann commented on issue #19176:
URL: https://github.com/apache/incubator-mxnet/issues/19176#issuecomment-745358498


   +1 and currently fighting with this one, though my overall setup is rather experimental currently.
   
   plist is not the error reason since it is simply **ctypes.POINTER(ctypes.c_char_p)()**. Dependencies are all loaded according to self-crafted C++ script with LoadLibrary and a check of dependencies with dumpbin.exe shows them all in Path environment variable. The relevant function **MXNetFuncListGlobalNames** is existing in libmxnet.dll.
   
   Now trying to debug the release .dll for further info. Not sure if it will work out.
   
   Env:
   Windows 10
   Python 3.7.9
   Visual Studio 2019
   mxnet 2.0.0. from Source
   cuda V11.1.105
   nvidia Driver Version: 460.79
   GPU: RTX 3080


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org