fritzo / pomagma

An inference engine for extensional untyped λ-calculus
Other
17 stars 2 forks source link

Surveyor.init crashes while logging #7

Open fritzo opened 10 years ago

fritzo commented 10 years ago
======================================================================
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 << ---------------------
Running in debug mode
WARNING failed to authenticate s3 bucket pomagma
No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV1Handler'] Check your credentials
WARNING failed to authenticate s3 bucket pomagma-test
No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV1Handler'] Check your credentials
Building test fixture /home/fritz/pomagma/data/test/debug/atlas/skj/0.normal.h5
# took 0.0679 sec

==== LOG FILE ====
==== STACK TRACE ====
[New LWP 32766]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/fritz/pomagma/build/debug/src/surveyor/skj.init /home/fritz/pomagma/data/'.
Program terminated with signal 11, Segmentation fault.
#0  operator<< , 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 commented 10 years ago

Platform: Ubuntu 12.04 only; gcc 4.6