[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] exit code of '1' in 0.37 win32 version when using s
From: |
Matthew Gregan |
Subject: |
Re: [Monotone-devel] exit code of '1' in 0.37 win32 version when using ssh-agent signature |
Date: |
Sun, 2 Dec 2007 02:44:04 +1300 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
At 2007-11-30T14:52:59-0500, Daniel Atallah wrote:
> It appears to be something related to the new win32 ssh-agent code because
> when I use `--ssh-sign no`, the exit code is 0, however signature lookup
> and in fact the whole netsync occurs successfully.
I'm seeing this too, except the exit code is 5 in my case. What's happening
is that we're crashing while in the dtor code of
std::vector<Botan::RSA_PublicKey> when destroying ssh_agent as the program
returns from cpp_main.
I haven't had time to dig into this further yet, but here's the stack trace
from GDB for reference:
#0 0x0097b339 in std::_Destroy<Botan::RSA_PublicKey> (__pointer=0x0)
at
e:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_construct.h:107
#1 0x0095ff4d in std::__destroy_aux<Botan::RSA_PublicKey*> (__first=0x0,
__last=0x98)
at
e:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_construct.h:120
#2 0x0097c0e9 in std::_Destroy<Botan::RSA_PublicKey*> (__first=0x0,
__last=0x98)
at
e:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_construct.h:152
#3 0x008dc9cf in std::vector<Botan::RSA_PublicKey,
std::allocator<Botan::RSA_PublicKey> >::~vector (this=0x22fc94)
at
e:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_vector.h:256
#4 0x004f31b6 in ssh_agent::~ssh_agent (this=0x22fc8c)
at ../monotone/ssh_agent.cc:103
#5 0x00437abf in app_state::~app_state (this=0x22fbb0)
at ../monotone/app_state.cc:44
#6 0x005f3019 in cpp_main (argc=3, argv=0x3d4568)
at ../monotone/monotone.cc:275
#7 0x005f48d1 in main (argc=3, argv=0x3d4568)
at ../monotone/win32/main.cc:189
Cheers,
-mjg
--
Matthew Gregan |/
/| address@hidden
- Re: [Monotone-devel] exit code of '1' in 0.37 win32 version when using ssh-agent signature,
Matthew Gregan <=