Page MenuHomePhorge

Crash in calendarsearch
Closed, WontfixPublic

Description

Crashes somewhere in the ldap code while searching. I wasn't able to get a proper backtrace so far.

korganizer(544) Baloo::PIM::CollectionQuery::exec: searching by name "Cal"
korganizer(544) Baloo::PIM::CollectionQuery::exec: searching by namespace ("usertoplevel")
korganizer(544) Baloo::PIM::CollectionQuery::exec: Found 0
korganizer(544)/libkdepim PersonSearchJob::start: Found persons 0
korganizer(544)/kdepimlibs (kldap) KLDAP::LdapUrl::updateQuery: LDAP URL updateQuery(): "ldap://kolab:389dc=example,dc=org??base"
korganizer(544)/kdepimlibs (kldap) KLDAP::LdapUrl::updateQuery: LDAP URL updateQuery(): "ldap://kolab:389dc=example,dc=org??base"
korganizer(544)/kdepimlibs (kldap) KLDAP::LdapUrl::updateQuery: LDAP URL updateQuery(): "ldap://uid%3Ddoe%2Cou%3DPeople%2Cdc%3Dexample%2Cdc%3Dorg@kolab:389dc=example,dc=org?cn,mail,givenname,sn,uniqueMember,objectClass?base"
korganizer(544)/kdepimlibs (kldap) KLDAP::LdapUrl::updateQuery: LDAP URL updateQuery(): "ldap://uid%3Ddoe%2Cou%3DPeople%2Cdc%3Dexample%2Cdc%3Dorg@kolab:389dc=example,dc=org?cn,mail,givenname,sn,uniqueMember,objectClass?sub"
korganizer(544)/kdepimlibs (kldap) KLDAP::LdapUrl::updateQuery: LDAP URL updateQuery(): "ldap://uid%3Ddoe%2Cou%3DPeople%2Cdc%3Dexample%2Cdc%3Dorg@kolab:389dc=example,dc=org?cn,mail,givenname,sn,uniqueMember,objectClass?sub?%28%26%28%7C%28objectclass%3Dperson%29%28objectclass%3DgroupOfNames%29%28mail%3D%2A%29%29%28%7C%28cn%3D%2ACal%2A%29%28mail%3D%2ACal%2A%29%28givenName%3D%2ACal%2A%29%28sn%3D%2ACal%2A%29%29%29"
korganizer(544)/libkdepim KLDAP::LdapClient::startQuery: LdapClient: Doing query: "ldap://uid%3Ddoe%2Cou%3DPeople%2Cdc%3Dexample%2Cdc%3Dorg@kolab:389dc=example,dc=org?cn,mail,givenname,sn,uniqueMember,objectClass?sub?%28%26%28%7C%28objectclass%3Dperson%29%28objectclass%3DgroupOfNames%29%28mail%3D%2A%29%29%28%7C%28cn%3D%2ACal%2A%29%28mail%3D%2ACal%2A%29%28givenName%3D%2ACal%2A%29%28sn%3D%2ACal%2A%29%29%29"
korganizer(544)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x51c3c50)
korganizer(544)/libkdepim KLDAP::LdapClientSearch::startSearch: LdapClientSearch::startSearch() "&(|(objectclass=person)(objectclass=groupOfNames)(mail=*))(|(cn=*Cal*)(mail=*Cal*)(givenName=*Cal*)(sn=*Cal*))"
Executing collection search
korganizer(544) Baloo::PIM::CollectionQuery::exec: searching by path "Cal"
korganizer(544) Baloo::PIM::CollectionQuery::exec: searching by namespace ("shared", "")
korganizer(544) Baloo::PIM::CollectionQuery::exec: mimetype ("text/calendar", "application/x-vnd.akonadi.calendar.event", "application/x-vnd.akonadi.calendar.todo")
korganizer(544) Baloo::PIM::CollectionQuery::exec: Found 3
korganizer(544)/libkdepim CollectionSearchJob::start: Found collections 3
korganizer(544)/kdepimlibs (kldap) KLDAP::LdapOperation::waitForResult: ( 2 , 10 ): Waiting 10 msecs for result. Attempt # 1

