You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/06/15 12:56:18 UTC
[GitHub] tvandergeer commented on issue #9507: Segmentation Fault
tvandergeer commented on issue #9507: Segmentation Fault
URL: https://github.com/apache/incubator-mxnet/issues/9507#issuecomment-397611793
I'm running into the same issue using MXNet v1.2.0 on a Raspberry Pi 3+. I've made a core dump and did a backtrace:
```
pi@raspberrypi:~/incubator-mxnet/python $ gdb /home/pi/incubator-mxnet/python/mxnet/../../lib/libmxnet.so core
GNU gdb (Raspbian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/pi/incubator-mxnet/python/mxnet/../../lib/libmxnet.so...done.
warning: core file may not match specified executable file.
[New LWP 5251]
[New LWP 5262]
[New LWP 5255]
[New LWP 5254]
[New LWP 5265]
[New LWP 5263]
[New LWP 5256]
[New LWP 5264]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `python'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x75674978 in nnvm::CreateVariableNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /home/pi/incubator-mxnet/python/mxnet/../../lib/libmxnet.so
[Current thread is 1 (Thread 0x76f628c0 (LWP 5251))]
(gdb) bt
#0 0x75674978 in nnvm::CreateVariableNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /home/pi/incubator-mxnet/python/mxnet/../../lib/libmxnet.so
#1 0x75674a30 in nnvm::Symbol::CreateVariable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /home/pi/incubator-mxnet/python/mxnet/../../lib/libmxnet.so
#2 0x750a2d88 in mxnet::UpgradeJSON_Parse(nnvm::Graph) () from /home/pi/incubator-mxnet/python/mxnet/../../lib/libmxnet.so
#3 0x750a8a5c in std::_Function_handler<nnvm::Graph (nnvm::Graph), nnvm::Graph (*)(nnvm::Graph)>::_M_invoke(std::_Any_data const&, nnvm::Graph&&) () from /home/pi/incubator-mxnet/python/mxnet/../../lib/libmxnet.so
#4 0x7509d29c in mxnet::LoadLegacyJSONPass(nnvm::Graph) () from /home/pi/incubator-mxnet/python/mxnet/../../lib/libmxnet.so
#5 0x750a8a5c in std::_Function_handler<nnvm::Graph (nnvm::Graph), nnvm::Graph (*)(nnvm::Graph)>::_M_invoke(std::_Any_data const&, nnvm::Graph&&) () from /home/pi/incubator-mxnet/python/mxnet/../../lib/libmxnet.so
#6 0x75672cf0 in nnvm::ApplyPasses(nnvm::Graph, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) () from /home/pi/incubator-mxnet/python/mxnet/../../lib/libmxnet.so
#7 0x750d01f0 in nnvm::ApplyPass(nnvm::Graph, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /home/pi/incubator-mxnet/python/mxnet/../../lib/libmxnet.so
#8 0x755433a8 in MXSymbolCreateFromFile () from /home/pi/incubator-mxnet/python/mxnet/../../lib/libmxnet.so
#9 0x76935dd0 in ffi_call_VFP () from /usr/lib/arm-linux-gnueabihf/libffi.so.6
#10 0x769367ec in ffi_call () from /usr/lib/arm-linux-gnueabihf/libffi.so.6
#11 0x76954b68 in _ctypes_callproc () from /usr/lib/python2.7/lib-dynload/_ctypes.arm-linux-gnueabihf.so
Backtrace stopped: Cannot access memory at address 0x52
(gdb)
```
See [this post](https://discuss.mxnet.io/t/segfault-when-attempting-to-upgrade-symbol-saved-by-previous-version-v0-8-0/1226) on the MXNet forum for more info. Let me know when you need more information.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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
With regards,
Apache Git Services