Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simple_central_tuplespace_client run error #811

Closed
EverYoung124 opened this issue Jul 31, 2013 · 6 comments

Comments

Projects
None yet
3 participants
@EverYoung124
Copy link
Contributor

commented Jul 31, 2013

When running the simple_central_tuplespace_client, an error occurred:

terminate called after throwing an instance of 'std::logic_error'
   what():  basic_string::_S_construct null not valid

The gdb backtrace is as follows:

(gdb) bt
#0  0x00007ffff2ef69d0 in __cxa_throw ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x00007ffff2f47677 in std::__throw_logic_error(char const*) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x0000555555b92cbc in std::string::_S_construct<char const*> (__beg=0x0,
    __end=0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>,
    __a=...) at /usr/include/c++/4.6/bits/basic_string.tcc:135
#3  0x00007ffff2f530f8 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x0000555555bb5f14 in hpx::actions::detail::continuation_registration<hpx::actions::typed_continuation<hpx::util::storage::tuple> >::continuation_registration (this=0x7fffffffc1cf)
    at /home/syang/HPX/hpx_head_git/hpx/hpx/runtime/actions/continuation.hpp:105
#5  0x0000555555baf998 in hpx::actions::detail::automatic_continuation_registration<hpx::actions::typed_continuation<hpx::util::storage::tuple>, mpl_::bool_<true> >::automatic_continuation_registration (
    this=0x555555d6bce6 <hpx::actions::init_registration<hpx::actions::typed_continuation<hpx::util::storage::tuple> >::g>)
    at /home/syang/HPX/hpx_head_git/hpx/hpx/runtime/actions/continuation.hpp:119
#6  0x0000555555b0375d in __static_initialization_and_destruction_1 (
    __initialize_p=1, __priority=65535)
    at /home/syang/HPX/hpx_head_git/hpx/hpx/runtime/actions/continuation.hpp:510
#7  0x0000555555b04981 in _GLOBAL__sub_I_simple_central_tuplespace_client.cpp(void) ()
    at /home/syang/HPX/hpx_head_git/hpx/examples/tuplespace/simple_central_tuplespace_client.cpp:166
#8  0x0000555555c372ad in __libc_csu_init ()
#9  0x00007ffff23d8925 in __libc_start_main (
    main=0x555555b01722 <main(int, char**)>, argc=1, ubp_av=0x7fffffffc328,
    init=0x555555c37250 <__libc_csu_init>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffffffc318) at libc-start.c:219
#10 0x0000555555b003e9 in _start ()
@sithhell

This comment has been minimized.

Copy link
Member

commented Jul 31, 2013

which compiler are you using?

@EverYoung124

This comment has been minimized.

Copy link
Contributor Author

commented Jul 31, 2013

gcc 4.6.4

@ghost ghost assigned hkaiser Aug 2, 2013

@hkaiser

This comment has been minimized.

Copy link
Member

commented Aug 3, 2013

Could you give me the command line(s) you used provoking the error, please? Running the example without command line options on one locality does not reproduce the error for me.

@EverYoung124

This comment has been minimized.

Copy link
Contributor Author

commented Aug 3, 2013

The error occurs when running example without command line options. I am building hpx with boost 1.53.0 and gcc 4.6.4, in debug mode.

I just rebuilt the example with the most current hpx code base and the error still exists.

[04:42:56]:syang@trillian00.hermione:/srv/scratch/syang/hpx_build:0:$ bin/simple_central_tuplespace_client
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
Aborted

@EverYoung124

This comment has been minimized.

Copy link
Contributor Author

commented Aug 3, 2013

0.9.6 doesn't have this error, but it does not include fix for issue #810.

@hkaiser hkaiser closed this in 231f4a2 Aug 3, 2013

@hkaiser hkaiser reopened this Aug 3, 2013

@hkaiser

This comment has been minimized.

Copy link
Member

commented Aug 3, 2013

Unintentionally closed, reopening...

@hkaiser hkaiser closed this in 5858736 Aug 4, 2013

biddisco added a commit that referenced this issue Oct 10, 2018

Only use GNU cxxabi demangler for debug printing
Unfortunately, the cxxabi demanlger utility causes an error in
the serialization code. Until that is resolved (see also issue #811)
use the normal typeid string for serialization and cxxabi
for debug printing.

biddisco added a commit that referenced this issue Oct 10, 2018

Only use GNU cxxabi demangler for debug printing
Unfortunately, the cxxabi demanlger utility causes an error in
the serialization code. Until that is resolved (see also issue #811)
use the normal typeid string for serialization and cxxabi
for debug printing.

biddisco added a commit that referenced this issue Oct 10, 2018

Only use GNU cxxabi demangler for debug printing
Unfortunately, the cxxabi demangler utility causes an error in
the serialization code. Until that is resolved (see also issue #811)
use the normal typeid string for serialization and cxxabi
for debug printing.

biddisco added a commit that referenced this issue Oct 14, 2018

Only use GNU cxxabi demangler for debug printing
Unfortunately, the cxxabi demangler utility causes an error in
the serialization code. Until that is resolved (see also issue #811)
use the normal typeid string for serialization and cxxabi
for debug printing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.