Guest User

gdb python -c "import torch"

a guest
Sep 7th, 2020
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GDB 6.63 KB | None | 0 0
  1.    gdb -ex r --args python -c "import torch"
  2. GNU gdb (GDB) 9.2
  3. Copyright (C) 2020 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law.
  7. Type "show copying" and "show warranty" for details.
  8. This GDB was configured as "x86_64-pc-linux-gnu".
  9. Type "show configuration" for configuration details.
  10. For bug reporting instructions, please see:
  11. <http://www.gnu.org/software/gdb/bugs/>.
  12. Find the GDB manual and other documentation resources online at:
  13.     <http://www.gnu.org/software/gdb/documentation/>.
  14.  
  15. For help, type "help".
  16. Type "apropos word" to search for commands related to "word"...
  17. Reading symbols from python...
  18. (No debugging symbols found in python)
  19. Starting program: /usr/bin/python -c import\ torch
  20. [Thread debugging using libthread_db enabled]
  21. Using host libthread_db library "/usr/lib/libthread_db.so.1".
  22. [Detaching after fork from child process 815]
  23.  
  24. Program received signal SIGILL, Illegal instruction.
  25. 0x00007fffc958eac4 in ?? ()
  26. --Type <RET> for more, q to quit, c to continue without paging--
  27.    from /usr/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so
  28. (gdb) bt
  29. #0  0x00007fffc958eac4 in  ()
  30.     at /usr/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so
  31. #1  0x00007ffff7fe12de in call_init.part () at /lib64/ld-linux-x86-64.so.2
  32. #2  0x00007ffff7fe13c8 in _dl_init () at /lib64/ld-linux-x86-64.so.2
  33. #3  0x00007ffff7b730e5 in _dl_catch_exception () at /usr/lib/libc.so.6
  34. #4  0x00007ffff7fe5705 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
  35. #5  0x00007ffff7b73088 in _dl_catch_exception () at /usr/lib/libc.so.6
  36. #6  0x00007ffff7fe4f3e in _dl_open () at /lib64/ld-linux-x86-64.so.2
  37. #7  0x00007ffff7a1134c in  () at /usr/lib/libdl.so.2
  38. #8  0x00007ffff7b73088 in _dl_catch_exception () at /usr/lib/libc.so.6
  39. #9  0x00007ffff7b73153 in _dl_catch_error () at /usr/lib/libc.so.6
  40. #10 0x00007ffff7a11b89 in  () at /usr/lib/libdl.so.2
  41. #11 0x00007ffff7a113d8 in dlopen () at /usr/lib/libdl.so.2
  42. #12 0x00007ffff7e421a8 in _PyImport_FindSharedFuncptr ()
  43.     at /usr/lib/libpython3.8.so.1.0
  44. #13 0x00007ffff7df0216 in _PyImport_LoadDynamicModuleWithSpec ()
  45.     at /usr/lib/libpython3.8.so.1.0
  46. #14 0x00007ffff7defbed in  () at /usr/lib/libpython3.8.so.1.0
  47. #15 0x00007ffff7d309d8 in  () at /usr/lib/libpython3.8.so.1.0
  48. #16 0x00007ffff7d3ff8f in PyVectorcall_Call () at /usr/lib/libpython3.8.so.1.0
  49. #17 0x00007ffff7d25355 in _PyEval_EvalFrameDefault ()
  50.     at /usr/lib/libpython3.8.so.1.0
  51. #18 0x00007ffff7d1e044 in _PyEval_EvalCodeWithName ()
  52. --Type <RET> for more, q to quit, c to continue without paging--
  53.     at /usr/lib/libpython3.8.so.1.0
  54. #19 0x00007ffff7d301cd in _PyFunction_Vectorcall ()
  55.     at /usr/lib/libpython3.8.so.1.0
  56. #20 0x00007ffff7d24025 in _PyEval_EvalFrameDefault ()
  57.     at /usr/lib/libpython3.8.so.1.0
  58. #21 0x00007ffff7d30138 in _PyFunction_Vectorcall ()
  59.     at /usr/lib/libpython3.8.so.1.0
  60. #22 0x00007ffff7d1fac1 in _PyEval_EvalFrameDefault ()
  61.     at /usr/lib/libpython3.8.so.1.0
  62. #23 0x00007ffff7d30138 in _PyFunction_Vectorcall ()
  63.     at /usr/lib/libpython3.8.so.1.0
  64. #24 0x00007ffff7d1f6fd in _PyEval_EvalFrameDefault ()
  65.     at /usr/lib/libpython3.8.so.1.0
  66. #25 0x00007ffff7d30138 in _PyFunction_Vectorcall ()
  67.     at /usr/lib/libpython3.8.so.1.0
  68. #26 0x00007ffff7d1f6fd in _PyEval_EvalFrameDefault ()
  69.     at /usr/lib/libpython3.8.so.1.0
  70. #27 0x00007ffff7d30138 in _PyFunction_Vectorcall ()
  71.     at /usr/lib/libpython3.8.so.1.0
  72. #28 0x00007ffff7d1f6fd in _PyEval_EvalFrameDefault ()
  73.     at /usr/lib/libpython3.8.so.1.0
  74. #29 0x00007ffff7d30138 in _PyFunction_Vectorcall ()
  75.     at /usr/lib/libpython3.8.so.1.0
  76. --Type <RET> for more, q to quit, c to continue without paging--
  77. #30 0x00007ffff7d2f97f in  () at /usr/lib/libpython3.8.so.1.0
  78. #31 0x00007ffff7d42636 in _PyObject_CallMethodIdObjArgs ()
  79.     at /usr/lib/libpython3.8.so.1.0
  80. #32 0x00007ffff7d412dc in PyImport_ImportModuleLevelObject ()
  81.     at /usr/lib/libpython3.8.so.1.0
  82. #33 0x00007ffff7d23c69 in _PyEval_EvalFrameDefault ()
  83.     at /usr/lib/libpython3.8.so.1.0
  84. #34 0x00007ffff7d1e044 in _PyEval_EvalCodeWithName ()
  85.     at /usr/lib/libpython3.8.so.1.0
  86. #35 0x00007ffff7dcf3a3 in PyEval_EvalCode () at /usr/lib/libpython3.8.so.1.0
  87. #36 0x00007ffff7dd47bd in  () at /usr/lib/libpython3.8.so.1.0
  88. #37 0x00007ffff7d309d8 in  () at /usr/lib/libpython3.8.so.1.0
  89. #38 0x00007ffff7d3ff8f in PyVectorcall_Call () at /usr/lib/libpython3.8.so.1.0
  90. #39 0x00007ffff7d25355 in _PyEval_EvalFrameDefault ()
  91.     at /usr/lib/libpython3.8.so.1.0
  92. #40 0x00007ffff7d1e044 in _PyEval_EvalCodeWithName ()
  93.     at /usr/lib/libpython3.8.so.1.0
  94. #41 0x00007ffff7d301cd in _PyFunction_Vectorcall ()
  95.     at /usr/lib/libpython3.8.so.1.0
  96. #42 0x00007ffff7d24025 in _PyEval_EvalFrameDefault ()
  97.     at /usr/lib/libpython3.8.so.1.0
  98. #43 0x00007ffff7d30138 in _PyFunction_Vectorcall ()
  99.     at /usr/lib/libpython3.8.so.1.0
  100. --Type <RET> for more, q to quit, c to continue without paging--
  101. #44 0x00007ffff7d1fac1 in _PyEval_EvalFrameDefault ()
  102.     at /usr/lib/libpython3.8.so.1.0
  103. #45 0x00007ffff7d30138 in _PyFunction_Vectorcall ()
  104.     at /usr/lib/libpython3.8.so.1.0
  105. #46 0x00007ffff7d1f6fd in _PyEval_EvalFrameDefault ()
  106.     at /usr/lib/libpython3.8.so.1.0
  107. #47 0x00007ffff7d30138 in _PyFunction_Vectorcall ()
  108.     at /usr/lib/libpython3.8.so.1.0
  109. #48 0x00007ffff7d1f6fd in _PyEval_EvalFrameDefault ()
  110.     at /usr/lib/libpython3.8.so.1.0
  111. #49 0x00007ffff7d30138 in _PyFunction_Vectorcall ()
  112.     at /usr/lib/libpython3.8.so.1.0
  113. #50 0x00007ffff7d2f97f in  () at /usr/lib/libpython3.8.so.1.0
  114. #51 0x00007ffff7d42636 in _PyObject_CallMethodIdObjArgs ()
  115.     at /usr/lib/libpython3.8.so.1.0
  116. #52 0x00007ffff7d412dc in PyImport_ImportModuleLevelObject ()
  117.     at /usr/lib/libpython3.8.so.1.0
  118. #53 0x00007ffff7d23c69 in _PyEval_EvalFrameDefault ()
  119.     at /usr/lib/libpython3.8.so.1.0
  120. #54 0x00007ffff7d1e044 in _PyEval_EvalCodeWithName ()
  121.     at /usr/lib/libpython3.8.so.1.0
  122. #55 0x00007ffff7dcf3a3 in PyEval_EvalCode () at /usr/lib/libpython3.8.so.1.0
  123. #56 0x00007ffff7ddac18 in  () at /usr/lib/libpython3.8.so.1.0
  124. --Type <RET> for more, q to quit, c to continue without paging--
  125. #57 0x00007ffff7dd4e33 in  () at /usr/lib/libpython3.8.so.1.0
  126. #58 0x00007ffff7dd1d4d in PyRun_StringFlags () at /usr/lib/libpython3.8.so.1.0
  127. #59 0x00007ffff7dd1c9d in PyRun_SimpleStringFlags ()
  128.     at /usr/lib/libpython3.8.so.1.0
  129. #60 0x00007ffff7de79c9 in Py_RunMain () at /usr/lib/libpython3.8.so.1.0
  130. #61 0x00007ffff7dc3c59 in Py_BytesMain () at /usr/lib/libpython3.8.so.1.0
  131. #62 0x00007ffff7a60152 in __libc_start_main () at /usr/lib/libc.so.6
  132. #63 0x000055555555504e in _start ()
Add Comment
Please, Sign In to add comment