Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425328 - mail-client/cone-{0.89,0.90} segfault on unsuccessful attempt of login to spop3 server
Summary: mail-client/cone-{0.89,0.90} segfault on unsuccessful attempt of login to spo...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-08 14:26 UTC by Marcin Mirosław
Modified: 2017-04-05 13:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2012-07-08 14:26:25 UTC
I created new pop3 account, i entered wrong password, marked fields " Do not send password in clear text" and "Use an encrypted connection". Next i choose "Login" then cone throw segfault.
Here is bt:
#0  0x00000057e9e60aae in mail::fd::socketWrite (this=0x5700000000, s=...) at fd.C:812
#1  0x00000057e9f4b82a in mail::pop3::LoginTask::hmacHandler (this=0x57ea2becc0, message=0x57e9fd4ce3 "-ERR Login failed")
    at pop3.C:604
#2  0x00000057e9f4b61f in mail::pop3::LoginTask::loginCallbackPwd (this=0x57ea2becc0, pwd=...) at pop3.C:576
#3  0x00000057e9f4b1e2 in mail::pop3::LoginTask::nonExternalLogin (this=0x57ea2becc0) at pop3.C:524
#4  0x00000057e9f4b025 in mail::pop3::LoginTask::stlsCapaDone (this=0x57ea2becc0) at pop3.C:501
#5  0x00000057e9f4abd6 in mail::pop3::LoginTask::processedCapabilities (this=0x57ea2becc0) at pop3.C:434
#6  0x00000057e9f4a42c in mail::pop3::LoginTask::addCapability (this=0x57ea2becc0, message=0x57ea59d8e8 ".") at pop3.C:392
#7  0x00000057e9f4a094 in mail::pop3::LoginTask::serverResponse (this=0x57ea2becc0, message=0x57ea59d8e8 ".") at pop3.C:324
#8  0x00000057e9f525fa in mail::pop3::socketRead (this=0x57ea2bf010, readbuffer=...) at pop3.C:2090
#9  0x00000057e9e60804 in mail::fd::process (this=0x57ea2bf010, fds=..., timeout=@0x3dab8d5da60) at fd.C:748
#10 0x00000057e9f521fe in mail::pop3::handler (this=0x57ea2bf010, fds=..., ioTimeout=@0x3dab8d5da60) at pop3.C:2038
#11 0x00000057e9e69dc1 in mail::account::process (fds=..., timeout=@0x3dab8d5da60) at mail.C:522
#12 0x00000057e9dcdd2e in myServer::eventloop (callback=0x3dab8d5dc00) at myserver.C:216
#13 0x00000057e9dce406 in myServer::eventloop (callback=...) at myserver.C:340
#14 0x00000057e9dcec3f in myServer::login (this=0x57ea2beb40, passwordStr=..., loginPrompt=0x0) at myserver.C:447
#15 0x00000057e9dce72d in myServer::login (this=0x57ea2beb40, passwordStr=...) at myserver.C:396
#16 0x00000057e9c924c9 in tryCreateAccount (account=..., url=..., password=..., certificate=...) at cone.C:275
#17 0x00000057e9c93522 in addAccountPrompt (accountType=0x57ea0db1c0) at cone.C:408
#18 0x00000057e9c9424d in addAccountScreen (dummy=0x57ea0db1c0) at cone.C:486
#19 0x00000057e9c99bae in main (argc=1, argv=0x3dab8d5fc68) at cone.C:1463

Without ssl i got message "ERROR: Authentication failed." so it is probably related to ssl/gnutls.


Reproducible: Always




# emerge --info
FEATURES variable contains unknown value(s): Xfail-clean, Xkeepwork, Xprofile, Xtest, profile-use
Error during set creation: Could not import 'smartliverebuild.sets.SmartLiveRebuildSet' for section 'smart-live-rebuild'
Portage 2.2.0_alpha116 (hardened/linux/amd64, gcc-4.5.3, glibc-2.14.1-r3, 3.4.2-hardened x86_64)
=================================================================
System uname: Linux-3.4.2-hardened-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.1
Timestamp of tree: Sun, 08 Jul 2012 13:00:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O0 -g -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/tomoyo/conf /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apach
e2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc
/terminfo"
CXXFLAGS="-march=native -O0 -g -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="Xfail-clean Xkeepwork Xprofile Xtest assume-digests binpkg-logs ccache collision-protect config-protect-if-modified
 distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs profile-use protect-owned sandbox
 sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mneisen.org/"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl en"
MAKEOPTS="-j2 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-O"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human
-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi amd64 apache2 bash-completion caps hardened idn iproute2 ipv6 mmap mmx mmxext modules multilib nls openmp openssl smp sse sse2 sse3 sse4 sse4a ssse3 syslog threads threadsafe unicode urandom vhosts vim-syntax xtpax" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon auth_digest authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user cache cgid dav dav_fs dav_lock dir env expires ext_filter filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif status unique_id usertrack vhost_alias" APACHE2_MPMS="prefork" CURL_SSL="openssl" ELIBC="glibc" KERNEL="linux" LINGUAS="pl en" NGINX_MODULES_HTTP="access browser charset gzip map limit_zone proxy rewrite stub_status" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2" USERLAND="GNU" XTABLES_ADDONS="geoip ipset6 psd sysrq tarpit"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2017-03-30 15:52:03 UTC
Please check =mail-client/cone-0.92 reopen if still happens.
Comment 2 Marcin Mirosław 2017-04-05 13:07:05 UTC
I'm not using cone, if I ever will use it I'll check if this bug is valid.