After updating to KDE 4.9.4 cantata (code.google.com/p/cantata/source/list - I built SVN trunk manually) crashes. No other application here is affected. Downgrading kdelibs to Arch's 4.9.3-2 package fixes the crash. Reverting da46ff64c3ef531816864f7b367b416b8e6807c4 also fixes this issue. I attached an incomplete backtrace of the crash (looks like some infinite loop). Reproducible: Always
Created attachment 75708 [details] GDB log
cantata shows the KWallet password dialog at startup - I guess that's where the KMessageWidget comes from.
Yes, it recursively calls KMessageWidgetPrivate::updateSnapShot (kmessagewidget.cpp:166).
cantata has a small wrapper around KMessageWidget. It seems to crash when cantata calls "animatedShow()" of KMessageWidget here: if (!parentWidget()->isVisible()) { ... } else { animatedShow(); } Removing animatedShow() fixes the cantata startup. BTW: I was wrong, it was not the KWallet dialog. Cantata has a message widget at the top of the mainwindow (in their UI file) - it seems to crash there.
I will try to provide a testcase later (if required).
yes a test case is important, thanks in advance
*** Bug 311663 has been marked as a duplicate of this bug. ***
see bug 311663 for a reproducible test case using kate.
Same infinite updateSnapshot, render, resize event crash is triggered in kdenlive, using 4.10b2 kdelibs. Aurelien, care to have a look at it?
I was getting this, or a very similar bug with: kate +NUM file My kate source tree HEAD is 0c152cd1504db69f2594a8c23cb79ca77a40ac49
Created attachment 75951 [details] gdb bt -80 of my kate crashed. (Includes some qt4 debugging symbols)
Review request to fix this bug: https://git.reviewboard.kde.org/r/107835/
At least for me git revision 3a328b66287f6144a82d0812eb93257858f21800 doesn't crash and does successfully tell me that my file doesn't exist. My actual path to trigger the bug was start kate, then use the command like to tell a currently open kate to open a new file. I was defaulting to using emacs/vims flags to indicate line numbers, not -l num, so as far as kate was concerned I was givint it a filename that didn't exist.
Git commit 98721989fd887b45df02d0f1937cc04ef0df71ab by Aurélien Gâteau. Committed on 21/12/2012 at 17:32. Pushed by gateau into branch 'KDE/4.9'. Fix infinite recursion from resizeEvent Calling QWidget::render() from resizeEvent() was a bad idea: QWidget::render() activates all layouts of the window owning the widget to paint, causing KMessageWidget::resizeEvent() to be called again, starting an infinite recursion. REVIEW: 107835 FIXED-IN: 4.9.5 M +8 -6 kdeui/widgets/kmessagewidget.cpp http://commits.kde.org/kdelibs/98721989fd887b45df02d0f1937cc04ef0df71ab