Bug 257278 - KOrganizer crashes during startup [replaceArgEscapes, QString::arg, KLocalizedString::subs, KCal::IncidenceFormatter::recurrenceString]
Summary: KOrganizer crashes during startup [replaceArgEscapes, QString::arg, KLocalize...
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: reminder daemon (korgac) (show other bugs)
Version: 0.9
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 257494 257618 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-18 22:04 UTC by malcores
Modified: 2011-07-06 23:53 UTC (History)
2 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 malcores 2010-11-18 22:04:08 UTC
Application: korgac (0.9)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.6-48.fc14.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
simply starting the application
the issue consists even by restarting the hole kontact

The crash can be reproduced every time.

-- Backtrace:
Application: KOrganizer-Erinnerungsmodul (korgac), signal: Segmentation fault
[KCrash Handler]
#6  replaceArgEscapes (s=<value optimized out>, d=..., field_width=0, arg=..., larg=..., fillChar=...) at tools/qstring.cpp:6328
#7  0x0000003f53eb7bad in QString::arg (this=0x7ffff2ac9020, a=..., fieldWidth=0, fillChar=...) at tools/qstring.cpp:6448
#8  0x0000003f561d551e in KLocalizedString::subs (this=<value optimized out>, a=..., fieldWidth=0, fillChar=<value optimized out>) at /usr/src/debug/kdelibs-4.5.3/kdecore/localization/klocalizedstring.cpp:909
#9  0x0000003f33a98b05 in i18ncp<int, QString, QString> (ctxt=<value optimized out>, sing=<value optimized out>, plur=<value optimized out>, a2=..., a3=..., a1=<value optimized out>) at /usr/include/kde4/klocalizedstring.h:1156
#10 0x0000003f33aa7de4 in KCal::IncidenceFormatter::recurrenceString (incidence=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.3/kcal/incidenceformatter.cpp:3579
#11 0x0000003f33ab4033 in KCal::IncidenceFormatter::ToolTipVisitor::generateToolTip (this=<value optimized out>, incidence=0xd65be0, dtRangeText=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.3/kcal/incidenceformatter.cpp:3135
#12 0x0000003f33ab48a6 in KCal::IncidenceFormatter::ToolTipVisitor::visit (this=0x7ffff2aca780, event=0xd65be0) at /usr/src/debug/kdepimlibs-4.5.3/kcal/incidenceformatter.cpp:2956
#13 0x0000003f33a9bfe3 in act (calendar=<value optimized out>, incidence=0xd65be0, date=<value optimized out>, richText=true, spec=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.3/kcal/incidenceformatter.cpp:2786
#14 KCal::IncidenceFormatter::toolTipStr (calendar=<value optimized out>, incidence=0xd65be0, date=<value optimized out>, richText=true, spec=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.3/kcal/incidenceformatter.cpp:3199
#15 0x000000000040d168 in AlarmDialog::addIncidence (this=0xd44b10, incidence=0xd65be0, reminderAt=..., displayText=<value optimized out>) at /usr/src/debug/kdepim-4.4.7/korganizer/korgac/alarmdialog.cpp:316
#16 0x0000000000414375 in KOAlarmClient::createReminder (this=0xc4aff0, calendar=<value optimized out>, incidence=0xd65be0, dt=..., displayText=...) at /usr/src/debug/kdepim-4.4.7/korganizer/korgac/koalarmclient.cpp:152
#17 0x0000000000414c62 in KOAlarmClient::checkAlarms (this=<value optimized out>) at /usr/src/debug/kdepim-4.4.7/korganizer/korgac/koalarmclient.cpp:126
#18 0x0000000000415a91 in KOAlarmClient::KOAlarmClient (this=0xc4aff0, parent=<value optimized out>) at /usr/src/debug/kdepim-4.4.7/korganizer/korgac/koalarmclient.cpp:95
#19 0x000000000040c277 in ReminderDaemonApp::newInstance (this=0x7ffff2acc3f0) at /usr/src/debug/kdepim-4.4.7/korganizer/korgac/korgacmain.cpp:47
#20 0x0000003f2f826506 in KUniqueApplicationAdaptor::newInstance (this=0xc4a5c0, asn_id=<value optimized out>, args=...) at /usr/src/debug/kdelibs-4.5.3/kdeui/kernel/kuniqueapplication.cpp:440
#21 0x0000003f2f826582 in KUniqueApplicationAdaptor::qt_metacall (this=0xc4a5c0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffff2acb5d0) at /usr/src/debug/kdelibs-4.5.3/x86_64-redhat-linux-gnu/kdeui/kuniqueapplication_p.moc:81
#22 0x0000003f55020358 in QDBusConnectionPrivate::deliverCall (this=0xb330b0, object=0xc4a5c0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:919
#23 0x0000003f550210ae in QDBusConnectionPrivate::activateCall (this=0xb330b0, object=0xc4a5c0, flags=337, msg=...) at qdbusintegrator.cpp:822
#24 0x0000003f550218ce in QDBusConnectionPrivate::activateObject (this=0xb330b0, node=..., msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1379
#25 0x0000003f55021b08 in QDBusActivateObjectEvent::placeMetaCall (this=0xc35230) at qdbusintegrator.cpp:1493
#26 0x0000003f53f6fb2a in QObject::event (this=0x7ffff2acc3f0, e=<value optimized out>) at kernel/qobject.cpp:1211
#27 0x0000003f2e1b7136 in QApplication::event (this=0x7ffff2acc3f0, e=0xc35230) at kernel/qapplication.cpp:2439
#28 0x0000003f2e1b4b64 in QApplicationPrivate::notify_helper (this=0xb40130, receiver=0x7ffff2acc3f0, e=0xc35230) at kernel/qapplication.cpp:4396
#29 0x0000003f2e1b95da in QApplication::notify (this=<value optimized out>, receiver=0x7ffff2acc3f0, e=0xc35230) at kernel/qapplication.cpp:4277
#30 0x0000003f2f820446 in KApplication::notify (this=0x7ffff2acc3f0, receiver=0x7ffff2acc3f0, event=0xc35230) at /usr/src/debug/kdelibs-4.5.3/kdeui/kernel/kapplication.cpp:310
#31 0x0000003f53f5b7ac in QCoreApplication::notifyInternal (this=0x7ffff2acc3f0, receiver=0x7ffff2acc3f0, event=0xc35230) at kernel/qcoreapplication.cpp:732
#32 0x0000003f53f5ef55 in sendEvent (receiver=0x0, event_type=0, data=0xb18370) at kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xb18370) at kernel/qcoreapplication.cpp:1373
#34 0x0000003f53f86713 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#36 0x0000003f4ba41e33 in g_main_dispatch (context=0xb42920) at gmain.c:2149
#37 g_main_context_dispatch (context=0xb42920) at gmain.c:2702
#38 0x0000003f4ba42610 in g_main_context_iterate (context=0xb42920, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#39 0x0000003f4ba428ad in g_main_context_iteration (context=0xb42920, may_block=1) at gmain.c:2843
#40 0x0000003f53f868af in QEventDispatcherGlib::processEvents (this=0xb17e80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#41 0x0000003f2e2586ee in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x0000003f53f5ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x0000003f53f5ad8c in QEventLoop::exec (this=0x7ffff2acc340, flags=...) at kernel/qeventloop.cpp:201
#44 0x0000003f53f5f20b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#45 0x000000000040c1ef in main (argc=3, argv=0x7ffff2acc6e8) at /usr/src/debug/kdepim-4.4.7/korganizer/korgac/korgacmain.cpp:85

Possible duplicates by query: bug 247126.

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-20 17:08:59 UTC
[Comment from a bug triager]
This looks like bug 242191 and bug 236462, but in KDE SC 4.5.3
Comment 2 Sergio Martins 2010-11-20 20:43:38 UTC
Can you get a valgrind report?

With korgac not running:

valgrind korgac &> valgrind.log
Comment 3 Dario Andres 2010-11-20 21:02:35 UTC
[Comment from a bug triager]
You can get more information about the "Valgrind" tool at http://techbase.kde.org/User:DarioAndres/CreateUsefulReports#Retrieving_a_backtrace_with_Valgrind
Comment 4 Dario Andres 2010-11-21 14:40:15 UTC
[Comment from a bug triager]
@Sergio: both bug 257461 and bug 257494 have the same backtrace, but with different situations.. could all of them have the same root cause ? (to merge them all in here)
Thanks
Comment 5 Christophe Marin 2010-11-29 15:11:40 UTC
*** Bug 257494 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2010-12-20 14:31:34 UTC
*** Bug 257618 has been marked as a duplicate of this bug. ***
Comment 7 Sergio Martins 2010-12-31 02:15:44 UTC
Lets see if the users can reproduce with 4.6.
Comment 8 Sergio Martins 2011-07-06 23:53:24 UTC
Test korganizer 4.6.1.

Too much has changed since 4.4.