Bug 393827 - Crash when searching an app in main menu
Summary: Crash when searching an app in main menu
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.12.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-04 03:48 UTC by Alexander Trufanov
Modified: 2018-05-04 14:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Trufanov 2018-05-04 03:48:38 UTC
After upgrade to Kubuntu 18.04 my Plasma crash every time I type anything in its main menu search bar with
plasmashell: symbol lookup error: /usr/lib/x86_64-linux-gnu/qt5/plugins/krunner_services.so: undefined symbol: _ZN14KStringHandler13logicalLengthERK7QString

Same if I type something in Alt+F2 window.
Comment 1 Alexander Trufanov 2018-05-04 04:36:25 UTC
Btw, I'm also have problems with systemsettings5
/usr/bin/systemsettings5: symbol lookup error: /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kirigami/org.kde.desktop.so: undefined symbol: _ZN11KIconLoader16setCustomPaletteERK8QPalette

and KTorrent:

Warning: couldn't create slave: "Ответ от klauncher: Ошибка загрузки «/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so»."
Comment 2 Valorie Zimmerman 2018-05-04 07:17:28 UTC
Hi Alexander, I tried to reproduce in my updated 18.04 Kubuntu install and couldn't get anything to crash. Can you specify which "main search bar"? Do you mean krunner (alt+space) or the Kmenu search? If Kmenu, are you using Application Menu, Application Launcher, or Application Dashboard? Right-click on the K and choose alternatives to see what you are using.

Also you might try in a konsole or terminal: `sudo apt install -f` without the backticks, where -f means fix. Perhaps something was not upgraded properly.
Comment 3 Christoph Feck 2018-05-04 11:16:21 UTC
Missing symbols always mean you are using incompatible packages from different sources, or compiled yourself. If you did not compile yourself, ask for help in a forum of your distribution how to make sure you are using compatible packages.
Comment 4 Alexander Trufanov 2018-05-04 13:43:33 UTC
Both .so and /usr/bin/plasmashell in the same deb package.
I couldn't find another copy of /usr/lib/x86_64-linux-gnu/qt5/plugins/krunner_services.so
I've tried to remove plasma-workplace and it disappeared. I've reinstall plasma-workplace from 4:5.12.4-0ubuntu3 in main repository. It's appeared. Bug still is here.
I'v tried 

$ nm -gC /usr/lib/x86_64-linux-gnu/qt5/plugins/krunner_services.so
nm: /usr/lib/x86_64-linux-gnu/qt5/plugins/krunner_services.so: no symbols

$ objdump -TC /usr/lib/x86_64-linux-gnu/qt5/plugins/krunner_services.so
/usr/lib/x86_64-linux-gnu/qt5/plugins/krunner_services.so:     формат файла elf64-x86-64

