Bug 352408

Summary: KMail crashes wheh searching inbox.
Product: [Applications] kontact Reporter: Andrew Christianson <andrew.christianson>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: ab4bd, schindler
Priority: NOR Keywords: drkonqi, triaged
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrew Christianson 2015-09-07 22:56:50 UTC
Application: kontact (4.81 beta1)

Qt Version: 5.5.0
Operating System: Linux 4.1.6-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
Summary:
Using the inbox search feature in kmail causes it to crash.  I can enter text into the search box without error, but as soon as it tries to search (either forced by pressing enter, or after a ~1 second pause) kontact crashes.  This happens whether kmail is running standalone or within kontact.  This only happens searching for specific text.  The quick filter buttons work as expected.

Steps to reproduce:
1. Start KMail (with a GMail account configured, don't know if that's revalent, I don't have another active account to test it with.)
2. Enter anything into the search box.
3. Wait ~1 second, or hit enter.

Log Output:
log_kontactinterface: kontact not running -- start standalone application
log_kmail: 
log_kmail: Delaying instance creation.
log_kmail: Starting up...
"KMail Kernel ETM"
()
connectToServer "/tmp/akonadi-andrew.KdzcLI/akonadiserver.socket"
""
connectToServer "/tmp/akonadi-andrew.KdzcLI/akonadiserver.socket"
"/subscriber/kmail2_12322_bEX66w"
connectToServer "/tmp/akonadi-andrew.KdzcLI/akonadiserver.socket"
log_mailtransport: Have SMTP, Sendmail, and 0 Akonadi types.
log_mailtransport: "1860032263"
log_mailtransport: type 0
log_mailtransport: 
Pass a valid window to KWallet::Wallet::openWallet().
log_kmail: 
log_kmail: KMail init with akonadi server state: 2
log_mailcommon: Initialized and looking for specialcollection folders.
"/subscriber/kmail2_12322_oK1FDv"
connectToServer "/tmp/akonadi-andrew.KdzcLI/akonadiserver.socket"
log_kmail: 
log_kmail: 
"/subscriber/kmail2_12322_sq07gZ"
connectToServer "/tmp/akonadi-andrew.KdzcLI/akonadiserver.socket"
log_messagelist: Using model: Akonadi::EntityTreeModel
"/subscriber/kmail2_12322_oVHPqP"
connectToServer "/tmp/akonadi-andrew.KdzcLI/akonadiserver.socket"
"/subscriber/kmail2_12322_vwNh1e"
connectToServer "/tmp/akonadi-andrew.KdzcLI/akonadiserver.socket"
"/subscriber/kmail2_12322_O7ykZn"
connectToServer "/tmp/akonadi-andrew.KdzcLI/akonadiserver.socket"
"/subscriber/kmail2_12322_rCA6rW"
connectToServer "/tmp/akonadi-andrew.KdzcLI/akonadiserver.socket"
"/subscriber/kmail2_12322_0zVaFc"
connectToServer "/tmp/akonadi-andrew.KdzcLI/akonadiserver.socket"
this does not work on a KActionCollection containing actions!
log_messagelist: Resize event enter (viewport width is  236 )
log_messagelist: Resize event enter (viewport width is  185 )
log_messagelist: Resize event enter (viewport width is  185 )
done
org.kde.akonadi.ETM: GEN true false false
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: 
org.kde.akonadi.ETM: GEN true false true
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: GEN true false true
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: GEN true false true
org.kde.akonadi.ETM: collection: QVector()
"/subscriber/kmail2_12322_PYqS0C"
connectToServer "/tmp/akonadi-andrew.KdzcLI/akonadiserver.socket"
Connected to "Akonadi" , using protocol version 51
Server says: "Not Really IMAP server"
Connected to "Akonadi" , using protocol version 51
Server says: "Not Really IMAP server"
Connected to "Akonadi" , using protocol version 51
Server says: "Not Really IMAP server"
Connected to "Akonadi" , using protocol version 51
Server says: "Not Really IMAP server"
Connected to "Akonadi" , using protocol version 51
Server says: "Not Really IMAP server"
Connected to "Akonadi" , using protocol version 51
Server says: "Not Really IMAP server"
Connected to "Akonadi" , using protocol version 51
Server says: "Not Really IMAP server"
Connected to "Akonadi" , using protocol version 51
Server says: "Not Really IMAP server"
Connected to "Akonadi" , using protocol version 51
Server says: "Not Really IMAP server"
Connected to "Akonadi" , using protocol version 51
Server says: "Not Really IMAP server"
log_mailtransport: 
Connected to "Akonadi" , using protocol version 51
Server says: "Not Really IMAP server"
Read defaultResourceId "akonadi_maildir_resource_0" from config.
Found resource "akonadi_maildir_resource_0"
Fetched 7 collections.
log_messagelist: Resize event enter (viewport width is  185 )
log_messagelist: Resize event enter (viewport width is  185 )
Fetched root collection 4 and 7 local folders (total 7 collections).
resourceId "akonadi_maildir_resource_0"
All done! Comitting.
Emitting changed for "akonadi_maildir_resource_0"
Emitting defaultFoldersChanged.
org.kde.akonadi.ETM: Subtree:  15 QSet(37, 38, 39, 32, 33, 34, 35, 52, 53, 48, 49, 50, 51, 15, 28, 29, 30, 31, 24, 25, 26, 27, 20, 21, 22, 23, 16, 17, 18, 19, 44, 45, 46, 47, 40, 41, 42, 43, 36)
org.kde.akonadi.ETM: collection: "INBOX"
org.kde.akonadi.ETM: Subtree:  4 QSet(5, 6, 12, 13, 14, 11, 4)
org.kde.akonadi.ETM: Fetch job took  167 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 46
org.kde.akonadi.ETM: first fetched collection: "Local Folders"
log_messagelist: Using model: Akonadi::EntityTreeModel
log_kmail: A Resource started to synchronize, starting a mail check.
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: Fetch job took  238 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 9
org.kde.akonadi.ETM: first fetched collection: "Search"
org.kde.akonadi.ETM: Subtree:  1 QSet(1, 61, 62)
org.kde.akonadi.ETM: Subtree:  63 QSet(68, 63)
org.kde.akonadi.ETM: Subtree:  8 QSet(8)
org.kde.akonadi.ETM: Fetch job took  244 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 6
org.kde.akonadi.ETM: first fetched collection: "Search"
org.kde.akonadi.ETM: Subtree:  1 QSet(1, 61, 62)
org.kde.akonadi.ETM: Subtree:  2 QSet(2)
org.kde.akonadi.ETM: Subtree:  63 QSet(73, 74, 75, 69, 70, 71, 64, 63, 65, 66, 67, 76, 72)
org.kde.akonadi.ETM: Subtree:  8 QSet(8)
org.kde.akonadi.ETM: Fetch job took  248 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 18
org.kde.akonadi.ETM: first fetched collection: "Search"
org.kde.akonadi.ETM: Subtree:  10 QSet(10)
org.kde.akonadi.ETM: Fetch job took  248 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 1
org.kde.akonadi.ETM: first fetched collection: "Notes"
log_kmail: Last resource finished syncing, mail check done
 PLUGIN : identifier "application/octet-stream@QByteArray"
registering Desktop file "/usr/share/akonadi/plugins/serializer//akonadi_serializer_addressee.desktop" for ("text/vcard", "text/directory") @ ("legacy", "default", "KContacts::Addressee")
registering Desktop file "/usr/share/akonadi/plugins/serializer//akonadi_serializer_contactgroup.desktop" for ("application/x-vnd.kde.contactgroup") @ ("legacy", "default", "KContacts::ContactGroup")
registering Desktop file "/usr/share/akonadi/plugins/serializer//akonadi_serializer_kalarm.desktop" for ("application/x-vnd.kde.alarm", "application/x-vnd.kde.alarm.active", "application/x-vnd.kde.alarm.archived", "application/x-vnd.kde.alarm.template") @ ("default", "KAlarmCal::KAEvent")
registering Desktop file "/usr/share/akonadi/plugins/serializer//akonadi_serializer_kcalcore.desktop" for ("text/calendar", "application/x-vnd.akonadi.note", "application/x-vnd.kde.notes") @ ("default", "KCalCore::Incidence*")
registering Desktop file "/usr/share/akonadi/plugins/serializer//akonadi_serializer_mail.desktop" for ("message/rfc822", "message/news", "text/x-vnd.akonadi.note") @ ("legacy", "default", "KMime::Message*")
registering Desktop file "/usr/share/akonadi/plugins/serializer//akonadi_serializer_socialfeeditem.desktop" for ("text/x-vnd.akonadi.socialfeeditem") @ ("Akonadi::SocialFeedItem")
ItemSerializerPluginLoader:  found 33 plugins.

 PLUGIN : identifier "message/rfc822@legacy"
 PLUGIN : identifier "message/news@legacy"
 PLUGIN : identifier "application/x-vnd.kde.contactgroup@default"
 PLUGIN : identifier "text/vcard@KContacts::Addressee"
 PLUGIN : identifier "text/x-vnd.akonadi.note@legacy"
 PLUGIN : identifier "message/news@default"
 PLUGIN : identifier "text/x-vnd.akonadi.note@KMime::Message*"
 PLUGIN : identifier "text/vcard@legacy"
 PLUGIN : identifier "application/x-vnd.kde.alarm.archived@KAlarmCal::KAEvent"
 PLUGIN : identifier "application/x-vnd.akonadi.note@default"
 PLUGIN : identifier "message/rfc822@default"
 PLUGIN : identifier "text/directory@legacy"
 PLUGIN : identifier "text/vcard@default"
 PLUGIN : identifier "text/directory@KContacts::Addressee"
 PLUGIN : identifier "message/rfc822@KMime::Message*"
 PLUGIN : identifier "text/x-vnd.akonadi.note@default"
 PLUGIN : identifier "application/x-vnd.kde.alarm@default"
 PLUGIN : identifier "application/x-vnd.kde.contactgroup@KContacts::ContactGroup"
 PLUGIN : identifier "text/calendar@default"
 PLUGIN : identifier "application/x-vnd.akonadi.note@KCalCore::Incidence*"
 PLUGIN : identifier "text/x-vnd.akonadi.socialfeeditem@Akonadi::SocialFeedItem"
 PLUGIN : identifier "application/x-vnd.kde.alarm@KAlarmCal::KAEvent"
 PLUGIN : identifier "text/calendar@KCalCore::Incidence*"
 PLUGIN : identifier "text/directory@default"
 PLUGIN : identifier "application/x-vnd.kde.contactgroup@legacy"
 PLUGIN : identifier "application/x-vnd.kde.notes@KCalCore::Incidence*"
 PLUGIN : identifier "application/x-vnd.kde.alarm.active@KAlarmCal::KAEvent"
 PLUGIN : identifier "application/x-vnd.kde.alarm.archived@default"
 PLUGIN : identifier "application/x-vnd.kde.notes@default"
 PLUGIN : identifier "application/x-vnd.kde.alarm.template@KAlarmCal::KAEvent"
 PLUGIN : identifier "application/x-vnd.kde.alarm.template@default"
 PLUGIN : identifier "application/x-vnd.kde.alarm.active@default"
 PLUGIN : identifier "message/news@KMime::Message*"
"/subscriber/kmail2_12322_t70Z8c"
connectToServer "/tmp/akonadi-andrew.KdzcLI/akonadiserver.socket"
Connected to "Akonadi" , using protocol version 51
Server says: "Not Really IMAP server"
org.kde.akonadi.ETM: Fetch job took  2662 msec
org.kde.akonadi.ETM: was item fetch job: items: 0
org.kde.akonadi.ETM: Fetch job took  2672 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 0
log_messagelist: Resize event enter (viewport width is  185 )
log_messagelist: Resize event enter (viewport width is  322 )
log_messagelist: Resize event enter (viewport width is  542 )
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid
*** KMail got signal 6 (Exiting)
*** Dead letters dumped.

Log output after starting to enter characters in search box:
log_messagelist: Resize event enter (viewport width is  542 )
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid
*** KMail got signal 6 (Exiting)
*** Dead letters dumped.
KCrash: Application 'kmail' crashing...


Platform:
λ pacman -Qn | grep kontact
kontact 15.08.0-4
kontactinterface 15.08.0-1
λ pacman -Qn | grep kmail
kmail 15.08.0-4
kmailtransport 15.08.0-1
λ uname -a
Linux honnun 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST 2015 x86_64 GNU/Linux

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f72c1c08840 (LWP 7030))]

Thread 11 (Thread 0x7f72a09bc700 (LWP 7089)):
#0  0x00007f72be69118d in poll () from /usr/lib/libc.so.6
#1  0x00007f72b7726ae2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f72b7728757 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007f72a1ab2ca9 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f72befa7a9e in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f72b7e8c4a4 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f72be69a13d in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7f729a706700 (LWP 7143)):
#0  0x00007f72b7e9207f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f72bd36806b in ?? () from /usr/lib/libQt5WebKit.so.5
#2  0x00007f72bd3680a9 in ?? () from /usr/lib/libQt5WebKit.so.5
#3  0x00007f72b7e8c4a4 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f72be69a13d in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7f72576ea700 (LWP 7396)):
#0  0x00007f72be69118d in poll () from /usr/lib/libc.so.6
#1  0x00007f72b7003c7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f72b7003d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f72bf1df25b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f72bf18626a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f72befa2af4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f72befa7a9e in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f72b7e8c4a4 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f72be69a13d in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7f7254d44700 (LWP 7544)):
#0  0x00007f72b7e9207f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f72bd067294 in ?? () from /usr/lib/libQt5WebKit.so.5
#2  0x00007f72bd397ee1 in ?? () from /usr/lib/libQt5WebKit.so.5
#3  0x00007f72b7e8c4a4 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f72be69a13d in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7f724de79700 (LWP 7545)):
#0  0x00007f72b7e9207f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f72bd068303 in ?? () from /usr/lib/libQt5WebKit.so.5
#2  0x00007f72bd397ee1 in ?? () from /usr/lib/libQt5WebKit.so.5
#3  0x00007f72b7e8c4a4 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f72be69a13d in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7f724d678700 (LWP 7546)):
#0  0x00007f72b7e9207f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f72bd068303 in ?? () from /usr/lib/libQt5WebKit.so.5
#2  0x00007f72bd397ee1 in ?? () from /usr/lib/libQt5WebKit.so.5
#3  0x00007f72b7e8c4a4 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f72be69a13d in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7f724ce77700 (LWP 7547)):
#0  0x00007f72b7e9207f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f72bd068303 in ?? () from /usr/lib/libQt5WebKit.so.5
#2  0x00007f72bd397ee1 in ?? () from /usr/lib/libQt5WebKit.so.5
#3  0x00007f72b7e8c4a4 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f72be69a13d in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f7247fff700 (LWP 7548)):
#0  0x00007f72b7e9207f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f72bd068303 in ?? () from /usr/lib/libQt5WebKit.so.5
#2  0x00007f72bd397ee1 in ?? () from /usr/lib/libQt5WebKit.so.5
#3  0x00007f72b7e8c4a4 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f72be69a13d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f72477fe700 (LWP 7549)):
#0  0x00007f72b7e9207f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f72bd068303 in ?? () from /usr/lib/libQt5WebKit.so.5
#2  0x00007f72bd397ee1 in ?? () from /usr/lib/libQt5WebKit.so.5
#3  0x00007f72b7e8c4a4 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f72be69a13d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f7246ffd700 (LWP 7550)):
#0  0x00007f72b7e9207f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f72bd068303 in ?? () from /usr/lib/libQt5WebKit.so.5
#2  0x00007f72bd397ee1 in ?? () from /usr/lib/libQt5WebKit.so.5
#3  0x00007f72b7e8c4a4 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f72be69a13d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f72c1c08840 (LWP 7030)):
[KCrash Handler]
#5  0x00007f72be5e45f8 in raise () from /usr/lib/libc.so.6
#6  0x00007f72be5e5a7a in abort () from /usr/lib/libc.so.6
#7  0x00007f72bebfab3d in __gnu_cxx::__verbose_terminate_handler () at /build/gcc/src/gcc-5.2.0/libstdc++-v3/libsupc++/vterminate.cc:95
#8  0x00007f72bebf8996 in __cxxabiv1::__terminate (handler=<optimized out>) at /build/gcc/src/gcc-5.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:47
#9  0x00007f72bebf89e1 in std::terminate () at /build/gcc/src/gcc-5.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:57
#10 0x00007f72bebf8bf8 in __cxxabiv1::__cxa_throw (obj=obj@entry=0x7538790, tinfo=0x7f72beedfa78 <typeinfo for std::logic_error>, dest=0x7f72bec0e040 <std::logic_error::~logic_error()>) at /build/gcc/src/gcc-5.2.0/libstdc++-v3/libsupc++/eh_throw.cc:87
#11 0x00007f72bec2191f in std::__throw_logic_error (__s=__s@entry=0x7f72beca7120 "basic_string::_S_construct null not valid") at /build/gcc/src/gcc-5.2.0/libstdc++-v3/src/c++11/functexcept.cc:74
#12 0x00007f72bec3bd0f in std::string::_S_construct<char const*> (__beg=<optimized out>, __end=<optimized out>, __a=...) at /build/gcc/src/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:577
#13 0x00007f72bec3c106 in std::string::_S_construct_aux<char const*> (__a=..., __end=<optimized out>, __beg=0x0) at /build/gcc/src/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.h:4139
#14 std::string::_S_construct<char const*> (__a=..., __end=<optimized out>, __beg=0x0) at /build/gcc/src/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.h:4160
#15 std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string (this=0x7ffe69feca90, __s=0x0, __a=...) at /build/gcc/src/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:659
#16 0x00007f72b4912e4d in Akonadi::Search::PIM::EmailQuery::exec() () from /usr/lib/libKF5AkonadiSearchPIM.so.5
#17 0x00007f722a9e8839 in ?? () from /usr/lib/libmessagelist.so.5
#18 0x00007f722aa380e2 in MessageList::Core::Widget::searchTimerFired() () from /usr/lib/libmessagelist.so.5
#19 0x00007f72bf1b6fea in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#20 0x00007f72bf1c3f38 in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/libQt5Core.so.5
#21 0x00007f72bf1b7e63 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#22 0x00007f72bfec200c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#23 0x00007f72bfec74e6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#24 0x00007f72bf18889b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#25 0x00007f72bf1de05d in QTimerInfoList::activateTimers() () from /usr/lib/libQt5Core.so.5
#26 0x00007f72bf1de561 in ?? () from /usr/lib/libQt5Core.so.5
#27 0x00007f72b70039fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007f72b7003ce0 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007f72b7003d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007f72bf1df25b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#31 0x00007f72bf18626a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#32 0x00007f72bf18e20c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#33 0x00000000004048a9 in main ()

Possible duplicates by query: bug 352280, bug 351515, bug 351097, bug 347595, bug 339739.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 20:22:56 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the opportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 2 Wolfgang Schindler 2018-01-29 09:38:37 UTC
Same here with kmail2 5.7.1 / kontact 5.7.1
<code>
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid
Received signal 6
#0 0x7f33ceb5fcb7 <unknown>
#1 0x7f33cd90c49e <unknown>
#2 0x7f33ceb6004d <unknown>
#3 0x7f33dd4db940 <unknown>
#4 0x7f33dd4db8c7 __GI_raise
#5 0x7f33dd4dcc9a __GI_abort
#6 0x7f33ddaf82e5 __gnu_cxx::__verbose_terminate_handler()
#7 0x7f33ddaf60d6 <unknown>
#8 0x7f33ddaf6121 std::terminate()
#9 0x7f33ddaf6363 __cxa_throw
#10 0x7f33ddb1eb6f std::__throw_logic_error()
#11 0x7f33ddb38c69 std::string::_S_construct<>()
#12 0x7f33ddb3900c std::string::string()
#13 0x7f333e493e31 <unknown>
#14 0x7f333cc97586 <unknown>
#15 0x7f333cce366f <unknown>
#16 0x7f33de087a83 QMetaObject::activate()
#17 0x7f33de094ad7 QTimer::timeout()
#18 0x7f33de094db2 QTimer::timerEvent()
#19 0x7f33de088af4 QObject::event()
#20 0x7f33ded6a71c QApplicationPrivate::notify_helper()
#21 0x7f33ded71500 QApplication::notify()
#22 0x7f33de05d115 QCoreApplication::notifyInternal2()
#23 0x7f33de0af41e QTimerInfoList::activateTimers()
#24 0x7f33de0afa61 <unknown>
#25 0x7f33d740d134 g_main_context_dispatch
#26 0x7f33d740d388 <unknown>
#27 0x7f33d740d42c g_main_context_iteration
#28 0x7f33de0afd8c QEventDispatcherGlib::processEvents()
#29 0x7f33badc4c91 <unknown>
#30 0x7f33de05b83b QEventLoop::exec()
#31 0x7f33de063ef4 QCoreApplication::exec()
#32 0x000000404718 <unknown>
#33 0x7f33dd4c76d5 __libc_start_main
#34 0x000000404c99 _start
  r8: 000000000000000a  r9: 00007f33e0b22780 r10: 0000000000000008 r11: 0000000000000202
 r12: 00000000073c3c90 r13: 00007fff7ff6e810 r14: 00007fff7ff6e7f0 r15: 00007fff7ff6e830
  di: 000000000000173b  si: 000000000000173b  bp: 00007f33dd8436d8  bx: 0000000008499f38
  dx: 0000000000000006  ax: 0000000000000000  cx: 00007f33dd4db8c7  sp: 00007fff7ff6df98
  ip: 00007f33dd4db8c7 efl: 0000000000000202 cgf: 0000000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
</code>
Comment 3 Wolfgang Schindler 2018-01-29 10:00:29 UTC
Forgot: Opensuse 42.3
Comment 4 Andrew Crouthamel 2018-09-28 03:24:46 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-10-29 02:19:58 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!