Program received signal SIGSEGV, Segmentation fault.
0x00007efc4effae0a in chkResponseList () from /lib64/libldap-2.4.so.2
Missing separate debuginfos, use: debuginfo-install cyrus-sasl-plain-2.1.26-19.fc21.x86_64 libdb-5.3.28-9.fc21.x86_64
(gdb)
Continuing.
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = korganizer path = /opt/kde/bin pid = 544
KCrash: Arguments: /opt/kde/bin/korganizer --nocrashhandler
KCrash: Attempting to start from kdeinit
KCrash: Connect sock_file=/home/developer/.kde4src/socket-7bd4cd111460/kdeinit4__0
KCrash: Attempting to start directly
Detaching after fork from child process 558.
KCrash failed to exec(), errno = 2
[Inferior 1 (process 544) exited with code 0375]

Details

Ticket Type
Task

Event Timeline

mollekopf raised the priority of this task from to 60.
mollekopf updated the task description. (Show Details)
mollekopf added a project: KDE PIM.
mollekopf changed Ticket Type from Task to Task.
mollekopf subscribed.

Disabling KCrash with export KDE_DEBUG=1 helped.

korganizer(560) Baloo::PIM::CollectionQuery::exec: searching by path "cal"
korganizer(560) Baloo::PIM::CollectionQuery::exec: searching by namespace ("shared", "")
korganizer(560) Baloo::PIM::CollectionQuery::exec: mimetype ("text/calendar", "application/x-vnd.akonadi.calendar.event", "application/x-vnd.akonadi.calendar.todo")
korganizer(560) Baloo::PIM::CollectionQuery::exec: Found 3
korganizer(560)/libkdepim CollectionSearchJob::start: Found collections 3
korganizer(560)/kdepimlibs (kldap) KLDAP::LdapOperation::waitForResult: ( 1 , 10 ): Waiting 10 msecs for result. Attempt # 1

Program received signal SIGBUS, Bus error.
0x00007f18cc78ce0a in chkResponseList () from /lib64/libldap-2.4.so.2
Missing separate debuginfos, use: debuginfo-install cyrus-sasl-plain-2.1.26-19.fc21.x86_64 libdb-5.3.28-9.fc21.x86_64
(gdb) thread apply all bt

Thread 1 (Thread 0x7f18da1d8900 (LWP 560)):
#0 0x00007f18cc78ce0a in chkResponseList () from /lib64/libldap-2.4.so.2
#1 0x00007f18cc78d170 in ldap_result () from /lib64/libldap-2.4.so.2
#2 0x00007f18d745c067 in KLDAP::LdapOperation::waitForResult (this=this@entry=0x5648160, id=1, msecs=msecs@entry=10) at /work/source/kdepimlibs/kldap/ldapoperation.cpp:1188
#3 0x00007f18d745d75f in KLDAP::LdapSearch::Private::result (this=0x5648150) at /work/source/kdepimlibs/kldap/ldapsearch.cpp:72
#4 0x00007f18d43d0491 in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#5 0x00007f18d3271efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#6 0x00007f18d3278958 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#7 0x00007f18d9bb4c31 in KApplication::notify (this=0x7ffc7778ced0, receiver=0x562b990, event=0x56485e0) at /work/source/kdelibs/kdeui/kernel/kapplication.cpp:311
#8 0x00007f18d43b722d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#9 0x00007f18d43ba4f1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#10 0x00007f18d43e63ee in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#11 0x00007f18c97ba7fb in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#12 0x00007f18c97bab98 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#13 0x00007f18c97bac4c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#14 0x00007f18d43e655e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#15 0x00007f18d3315176 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#16 0x00007f18d43b5d81 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#17 0x00007f18d43b60e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#18 0x00007f18d43bb7c9 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#19 0x00000000004076e0 in main (argc=<optimized out>, argv=<optimized out>) at /work/source/kdepim/korganizer/main.cpp:60

vanmeeuwen lowered the priority of this task from 60 to Normal.Mar 28 2019, 8:13 AM
machniak claimed this task.
machniak subscribed.

Kolab support for KDE PIM is discontinued. Create a ticket on https://bugs.kde.org