pomagma icon indicating copy to clipboard operation
pomagma copied to clipboard

Surveyor.init crashes while logging

Open fritzo opened this issue 11 years ago • 1 comments

======================================================================
ERROR: test suite for 
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/fritz/.virtualenvs/pomagma/local/lib/python2.7/site-packages/nose/suite.py", line 208, in run
    self.setUp()
  File "/home/fritz/.virtualenvs/pomagma/local/lib/python2.7/site-packages/nose/suite.py", line 291, in setUp
    self.setupContext(ancestor)
  File "/home/fritz/.virtualenvs/pomagma/local/lib/python2.7/site-packages/nose/suite.py", line 314, in setupContext
    try_run(context, names)
  File "/home/fritz/.virtualenvs/pomagma/local/lib/python2.7/site-packages/nose/util.py", line 469, in try_run
    return func()
  File "/home/fritz/pomagma/pomagma/analyst/test.py", line 38, in setup_module
    pomagma.surveyor.init(THEORY, WORLD, min_size)
  File "/home/fritz/pomagma/pomagma/surveyor/__init__.py", line 18, in init
    **opts)
  File "/home/fritz/pomagma/pomagma/util.py", line 325, in log_call
    sys.exit(info)
SystemExit: -11
-------------------- >> begin captured stdout , std::allocator > (__str=..., __os=...) at /usr/include/c++/4.6/bits/basic_string.h:2698
2698          return __ostream_insert(__os, __str.data(), __str.size());

Thread 1 (Thread 0x2b1e44bfb000 (LWP 32766)):
#0  operator, std::allocator > (__str=..., __os=...) at /usr/include/c++/4.6/bits/basic_string.h:2698
#1  pomagma::Log::Log (this=0x7fff2b7eefe0, level=) at /home/fritz/pomagma/include/pomagma/platform/util.hpp:191
#2  0x00002b1e424ddfb3 in pomagma::SymmetricFunction::SymmetricFunction (this=0x2b1e42484f60, carrier=..., insert_callback=) at /home/fritz/pomagma/src/microstructure/symmetric_function.cpp:21
#3  0x00002b1e4224090c in __static_initialization_and_destruction_0 (__initialize_p=, __priority=) at /home/fritz/pomagma/src/surveyor/skj.theory.cpp:29
#4  _GLOBAL__sub_I_skj.theory.cpp(void) () at /home/fritz/pomagma/src/surveyor/skj.theory.cpp:7622
#5  0x00002b1e4201e306 in call_init (l=, argc=5, argv=0x7fff2b7ef258, env=0x7fff2b7ef288) at dl-init.c:85
#6  0x00002b1e4201e3df in call_init (env=, argv=, argc=, l=) at dl-init.c:52
#7  _dl_init (main_map=0x2b1e422332c8, argc=5, argv=0x7fff2b7ef258, env=0x7fff2b7ef288) at dl-init.c:134
#8  0x00002b1e420106ea in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#9  0x0000000000000005 in ?? ()
#10 0x00007fff2b7f0258 in ?? ()
#11 0x00007fff2b7f028e in ?? ()
#12 0x00007fff2b7f02c8 in ?? ()
#13 0x00007fff2b7f02f8 in ?? ()
#14 0x00007fff2b7f032a in ?? ()
#15 0x0000000000000000 in ?? ()


---------------------  end captured stdout  ----------------------
--------------------  begin captured logging  --------------------
boto: DEBUG: Retrieving credentials from metadata server.
boto: DEBUG: Retrieving credentials from metadata server.
---------------------  end captured logging  ---------------------

fritzo avatar Aug 08 '14 15:08 fritzo

Platform: Ubuntu 12.04 only; gcc 4.6

fritzo avatar Aug 08 '14 15:08 fritzo