Summary: | crash in save file dialog (due to KRecentDocument) | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Matthias Heinz <mh> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, faure, jonas.vejlin |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Matthias Heinz
2009-04-27 17:48:52 UTC
What is your Qt version ? Thanks BTW: Bug 190746 seems to be also related to this crash *** Bug 190746 has been marked as a duplicate of this bug. *** I suspect a border condition in the while loop at krecentdocument.cpp:128 - for instance due to maxEntries = 0. What is the output of grep -r MaxEntries `kde4-config --path config | sed -e 's/:/ /g'` And what is the contents of the directory returned by kde4-config --path data --locate RecentDocuments/ ? *** Bug 190744 has been marked as a duplicate of this bug. *** Qt version: 5.1 grep -r MaxEntries `kde4-config --path config | sed -e 's/:/ /g'` /home/xts/.kde/share/config/kickerrc:MaxEntries2=30 /home/xts/.kde/share/config/kdeglobals:MaxEntries=0 What does MaxEntries do/stand for? Is it all pdf files that happens with or just a spific? If it is a spific? can you attach it? It's not just pdfs, it happens with images, too. I guess this crashes are caused by that MaxEntries config entry. Let's wait for David answer. David: I think you're right. I just edited my kdeglobals config file and changed MaxEntries to 1. No more crashing. Since I haven't edited my kdeglobals config file before this must have happend when my config files were created the first time kde4 ran. SVN commit 976157 by cfeck: Do not access empty list (when maxEntries == 0) BUG: 190844 M +1 -1 krecentdocument.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=976157 SVN commit 976158 by cfeck: Do not access empty list (when maxEntries == 0) (backport r976157) CCBUG: 190844 M +1 -1 krecentdocument.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=976158 |