[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2019-04-07 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #22 from Elvis Angelaccio  ---
(In reply to mthw0 from comment #21)
> kfilemetadata and baloo-widget rebuilt, log: https://pastebin.com/Gd6WFTAg
> valgrind log: https://pastebin.com/XBztBRY1 and
> https://pastebin.com/JHfxV7eR 
> I never used valgrind before so it might not be what you wanted

This is useful, thanks. Relevant stacktrace:

Invalid read of size 8
==17208==at 0x6E9C544: toLocal8Bit (qstring.h:554)
==17208==by 0x6E9C544: encodeName (qfile.h:90)
==17208==by 0x6E9C544: k_getxattr (xattr_p.h:58)
==17208==by 0x6E9C544: KFileMetaData::UserMetaData::tags() const
(usermetadata.cpp:75)
==17208==by 0x15B7E502: operator() (tagsfileitemaction.cpp:53)
==17208==by 0x15B7E502: call (qobjectdefs_impl.h:146)
==17208==by 0x15B7E502: call, void> (qobjectdefs_impl.h:256)
==17208==by 0x15B7E502:
QtPrivate::QFunctorSlotObject const&)::{lambda(QUrl const&, KFileItemList const&)#2}, 2,
QtPrivate::List, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (qobjectdefs_impl.h:439)
==17208==by 0x15B801DF: ??? (in
/usr/lib/qt/plugins/kf5/kfileitemaction/tagsfileitemaction.so)
==17208==by 0x24954B9BE5C853FF: ???
==17208==by 0x1101: ???
==17208==by 0x24954B9BE5C853FF: ???
==17208==by 0x1FFEFFD86F: ???
==17208==by 0x1076A98F: ???
==17208==by 0x1FFEFFD94F: ???
==17208==by 0x13ED395F: ???
==17208==by 0x108E8A5F: ???
==17208==by 0x13F0164F: ???
==17208==  Address 0x8 is not stack'd, malloc'd or (recently) free'd

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2019-04-07 Thread mthw0
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #21 from mthw0  ---
kfilemetadata and baloo-widget rebuilt, log: https://pastebin.com/Gd6WFTAg
valgrind log: https://pastebin.com/XBztBRY1 and https://pastebin.com/JHfxV7eR 
I never used valgrind before so it might not be what you wanted

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2019-04-07 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #20 from Elvis Angelaccio  ---
(In reply to mthw0 from comment #19)
> (In reply to Elvis Angelaccio from comment #18)
> > We got another crash report with this stacktrace. 
> > 
> > @Nicolas: could you have a look please?
> 
> I (OP of the duplicate) have rebuilt some packages with debugging enabled so
> this new log https://pastebin.com/EkF8M1xt should provide more info.

Please also rebuild kfilemetadata and baloo-widgets.

A valgrind log would also help.

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2019-04-07 Thread mthw0
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #19 from mthw0  ---
(In reply to Elvis Angelaccio from comment #18)
> We got another crash report with this stacktrace. 
> 
> @Nicolas: could you have a look please?

I (OP of the duplicate) have rebuilt some packages with debugging enabled so
this new log https://pastebin.com/EkF8M1xt should provide more info.

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2019-04-07 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=401733

Elvis Angelaccio  changed:

   What|Removed |Added

 CC||nicolas.fe...@gmx.de

--- Comment #18 from Elvis Angelaccio  ---
We got another crash report with this stacktrace. 

@Nicolas: could you have a look please?

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2019-04-07 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=401733

Elvis Angelaccio  changed:

   What|Removed |Added

 CC||jari...@hotmail.com

--- Comment #17 from Elvis Angelaccio  ---
*** Bug 406071 has been marked as a duplicate of this bug. ***

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2019-01-19 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #16 from Eugene Shalygin  
---
(In reply to Elvis Angelaccio from comment #15)
> Last question (then I'm out of ideas): please provide a valgrind log as
> described here: https://community.kde.org/Dolphin/FAQ/Crashes

I build packages with -march=native and valgrind crashes on an unrecognized
instruction. I will try to debug the issue myself. Thank you for the help!

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2019-01-13 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #15 from Elvis Angelaccio  ---
Last question (then I'm out of ideas): please provide a valgrind log as
described here: https://community.kde.org/Dolphin/FAQ/Crashes

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2019-01-13 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #14 from Eugene Shalygin  
---
(In reply to Elvis Angelaccio from comment #13)
> Hmm, it looks like you are still running the old tagsfileitemaction.so
> plugin (without the fix).
I have no idea how that could be possible.

> 
> Please check again that the tagsfileitemaction.so library that dolphin loads
> is exactly the same you built from baloo-widgets master (you can check with
> strace).

There are no other files with this name in my system except the one, belonging
to the baloo-widgets package. Its git repo contain the commit
3695e0b0dc81451f40615c00ae46bcaac6c2952d by Kai Uwe Broulik.

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2019-01-13 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #13 from Elvis Angelaccio  ---
Hmm, it looks like you are still running the old tagsfileitemaction.so plugin
(without the fix).

Please check again that the tagsfileitemaction.so library that dolphin loads is
exactly the same you built from baloo-widgets master (you can check with
strace).

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2018-12-23 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #12 from Eugene Shalygin  
---
(In reply to Elvis Angelaccio from comment #11)
> Is the backtrace the same as in the first comment?

Seems to be the same. Here is it:

[KCrash Handler]
#5  KFileMetaData::UserMetaData::tags (this=) at
/usr/src/debug/kde-frameworks/kfilemetadata-/kfilemetadata-/src/usermetadata.cpp:75
#6  0x7f1504037bf9 in
QtPrivate::QFunctorSlotObject const&)::{lambda(QUrl const&, KFileItemList const&)#2}, 2,
QtPrivate::List, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from
/usr/lib64/qt5/plugins/kf5/kfileitemaction/tagsfileitemaction.so
#7  0x7f1510737f5e in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#8  0x7f151212f081 in KCoreDirLister::itemsAdded(QUrl const&, KFileItemList
const&) () from /usr/lib64/libKF5KIOCore.so.5
#9  0x7f1512133b2f in KCoreDirLister::Private::emitItems() () from
/usr/lib64/libKF5KIOCore.so.5
#10 0x7f151213dd3c in KCoreDirListerCache::slotEntries(KIO::Job*,
QList const&) () from /usr/lib64/libKF5KIOCore.so.5
#11 0x7f1510737f5e in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#12 0x7f15121731c4 in KIO::ListJob::entries(KIO::Job*, QList
const&) () from /usr/lib64/libKF5KIOCore.so.5
#13 0x7f151217b550 in
QtPrivate::QFunctorSlotObject
const&)#2}, 1, QtPrivate::List const&>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from
/usr/lib64/libKF5KIOCore.so.5
#14 0x7f1510737f5e in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#15 0x7f151217c2f5 in KIO::SlaveInterface::listEntries(QList
const&) () from /usr/lib64/libKF5KIOCore.so.5
#16 0x7f1512185370 in KIO::SlaveInterface::dispatch(int, QByteArray const&)
() from /usr/lib64/libKF5KIOCore.so.5
#17 0x7f1512181eda in KIO::Slave::gotInput() () from
/usr/lib64/libKF5KIOCore.so.5
#18 0x7f1510737f5e in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#19 0x7f15121be14b in KIO::ConnectionPrivate::dequeue() [clone .part.22] ()
from /usr/lib64/libKF5KIOCore.so.5
#20 0x7f151073d9ef in QObject::event(QEvent*) () from
/usr/lib64/libQt5Core.so.5
#21 0x7f1511547171 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQt5Widgets.so.5
#22 0x7f1511557d80 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#23 0x7f151075cde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#24 0x7f151075cf68 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#25 0x7f1510714bf3 in postEventSourceDispatch(_GSource*, int (*)(void*),
void*) () from /usr/lib64/libQt5Core.so.5
#26 0x7f150e068b3d in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#27 0x7f150e069238 in g_main_context_iterate.isra () from
/usr/lib64/libglib-2.0.so.0
#28 0x7f150e0693ac in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#29 0x7f151070d163 in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib64/libQt5Core.so.5
#30 0x7f151075d3cb in
QEventLoop::exec(QFlags) () from
/usr/lib64/libQt5Core.so.5
#31 0x7f15113ff7c1 in QMenu::exec(QPoint const&, QAction*) () from
/usr/lib64/libQt5Widgets.so.5
#32 0x7f1512ce01c7 in DolphinMainWindow::openContextMenu(QPoint const&,
KFileItem const&, QUrl const&, QList const&) () from
/usr/lib64/libkdeinit5_dolphin.so
#33 0x7f1510737f5e in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#34 0x7f151262d92d in DolphinView::requestContextMenu(QPoint const&,
KFileItem const&, QUrl const&, QList const&) () from
/usr/lib64/libdolphinprivate.so.5
#35 0x7f151264660e in DolphinView::slotItemContextMenuRequested(int,
QPointF const&) () from /usr/lib64/libdolphinprivate.so.5
#36 0x7f1510737f5e in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#37 0x7f1512622056 in KItemListController::itemContextMenuRequested(int,
QPointF const&) () from /usr/lib64/libdolphinprivate.so.5
#38 0x7f151268469b in
KItemListController::mousePressEvent(QGraphicsSceneMouseEvent*, QTransform
const&) () from /usr/lib64/libdolphinprivate.so.5
#39 0x7f1512686589 in KItemListController::processEvent(QEvent*, QTransform
const&) () from /usr/lib64/libdolphinprivate.so.5
#40 0x7f1512686656 in KItemListView::event(QEvent*) () from
/usr/lib64/libdolphinprivate.so.5
#41 0x7f1511547171 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQt5Widgets.so.5
#42 0x7f1511557d80 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#43 0x7f151075cde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#44 0x7f151127c068 in 

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2018-12-23 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #11 from Elvis Angelaccio  ---
(In reply to Eugene Shalygin from comment #10)
> Returning to the bug, I report that after enabling file file search and
> Baloo finished its indexing, Dolphin returned to crashing again.

Is the backtrace the same as in the first comment?

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2018-12-23 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #10 from Eugene Shalygin  
---
(In reply to Elvis Angelaccio from comment #9)
> Please check whether your ~/.local/share/user-places.xbel file contains
> those tags.

Thanks, deleted them.

Returning to the bug, I report that after enabling file file search and Baloo
finished its indexing, Dolphin returned to crashing again.

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2018-12-22 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #9 from Elvis Angelaccio  ---
Please check whether your ~/.local/share/user-places.xbel file contains those
tags.

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2018-12-20 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #8 from Eugene Shalygin  ---
I recompiled all installed KDE packages, and the tags in the side panel are
still shown. However, their list do not change when I tag new files. Dolphin
was crashing with the same stack trace until I deleted Baloo database in the
home directory. But the tags are still there.

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2018-12-14 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #7 from Elvis Angelaccio  ---
(In reply to Eugene Shalygin from comment #6)
> Might be related: Dolphin show a few tags in the side panel, but when I
> click any of them that results in the empty file list.

Tags in the Places panel were reverted, please rebuild KIO and try again.

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2018-12-12 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #6 from Eugene Shalygin  ---
Might be related: Dolphin show a few tags in the side panel, but when I click
any of them that results in the empty file list.

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2018-12-11 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #5 from Eugene Shalygin  ---
(In reply to Christoph Feck from comment #4)
> Note that the fix was made to "baloo-widgets" repository, not Dolphin. Did
> you also rebuild that?

Yes and killed all Dolphin processes.

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2018-12-11 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=401733

--- Comment #4 from Christoph Feck  ---
Note that the fix was made to "baloo-widgets" repository, not Dolphin. Did you
also rebuild that?

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2018-12-11 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=401733

Eugene Shalygin  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #3 from Eugene Shalygin  ---
I see the same crash with the same stacktrace after an update.

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2018-12-07 Thread Kai Uwe Broulik
https://bugs.kde.org/show_bug.cgi?id=401733

Kai Uwe Broulik  changed:

   What|Removed |Added

  Latest Commit||https://commits.kde.org/bal
   ||oo-widgets/3695e0b0dc81451f
   ||40615c00ae46bcaac6c2952d
 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Kai Uwe Broulik  ---
Git commit 3695e0b0dc81451f40615c00ae46bcaac6c2952d by Kai Uwe Broulik.
Committed on 07/12/2018 at 13:48.
Pushed by broulik into branch 'master'.

Initialize m_metaData

A new KFileMetaData::UserMetaData is only created when a single file is
selected.
If more files are selected, we will call delete on garbage memory in the
destructor and crash.
Calling delete on a nullptr is safe.

Differential Revision: https://phabricator.kde.org/D17348

M  +1-1src/tagsfileitemactionplugin/tagsfileitemaction.h

https://commits.kde.org/baloo-widgets/3695e0b0dc81451f40615c00ae46bcaac6c2952d

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

[dolphin] [Bug 401733] Dolphin crashes when displaying context menu for more then a single selected entry

2018-12-04 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=401733

Elvis Angelaccio  changed:

   What|Removed |Added

 CC||bugsefor...@gmx.com

--- Comment #1 from Elvis Angelaccio  ---
*** Bug 401746 has been marked as a duplicate of this bug. ***

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