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

router.info/router.key to data directory #40

Merged
merged 5 commits into from
Feb 22, 2014
Merged

Conversation

meeh420
Copy link
Contributor

@meeh420 meeh420 commented Feb 21, 2014

Loading/Saving to data directory instead of current directory.

Btw, crashed upon loading of new router.info/router.key before my change. Trying to figure it out.

(gdb) bt
#0  0x00007ffff62bf9cc in free () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x000000000045246e in __gnu_cxx::new_allocator<i2p::data::RouterInfo::Address>::deallocate (this=0x7fffffffdd60, 
    __p=0x14456c042a3) at /usr/include/c++/4.7/ext/new_allocator.h:100
#2  0x0000000000450708 in std::_Vector_base<i2p::data::RouterInfo::Address, std::allocator<i2p::data::RouterInfo::Address> >::_M_deallocate (this=0x7fffffffdd60, __p=0x14456c042a3, __n=18446744059198958046) at /usr/include/c++/4.7/bits/stl_vector.h:175
#3  0x000000000044cd86 in std::_Vector_base<i2p::data::RouterInfo::Address, std::allocator<i2p::data::RouterInfo::Address> >::~_Vector_base (this=0x7fffffffdd60, __in_chrg=<optimized out>) at /usr/include/c++/4.7/bits/stl_vector.h:161
#4  0x0000000000447ad5 in std::vector<i2p::data::RouterInfo::Address, std::allocator<i2p::data::RouterInfo::Address> >::~vector (
    this=0x7fffffffdd60, __in_chrg=<optimized out>) at /usr/include/c++/4.7/bits/stl_vector.h:404
#5  0x000000000044311f in i2p::data::RouterInfo::~RouterInfo (this=0x7fffffffd350, __in_chrg=<optimized out>) at RouterInfo.h:16
#6  0x000000000046e4b1 in i2p::RouterContext::Load (this=0x7724c0 <i2p::context>) at RouterContext.cpp:89
#7  0x000000000046dd6f in i2p::RouterContext::RouterContext (this=0x7724c0 <i2p::context>) at RouterContext.cpp:14
#8  0x000000000046e899 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at RouterContext.cpp:10
#9  0x000000000046e9bc in _GLOBAL__sub_I__ZN3i2p7contextE () at RouterContext.cpp:113
#10 0x00000000004d972d in __libc_csu_init ()
#11 0x00007ffff625de35 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000433e29 in _start ()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants