Bug 446394 - std.ics keeps crashing just by using system
Summary: std.ics keeps crashing just by using system
Status: RESOLVED DUPLICATE of bug 446025
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: ICal file resource (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-12-02 22:10 UTC by kram.ettur
Modified: 2021-12-07 17:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kram.ettur 2021-12-02 22:10:02 UTC
Application: akonadi_ical_resource (5.18.1 (21.08.1))

Qt Version: 5.15.2
Frameworks Version: 5.88.0
Operating System: Linux 5.15.0-1-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux bookworm/sid
DrKonqi: 5.23.3 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
After logging in, std.ics keeps crashing. Reloading application leads to repeated crash within seconds

The crash can be reproduced every time.

-- Backtrace:
Application: std.ics (akonadi_ical_resource), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f098a62c034 in cleanVObject (o=0x55a1d8c0c400) at ./src/libicalvcal/vobject.c:591
#5  0x00007f098a6304d5 in finiLex () at ./src/libicalvcal/vcc.c:855
#6  Parse_MIMEHelper () at ./src/libicalvcal/vcc.c:1171
#7  0x00007f098a630672 in Parse_MIME_FromFile (file=file@entry=0x55a1d8a50bd0) at ./src/libicalvcal/vcc.c:1209
#8  0x00007f098a6306ed in Parse_MIME_FromFileName (fname=0x55a1d8c0d8a8 "/home/kuby/Bureaublad/afspraak.ics") at ./src/libicalvcal/vcc.c:1220
#9  0x00007f098c4ada07 in KCalendarCore::VCalFormat::load (this=this@entry=0x7fff84c17f60, calendar=..., fileName=...) at ./src/vcalformat.cpp:92
#10 0x00007f098c44c32d in KCalendarCore::FileStorage::load (this=0x55a1d8bdc1f0) at ./src/filestorage.cpp:117
#11 0x000055a1d8023ee7 in ?? ()
#12 0x00007f098c3ea680 in Akonadi::SingleFileResourceBase::setLocalFileName(QString const&) () from /usr/lib/x86_64-linux-gnu/libakonadi-singlefileresource.so.5
#13 0x00007f098c3ebfa4 in Akonadi::SingleFileResourceBase::readLocalFile(QString const&) () from /usr/lib/x86_64-linux-gnu/libakonadi-singlefileresource.so.5
#14 0x000055a1d80228fb in ?? ()
#15 0x00007f098b471d6e in QObject::event (this=0x7fff84c18610, e=0x55a1d8bc74e0) at kernel/qobject.cpp:1314
#16 0x00007f098bbd86af in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7fff84c18610, e=0x55a1d8bc74e0) at kernel/qapplication.cpp:3632
#17 0x00007f098b44575a in QCoreApplication::notifyInternal2 (receiver=0x7fff84c18610, event=0x55a1d8bc74e0) at kernel/qcoreapplication.cpp:1063
#18 0x00007f098b4487a7 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55a1d8a54f10) at kernel/qcoreapplication.cpp:1817
#19 0x00007f098b49d733 in postEventSourceDispatch (s=0x55a1d8b8ccc0) at kernel/qeventdispatcher_glib.cpp:277
#20 0x00007f09893b5c7b in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f09893b5f28 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f09893b5fdf in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f098b49cdb4 in QEventDispatcherGlib::processEvents (this=0x55a1d8b90510, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#24 0x00007f098b44416b in QEventLoop::exec (this=this@entry=0x7fff84c18580, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#25 0x00007f098b44c440 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#26 0x000055a1d80235e1 in ?? ()
#27 0x00007f098add0e4a in __libc_start_main (main=0x55a1d801f4a0, argc=3, argv=0x7fff84c187a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff84c18798) at ../csu/libc-start.c:314
#28 0x000055a1d801f4da in ?? ()
[Inferior 1 (process 4772) detached]

Reported using DrKonqi
Comment 1 Allen Winter 2021-12-02 22:51:57 UTC
this is clearly a crash in the latest libical library release.
a dupe of https://github.com/libical/libical/issues/528

would you be able to send me (by email is fine) the ics file that's causing the crash?
I see a potential fix in libical but I'd like to verify using your ics file.
Comment 2 Allen Winter 2021-12-07 17:47:41 UTC
This should be fixed upstream in libical commit 9246dc6317bcccba8661515820f77980bae1a4fe

You'll need to wait for the libical 3.0.12 release (coming soon) to be updated with your distribution.

*** This bug has been marked as a duplicate of bug 446025 ***