Bug 287247 - KMail crashed when tried to check SMTP auth methods
Summary: KMail crashed when tried to check SMTP auth methods
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-22 12:09 UTC by Unknown
Modified: 2017-01-07 21:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (19.82 KB, text/plain)
2012-01-05 08:09 UTC, Unknown
Details
New crash information added by DrKonqi (7.87 KB, text/plain)
2012-01-28 08:09 UTC, Unknown
Details
New crash information added by DrKonqi (8.89 KB, text/plain)
2012-04-24 06:54 UTC, Unknown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2011-11-22 12:09:07 UTC
Application: kmail (4.7.3)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.8.0
Operating System: Linux 3.1.0-1.2-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Go to KMail settings > Try to add a new SMTP outgoing server > after filled all of the necessary data click on the button which automatically checks for the security capabilities for the specified SMTP server > crash.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f793bb5e780 (LWP 4437))]

Thread 5 (Thread 0x7f791f145700 (LWP 4439)):
#0  0x00007f7938fdcc33 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f793a5ebdc1 in QProcessManager::run (this=0x7f793a965080) at io/qprocess_unix.cpp:244
#2  0x00007f793a51215b in QThreadPrivate::start (arg=0x7f793a965080) at thread/qthread_unix.cpp:298
#3  0x00007f7938cf4f05 in start_thread (arg=0x7f791f145700) at pthread_create.c:301
#4  0x00007f7938fe353d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f791d5a8700 (LWP 4443)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f792d4ec2ac in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f792d4ec3d9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f7938cf4f05 in start_thread (arg=0x7f791d5a8700) at pthread_create.c:301
#4  0x00007f7938fe353d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f791cca7700 (LWP 4445)):
#0  0x00007f7938fda423 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f793121fa98 in g_main_context_poll (n_fds=1, fds=0x772420, timeout=5195, context=0x6807f0, priority=<optimized out>) at gmain.c:3386
#2  g_main_context_iterate (context=0x6807f0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x00007f793121ff59 in g_main_context_iteration (context=0x6807f0, may_block=1) at gmain.c:3136
#4  0x00007f793a63ddc6 in QEventDispatcherGlib::processEvents (this=0xaa37e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f793a60db12 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f793a60dd67 in QEventLoop::exec (this=0x7f791cca6e00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f793a50f137 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f793a51215b in QThreadPrivate::start (arg=0xaad250) at thread/qthread_unix.cpp:298
#9  0x00007f7938cf4f05 in start_thread (arg=0x7f791cca7700) at pthread_create.c:301
#10 0x00007f7938fe353d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f78d84a9700 (LWP 4926)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:213
#1  0x00007f793a5125cf in wait (time=30000, this=0x34e8fc0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x15d9b18, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f793a5059df in QThreadPoolThread::run (this=0x19500c0) at concurrent/qthreadpool.cpp:141
#4  0x00007f793a51215b in QThreadPrivate::start (arg=0x19500c0) at thread/qthread_unix.cpp:298
#5  0x00007f7938cf4f05 in start_thread (arg=0x7f78d84a9700) at pthread_create.c:301
#6  0x00007f7938fe353d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f793bb5e780 (LWP 4437)):
[KCrash Handler]
#6  EVP_MD_CTX_md (ctx=0x0) at evp_lib.c:252
#7  0x00007f791afbf7ac in tls1_enc (s=0x3448120, send=0) at t1_enc.c:662
#8  0x00007f791afb84f0 in ssl3_get_record (s=0x3448120) at s3_pkt.c:404
#9  ssl3_read_bytes (s=0x3448120, type=22, buf=0x3708970 "\026\003\001", len=4, peek=0) at s3_pkt.c:961
#10 0x00007f791afb9f70 in ssl3_get_message (s=0x3448120, st1=<optimized out>, stn=4385, mt=-1, max=20000, ok=0x7fffc20ae7ac) at s3_both.c:426
#11 0x00007f791afafb36 in ssl3_get_server_hello (s=0x3448120) at s3_clnt.c:735
#12 0x00007f791afb3aa0 in ssl3_connect (s=0x3448120) at s3_clnt.c:279
#13 0x00007f791afbb6db in ssl23_get_server_hello (s=0x3448120) at s23_clnt.c:693
#14 ssl23_connect (s=0x3448120) at s23_clnt.c:222
#15 0x00007f7937bdc455 in QSslSocketBackendPrivate::startHandshake (this=0x1842a30) at ssl/qsslsocket_openssl.cpp:1223
#16 0x00007f7937bddc6d in QSslSocketBackendPrivate::transmit (this=0x1842a30) at ssl/qsslsocket_openssl.cpp:1084
#17 0x00007f7937bd75d9 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qsslsocket.cpp:98
#18 QSslSocket::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qsslsocket.cpp:77
#19 0x00007f793a622bd1 in QMetaObject::activate (sender=0x3514470, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#20 0x00007f7937bb71af in QAbstractSocketPrivate::canReadNotification (this=0xb8ac70) at socket/qabstractsocket.cpp:651
#21 0x00007f7937bbed01 in event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1151
#22 QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1148
#23 0x00007f7939995d84 in notify_helper (e=0x7fffc20b02f0, receiver=0x346e680, this=0x6685a0) at kernel/qapplication.cpp:4550
#24 QApplicationPrivate::notify_helper (this=0x6685a0, receiver=0x346e680, e=0x7fffc20b02f0) at kernel/qapplication.cpp:4522
#25 0x00007f793999ac03 in QApplication::notify (this=0x7fffc20b1e90, receiver=0x346e680, e=0x7fffc20b02f0) at kernel/qapplication.cpp:4411
#26 0x00007f793b6c9e36 in KApplication::notify (this=0x7fffc20b1e90, receiver=0x346e680, event=0x7fffc20b02f0) at /usr/src/debug/kdelibs-4.7.3/kdeui/kernel/kapplication.cpp:311
#27 0x00007f793a60ed2c in QCoreApplication::notifyInternal (this=0x7fffc20b1e90, receiver=0x346e680, event=0x7fffc20b02f0) at kernel/qcoreapplication.cpp:876
#28 0x00007f793a63d3b7 in sendEvent (event=0x7fffc20b02f0, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#29 socketNotifierSourceDispatch (source=0x66be60) at kernel/qeventdispatcher_glib.cpp:110
#30 0x00007f793121f58d in g_main_dispatch (context=0x66ace0) at gmain.c:2425
#31 g_main_context_dispatch (context=0x66ace0) at gmain.c:2995
#32 0x00007f793121fd88 in g_main_context_iterate (context=0x66ace0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#33 0x00007f793121ff59 in g_main_context_iteration (context=0x66ace0, may_block=1) at gmain.c:3136
#34 0x00007f793a63dd5f in QEventDispatcherGlib::processEvents (this=0x60b620, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007f7939a38d6e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f793a60db12 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f793a60dd67 in QEventLoop::exec (this=0x7fffc20b0530, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f7939e61a56 in QDialog::exec (this=0x3516ac0) at dialogs/qdialog.cpp:552
#39 0x00007f7933d99863 in MailTransport::TransportManager::configureTransport (this=<optimized out>, parent=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.3/mailtransport/transportmanager.cpp:315
#40 0x00007f7933d9a175 in MailTransport::TransportManagementWidget::Private::editClicked (this=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.3/mailtransport/transportmanagementwidget.cpp:110
#41 0x00007f7933d9a235 in MailTransport::TransportManagementWidget::qt_metacall (this=0x18cf320, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.3/build/mailtransport/transportmanagementwidget.moc:83
#42 0x00007f793a622dd9 in QMetaObject::activate (sender=0x347d270, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc20b0800) at kernel/qobject.cpp:3566
#43 0x00007f793a0202f2 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#44 0x00007f7939d5f75e in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:546
#45 0x00007f7939d60a9b in QAbstractButtonPrivate::click (this=0x34e5690) at widgets/qabstractbutton.cpp:539
#46 0x00007f7939d60d0c in QAbstractButton::mouseReleaseEvent (this=0x347d270, e=0x7fffc20b10d0) at widgets/qabstractbutton.cpp:1121
#47 0x00007f79399e6494 in QWidget::event (this=0x347d270, event=0x7fffc20b10d0) at kernel/qwidget.cpp:8361
#48 0x00007f7939995d84 in notify_helper (e=0x7fffc20b10d0, receiver=0x347d270, this=0x6685a0) at kernel/qapplication.cpp:4550
#49 QApplicationPrivate::notify_helper (this=0x6685a0, receiver=0x347d270, e=0x7fffc20b10d0) at kernel/qapplication.cpp:4522
#50 0x00007f793999b4d3 in QApplication::notify (this=<optimized out>, receiver=0x347d270, e=0x7fffc20b10d0) at kernel/qapplication.cpp:4093
#51 0x00007f793b6c9e36 in KApplication::notify (this=0x7fffc20b1e90, receiver=0x347d270, event=0x7fffc20b10d0) at /usr/src/debug/kdelibs-4.7.3/kdeui/kernel/kapplication.cpp:311
#52 0x00007f793a60ed2c in QCoreApplication::notifyInternal (this=0x7fffc20b1e90, receiver=0x347d270, event=0x7fffc20b10d0) at kernel/qcoreapplication.cpp:876
#53 0x00007f7939996d52 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#54 QApplicationPrivate::sendMouseEvent (receiver=0x347d270, event=0x7fffc20b10d0, alienWidget=0x347d270, nativeWidget=0x19b4870, buttonDown=0x347d270, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3161
#55 0x00007f7939a128f5 in QETWidget::translateMouseEvent (this=0x19b4870, event=<optimized out>) at kernel/qapplication_x11.cpp:4494
#56 0x00007f7939a117ba in QApplication::x11ProcessEvent (this=0x7fffc20b1e90, event=0x7fffc20b1990) at kernel/qapplication_x11.cpp:3620
#57 0x00007f7939a390e2 in x11EventSourceDispatch (s=0x66c020, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#58 0x00007f793121f58d in g_main_dispatch (context=0x66ace0) at gmain.c:2425
#59 g_main_context_dispatch (context=0x66ace0) at gmain.c:2995
#60 0x00007f793121fd88 in g_main_context_iterate (context=0x66ace0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#61 0x00007f793121ff59 in g_main_context_iteration (context=0x66ace0, may_block=1) at gmain.c:3136
#62 0x00007f793a63dd5f in QEventDispatcherGlib::processEvents (this=0x60b620, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#63 0x00007f7939a38d6e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x00007f793a60db12 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#65 0x00007f793a60dd67 in QEventLoop::exec (this=0x7fffc20b1d60, flags=...) at kernel/qeventloop.cpp:204
#66 0x00007f793a6128c5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#67 0x0000000000402df3 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.7.3/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Christophe Marin 2011-11-23 18:12:53 UTC
>KDE Platform Version: 4.7.3 (4.7.3)
>Qt Version: 4.8.0

