Bug 383661 - enabling "hide completed todos" in a view filter causes korganizer to segfault on exit
Summary: enabling "hide completed todos" in a view filter causes korganizer to segfaul...
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 5.2.3
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-18 09:32 UTC by Wouter M. Koolen
Modified: 2017-09-08 07:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Output log with "hide completed todos" disabled and enabled (23.09 KB, text/plain)
2017-08-18 09:32 UTC, Wouter M. Koolen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wouter M. Koolen 2017-08-18 09:32:45 UTC
Created attachment 107344 [details]
Output log with "hide completed todos" disabled and enabled

Steps to reproduce:

- create a new view filter
- tick 'hide completed todos'
- exit korganizer

Result:


Thread 1 "korganizer" received signal SIGSEGV, Segmentation fault.
0x00007f196507b504 in QAbstractScrollArea::horizontalScrollBar() const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
(gdb) bt
#0  0x00007f196507b504 in QAbstractScrollArea::horizontalScrollBar() const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#1  0x00007f195e3ca037 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#2  0x00007f1963ed2c41 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f1964ec6bec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#4  0x00007f1964ece381 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007f1963ea6850 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f1963ea8fed in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f1963ef9fb3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f195989ebf7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f195989ee60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f195989ef0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f1963efa3bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f1963ea483a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f1963eacedc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x0000000100008f14 in ?? ()
#15 0x00007f19633162b1 in __libc_start_main (main=0x100008ab0, argc=1, argv=0x7fffffffdf68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdf58)
    at ../csu/libc-start.c:291
#16 0x00000001000090aa in _start ()


I also noted that the debugging? output of korganizer is different with and without the view filter enabled. Both outputs attached.
Comment 1 Christoph Feck 2017-09-07 21:31:56 UTC
This is probably a duplicate of bug 353380. Which kwidgetsaddons (Frameworks) version are you using?
Comment 2 Wouter M. Koolen 2017-09-07 22:51:16 UTC
Dear Christoph,

I am running

ii  libkf5widgetsaddons5:amd64 5.28.0-3                        amd64 
add-on widgets and classes for applications that use the Qt Widgets module

Cheers,

Wouter


On 07/09/17 23:31, Christoph Feck wrote:
> https://bugs.kde.org/show_bug.cgi?id=383661
>
> --- Comment #1 from Christoph Feck <cfeck@kde.org> ---
> This is probably a duplicate of bug 353380. Which kwidgetsaddons (Frameworks)
> version are you using?
>
Comment 3 Wouter M. Koolen 2017-09-08 07:13:47 UTC
Indeed, after upgrading to 

ii  libkf5widgetsaddons5:amd64     5.37.0-2             amd64                add-on widgets and classes for applications that use the Qt Widget

the crash is gone.

Thanks,

Wouter