Bug 447880

Summary: korganizer crashed when trying to add a new event.
Product: [Applications] korganizer Reporter: terucco
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: crash CC: tcberner
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: FreeBSD   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description terucco 2022-01-03 13:53:55 UTC
Application: korganizer (5.19.0 (21.12.0))
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.89.0
Operating System: FreeBSD 13.0-RELEASE-p4 amd64
Windowing System: X11
Distribution (Platform): FreeBSD Ports
DrKonqi: 5.23.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
When I right-clicked on the calendar and selected New Event to add a new event to korganizer, it crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault

(lldb) process attach --pid 5561
Process 5561 stopped

Executable module set to "/usr/local/bin/korganizer".
Architecture set to: x86_64--freebsd13.0.
(lldb) settings set term-width 200
(lldb) thread info
thread #1: tid = 100690, 0x00000008036867c8 libc.so.7`__sys_wait4 + 8, name = 'korganizer'

(lldb) bt all
* thread #1, name = 'korganizer'
  * frame #0: 0x00000008036867c8 libc.so.7`__sys_wait4 + 8
    frame #1: 0x00000008044e63bc libthr.so.3`___lldb_unnamed_symbol165$$libthr.so.3 + 60
    frame #2: 0x000000080182e72b libKF5Crash.so.5`___lldb_unnamed_symbol8$$libKF5Crash.so.5 + 315
    frame #3: 0x000000080182dfdd libKF5Crash.so.5`KCrash::defaultCrashHandler(int) + 1501
    frame #4: 0x00000008044e3e00 libthr.so.3`___lldb_unnamed_symbol124$$libthr.so.3 + 208
    frame #5: 0x00000008044e33cf libthr.so.3`___lldb_unnamed_symbol105$$libthr.so.3 + 319
    frame #6: 0x00007ffffffff003
    frame #7: 0x0000000803b6a785 libKF5Ldap.so.5`QPointer<KJob>::data(this=0x0000000000000020) const at qpointer.h:77:33
    frame #8: 0x0000000803b6a7a5 libKF5Ldap.so.5`QPointer<KJob>::operator KJob*(this=0x0000000000000020) const at qpointer.h:83:14
    frame #9: 0x0000000803b686b4 libKF5Ldap.so.5`KLDAP::LdapClient::cancelQuery(this=0x00007fffffffc468) at ldapclient.cpp:136:9
    frame #10: 0x0000000803b6ab9c libKF5Ldap.so.5`KLDAP::LdapClient::LdapClientPrivate::~LdapClientPrivate(this=0x000000081149ca90) at ldapclient.cpp:34:12
    frame #11: 0x0000000803b6ab4b libKF5Ldap.so.5`std::__1::default_delete<KLDAP::LdapClient::LdapClientPrivate>::operator(this=0x00007fffffffc478, __ptr=0x000000081149ca90)(KLDAP::LdapClient::LdapClientPrivate*) const at memory:2262:5
    frame #12: 0x0000000803b6aacf libKF5Ldap.so.5`std::__1::unique_ptr<KLDAP::LdapClient::LdapClientPrivate, std::__1::default_delete<KLDAP::LdapClient::LdapClientPrivate> >::reset(this=0x00007fffffffc478, __p=0x0000000000000000) at memory:2517:7
    frame #13: 0x0000000803b6a439 libKF5Ldap.so.5`std::__1::unique_ptr<KLDAP::LdapClient::LdapClientPrivate, std::__1::default_delete<KLDAP::LdapClient::LdapClientPrivate> >::~unique_ptr(this=0x00007fffffffc478) at memory:2471:19
    frame #14: 0x0000000803b67db5 libKF5Ldap.so.5`KLDAP::LdapClient::~LdapClient(this=0x00007fffffffc468) at ldapclient.cpp:69:25
    frame #15: 0x0000000803abf8e1 libKF5IncidenceEditor.so.5`IncidenceEditorNG::ResourceModel::ResourceModel(this=0x00000008114a2d00, headers=0x00007fffffffc7d0, parent=0x00000008114385c0) at resourcemodel.cpp:19:5
    frame #16: 0x0000000803ab4c49 libKF5IncidenceEditor.so.5`IncidenceEditorNG::ResourceManagement::ResourceManagement(this=0x00000008114385c0, parent=0x0000000000000000) at resourcemanagement.cpp:132:30
    frame #17: 0x0000000803a8ae3e libKF5IncidenceEditor.so.5`IncidenceEditorNG::IncidenceResource::IncidenceResource(this=0x00000008114a5320, ieAttendee=0x0000000811437580, dateTime=0x000000081122ab40, ui=0x000000080dee2a00) at incidenceresource.cpp:47:26
    frame #18: 0x0000000803acb475 libKF5IncidenceEditor.so.5`IncidenceEditorNG::IncidenceDialogPrivate::IncidenceDialogPrivate(this=0x000000080ddb8d30, changer=0x000000080a659d60, qq=0x000000080def0040) at incidencedialog.cpp:161:23
    frame #19: 0x0000000803ad1295 libKF5IncidenceEditor.so.5`IncidenceEditorNG::IncidenceDialog::IncidenceDialog(this=0x000000080def0040, changer=0x000000080a659d60, parent=0x0000000807653480, flags=(i = 0)) at incidencedialog.cpp:639:17
    frame #20: 0x0000000803ac9e20 libKF5IncidenceEditor.so.5`IncidenceEditorNG::IncidenceDialogFactory::create(needsSaving=false, type=TypeEvent, changer=0x000000080a659d60, parent=0x0000000807653480, flags=(i = 0)) at incidencedialogfactory.cpp:30:27
    frame #21: 0x00000008003d8f98 libkorganizerprivate.so.5`KODialogManager::createDialog(this=0x000000080a6275d0, item=0x00007fffffffd3c0) at kodialogmanager.cpp:141:50
    frame #22: 0x0000000800398a7d libkorganizerprivate.so.5`CalendarView::incidenceDialog(this=0x0000000807653480, item=0x00007fffffffd3c0) at calendarview.cpp:892:66
    frame #23: 0x0000000800398e88 libkorganizerprivate.so.5`CalendarView::newEventEditor(this=0x0000000807653480, event=0x00007fffffffd488) at calendarview.cpp:901:50
    frame #24: 0x00000008003991ad libkorganizerprivate.so.5`CalendarView::newEvent(this=0x0000000807653480, startDtParam=0x00007fffffffd510, endDtParam=0x00007fffffffd508, allDay=false) at calendarview.cpp:950:55
    frame #25: 0x0000000800398fe5 libkorganizerprivate.so.5`CalendarView::newEvent(this=0x0000000807653480) at calendarview.cpp:912:5
    frame #26: 0x000000080035049c libkorganizerprivate.so.5`ActionManager::slotNewEvent(this=0x000000080b427480) at actionmanager.cpp:742:20
    frame #27: 0x00000008003612d2 libkorganizerprivate.so.5`QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (ActionManager::*)()>::call(f=80 04 35 00 08 00 00 00 00 00 00 00 00 00 00 00, o=0x000000080b427480, arg=0x00007fffffffd760)(), ActionManager*, void**) at qobjectdefs_impl.h:152:13
    frame #28: 0x0000000800361238 libkorganizerprivate.so.5`void QtPrivate::FunctionPointer<void (ActionManager::*)()>::call<QtPrivate::List<>, void>(f=80 04 35 00 08 00 00 00 00 00 00 00 00 00 00 00, o=0x000000080b427480, arg=0x00007fffffffd760)(), ActionManager*, void**) at qobjectdefs_impl.h:185:13
    frame #29: 0x0000000800361165 libkorganizerprivate.so.5`QtPrivate::QSlotObject<void (ActionManager::*)(), QtPrivate::List<>, void>::impl(which=1, this_=0x000000080b4a26a0, r=0x000000080b427480, a=0x00007fffffffd760, ret=0x0000000000000000) at qobjectdefs_impl.h:418:17
    frame #30: 0x000000080347613f libQt5Core.so.5`___lldb_unnamed_symbol2442$$libQt5Core.so.5 + 1151
    frame #31: 0x0000000802492dfa libQt5Widgets.so.5`QAction::activate(QAction::ActionEvent) + 314
    frame #32: 0x00000008026155dd libQt5Widgets.so.5`___lldb_unnamed_symbol1982$$libQt5Widgets.so.5 + 77
    frame #33: 0x0000000802612b0b libQt5Widgets.so.5`___lldb_unnamed_symbol1958$$libQt5Widgets.so.5 + 555
    frame #34: 0x0000000802619ec0 libQt5Widgets.so.5`QMenu::mouseReleaseEvent(QMouseEvent*) + 704
    frame #35: 0x00000008024d550e libQt5Widgets.so.5`QWidget::event(QEvent*) + 446
    frame #36: 0x000000080261a51c libQt5Widgets.so.5`QMenu::event(QEvent*) + 1116
    frame #37: 0x000000080249bda9 libQt5Widgets.so.5`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 265
    frame #38: 0x000000080249ec44 libQt5Widgets.so.5`QApplication::notify(QObject*, QEvent*) + 7076
    frame #39: 0x000000080343f090 libQt5Core.so.5`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 176
    frame #40: 0x000000080249c77c libQt5Widgets.so.5`QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) + 956
    frame #41: 0x00000008024f4461 libQt5Widgets.so.5`___lldb_unnamed_symbol404$$libQt5Widgets.so.5 + 3889
    frame #42: 0x00000008024f2bb0 libQt5Widgets.so.5`___lldb_unnamed_symbol399$$libQt5Widgets.so.5 + 272
    frame #43: 0x000000080249bda9 libQt5Widgets.so.5`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 265
    frame #44: 0x000000080249d2b3 libQt5Widgets.so.5`QApplication::notify(QObject*, QEvent*) + 531
    frame #45: 0x000000080343f090 libQt5Core.so.5`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 176
    frame #46: 0x0000000802ab6147 libQt5Gui.so.5`QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 3815
    frame #47: 0x0000000802a9a1ac libQt5Gui.so.5`QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 220
    frame #48: 0x0000000807d3edbf libQt5XcbQpa.so.5`___lldb_unnamed_symbol351$$libQt5XcbQpa.so.5 + 31
    frame #49: 0x000000080594264e libglib-2.0.so.0`g_main_context_dispatch + 366
    frame #50: 0x00000008059429f4 libglib-2.0.so.0`___lldb_unnamed_symbol128$$libglib-2.0.so.0 + 548
    frame #51: 0x0000000805942ab6 libglib-2.0.so.0`g_main_context_iteration + 102
    frame #52: 0x00000008034974e0 libQt5Core.so.5`QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 96
    frame #53: 0x000000080343b617 libQt5Core.so.5`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 567
    frame #54: 0x000000080343f72e libQt5Core.so.5`QCoreApplication::exec() + 142
    frame #55: 0x000000000020f553 korganizer`main(argc=1, argv=0x00007fffffffe6c8) at main.cpp:63:12
    frame #56: 0x000000000020eae0 korganizer`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1_c.c:75:7
  thread #2, name = 'korganizer'
    frame #0: 0x00000008036865ea libc.so.7`__sys_read + 10
    frame #1: 0x00000008044e6036 libthr.so.3`___lldb_unnamed_symbol156$$libthr.so.3 + 54
    frame #2: 0x00000008059935bf libglib-2.0.so.0`___lldb_unnamed_symbol349$$libglib-2.0.so.0 + 63
    frame #3: 0x0000000805942194 libglib-2.0.so.0`g_main_context_check + 164
    frame #4: 0x00000008059429dc libglib-2.0.so.0`___lldb_unnamed_symbol128$$libglib-2.0.so.0 + 524
    frame #5: 0x0000000805942ab6 libglib-2.0.so.0`g_main_context_iteration + 102
    frame #6: 0x00000008034974fb libQt5Core.so.5`QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 123
    frame #7: 0x000000080343b617 libQt5Core.so.5`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 567
    frame #8: 0x0000000803270c00 libQt5Core.so.5`QThread::exec() + 160
    frame #9: 0x0000000802067753 libQt5DBus.so.5`___lldb_unnamed_symbol12$$libQt5DBus.so.5 + 19
    frame #10: 0x0000000803271cd1 libQt5Core.so.5`___lldb_unnamed_symbol216$$libQt5Core.so.5 + 241
    frame #11: 0x00000008044da82b libthr.so.3`___lldb_unnamed_symbol11$$libthr.so.3 + 331
  thread #3, name = 'korganizer'
    frame #0: 0x000000080368656a libc.so.7`__sys_poll + 10
    frame #1: 0x00000008044e5f56 libthr.so.3`___lldb_unnamed_symbol154$$libthr.so.3 + 54
    frame #2: 0x0000000805942991 libglib-2.0.so.0`___lldb_unnamed_symbol128$$libglib-2.0.so.0 + 449
    frame #3: 0x0000000805942ab6 libglib-2.0.so.0`g_main_context_iteration + 102
    frame #4: 0x00000008034974fb libQt5Core.so.5`QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 123
    frame #5: 0x000000080343b617 libQt5Core.so.5`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 567
    frame #6: 0x0000000803270c00 libQt5Core.so.5`QThread::exec() + 160
    frame #7: 0x0000000803271cd1 libQt5Core.so.5`___lldb_unnamed_symbol216$$libQt5Core.so.5 + 241
    frame #8: 0x00000008044da82b libthr.so.3`___lldb_unnamed_symbol11$$libthr.so.3 + 331
  thread #4, name = 'korganizer'
    frame #0: 0x000000080368656a libc.so.7`__sys_poll + 10
    frame #1: 0x00000008044e5f56 libthr.so.3`___lldb_unnamed_symbol154$$libthr.so.3 + 54
    frame #2: 0x0000000805942991 libglib-2.0.so.0`___lldb_unnamed_symbol128$$libglib-2.0.so.0 + 449
    frame #3: 0x0000000805942ab6 libglib-2.0.so.0`g_main_context_iteration + 102
    frame #4: 0x00000008034974fb libQt5Core.so.5`QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 123
    frame #5: 0x000000080343b617 libQt5Core.so.5`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 567
    frame #6: 0x0000000803270c00 libQt5Core.so.5`QThread::exec() + 160
    frame #7: 0x0000000803271cd1 libQt5Core.so.5`___lldb_unnamed_symbol216$$libQt5Core.so.5 + 241
    frame #8: 0x00000008044da82b libthr.so.3`___lldb_unnamed_symbol11$$libthr.so.3 + 331
  thread #5, name = 'korganizer'
    frame #0: 0x00000008036865ea libc.so.7`__sys_read + 10
    frame #1: 0x0000000803669db0 libc.so.7`___lldb_unnamed_symbol767$$libc.so.7 + 16
    frame #2: 0x0000000803669050 libc.so.7`___lldb_unnamed_symbol761$$libc.so.7 + 320
    frame #3: 0x000000080366447e libc.so.7`getdelim + 478
    frame #4: 0x000000080d7983af libspeechd.so.2`___lldb_unnamed_symbol4$$libspeechd.so.2 + 95
    frame #5: 0x000000080d7949a2 libspeechd.so.2`___lldb_unnamed_symbol1$$libspeechd.so.2 + 546
    frame #6: 0x00000008044da82b libthr.so.3`___lldb_unnamed_symbol11$$libthr.so.3 + 331

Possible duplicates by query: bug 447534, bug 447035, bug 446850, bug 446770, bug 446692.

Reported using DrKonqi
Comment 1 Tobias C. Berner 2022-01-21 07:49:25 UTC
Moin moin 

I can reproduce this on my machine.


mfg Tobias