KDE in opensuse is not built (yet) with Qt4.8.

Please fix your installation and reopen if you can reproduce the crash.
Comment 2 Unknown 2012-01-05 08:09:05 UTC
Created attachment 67475 [details]
New crash information added by DrKonqi

kmail (4.8 rc2) on KDE Platform 4.7.97 (4.8 RC2 (4.7.97) "release 1" using Qt 4.8.0

As I can see, more and more developers fix the crashes with Qt 4.8 (Amarok - Bug 285951, KDE - Bug 286308, and KMail also - Bug 289693). That's why I suggest to reopen this report.

- What I was doing when the application crashed:
I clicked on a letter from Facebook and before KMail could display anything, it crashed.

-- Backtrace (Reduced):
#6  EVP_MD_CTX_md (ctx=0x0) at evp_lib.c:252
#7  0x00007f052e1d87ac in tls1_enc (s=0x7f04d400e030, send=0) at t1_enc.c:662
#8  0x00007f052e1d14f0 in ssl3_get_record (s=0x7f04d400e030) at s3_pkt.c:404
#9  ssl3_read_bytes (s=0x7f04d400e030, type=22, buf=0x7f04d400ea30 "\026\003\001", len=4, peek=0) at s3_pkt.c:961
#10 0x00007f052e1d2f70 in ssl3_get_message (s=0x7f04d400e030, st1=<optimized out>, stn=4385, mt=-1, max=20000, ok=0x7f04e73aa0ac) at s3_both.c:426
Comment 3 Unknown 2012-01-28 08:09:59 UTC
Created attachment 68264 [details]
New crash information added by DrKonqi

kmail (4.8.0) on KDE Platform 4.8.00 (4.8.0 "release 462" using Qt 4.8.0

- What I was doing when the application crashed:

I clicked opened a letter from Facebook and KMail crashed.
The debug symbols are not complete (maybe there's some CRC errors with the debuginfo packages), although the crashlog resembles to the previous ones.

-- Backtrace (Reduced):
#6  EVP_MD_CTX_md (ctx=0x0) at evp_lib.c:252
#7  0x00007f87cab1881c in tls1_enc () from /lib64/libssl.so.1.0.0
#8  0x00007f87cab11560 in ssl3_read_bytes () from /lib64/libssl.so.1.0.0
#9  0x00007f87cab12fe0 in ssl3_get_message () from /lib64/libssl.so.1.0.0
#10 0x00007f87cab08ba6 in ssl3_get_server_hello () from /lib64/libssl.so.1.0.0
Comment 4 Unknown 2012-01-28 08:12:01 UTC
Since the last crash occurred with the official openSUSE KDE 4.8 Repository with Qt 4.8.0 (contains the repo) under KDE 4.8.0, I reopen this bug.
Comment 5 Christophe Marin 2012-02-13 11:19:44 UTC
paste the output of `rpm -qi libopenssl1_0_0 openssl`
Comment 6 Unknown 2012-02-13 11:29:51 UTC
Name        : libopenssl1_0_0
Version     : 1.0.0e
Release     : 34.3.1
Architecture: x86_64
Install Date: 2012. jan. 26., csütörtök, 15.23.22 CET
Group       : Productivity/Networking/Security
Size        : 2407576
License     : BSD3c(or similar)
Signature   : RSA/SHA256, 2012. jan. 18., szerda, 10.27.55 CET, Key ID b88b2fd43dbdc284
Source RPM  : openssl-1.0.0e-34.3.1.src.rpm
Build Date  : 2012. jan. 12., csütörtök, 09.09.21 CET
Build Host  : build11
Relocations : (not relocatable)
Packager    : http://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://www.openssl.org/
Summary     : Secure Sockets and Transport Layer Security
Description :
The OpenSSL Project is a collaborative effort to develop a robust,
commercial-grade, full-featured, and open source toolkit implementing
the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS
v1) protocols with full-strength cryptography. The project is managed
by a worldwide community of volunteers that use the Internet to
communicate, plan, and develop the OpenSSL toolkit and its related
documentation.

Derivation and License

OpenSSL is based on the excellent SSLeay library developed by Eric A.
Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an
Apache-style license, which basically means that you are free to get it
and to use it for commercial and noncommercial purposes.



Authors:
--------
    Mark J. Cox <mark@openssl.org>
    Ralf S. Engelschall <rse@openssl.org>
    Dr. Stephen Henson <steve@openssl.org>
    Ben Laurie <ben@openssl.org>
    Bodo Moeller <bodo@openssl.org>
    Ulf Moeller <ulf@openssl.org>
    Holger Reif <holger@openssl.org>
    Paul C. Sutton <paul@openssl.org>
Distribution: openSUSE 12.1
Name        : openssl
Version     : 1.0.0e
Release     : 34.3.1
Architecture: x86_64
Install Date: 2012. jan. 26., csütörtök, 15.23.39 CET
Group       : Productivity/Networking/Security
Size        : 1261537
License     : BSD3c(or similar)
Signature   : RSA/SHA256, 2012. jan. 18., szerda, 10.27.56 CET, Key ID b88b2fd43dbdc284
Source RPM  : openssl-1.0.0e-34.3.1.src.rpm
Build Date  : 2012. jan. 12., csütörtök, 09.09.21 CET
Build Host  : build11
Relocations : (not relocatable)
Packager    : http://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://www.openssl.org/
Summary     : Secure Sockets and Transport Layer Security
Description :
The OpenSSL Project is a collaborative effort to develop a robust,
commercial-grade, full-featured, and open source toolkit implementing
the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS
v1) protocols with full-strength cryptography. The project is managed
by a worldwide community of volunteers that use the Internet to
communicate, plan, and develop the OpenSSL toolkit and its related
documentation.

Derivation and License

OpenSSL is based on the excellent SSLeay library developed by Eric A.
Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an
Apache-style license, which basically means that you are free to get it
and to use it for commercial and noncommercial purposes.



Authors:
--------
    Mark J. Cox <mark@openssl.org>
    Ralf S. Engelschall <rse@openssl.org>
    Dr. Stephen Henson <steve@openssl.org>
    Ben Laurie <ben@openssl.org>
    Bodo Moeller <bodo@openssl.org>
    Ulf Moeller <ulf@openssl.org>
    Holger Reif <holger@openssl.org>
    Paul C. Sutton <paul@openssl.org>
Distribution: openSUSE 12.1
Comment 7 Unknown 2012-02-14 17:20:23 UTC
Could this bug related to this one: https://bugreports.qt-project.org/browse/QTBUG-20452 ?
Comment 8 Unknown 2012-04-24 06:54:36 UTC
Created attachment 70624 [details]
New crash information added by DrKonqi

kmail (4.8.2) on KDE Platform 4.8.2 (4.8.2) "release 491" using Qt 4.8.1

- What I was doing when t he application crashed:

This bug still occurs on KDE 4.8.2.

-- Backtrace (Reduced):
#6  EVP_MD_CTX_md (ctx=0x0) at evp_lib.c:252
#7  0x00007f64c53c281c in tls1_enc () from /lib64/libssl.so.1.0.0
#8  0x00007f64c53bb560 in ssl3_read_bytes () from /lib64/libssl.so.1.0.0
#9  0x00007f64c53bcfe0 in ssl3_get_message () from /lib64/libssl.so.1.0.0
#10 0x00007f64c53b2ba6 in ssl3_get_server_hello () from /lib64/libssl.so.1.0.0
Comment 9 Denis Kurz 2016-09-24 18:15:26 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 10 Denis Kurz 2017-01-07 21:48:20 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.