pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/32470: Qt and/or KDE apps might crash due to a bug in qt3-libs
>Number: 32470
>Category: pkg
>Synopsis: Qt and/or KDE apps might crash due to a bug in qt3-libs
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 06 21:25:00 +0000 2006
>Originator: Sergey Svishchev
>Release: 3.99.10
>Organization:
>Environment:
>Description:
"When a QListView has a highlighted item, clear() does not tidy up the list's
pointer to the highlighted item. Subsequently initializing a list of
QListViewItem's using the QListView as parent, and deleting all members of the
list will crash with an illegal reference where QListView::takeItem() is trying
to access the highlighted item's parent."
>How-To-Repeat:
In amaroK, "Going under the files tab on the left, if I right-click on a folder
and choose "Load" amarok crashes." -- see
https://bugs.kde.org/show_bug.cgi?id=116004. amaroK developers created a
workaround for this bug, but it affects other applications, too.
>Fix:
See http://lists.kde.org/?l=kde-devel&m=113113845120155&w=2 and
http://www.trolltech.com/developer/tasktracker.html?method=entry&id=86543 for
more info.
--- src/widgets/qlistview.cpp.orig 2005-09-02 12:43:15.000000000 +0000
+++ src/widgets/qlistview.cpp
@@ -3231,6 +3231,7 @@ void QListView::clear()
d->focusItem = 0;
d->selectAnchor = 0;
d->pressedItem = 0;
+ d->highlighted = 0;
// if it's down its downness makes no sense, so undown it
d->buttonDown = FALSE;
Home |
Main Index |
Thread Index |
Old Index