https://bugs.kde.org/show_bug.cgi?id=346403

Angelo <angel...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |angel...@gmail.com

--- Comment #11 from Angelo <angel...@gmail.com> ---
Seems i have same issue, in kdevelop 5.0.1 and also in previous version:

Step to reproduce:
1) if open a file in arch/arm/boot/dts/
2) close kdevelop
3) reopen it so that file is already visible
4) when the dialog file path already point to (a linux source tree) some file
in "arch/arm/boot/dts/" so if do open and same path is auto-selected

i have to wait at least 20 seconds with dialog as freezed, un-scrollable and
un-selectable.

I break gdb while waiting, the backtrace is below:

$ gdb kdevelop
GNU gdb (Debian 7.11.1-2) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kdevelop...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/kdevelop 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffda57c700 (LWP 2485)]
[New Thread 0x7fffd8fc7700 (LWP 2486)]
[New Thread 0x7fffd120d700 (LWP 2488)]
[New Thread 0x7fffc97be700 (LWP 2489)]
[New Thread 0x7fffbdfde700 (LWP 2490)]
[New Thread 0x7fffbcb21700 (LWP 2501)]
Not loading plugin named "KDevNinjaBuilder" because it has been disabled!
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Permesso
negato
Invalid return type in method "core"
Invalid return type in method "extensions"
[New Thread 0x7fffb60e5700 (LWP 2573)]
[New Thread 0x7fffb58e4700 (LWP 2575)]
Not loading plugin named "KDevNinjaBuilder" because it has been disabled!
Invalid return type in method "core"
Invalid return type in method "extensions"
[New Thread 0x7fffb4c5b700 (LWP 2600)]
[New Thread 0x7fffa3fff700 (LWP 2601)]
[New Thread 0x7fffa37fe700 (LWP 2602)]
[New Thread 0x7fffa2ffd700 (LWP 2603)]
[New Thread 0x7fffa27fc700 (LWP 2604)]
[New Thread 0x7fffa1ffb700 (LWP 2605)]
[New Thread 0x7fffa17fa700 (LWP 2607)]
[New Thread 0x7fffa0ff9700 (LWP 2608)]
[New Thread 0x7fff83fff700 (LWP 2609)]
[New Thread 0x7fff837fe700 (LWP 2610)]
[Thread 0x7fff837fe700 (LWP 2610) exited]
^C
Thread 1 "kdevelop" received signal SIGINT, Interrupt.
0x00007ffff585c780 in operator new(unsigned long) () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) bt
#0  0x00007ffff585c780 in operator new(unsigned long) () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x00007ffff5d29722 in QUrl::detach() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff5d29a97 in QUrl::setScheme(QString const&) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff5d2c9f8 in QUrl::fromLocalFile(QString const&) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff131a875 in KFileItem::mostLocalUrl(bool*) const () from
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#5  0x00007ffff131f893 in ?? () from
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#6  0x00007ffff131fa0b in KFileItem::overlays() const () from
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#7  0x00007ffff1947d98 in KDirModel::data(QModelIndex const&, int) const ()
   from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#8  0x00007ffff5d96f29 in QSortFilterProxyModel::data(QModelIndex const&, int)
const ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ffff18f944c in
KFileItemDelegate::Private::decoration(QStyleOptionViewItem const&, QModelIndex
const&) const () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#10 0x00007ffff18f9998 in
KFileItemDelegate::Private::initStyleOption(QStyleOptionViewItem*, QModelIndex
const&) const () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#11 0x00007ffff18fa2ea in KFileItemDelegate::sizeHint(QStyleOptionViewItem
const&, QModelIndex const&) const ()
   from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#12 0x00007ffff69b5e49 in QTreeViewPrivate::widthHintForIndex(QModelIndex
const&, int, QStyleOptionViewItem const&, int) const () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff69b8dcf in QTreeView::sizeHintForColumn(int) const ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff698a5d6 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff51ad3b0 in ?? () from
/usr/lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#16 0x00007ffff5e00bd9 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff5e7a4a6 in
QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&,
QAbstractItemModel::LayoutChangeHint) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007ffff5d9fe1e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff5da19c8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007ffff5e00bd9 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007ffff5e7a3bc in QAbstractItemModel::dataChanged(QModelIndex const&,
QModelIndex const&, QVector<int> const&) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ffff194750c in KDirModel::itemChanged(QModelIndex const&) ()
   from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#23 0x00007ffff51d6306 in
KFilePreviewGenerator::Private::dispatchIconUpdateQueue() ()
   from /usr/lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#24 0x00007ffff51d6678 in KFilePreviewGenerator::Private::resolveMimeType() ()
   from /usr/lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#25 0x00007ffff5e01729 in QObject::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ffff670fbec in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff671508f in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff5dd3450 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007ffff5dd53cc in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ffff5e290f3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fffee4b61a7 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fffee4b6400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fffee4b64ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ffff5e294ff in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007ffff5dd119a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007ffff691455c in QDialog::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) quit
A debugging session is active.

        Inferior 1 [process 2481] will be killed.

* the issue is not really happening always, strangely, i.e. i closed all files
and reopened kde, opening file seems to work fine now

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to