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 2017/12/07 16:21:35 UTC

[GitHub] TX2012LH opened a new issue #8983: python-howto-debug_conv doesn't work?

TX2012LH opened a new issue #8983: python-howto-debug_conv doesn't work?
URL: https://github.com/apache/incubator-mxnet/issues/8983
 
 
   Note: Providing complete information in the most concise form is the best way to get help. This issue template serves as the checklist for essential information to most of the technical issues and bug reports. For non-technical issues and feature requests, feel free to present the information in what you believe is the best form.
   
   For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io 
   
   ## Description
   I debug conv as `python-howto/READMD.md` but it will not stop at breakpoint.
   (Brief description of the problem in no more than 2 sentences.)
   
   ## Environment info (Required)
   OS: Ubuntu 16.04 xenial
   
   
   ```
   What to do:
   1. Download the diagnosis script from https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py
   2. Run the script using `python diagnose.py` and paste its output here.
   
   ```
   
   Package used (Python/R/Scala/Julia):
   (I'm using ...)
   
   For Scala user, please provide:
   1. Java version: (`java -version`)
   2. Maven version: (`mvn -version`)
   3. Scala runtime if applicable: (`scala -version`)
   
   For R user, please provide R `sessionInfo()`:
   
   ## Build info (Required if built from source)
   gcc
   Compiler (gcc/clang/mingw/visual studio):
   
   MXNet commit hash:
   (Paste the output of `git rev-parse HEAD` here.)
   mxnet 1.0.0
   
   Build config:
   DEBUG=1
   CUDA=0
   CUDNN=0
   CUDA_PATH=NONE
   (Paste the content of config.mk, or the build command.)
   
   ## Error Message:
   (Paste the complete error message, including stack trace.)
   ?  ~ gdb --args python debug_conv.py
   GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
   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 "x86_64-linux-gnu".
   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 python...done.
   (gdb) b incubator-mxnet/src/operator/convolution_v1-inl.h:130
   No source file named incubator-mxnet/src/operator/convolution_v1-inl.h.
   Make breakpoint pending on future shared library load? (y or [n]) n
   (gdb) run
   Starting program: /home/haoluo/anaconda2/bin/python debug_conv.py
   [Thread debugging using libthread_db enabled]
   Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
   [New Thread 0x7fffe57a4700 (LWP 12340)]
   [New Thread 0x7fffe4fa3700 (LWP 12341)]
   [New Thread 0x7fffe47a2700 (LWP 12342)]
   [New Thread 0x7fffe3fa1700 (LWP 12343)]
   [New Thread 0x7fffe37a0700 (LWP 12344)]
   [Thread 0x7fffe37a0700 (LWP 12344) exited]
   [Thread 0x7fffe3fa1700 (LWP 12343) exited]
   [Thread 0x7fffe47a2700 (LWP 12342) exited]
   [Thread 0x7fffe4fa3700 (LWP 12341) exited]
   [New Thread 0x7fffe47a2700 (LWP 12345)]
   [New Thread 0x7fffe37a0700 (LWP 12346)]
   [New Thread 0x7fffe4fa3700 (LWP 12347)]
   [New Thread 0x7fffe3fa1700 (LWP 12348)]
   /home/hl/anaconda2/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py:46: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead
     import OpenSSL.SSL
   [11:18:59] src/engine/engine.cc:55: MXNet start using engine: NaiveEngine
   [[[[-0.00020103  0.00926307  0.00926307  0.00926307  0.00431658]
      [ 0.0041606   0.01661832  0.01661832  0.01661832  0.02024863]
      [ 0.0041606   0.01661832  0.01661832  0.01661832  0.02024863]
      [ 0.0041606   0.01661832  0.01661832  0.01661832  0.02024863]
      [ 0.00537269  0.01894068  0.01894068  0.01894068  0.02670578]]]]
   [Thread 0x7fffe3fa1700 (LWP 12348) exited]
   [Thread 0x7fffe4fa3700 (LWP 12347) exited]
   [Thread 0x7fffe47a2700 (LWP 12345) exited]
   [Thread 0x7fffe57a4700 (LWP 12340) exited]
   [Thread 0x7ffff7fcb700 (LWP 12334) exited]
   [Inferior 1 (process 12334) exited normally]
   (gdb) b incubator-mxnet/src/operator/convolution_v1-inl.h:130
   Breakpoint 1 at 0x7ffff0b8a90f: incubator-mxnet/src/operator/convolution_v1-inl.h:130. (3 locations)
   (gdb) run
   Starting program: /home/haoluo/anaconda2/bin/python debug_conv.py
   [Thread debugging using libthread_db enabled]
   Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
   [New Thread 0x7fffe57a4700 (LWP 12354)]
   [New Thread 0x7fffe4fa3700 (LWP 12355)]
   [New Thread 0x7fffe47a2700 (LWP 12356)]
   [New Thread 0x7fffe3fa1700 (LWP 12357)]
   [New Thread 0x7fffe37a0700 (LWP 12358)]
   [Thread 0x7fffe37a0700 (LWP 12358) exited]
   [Thread 0x7fffe3fa1700 (LWP 12357) exited]
   [Thread 0x7fffe47a2700 (LWP 12356) exited]
   [Thread 0x7fffe4fa3700 (LWP 12355) exited]
   [New Thread 0x7fffe47a2700 (LWP 12359)]
   ........................
   
   ## Minimum reproducible example
   (If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)
   
   ## Steps to reproduce
   (Paste the commands you ran that produced the error.)
   
   1.
   2.
   
   ## What have you tried to solve it?
   
   1.
   2.
   

----------------------------------------------------------------
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