Bug 306398 - KMail crashed when it started
Summary: KMail crashed when it started
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.9.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 306508 329539 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-07 10:56 UTC by Unknown
Modified: 2017-01-07 22:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2012-09-07 10:56:04 UTC
Application: kmail (4.9.1)
KDE Platform Version: 4.9.1 "release 561"
Qt Version: 4.8.2
Operating System: Linux 3.4.6-2.10-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

I reinstalled the operating system (fully, including formatting the partition).
After I had successfully set up KMail, after the next restart it instantly crashed (right after I logged in to KDE).

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa95ed31780 (LWP 3325))]

Thread 3 (Thread 0x7fa9402e8700 (LWP 3428)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa9505bdeb7 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7fa950fc22a0 <WTF::pageheap_memory>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00007fa9505bdee9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x00007fa95a016e0e in start_thread (arg=0x7fa9402e8700) at pthread_create.c:305
#4  0x00007fa95c1ea2bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fa93f9e7700 (LWP 3429)):
#0  0x00007fa95c1e213f in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa9547386d4 in g_main_context_poll (n_fds=1, fds=0x7fa9380029c0, timeout=6777, context=0x7fa9380009a0, priority=<optimized out>) at gmain.c:3440
#2  g_main_context_iterate (context=context@entry=0x7fa9380009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3141
#3  0x00007fa9547387f4 in g_main_context_iteration (context=0x7fa9380009a0, may_block=1) at gmain.c:3207
#4  0x00007fa95cb723f6 in QEventDispatcherGlib::processEvents (this=0x7fa9380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fa95cb42ebf in QEventLoop::processEvents (this=this@entry=0x7fa93f9e6e20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fa95cb43148 in QEventLoop::exec (this=0x7fa93f9e6e20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fa95ca46ef0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fa95ca49e8b in QThreadPrivate::start (arg=0xe1cc40) at thread/qthread_unix.cpp:307
#9  0x00007fa95a016e0e in start_thread (arg=0x7fa93f9e7700) at pthread_create.c:305
#10 0x00007fa95c1ea2bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fa95ed31780 (LWP 3325)):
[KCrash Handler]
#6  __strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:163
#7  0x00007fa9488bad39 in getrn (rhash=<optimized out>, data=0x0, lh=<optimized out>) at lhash.c:431
#8  lh_insert (lh=0xfc8530, data=0xfbab80) at lhash.c:189
#9  0x00007fa94886468d in OBJ_NAME_add (name=0x0, type=2, data=0x7fa93e248ae0 <r4_hmac_md5_cipher> "\223\003") at o_names.c:203
#10 0x00007fa93dc65f08 in SSL_library_init () at ssl_algs.c:77
#11 0x00007fa95b23da82 in QSslSocketPrivate::ensureLibraryLoaded () at ssl/qsslsocket_openssl.cpp:537
#12 0x00007fa958f16e74 in KProtocolManager::defaultUserAgent (_modifiers=...) at /usr/src/debug/kdelibs-4.9.1/kio/kio/kprotocolmanager.cpp:767
#13 0x00007fa958f17c5b in KProtocolManager::defaultUserAgent () at /usr/src/debug/kdelibs-4.9.1/kio/kio/kprotocolmanager.cpp:634
#14 0x00007fa958f17e90 in KProtocolManager::userAgentForHost (hostname=...) at /usr/src/debug/kdelibs-4.9.1/kio/kio/kprotocolmanager.cpp:626
#15 0x00007fa94deb56a6 in KWebPage::userAgentForUrl (this=this@entry=0xe1e680, _url=...) at /usr/src/debug/kdelibs-4.9.1/kdewebkit/kwebpage.cpp:385
#16 0x00007fa94fcf4ae6 in WebCore::FrameLoaderClientQt::userAgent (this=<optimized out>, url=...) at ../../../../Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp:726
#17 0x00007fa950051309 in WebCore::FrameLoader::userAgent (this=this@entry=0x7fa93fa02478, url=...) at ../../../Source/WebCore/loader/FrameLoader.cpp:2670
#18 0x00007fa9500513b2 in WebCore::FrameLoader::applyUserAgent (this=this@entry=0x7fa93fa02478, request=...) at ../../../Source/WebCore/loader/FrameLoader.cpp:3189
#19 0x00007fa95005146d in WebCore::FrameLoader::addExtraFieldsToRequest (this=this@entry=0x7fa93fa02478, request=..., loadType=WebCore::FrameLoadTypeStandard, mainResource=mainResource@entry=true) at ../../../Source/WebCore/loader/FrameLoader.cpp:2752
#20 0x00007fa950051880 in WebCore::FrameLoader::addExtraFieldsToMainResourceRequest (this=this@entry=0x7fa93fa02478, request=...) at ../../../Source/WebCore/loader/FrameLoader.cpp:2734
#21 0x00007fa950057047 in WebCore::FrameLoader::load (this=this@entry=0x7fa93fa02478, newDocumentLoader=newDocumentLoader@entry=0x7fa93f9ff000) at ../../../Source/WebCore/loader/FrameLoader.cpp:1498
#22 0x00007fa95005723b in WebCore::FrameLoader::load (this=this@entry=0x7fa93fa02478, request=..., substituteData=..., lockHistory=lockHistory@entry=false) at ../../../Source/WebCore/loader/FrameLoader.cpp:1463
#23 0x00007fa950057331 in WebCore::FrameLoader::load (this=0x7fa93fa02478, request=..., lockHistory=false) at ../../../Source/WebCore/loader/FrameLoader.cpp:1450
#24 0x00007fa94fcbb649 in QWebFrame::load (this=this@entry=0xe48350, req=..., operation=operation@entry=QNetworkAccessManager::GetOperation, body=...) at ../../../../Source/WebKit/qt/Api/qwebframe.cpp:939
#25 0x00007fa94fcbbbe0 in QWebFrame::load (this=0xe48350, url=...) at ../../../../Source/WebKit/qt/Api/qwebframe.cpp:872
#26 0x00007fa955569949 in MessageViewer::WebKitPartHtmlWriter::begin (this=0xf8e1c0, css=...) at /usr/src/debug/kdepim-4.9.1/messageviewer/webkitparthtmlwriter.cpp:77
#27 0x00007fa955561d92 in MessageViewer::ViewerPrivate::updateReaderWin (this=0xe194f0) at /usr/src/debug/kdepim-4.9.1/messageviewer/viewer_p.cpp:2258
#28 0x00007fa955561ec1 in MessageViewer::ViewerPrivate::update (this=<optimized out>, updateMode=<optimized out>) at /usr/src/debug/kdepim-4.9.1/messageviewer/viewer_p.cpp:2059
#29 0x00007fa9555638bc in MessageViewer::ViewerPrivate::readConfig (this=this@entry=0xe194f0) at /usr/src/debug/kdepim-4.9.1/messageviewer/viewer_p.cpp:1210
#30 0x00007fa955563e36 in MessageViewer::ViewerPrivate::ViewerPrivate (this=0xe194f0, aParent=0xe5fa70, mainWindow=0xd7d570, actionCollection=<optimized out>) at /usr/src/debug/kdepim-4.9.1/messageviewer/viewer_p.cpp:229
#31 0x00007fa95554b6b7 in MessageViewer::Viewer::Viewer (this=0xe5fa70, aParent=<optimized out>, mainWindow=0xd7d570, actionCollection=0xba3370, aFlags=...) at /usr/src/debug/kdepim-4.9.1/messageviewer/viewer.cpp:50
#32 0x00007fa95dc2a219 in KMReaderWin::KMReaderWin (this=0xdfad90, aParent=<optimized out>, mainWindow=0xd7d570, actionCollection=<optimized out>, aFlags=...) at /usr/src/debug/kdepim-4.9.1/kmail/kmreaderwin.cpp:110
#33 0x00007fa95dc8ba8d in KMMainWidget::createWidgets (this=this@entry=0xd7d570) at /usr/src/debug/kdepim-4.9.1/kmail/kmmainwidget.cpp:1080
#34 0x00007fa95dc8c6d3 in KMMainWidget::KMMainWidget (this=0xd7d570, parent=<optimized out>, aGUIClient=0xd8a240, actionCollection=<optimized out>, config=...) at /usr/src/debug/kdepim-4.9.1/kmail/kmmainwidget.cpp:256
#35 0x00007fa95dbefddb in KMMainWin::KMMainWin (this=0xd8a1e0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.9.1/kmail/kmmainwin.cpp:65
#36 0x00007fa95dc34177 in KMKernel::doSessionManagement (this=<optimized out>) at /usr/src/debug/kdepim-4.9.1/kmail/kmkernel.cpp:1239
#37 0x0000000000402dbf in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.9.1/kmail/main.cpp:132

Reported using DrKonqi
Comment 1 Unknown 2012-09-14 12:26:05 UTC
May I ask if there's any progress on this issue?

Currently KMail is totally unusable (for me at least) because as soon as I start it, it crashes at that very moment.
Comment 2 Laurent Montel 2012-09-14 16:15:03 UTC
No progress because I can't reproduce it and don't know why it crashs.
Could you test on an other user ?
Comment 3 Unknown 2012-09-14 16:17:15 UTC
Yes, of course, I can try to add an other user and set up KMail there.

Btw, I think the backtrace of this bug and the one of Bug 306508 have many things in common.
Comment 4 Unknown 2012-09-16 08:16:52 UTC
I created an other user, switched there and tried to set up KMail, but it instantly crashed. So to sum up:
- On the first day of the freshly installed system I could use KMail
- On the next day KMail crashed and it crashes on a totally new account also

Could it be because of some incompatibilities between KDE and the libopenssl1_0_0?

How can I help you debugging this? Is there any GDB magic or something like that?
Comment 5 Jekyll Wu 2014-03-10 10:18:22 UTC
*** Bug 306508 has been marked as a duplicate of this bug. ***
Comment 6 Jekyll Wu 2014-03-11 09:34:10 UTC
*** Bug 329539 has been marked as a duplicate of this bug. ***
Comment 7 Denis Kurz 2016-09-24 18:21:35 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 8 Denis Kurz 2017-01-07 22:13:04 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.