Bug 308580 - Crash in KManageSieve::Session
Summary: Crash in KManageSieve::Session
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.9.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-18 00:20 UTC by Daniel Vrátil
Modified: 2017-01-07 21:53 UTC (History)
0 users

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 Daniel Vrátil 2012-10-18 00:20:27 UTC
Application: kontact (4.9.2)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.6.1-1.fc18.x86_64 x86_64
Distribution: "Fedora release 19 (Rawhide)"

-- Information about the crash:
- What I was doing when the application crashed:
Not sure if it's related, but I was prompted about invalid/untrusted server certificate (which is OK, I only have a self-signed certificate on my server). After confirming the exception and confirming to always trust this certificate, Kontact just crashed.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f582faba880 (LWP 1546))]

Thread 4 (Thread 0x7f5829361700 (LWP 1556)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000339281672d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x3393200ce0 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2495
#2  0x0000003392816839 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x000000336ce07ef5 in start_thread (arg=0x7f5829361700) at pthread_create.c:308
#4  0x000000336c6f818d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f5828a60700 (LWP 1558)):
#0  0x000000336c6ef73d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f5831970b04 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f58240029c0, timeout=4959, context=0x7f58240009a0) at gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7f58240009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#3  0x00007f5831970c24 in g_main_context_iteration (context=0x7f58240009a0, may_block=1) at gmain.c:3351
#4  0x00000033737a5d96 in QEventDispatcherGlib::processEvents (this=0x7f58240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x0000003373776a8f in QEventLoop::processEvents (this=this@entry=0x7f5828a5fd00, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003373776d18 in QEventLoop::exec (this=0x7f5828a5fd00, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003373678760 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x000000337367b73c in QThreadPrivate::start (arg=0x2110db0) at thread/qthread_unix.cpp:338
#9  0x000000336ce07ef5 in start_thread (arg=0x7f5828a60700) at pthread_create.c:308
#10 0x000000336c6f818d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f57ddbbb700 (LWP 1774)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x000000337367bbf7 in wait (time=30000, this=0x2d3c3e0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x28ed768, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x000000337366f47f in QThreadPoolThread::run (this=0x2d45870) at concurrent/qthreadpool.cpp:141
#4  0x000000337367b73c in QThreadPrivate::start (arg=0x2d45870) at thread/qthread_unix.cpp:338
#5  0x000000336ce07ef5 in start_thread (arg=0x7f57ddbbb700) at pthread_create.c:308
#6  0x000000336c6f818d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f582faba880 (LWP 1546)):
[KCrash Handler]
#6  ref (this=0x6100640067006f) at ../../src/corelib/arch/qatomic_x86_64.h:121
#7  QString::operator= (this=0x2fa5220, other=...) at tools/qstring.cpp:1410
#8  0x00000033736b7bad in prepareEngineForMatch (priv=0x2fa5200, str=...) at tools/qregexp.cpp:3733
#9  0x00000033736b7d5b in QRegExp::indexIn (this=0x7fff5ec99140, str=..., offset=0, caretMode=QRegExp::CaretAtZero) at tools/qregexp.cpp:4124
#10 0x0000003399a060e1 in KManageSieve::Session::requestCapabilitiesAfterStartTls() const () from /lib64/libkmanagesieve.so.4
#11 0x0000003399a07a8e in KManageSieve::Session::startSsl() () from /lib64/libkmanagesieve.so.4
#12 0x000000337378c63e in QObject::event (this=0x2a7aec0, e=<optimized out>) at kernel/qobject.cpp:1195
#13 0x0000003374dca4cc in QApplicationPrivate::notify_helper (this=this@entry=0x2105850, receiver=receiver@entry=0x2a7aec0, e=e@entry=0x2dcbd00) at kernel/qapplication.cpp:4557
#14 0x0000003374dce94a in QApplication::notify (this=0x7fff5ec99cf0, receiver=0x2a7aec0, e=0x2dcbd00) at kernel/qapplication.cpp:4418
#15 0x00007f58332297b6 in KApplication::notify (this=0x7fff5ec99cf0, receiver=0x2a7aec0, event=0x2dcbd00) at /usr/src/debug/kdelibs-4.9.2/kdeui/kernel/kapplication.cpp:311
#16 0x0000003373777d3e in QCoreApplication::notifyInternal (this=0x7fff5ec99cf0, receiver=receiver@entry=0x2a7aec0, event=event@entry=0x2dcbd00) at kernel/qcoreapplication.cpp:915
#17 0x000000337377b7f1 in sendEvent (event=0x2dcbd00, receiver=0x2a7aec0) at kernel/qcoreapplication.h:231
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x20a7600) at kernel/qcoreapplication.cpp:1539
#19 0x00000033737a5c03 in sendPostedEvents () at kernel/qcoreapplication.h:236
#20 postEventSourceDispatch (s=s@entry=0x210ab00) at kernel/qeventdispatcher_glib.cpp:279
#21 0x00007f5831970835 in g_main_dispatch (context=0x210a930) at gmain.c:2715
#22 g_main_context_dispatch (context=context@entry=0x210a930) at gmain.c:3219
#23 0x00007f5831970b68 in g_main_context_iterate (context=context@entry=0x210a930, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#24 0x00007f5831970c24 in g_main_context_iteration (context=0x210a930, may_block=1) at gmain.c:3351
#25 0x00000033737a5d96 in QEventDispatcherGlib::processEvents (this=0x2105720, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#26 0x0000003374e6a47e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#27 0x0000003373776a8f in QEventLoop::processEvents (this=this@entry=0x7fff5ec99b60, flags=...) at kernel/qeventloop.cpp:149
#28 0x0000003373776d18 in QEventLoop::exec (this=0x7fff5ec99b60, flags=...) at kernel/qeventloop.cpp:204
#29 0x000000337377bb08 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#30 0x0000000000403469 in main ()

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:33:28 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 kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 21:53:31 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.