vmime icon indicating copy to clipboard operation
vmime copied to clipboard

Crash on incorrect login/password for pop3s

Open Maledictus opened this issue 12 years ago • 0 comments

Library crashes if login or password is incorrect for pop3s.

*** Program received signal SIGPIPE (Broken pipe) **(gdb) bt bt #0 0x00007ffff68e260d in send () from /lib64/libc.so.6 #1 0x00007ffff7a47b44 in vmime::platforms::posix::posixSocket::sendRawNonBlocking (this=0x640580, buffer=0x66bfd0 "\025\003\001", count=37) at /home/magog/Programming/git/VMime/vmime/src/vmime/platforms/posix/posixSocket.cpp:659 #2 0x00007ffff7a14ca4 in vmime::net::tls::TLSSocket_GnuTLS::gnutlsPushFunc (trspt=0x651cd0, data=0x66bfd0, len=37) at /home/magog/Programming/git/VMime/vmime/src/vmime/net/tls/gnutls/TLSSocket_GnuTLS.cpp:373 #3 0x00007ffff62fcac7 in ?? () from /usr/lib64/libgnutls.so.28 #4 0x00007ffff62f6b62 in ?? () from /usr/lib64/libgnutls.so.28 #5 0x00007ffff6317515 in gnutls_alert_send () from /usr/lib64/libgnutls.so.28 #6 0x00007ffff62f8c23 in gnutls_bye () from /usr/lib64/libgnutls.so.28 #7 0x00007ffff7a13e6e in vmime::net::tls::TLSSocket_GnuTLS::disconnect (this=0x651cd0) at /home/magog/Programming/git/VMime/vmime/src/vmime/net/tls/gnutls/TLSSocket_GnuTLS.cpp:111 #8 0x00007ffff7a13cd3 in vmime::net::tls::TLSSocket_GnuTLS::~TLSSocket_GnuTLS (this=0x651cd0, __in_chrg=) at /home/magog/Programming/git/VMime/vmime/src/vmime/net/tls/gnutls/TLSSocket_GnuTLS.cpp:82 #9 0x00007ffff7a181be in boost::detail::sp_ms_deletervmime::net::tls::TLSSocket_GnuTLS::destroy (this=0x651cc8) at /usr/include/boost/smart_ptr/make_shared_object.hpp:57 #10 0x00007ffff7a1881e in boost::detail::sp_ms_deletervmime::net::tls::TLSSocket_GnuTLS::operator() (this=0x651cc8) at /usr/include/boost/smart_ptr/make_shared_object.hpp:87 #11 0x00007ffff7a18779 in boost::detail::sp_counted_impl_pd<vmime::net::tls::TLSSocket_GnuTLS, boost::detail::sp_ms_deletervmime::net::tls::TLSSocket_GnuTLS >::dispose (this=0x651cb0) at /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153 #12 0x00007ffff7900a04 in boost::detail::sp_counted_base::release (this=0x651cb0) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:146 #13 0x00007ffff7900ac7 in boost::detail::shared_count::~shared_count (this=0x672240, __in_chrg=) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:371 #14 0x00007ffff7978a9e in boost::shared_ptrvmime::net::socket::~shared_ptr (this=0x672238, __in_chrg=) at /usr/include/boost/smart_ptr/shared_ptr.hpp:328 #15 0x00007ffff7a09fad in vmime::net::pop3::POP3Response::~POP3Response (this=0x672220, __in_chrg=) at /home/magog/Programming/git/VMime/vmime/src/vmime/net/pop3/POP3Response.hpp:59 #16 0x00007ffff7a0a07c in vmime::net::pop3::POP3Response::~POP3Response (this=0x672220, __in_chrg=) at /home/magog/Programming/git/VMime/vmime/src/vmime/net/pop3/POP3Response.hpp:59 #17 0x00007ffff7a0a0b4 in boost::checked_deletevmime::net::pop3::POP3Response (x=0x672220) at /usr/include/boost/checked_delete.hpp:34 #18 0x00007ffff7a0a424 in boost::detail::sp_counted_impl_pvmime::net::pop3::POP3Response::dispose (this=0x62da00) at /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:78 #19 0x00007ffff7900a04 in boost::detail::sp_counted_base::release (this=0x62da00) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:146 #20 0x00007ffff7900ac7 in boost::detail::shared_count::~shared_count (this=0x7fffffffd178, __in_chrg=) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:371 #21 0x00007ffff79f8bec in boost::shared_ptrvmime::net::pop3::POP3Response::~shared_ptr (this=0x7fffffffd170, __in_chrg=) at /usr/include/boost/smart_ptr/shared_ptr.hpp:328 #22 0x00007ffff79ffc83 in vmime::net::pop3::POP3Connection::connect (this=0x640060) at /home/magog/Programming/git/VMime/vmime/src/vmime/net/pop3/POP3Connection.cpp:182 #23 0x00007ffff7a04fdb in vmime::net::pop3::POP3Store::connect (this=0x63f6f0) at /home/magog/Programming/git/VMime/vmime/src/vmime/net/pop3/POP3Store.cpp:118 #24 0x000000000040a5a8 in checkPop3(std::string, std::string, std::string) () #25 0x000000000040ac3e in CheckCredentials(std::string, std::string, std::string) () #26 0x000000000040b03c in main ()

Maledictus avatar Jul 24 '14 13:07 Maledictus