Summary: | korganizer crashes when new event is created | ||
---|---|---|---|
Product: | [Applications] korganizer | Reporter: | Martin Tlustos <martin.tlustos> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, joaohev, smartins |
Priority: | NOR | ||
Version: | 4.2.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Martin Tlustos
2009-03-16 09:38:48 UTC
This seems to be bug 159247 (bug in libical). Please, try to update your "libical" package at least to the "0.40.1" version Thanks for reporting What resource are you using? What libical version are you using? Thanks. I use Kubuntu Intrepid with the KDE 4.2 repositories, my libical version is 0.43.0. You'll need to install debug packages, please read: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports then, please post a valgrind report: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_with_Valgrind Thanks this is the valgrind output: ==18418== Memcheck, a memory error detector. ==18418== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==18418== Using LibVEX rev 1854, a library for dynamic binary translation. ==18418== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==18418== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework. ==18418== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==18418== For more details, rerun with: -v ==18418== ==18418== My PID = 18418, parent PID = 18047. Prog and args are: ==18418== korganizer ==18418== ==18418== Invalid read of size 4 ==18418== at 0x40157F9: (within /lib/ld-2.8.90.so) ==18418== by 0x6C0EBEB: (within /lib/tls/i686/cmov/libdl-2.8.90.so) ==18418== by 0x400D715: (within /lib/ld-2.8.90.so) ==18418== by 0x6C0F01B: (within /lib/tls/i686/cmov/libdl-2.8.90.so) ==18418== by 0x6C0EB20: dlopen (in /lib/tls/i686/cmov/libdl-2.8.90.so) ==18418== by 0x5E23796: (within /usr/lib/libQtCore.so.4.4.3) ==18418== by 0x5E1DCBB: (within /usr/lib/libQtCore.so.4.4.3) ==18418== by 0x5CCFA52: (within /usr/lib/libQtDBus.so.4.4.3) ==18418== by 0x5C8773E: QDBusConnection::connectToBus(QDBusConnection::BusType, QString const&) (in /usr/lib/libQtDBus.so.4.4.3) ==18418== by 0x46D830A: KPIM::PimApplication::start() (pimapplication.cpp:54) ==18418== by 0x8051051: main (main.cpp:46) ==18418== Address 0x708b6f4 is 36 bytes inside a block of size 38 alloc'd ==18418== at 0x4025D2E: malloc (vg_replace_malloc.c:207) ==18418== by 0x400D823: (within /lib/ld-2.8.90.so) ==18418== by 0x4008235: (within /lib/ld-2.8.90.so) ==18418== by 0x40118E6: (within /lib/ld-2.8.90.so) ==18418== by 0x400D715: (within /lib/ld-2.8.90.so) ==18418== by 0x40112ED: (within /lib/ld-2.8.90.so) ==18418== by 0x6C0EBEB: (within /lib/tls/i686/cmov/libdl-2.8.90.so) ==18418== by 0x400D715: (within /lib/ld-2.8.90.so) ==18418== by 0x6C0F01B: (within /lib/tls/i686/cmov/libdl-2.8.90.so) ==18418== by 0x6C0EB20: dlopen (in /lib/tls/i686/cmov/libdl-2.8.90.so) ==18418== by 0x5E23796: (within /usr/lib/libQtCore.so.4.4.3) ==18418== by 0x5E1DCBB: (within /usr/lib/libQtCore.so.4.4.3) ==18418== ==18418== Invalid read of size 4 ==18418== at 0x4015810: (within /lib/ld-2.8.90.so) ==18418== by 0x6C0EBEB: (within /lib/tls/i686/cmov/libdl-2.8.90.so) ==18418== by 0x400D715: (within /lib/ld-2.8.90.so) ==18418== by 0x6C0F01B: (within /lib/tls/i686/cmov/libdl-2.8.90.so) ==18418== by 0x6C0EB20: dlopen (in /lib/tls/i686/cmov/libdl-2.8.90.so) ==18418== by 0x5E23796: (within /usr/lib/libQtCore.so.4.4.3) ==18418== by 0x5E1DCBB: (within /usr/lib/libQtCore.so.4.4.3) ==18418== by 0x5CCFA52: (within /usr/lib/libQtDBus.so.4.4.3) ==18418== by 0x5C8773E: QDBusConnection::connectToBus(QDBusConnection::BusType, QString const&) (in /usr/lib/libQtDBus.so.4.4.3) ==18418== by 0x46D830A: KPIM::PimApplication::start() (pimapplication.cpp:54) ==18418== by 0x8051051: main (main.cpp:46) ==18418== Address 0x70939c8 is 40 bytes inside a block of size 43 alloc'd ==18418== at 0x4025D2E: malloc (vg_replace_malloc.c:207) ==18418== by 0x400D823: (within /lib/ld-2.8.90.so) ==18418== by 0x4008235: (within /lib/ld-2.8.90.so) ==18418== by 0x40118E6: (within /lib/ld-2.8.90.so) ==18418== by 0x400D715: (within /lib/ld-2.8.90.so) ==18418== by 0x40112ED: (within /lib/ld-2.8.90.so) ==18418== by 0x6C0EBEB: (within /lib/tls/i686/cmov/libdl-2.8.90.so) ==18418== by 0x400D715: (within /lib/ld-2.8.90.so) ==18418== by 0x6C0F01B: (within /lib/tls/i686/cmov/libdl-2.8.90.so) ==18418== by 0x6C0EB20: dlopen (in /lib/tls/i686/cmov/libdl-2.8.90.so) ==18418== by 0x5E23796: (within /usr/lib/libQtCore.so.4.4.3) ==18418== by 0x5E1DCBB: (within /usr/lib/libQtCore.so.4.4.3) ==18425== ==18425== Invalid read of size 4 ==18425== at 0x4015827: (within /lib/ld-2.8.90.so) ==18425== by 0x6C0EBEB: (within /lib/tls/i686/cmov/libdl-2.8.90.so) ==18425== by 0x400D715: (within /lib/ld-2.8.90.so) ==18425== by 0x6C0F01B: (within /lib/tls/i686/cmov/libdl-2.8.90.so) ==18425== by 0x6C0EB20: dlopen (in /lib/tls/i686/cmov/libdl-2.8.90.so) ==18425== by 0x5E23796: (within /usr/lib/libQtCore.so.4.4.3) ==18425== by 0x5E1DCBB: (within /usr/lib/libQtCore.so.4.4.3) ==18425== by 0x5300D13: (within /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x5292118: QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) (in /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x5292CDA: QApplication::QApplication(int&, char**, bool, int) (in /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x420A07C: KApplication::KApplication(bool, KComponentData const&) (kapplication.cpp:377) ==18425== by 0x421043B: KUniqueApplication::KUniqueApplication(bool, bool) (kuniqueapplication.cpp:326) ==18425== Address 0x7b57f34 is 44 bytes inside a block of size 45 alloc'd ==18425== at 0x4025D2E: malloc (vg_replace_malloc.c:207) ==18425== by 0x400D823: (within /lib/ld-2.8.90.so) ==18425== by 0x4008235: (within /lib/ld-2.8.90.so) ==18425== by 0x40118E6: (within /lib/ld-2.8.90.so) ==18425== by 0x400D715: (within /lib/ld-2.8.90.so) ==18425== by 0x40112ED: (within /lib/ld-2.8.90.so) ==18425== by 0x6C0EBEB: (within /lib/tls/i686/cmov/libdl-2.8.90.so) ==18425== by 0x400D715: (within /lib/ld-2.8.90.so) ==18425== by 0x6C0F01B: (within /lib/tls/i686/cmov/libdl-2.8.90.so) ==18425== by 0x6C0EB20: dlopen (in /lib/tls/i686/cmov/libdl-2.8.90.so) ==18425== by 0x5E23796: (within /usr/lib/libQtCore.so.4.4.3) ==18425== by 0x5E1DCBB: (within /usr/lib/libQtCore.so.4.4.3) ==18418== ==18418== ERROR SUMMARY: 3 errors from 2 contexts (suppressed: 218 from 3) ==18418== malloc/free: in use at exit: 44,581 bytes in 475 blocks. ==18418== malloc/free: 10,542 allocs, 10,067 frees, 27,247,376 bytes allocated. ==18418== For counts of detected errors, rerun with: -v ==18418== searching for pointers to 475 not-freed blocks. ==18418== checked 750,580 bytes. ==18418== ==18418== LEAK SUMMARY: ==18418== definitely lost: 0 bytes in 0 blocks. ==18418== possibly lost: 16 bytes in 1 blocks. ==18418== still reachable: 44,565 bytes in 474 blocks. ==18418== suppressed: 0 bytes in 0 blocks. ==18418== Rerun with --leak-check=full to see details of leaked memory. ==18425== Warning: set address range perms: large range 134217728 (undefined) ==18425== Warning: set address range perms: large range 134217760 (noaccess) ==18425== Warning: set address range perms: large range 268435456 (undefined) ==18425== Warning: set address range perms: large range 268435488 (noaccess) ==18425== Warning: set address range perms: large range 279633804 (undefined) ==18425== Warning: set address range perms: large range 536870944 (noaccess) ==18425== Warning: set address range perms: large range 279633800 (undefined) ==18425== Warning: set address range perms: large range 139816910 (undefined) ==18425== Warning: set address range perms: large range 279633832 (noaccess) ==18425== Warning: set address range perms: large range 279633836 (noaccess) ==18425== Warning: set address range perms: large range 111474398 (undefined) ==18425== Warning: set address range perms: large range 134217751 (undefined) ==18425== Warning: set address range perms: large range 134217743 (undefined) ==18425== Warning: set address range perms: large range 134217783 (noaccess) ==18425== Warning: set address range perms: large range 167211602 (noaccess) ==18425== Warning: set address range perms: large range 536870912 (undefined) ==18425== Warning: set address range perms: large range 268435456 (noaccess) ==18425== Warning: set address range perms: large range 268435504 (undefined) ==18425== Warning: set address range perms: large range 268435488 (noaccess) ==18425== Warning: set address range perms: large range 134217775 (noaccess) ==18425== Warning: set address range perms: large range 139816942 (noaccess) ==18425== ==18425== Conditional jump or move depends on uninitialised value(s) ==18425== at 0x53DC496: (within /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x53DCEB7: QRegion::QRegion(QPolygon const&, Qt::FillRule) (in /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x54459F2: (within /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x539683A: (within /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x539690A: (within /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x5396BF0: QPainter::setClipRegion(QRegion const&, Qt::ClipOperation) (in /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x7EF7705: (within /usr/lib/kde4/plugins/styles/oxygen.so) ==18425== by 0x5E2E049: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.4.3) ==18425== by 0x528D8C9: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x52957F9: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x420710C: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:307) ==18425== by 0x5E2EE60: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.4.3) ==18425== ==18425== Conditional jump or move depends on uninitialised value(s) ==18425== at 0x53DC496: (within /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x53DCEB7: QRegion::QRegion(QPolygon const&, Qt::FillRule) (in /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x54455EE: (within /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x539683A: (within /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x539690A: (within /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x5396BF0: QPainter::setClipRegion(QRegion const&, Qt::ClipOperation) (in /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x7EF7705: (within /usr/lib/kde4/plugins/styles/oxygen.so) ==18425== by 0x5E2E049: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.4.3) ==18425== by 0x528D8C9: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x52957F9: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3) ==18425== by 0x420710C: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:307) ==18425== by 0x5E2EE60: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.4.3) ==18425== Warning: set address range perms: large range 402653247 (undefined) ==18425== Warning: set address range perms: large range 268435471 (undefined) ==18425== Warning: set address range perms: large range 402653279 (noaccess) ==18425== Warning: set address range perms: large range 268436502 (undefined) ==18425== Warning: set address range perms: large range 268436557 (undefined) ==18425== Warning: set address range perms: large range 268437558 (noaccess) ==18425== Warning: set address range perms: large range 536871256 (undefined) ==18425== Warning: set address range perms: large range 268437613 (noaccess) ==18425== ==18425== Invalid write of size 1 ==18425== at 0x40264BB: strcpy (mc_replace_strmem.c:268) ==18425== by 0x63A8211: icalmemory_append_string (in /usr/lib/libical.so.0.43.0) ==18425== by 0x63A6A36: icalcomponent_as_ical_string_r (in /usr/lib/libical.so.0.43.0) ==18425== by 0x63A6A77: icalcomponent_as_ical_string_r (in /usr/lib/libical.so.0.43.0) ==18425== by 0x63A6D11: icalcomponent_as_ical_string (in /usr/lib/libical.so.0.43.0) ==18425== by 0x454CB8A: KCal::ICalFormat::toString(KCal::Calendar*) (icalformat.cpp:277) ==18425== by 0x454D743: KCal::ICalFormat::save(KCal::Calendar*, QString const&) (icalformat.cpp:116) ==18425== by 0x457F326: KCal::FileStorage::save() (filestorage.cpp:155) ==18425== by 0x4539D87: KCal::CalendarLocal::save(QString const&, KCal::CalFormat*) (calendarlocal.cpp:156) ==18425== by 0x4584352: KCal::ResourceLocal::doSave(bool) (resourcelocal.cpp:169) ==18425== by 0x4589BEB: KCal::ResourceCached::doSave(bool, KCal::Incidence*) (resourcecached.cpp:509) ==18425== by 0x458307B: KCal::ResourceLocal::doSave(bool, KCal::Incidence*) (resourcelocal.cpp:178) ==18425== Address 0x139 is not stack'd, malloc'd or (recently) free'd ==18425== ==18425== ERROR SUMMARY: 17 errors from 6 contexts (suppressed: 785 from 7) ==18425== malloc/free: in use at exit: 1,093,684,808 bytes in 308,003 blocks. ==18425== malloc/free: 5,566,096 allocs, 5,258,093 frees, 6,300,728,072 bytes allocated. ==18425== For counts of detected errors, rerun with: -v ==18425== searching for pointers to 308,003 not-freed blocks. ==18425== checked 1,112,630,512 bytes. ==18425== ==18425== LEAK SUMMARY: ==18425== definitely lost: 114,588 bytes in 4,375 blocks. ==18425== possibly lost: 361,469 bytes in 12,870 blocks. ==18425== still reachable: 1,093,208,751 bytes in 290,758 blocks. ==18425== suppressed: 0 bytes in 0 blocks. ==18425== Rerun with --leak-check=full to see details of leaked memory. I just found out that korganizer does not crash on a different ical file, only on my standard resource. I now changed the standard resource to the new file. Is it possible to post the crashing ical file? Maybe you could remove some personal data and attach it, if it still makes korganizer crash. I finally found out what the problem was. I had inserted a link to an odf file. this file had a german umlaut in it. Now obviously every time the ical file was opened, it replaced the umlaut with a combination of other letters, which in the end resulted in a ical fil that was 133MB big - probably too big... This are the last few lines of the link: ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂà ÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂà ÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂàÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂàÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂà ÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂà ÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂàÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂàÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂà ÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂà ÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂàÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂàÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂà ÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂà ÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂàÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂàÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂà ÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂà ÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂàÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂàÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂà ÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂà ÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂàÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂàÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂà ÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂà ÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂàÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂàÃÂücherliste.odt:file: ///home/martin/Dokumente/SIL-Wycliff/Wycliff/B%C3%BCcherverwaltung/B%C3%BC cherliste.odt DUE;VALUE=DATE:20090302 DTSTART;VALUE=DATE:20080311 COMPLETED:20090227T100755Z PERCENT-COMPLETE:100 END:VTODO *** Bug 190768 has been marked as a duplicate of this bug. *** Can you reproduce the problem again with a empty ical resource? When you first created the attachment did you create it inline? Marking as NEEDSINFO Haven't had this problem for a long time, so seems to be fixed. |