Guest User

Untitled

a guest
Oct 20th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.66 KB | None | 0 0
  1. +fordas@fela:~/workspace/pose_fork_depickle$ gdb
  2. GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
  3. [...]
  4.  
  5. +(gdb) file python
  6.  
  7. :(gdb) run pose_serial_fork_bug.py fullsize1.pdb
  8. Starting program: /home/fordas/workspace/pose_fork_depickle/.conda/bin/python pose_serial_fork_bug.py fullsize1.pdb
  9. [Thread debugging using libthread_db enabled]
  10. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  11. 2018-10-20T19:04:21.935 pid: 86342 main
  12. 2018-10-20T19:04:21.935 pid: 86342 Found rosetta database at: /home/fordas/workspace/pose_fork_depickle/.conda/lib/python3.6/site-packages/pyrosetta/database; using it....
  13. 2018-10-20T19:04:21.936 pid: 86342 PyRosetta-4 2017 [Rosetta devel 2018.28.post.dev+1147.v2018.34dev60360.14e0a7acf8e14e0a7acf8eca980ba28bb1767f41fb5b7f52343 2018-08-21T11:28:04] retrieved from: ssh://git@github.com/RosettaCommons/main
  14. (C) Copyright Rosetta Commons Member Institutions.
  15. Created in JHU by Sergey Lyskov and PyRosetta Team.
  16.  
  17. core.init: Checking for fconfig files in pwd and ./rosetta/flags
  18. core.init: Rosetta version: 2018.28.post.dev+1147.v2018.34dev60360.14e0a7acf8e 14e0a7acf8eca980ba28bb1767f41fb5b7f52343 ssh://git@github.com/RosettaCommons/main 2018-08-21T11:28:04
  19. core.init: command: PyRosetta -ex1 -ex2aro -database /home/fordas/workspace/pose_fork_depickle/.conda/lib/python3.6/site-packages/pyrosetta/database
  20. core.init: 'RNG device' seed mode, using '/dev/urandom', seed=528287146 seed_offset=0 real_seed=528287146
  21. core.init.random: RandomGenerator:init: Normal mode, seed=528287146 RG_type=mt19937
  22. must make pickle in separate process for this bug to trigger
  23. 2018-10-20T19:04:21.966 pid: 86342 make_pickle_in_fork
  24. 2018-10-20T19:04:21.972 pid: 86363 make_pickle
  25. core.chemical.GlobalResidueTypeSet: Finished initializing fa_standard residue type set. Created 617 residue types
  26. core.chemical.GlobalResidueTypeSet: Total time to initialize 1.43742 seconds.
  27. core.import_pose.import_pose: File 'fullsize1.pdb' automatically determined to be of type PDB
  28. loading same pose twice in fork process OK
  29. 2018-10-20T19:04:25.804 pid: 86342 load_pickle_in_fork
  30. 2018-10-20T19:04:25.813 pid: 86368 load_pickle
  31. core.chemical.GlobalResidueTypeSet: Finished initializing fa_standard residue type set. Created 617 residue types
  32. core.chemical.GlobalResidueTypeSet: Total time to initialize 1.68418 seconds.
  33. loaded pose with 551 residues in 86368
  34. 2018-10-20T19:04:27.958 pid: 86342 load_pickle_in_fork
  35. 2018-10-20T19:04:27.967 pid: 86373 load_pickle
  36. core.chemical.GlobalResidueTypeSet: Finished initializing fa_standard residue type set. Created 617 residue types
  37. core.chemical.GlobalResidueTypeSet: Total time to initialize 1.69935 seconds.
  38. loaded pose with 551 residues in 86373
  39. loading same pose twice in main process OK
  40. 2018-10-20T19:04:30.186 pid: 86342 load_pickle
  41. [New Thread 0x7fffceeaa700 (LWP 86378)]
  42. [New Thread 0x7fffce528700 (LWP 86379)]
  43. [New Thread 0x7fffcdba6700 (LWP 86380)]
  44. [New Thread 0x7fffcd224700 (LWP 86381)]
  45. core.chemical.GlobalResidueTypeSet: Finished initializing fa_standard residue type set. Created 617 residue types
  46. core.chemical.GlobalResidueTypeSet: Total time to initialize 1.68262 seconds.
  47. loaded pose with 551 residues in 86342
  48. 2018-10-20T19:04:31.933 pid: 86342 load_pickle
  49. loaded pose with 551 residues in 86342
  50. loading same pose in fork after loading in main process hangs
  51. 2018-10-20T19:04:31.971 pid: 86342 load_pickle_in_fork
  52. 2018-10-20T19:04:31.979 pid: 86382 load_pickle
  53.  
  54. ^C
  55. Thread 1 "python" received signal SIGINT, Interrupt.
  56. 0x00007ffff7bcaf7b in __waitpid (pid=86382, stat_loc=0x7fffffffc104, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
  57.  
  58. +(gdb) bt
  59. #0 0x00007ffff7bcaf7b in __waitpid (pid=86382, stat_loc=0x7fffffffc104, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
  60. #1 0x000055555575e35d in os_waitpid ()
  61. #2 0x00005555556670e1 in _PyCFunction_FastCallDict ()
  62. #3 0x00005555556ee43c in call_function ()
  63. [...backtrace...]
  64. #27 0x000055555563852e in main ()
  65.  
  66. +(gdb) attach 86382
  67. +A program is being debugged already. Kill it? (y or n) n
  68. Not killed.
  69. +(gdb) detach
  70. Detaching from program: /home/fordas/workspace/pose_fork_depickle/.conda/bin/python, process 86342
  71. +(gdb) attach 86382
  72. Attaching to program: /home/fordas/workspace/pose_fork_depickle/.conda/bin/python, process 86382
  73. done.
  74. [Thread debugging using libthread_db enabled]
  75. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  76. done.
  77.  
  78. [...reading symbols...]
  79.  
  80. Program stopped.
  81. 0x00007ffff7bc8154 in futex_wait (private=0, expected=10, futex_word=0x555555f73eac) at ../sysdeps/unix/sysv/linux/futex-internal.h:61
  82.  
  83. +(gdb) bt
  84. #0 0x00007ffff7bc8154 in futex_wait (private=0, expected=10, futex_word=0x555555f73eac) at ../sysdeps/unix/sysv/linux/futex-internal.h:61
  85. #1 futex_wait_simple (private=0, expected=10, futex_word=0x555555f73eac) at ../sysdeps/nptl/futex-internal.h:135
  86. #2 __pthread_barrier_wait (barrier=0x555555f73ea8) at pthread_barrier_wait.c:184
  87. #3 0x00007fffdce408c3 in do_job () from /home/fordas/workspace/pose_fork_depickle/.conda/lib/python3.6/site-packages/blosc/../../../libblosc.so.1
  88. #4 0x00007fffdce4221a in blosc_decompress () from /home/fordas/workspace/pose_fork_depickle/.conda/lib/python3.6/site-packages/blosc/../../../libblosc.so.1
  89. #5 0x00007fffdd0e8afc in decompress_helper ()
  90. from /home/fordas/workspace/pose_fork_depickle/.conda/lib/python3.6/site-packages/blosc/blosc_extension.cpython-36m-x86_64-linux-gnu.so
  91. #6 0x00007fffdd0e8fca in PyBlosc_decompress ()
  92. from /home/fordas/workspace/pose_fork_depickle/.conda/lib/python3.6/site-packages/blosc/blosc_extension.cpython-36m-x86_64-linux-gnu.so
  93. #7 0x00005555556670e1 in _PyCFunction_FastCallDict ()
  94. #8 0x00005555556ee43c in call_function ()
  95. [...backtrace...]
  96. #58 0x00005555557706c4 in Py_Main ()
  97. #59 0x000055555563852e in main ()
Add Comment
Please, Sign In to add comment