DYNAMIC SYMBOL TABLE:
0000000000000000      DF *UND*  0000000000000000              ki18nd(char const*, char const*)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QUrl::fromLocalFile(QString const&)
0000000000000000      DO *UND*  0000000000000000  Qt_5        QHashData::shared_null
0000000000000000      DO *UND*  0000000000000000              KPluginFactory::staticMetaObject
0000000000000000      DF *UND*  0000000000000000  Qt_5        QTextStream::operator<<(char const*)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QHashData::detach_helper(void (*)(QHashData::Node*, void*), void (*)(QHashData::Node*), int, int)
0000000000000000      DF *UND*  0000000000000000              KServiceAction::icon() const
0000000000000000      DF *UND*  0000000000000000  Qt_5        QListData::detach(int)
0000000000000000      DF *UND*  0000000000000000              Plasma::AbstractRunner::setPriority(Plasma::AbstractRunner::Priority)
0000000000000000      DF *UND*  0000000000000000  GLIBC_2.14  memcpy
0000000000000000      DF *UND*  0000000000000000  Qt_5        QListData::append()
0000000000000000      DF *UND*  0000000000000000  Qt_5        QStringRef::toString() const
0000000000000000      DF *UND*  0000000000000000              Plasma::AbstractRunner::categoryIcon(QString const&) const
0000000000000000  w   D  *UND*  0000000000000000              _ITM_deregisterTMCloneTable
0000000000000000      DF *UND*  0000000000000000  Qt_5        QListData::dispose(QListData::Data*)
0000000000000000      DF *UND*  0000000000000000              Plasma::AbstractRunner::reloadConfiguration()
0000000000000000      DF *UND*  0000000000000000              KService::serviceTypes() const
0000000000000000      DF *UND*  0000000000000000  Qt_5        QObject::timerEvent(QTimerEvent*)
0000000000000000      DF *UND*  0000000000000000              Plasma::RunnerContext::query() const
0000000000000000      DF *UND*  0000000000000000  Qt_5        QVariant::QVariant(QString const&)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QMimeData::setUrls(QList<QUrl> const&)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QTextStream::operator<<(QString const&)
0000000000000000      DF *UND*  0000000000000000  GLIBCXX_3.4 operator new(unsigned long)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QString::multiArg(int, QString const**) const
0000000000000000      DF *UND*  0000000000000000              KRun::run(QString const&, QList<QUrl> const&, QWidget*, QString const&, QString const&, QByteArray const&)
0000000000000000      DF *UND*  0000000000000000              KService::storageId() const
0000000000000000      DO *UND*  0000000000000000  Qt_5        QArrayData::shared_null
0000000000000000      DF *UND*  0000000000000000              Plasma::QueryMatch::subtext() const
0000000000000000      DF *UND*  0000000000000000  Qt_5        QDebug::putString(QChar const*, unsigned long)
0000000000000000      DF *UND*  0000000000000000              KService::actions() const
0000000000000000  w   DF *UND*  0000000000000000  GLIBC_2.2.5 __cxa_finalize
0000000000000000      DF *UND*  0000000000000000              Plasma::QueryMatch::type() const
0000000000000000      DF *UND*  0000000000000000  Qt_5        QObject::disconnectNotify(QMetaMethod const&)
0000000000000000      DF *UND*  0000000000000000              Plasma::QueryMatch::setMatchCategory(QString const&)
0000000000000000      DO *UND*  0000000000000000  Qt_5        QListData::shared_null
0000000000000000      DF *UND*  0000000000000000  Qt_5        QMetaObject::cast(QObject*) const
0000000000000000      DF *UND*  0000000000000000              Plasma::AbstractRunner::~AbstractRunner()
0000000000000000      DF *UND*  0000000000000000  Qt_5        QUrl::~QUrl()
0000000000000000      DF *UND*  0000000000000000  Qt_5        QString::splitRef(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const
0000000000000000      DF *UND*  0000000000000000  Qt_5        QObject::childEvent(QChildEvent*)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QTextStream::operator<<(int)
0000000000000000      DF *UND*  0000000000000000  GLIBC_2.4   __stack_chk_fail
0000000000000000      DO *UND*  0000000000000000  Qt_5.9      qt_version_tag
0000000000000000      DF *UND*  0000000000000000              KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&)
0000000000000000      DF *UND*  0000000000000000  GLIBC_2.2.5 memset
0000000000000000      DF *UND*  0000000000000000              KServiceTypeTrader::query(QString const&, QString const&) const
0000000000000000      DF *UND*  0000000000000000              KPluginFactory::createPartObject(QWidget*, QObject*, char const*, QStringList const&)
0000000000000000      DF *UND*  0000000000000000              Plasma::RunnerSyntax::~RunnerSyntax()
0000000000000000      DO *UND*  0000000000000000              Plasma::AbstractRunner::staticMetaObject
0000000000000000      DF *UND*  0000000000000000  Qt_5        QtPrivate::QStringList_contains(QStringList const*, QString const&, Qt::CaseSensitivity)
0000000000000000      DF *UND*  0000000000000000              KServiceAction::exec() const
0000000000000000      DF *UND*  0000000000000000  CXXABI_1.3  __cxa_guard_acquire
0000000000000000      DF *UND*  0000000000000000  Qt_5        QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>)
0000000000000000      DF *UND*  0000000000000000              Plasma::QueryMatch::data() const
0000000000000000      DF *UND*  0000000000000000              KServiceAction::~KServiceAction()
0000000000000000  w   D  *UND*  0000000000000000              __gmon_start__
0000000000000000      DF *UND*  0000000000000000              KService::showInCurrentDesktop() const
0000000000000000      DF *UND*  0000000000000000  Qt_5        QTextStream::operator<<(char)
0000000000000000      DF *UND*  0000000000000000              KService::isApplication() const
0000000000000000      DF *UND*  0000000000000000              KLocalizedString::toString() const
0000000000000000      DF *UND*  0000000000000000              Plasma::QueryMatch::setSubtext(QString const&)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QString::arg(QString const&, int, QChar) const
0000000000000000      DF *UND*  0000000000000000              Plasma::AbstractRunner::AbstractRunner(QObject*, QList<QVariant> const&)
0000000000000000      DF *UND*  0000000000000000              KPluginFactory::registerPlugin(QString const&, QMetaObject const*, QObject* (*)(QWidget*, QObject*, QList<QVariant> const&))
0000000000000000      DF *UND*  0000000000000000  Qt_5        QArrayData::deallocate(QArrayData*, unsigned long, unsigned long)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QTextStream::operator<<(double)
0000000000000000      DF *UND*  0000000000000000              Plasma::QueryMatch::setIconName(QString const&)
0000000000000000      DF *UND*  0000000000000000  Qt_5        qHash(QString const&, unsigned int)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QtSharedPointer::ExternalRefCountData::getAndRef(QObject const*)
0000000000000000      DF *UND*  0000000000000000  GLIBCXX_3.4 operator delete(void*)
0000000000000000      DF *UND*  0000000000000000              KService::serviceByStorageId(QString const&)
0000000000000000      DF *UND*  0000000000000000  CXXABI_1.3  __cxa_guard_release
0000000000000000      DF *UND*  0000000000000000  Qt_5        QObject::customEvent(QEvent*)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QString::compare_helper(QChar const*, int, char const*, int, Qt::CaseSensitivity)
0000000000000000      DF *UND*  0000000000000000              KSycocaEntry::name() const
0000000000000000      DF *UND*  0000000000000000  Qt_5        QString::startsWith(QLatin1String, Qt::CaseSensitivity) const
0000000000000000      DF *UND*  0000000000000000              KStringHandler::logicalLength(QString const&)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QHashData::free_helper(void (*)(QHashData::Node*))
0000000000000000      DF *UND*  0000000000000000  Qt_5        QString::indexOf(QStringRef const&, int, Qt::CaseSensitivity) const
0000000000000000      DF *UND*  0000000000000000  Qt_5        QVariant::~QVariant()
0000000000000000      DF *UND*  0000000000000000              Plasma::QueryMatch::setText(QString const&)
0000000000000000      DF *UND*  0000000000000000              KService::comment() const
0000000000000000      DF *UND*  0000000000000000  Qt_5        QMessageLogger::debug() const
0000000000000000      DF *UND*  0000000000000000  Qt_5        QObject::eventFilter(QObject*, QEvent*)
0000000000000000      DF *UND*  0000000000000000              Plasma::AbstractRunner::createRunOptions(QWidget*)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QString::indexOf(QString const&, int, Qt::CaseSensitivity) const
0000000000000000      DF *UND*  0000000000000000  Qt_5        QObject::event(QEvent*)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QMimeData::QMimeData()
0000000000000000      DF *UND*  0000000000000000  Qt_5        QUrl::QUrl(QUrl const&)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QObject::setObjectName(QString const&)
0000000000000000      DF *UND*  0000000000000000              Plasma::RunnerSyntax::RunnerSyntax(QString const&, QString const&)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QListData::append(QListData const&)
0000000000000000      DO *UND*  0000000000000000              typeinfo for Plasma::AbstractRunner
0000000000000000      DF *UND*  0000000000000000              Plasma::AbstractRunner::addSyntax(Plasma::RunnerSyntax const&)
0000000000000000      DF *UND*  0000000000000000              KService::noDisplay() const
0000000000000000      DF *UND*  0000000000000000  Qt_5        QHashData::rehash(int)
0000000000000000      DF *UND*  0000000000000000              Plasma::QueryMatch::QueryMatch(Plasma::AbstractRunner*)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QIcon::fromTheme(QString const&)
0000000000000000      DF *UND*  0000000000000000              Plasma::QueryMatch::setData(QVariant const&)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QString::startsWith(QString const&, Qt::CaseSensitivity) const
0000000000000000      DF *UND*  0000000000000000              Plasma::QueryMatch::setRelevance(double)
0000000000000000      DF *UND*  0000000000000000              KService::desktopEntryName() const
0000000000000000      DF *UND*  0000000000000000              Plasma::AbstractRunner::qt_metacast(char const*)
0000000000000000      DF *UND*  0000000000000000  GLIBC_2.2.5 strcmp
0000000000000000      DO *UND*  0000000000000000  CXXABI_1.3  vtable for __cxxabiv1::__si_class_type_info
0000000000000000      DF *UND*  0000000000000000  Qt_5        QString::append(QString const&)
0000000000000000      DF *UND*  0000000000000000  GLIBC_2.2.5 __cxa_atexit
0000000000000000      DF *UND*  0000000000000000              KService::genericName() const
0000000000000000      DF *UND*  0000000000000000              KPluginFactory::qt_metacast(char const*)
0000000000000000      DF *UND*  0000000000000000              KPluginFactory::KPluginFactory()
0000000000000000      DF *UND*  0000000000000000  Qt_5        QString::startsWith(QStringRef const&, Qt::CaseSensitivity) const
0000000000000000      DF *UND*  0000000000000000              Plasma::AbstractRunner::actionsForMatch(Plasma::QueryMatch const&)
0000000000000000      DF *UND*  0000000000000000              KServiceTypeTrader::self()
0000000000000000      DF *UND*  0000000000000000  Qt_5        QLoggingCategory::QLoggingCategory(char const*, QtMsgType)
0000000000000000      DF *UND*  0000000000000000  Qt_5        operator<<(QDebug, QUrl const&)
0000000000000000      DF *UND*  0000000000000000              KPluginFactory::qt_metacall(QMetaObject::Call, int, void**)
0000000000000000      DF *UND*  0000000000000000              KSycocaEntry::entryPath() const
0000000000000000      DF *UND*  0000000000000000              Plasma::QueryMatch::setType(Plasma::QueryMatch::Type)
0000000000000000      DF *UND*  0000000000000000              KService::icon() const
0000000000000000      DF *UND*  0000000000000000              KLocalizedString::subs(QString const&, int, QChar) const
0000000000000000      DF *UND*  0000000000000000              Plasma::AbstractRunner::qt_metacall(QMetaObject::Call, int, void**)
0000000000000000      DO *UND*  0000000000000000  Qt_5        QObject::staticMetaObject
0000000000000000      DF *UND*  0000000000000000  Qt_5        QVariant::toString() const
0000000000000000      DF *UND*  0000000000000000  Qt_5        QObject::connectNotify(QMetaMethod const&)
0000000000000000  w   D  *UND*  0000000000000000              _ITM_registerTMCloneTable
0000000000000000      DF *UND*  0000000000000000  Qt_5        QObjectData::dynamicMetaObject() const
0000000000000000      DF *UND*  0000000000000000  Qt_5        QUrl::QUrl(QString const&, QUrl::ParsingMode)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QHashData::allocateNode(int)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QLoggingCategory::~QLoggingCategory()
0000000000000000      DF *UND*  0000000000000000              KService::categories() const
0000000000000000      DF *UND*  0000000000000000              Plasma::RunnerContext::addMatches(QList<Plasma::QueryMatch> const&)
0000000000000000      DF *UND*  0000000000000000              Plasma::QueryMatch::QueryMatch(Plasma::QueryMatch const&)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QString::fromUtf8_helper(char const*, int)
0000000000000000      DF *UND*  0000000000000000              KLocalizedString::~KLocalizedString()
0000000000000000      DF *UND*  0000000000000000              ki18ndc(char const*, char const*, char const*)
0000000000000000      DF *UND*  0000000000000000              Plasma::RunnerContext::isValid() const
0000000000000000      DF *UND*  0000000000000000              KPluginFactory::~KPluginFactory()
0000000000000000      DO *UND*  0000000000000000              typeinfo for KPluginFactory
0000000000000000      DF *UND*  0000000000000000  Qt_5        QListData::detach_grow(int*, int)
0000000000000000      DF *UND*  0000000000000000              KRun::runService(KService const&, QList<QUrl> const&, QWidget*, bool, QString const&, QByteArray const&)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QString::fromAscii_helper(char const*, int)
0000000000000000      DF *UND*  0000000000000000  Qt_5        QDebug::~QDebug()
0000000000000000      DF *UND*  0000000000000000              KServiceAction::text() const
0000000000000000      DF *UND*  0000000000000000              KPluginFactory::createObject(QObject*, char const*, QStringList const&)
0000000000000000      DF *UND*  0000000000000000  Qt_5        operator==(QString const&, QString const&)
0000000000000000      DF *UND*  0000000000000000              Plasma::AbstractRunner::init()
0000000000000000      DF *UND*  0000000000000000              KService::exec() const
0000000000000000      DF *UND*  0000000000000000              KActivities::ResourceInstance::notifyAccessed(QUrl const&, QString const&)
0000000000000000      DF *UND*  0000000000000000              Plasma::QueryMatch::~QueryMatch()
0000000000004770 g    DF .text  0000000000000008  Base        qt_plugin_query_metadata
000000000020e438 g    D  .bss   0000000000000000  Base        _end
000000000020e3e0 g    D  .data  0000000000000000  Base        _edata
000000000020e3e0 g    D  .bss   0000000000000000  Base        __bss_start
0000000000003a90 g    DF .init  0000000000000000  Base        _init
000000000000bd10 g    DF .fini  0000000000000000  Base        _fini
000000000000bfa0 g    DO .rodata        0000000000000004  Base        kde_plugin_version
0000000000004780 g    DF .text  00000000000000fc  Base        qt_plugin_instance


I'll try to check with older deb and report in a proper place if I find any.
Comment 5 Alexander Trufanov 2018-05-04 14:17:54 UTC
You've been right - there were a local outdated copies of KF5 libs that I removed with 
sudo rm -rf  /usr/local/lib/x86_64-linux-gnu/
and everything become normal now