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

            Bug ID: 386859
           Summary: KF5 KIO runs /usr/bin/kioslave instead of
                    /usr/libexec/kf5/kioslave, crashing the kdelibs3
                    kioslave
           Product: frameworks-kio
           Version: 5.40.0
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: fa...@kde.org
          Reporter: kevin.kof...@chello.at
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

This was originally reported downstream at Fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=1512418

This code in KF5 KIO:
https://cgit.kde.org/kio.git/tree/src/core/slave.cpp?id=04147e26fa2c03584856693dddf7117d20f2ae6f#n507
introduced by this 2015 commit:
https://cgit.kde.org/kio.git/commit/src/core/slave.cpp?id=e2a4517f099d809bd53c6a10769ebfddc0f28a8b
makes KIO find the /usr/bin/kioslave executable if it exists (and prefer it to
the correct /usr/libexec/kf5/kioslave). Unfortunately, that is the executable
installed by the kdelibs3 compatibility package. As a result, the command line
that is run:
/usr/bin/kioslave /usr/lib64/qt5/plugins/kf5/kio/file.so file
obviously triggers a crash from mixed Qt/KDE libraries. (It is impossible to
run a KF5 KIO slave with the kdelibs3 kioslave binary.)

The:
            << QCoreApplication::applicationDirPath() // then look where our
application binary is located
line must be removed from the search path to prevent the crash.

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

Reply via email to