Bug 460104 - Elisa is unable to see or play music files
Summary: Elisa is unable to see or play music files
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Elisa
Classification: Applications
Component: general (other bugs)
Version First Reported In: 21.12.3
Platform: Mint (Ubuntu based) Linux
: NOR grave
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-07 23:45 UTC by alex.felder
Modified: 2022-10-10 17:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Textfile that shows console while elisa is runnig with and without root (6.63 KB, text/plain)
2022-10-07 23:45 UTC, alex.felder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alex.felder 2022-10-07 23:45:07 UTC
Created attachment 152636 [details]
Textfile that shows console while elisa is runnig with and without root

SUMMARY

Elisa's UI is broken (missing elements, almost unreadable etc...), but  the UI looks fine with root privileges. In both cases no audio files can be seen (with exceptions) or be played (no exceptions), no matter the location. Also when i try to do a run with gdb without root, elisa won't even show up, with root elisa starts but gdb begins to hang. backtrace was doable with root. Elisa worked fine for me on Linux Mint 20, since 21 Vanessa, it's completly broken. Install is fresh on a wiped hard drive.


#gdb (without root)

odysseus@odysseus-System-Product-Name:~$ gdb elisa
GNU gdb (Ubuntu 12.0.90-0ubuntu1) 12.0.90
Copyright (C) 2022 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:
<https://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 elisa...
(No debugging symbols found in elisa)
(gdb) run
Starting program: /usr/bin/elisa 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff03ab640 (LWP 31284)]
[New Thread 0x7fffeed54640 (LWP 31285)]
[Thread 0x7fffeed54640 (LWP 31285) exited]
[New Thread 0x7fffeed54640 (LWP 31286)]
[New Thread 0x7fffee553640 (LWP 31287)]
[Thread 0x7fffeed54640 (LWP 31286) exited]
[Thread 0x7fffee553640 (LWP 31287) exited]
[New Thread 0x7fffee553640 (LWP 31288)]
[New Thread 0x7fffeed54640 (LWP 31289)]
[Thread 0x7fffee553640 (LWP 31288) exited]
[Thread 0x7fffeed54640 (LWP 31289) exited]
[New Thread 0x7fffeed54640 (LWP 31290)]
[New Thread 0x7fffee553640 (LWP 31291)]
kf.kirigami: Warning: Theme implementations should use Kirigami.BasicThemeDefinition for its root item
kf.kirigami: Failed to find a Kirigami platform plugin
qrc:/qml/ElisaMainWindow.qml:19:1: QML ElisaMainWindow: Accessible must be attached to an Item
[Thread 0x7fffee553640 (LWP 31291) exited]
[Thread 0x7fffeed54640 (LWP 31290) exited]
[Thread 0x7ffff0be39c0 (LWP 31281) exited]
[Thread 0x7ffff03ab640 (LWP 31284) exited]
[New process 31281]
[Inferior 1 (process 31281) exited normally]
(gdb) backtrace
No stack.

#gdb with root

odysseus@odysseus-System-Product-Name:~$ sudo gdb elisa
[sudo] password for odysseus:               
GNU gdb (Ubuntu 12.0.90-0ubuntu1) 12.0.90
Copyright (C) 2022 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:
<https://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 elisa...
(No debugging symbols found in elisa)
(gdb) run
Starting program: /usr/bin/elisa 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff03ab640 (LWP 31363)]
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
[New Thread 0x7fffe7fff640 (LWP 31364)]
[New Thread 0x7fffe70e7640 (LWP 31365)]
[Detaching after fork from child process 31366]
kf.kirigami: Warning: Theme implementations should use Kirigami.BasicThemeDefinition for its root item
kf.kirigami: Failed to find a Kirigami platform plugin
qrc:/qml/ElisaMainWindow.qml:19:1: QML ElisaMainWindow: Accessible must be attached to an Item
kf.kirigami: Units.devicePixelRatio is deprecated (since 5.86): This returns 1 when using Qt HiDPI scaling.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/Page.qml:348: Error: Cannot assign QObject* to PageRow_QMLTYPE_83*
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/Page.qml:348: Error: Cannot assign QObject* to PageRow_QMLTYPE_83*
[New Thread 0x7fffe655e640 (LWP 31371)]
[New Thread 0x7fffe5d2a640 (LWP 31372)]
[New Thread 0x7fffe5529640 (LWP 31373)]
[New Thread 0x7fffe4d28640 (LWP 31374)]
[New Thread 0x7fffcffff640 (LWP 31375)]
org.kde.elisa.indexers.manager: Local file system indexer is inactive
org.kde.elisa.indexers.manager: Baloo indexer is unavailable
org.kde.elisa.indexers.manager: Baloo indexer is inactive
[New Thread 0x7fffcf7fe640 (LWP 31376)]
org.kde.elisa.database: "Artists" table has wrong number of columns 0 expected 2
org.kde.elisa.database: Full reset of database due to corrupted database
[New Thread 0x7fffceffd640 (LWP 31377)]
[00005555559022b0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[Thread 0x7fffceffd640 (LWP 31377) exited]
[New Thread 0x7fffceffd640 (LWP 31378)]
[New Thread 0x7fffcda02640 (LWP 31379)]
qrc:/qml/GridBrowserView.qml:74:34: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

qrc:/qml/GridBrowserView.qml:85:34: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

qrc:/qml/GridBrowserView.qml:96:34: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

qrc:/qml/GridBrowserView.qml:74:34: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

qrc:/qml/GridBrowserView.qml:85:34: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

qrc:/qml/GridBrowserView.qml:96:34: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

qrc:/qml/ElisaMainWindow.qml:223:5: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

qrc:/qml/ElisaMainWindow.qml:232:5: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/Page.qml:348: Error: Cannot assign QObject* to PageRow_QMLTYPE_83*
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/Page.qml:348: Error: Cannot assign QObject* to PageRow_QMLTYPE_83*
kf.kirigami: Could not create delegate for ToolBarLayout
kf.kirigami: file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ActionToolBar.qml: Object or context destroyed during incubation
[New Thread 0x7fffb79ff640 (LWP 31385)]
[New Thread 0x7fffb7095640 (LWP 31386)]
qrc:/qml/SettingsForm.qml:216:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/SettingsForm.qml:171:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/SettingsForm.qml:287: TypeError: Value is null and could not be converted to an object
[New Thread 0x7fffb6883640 (LWP 31387)]



^C
Thread 1 "elisa" received signal SIGINT, Interrupt.
__futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5555561720f0) at ./nptl/futex-internal.c:57
57	./nptl/futex-internal.c: No such file or directory.
(gdb) backtrace
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, 
    op=393, expected=0, futex_word=0x5555561720f0)
    at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, 
    clockid=0, expected=0, futex_word=0x5555561720f0)
    at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (
    futex_word=futex_word@entry=0x5555561720f0, expected=expected@entry=0, 
    clockid=clockid@entry=0, abstime=abstime@entry=0x0, 
    private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007ffff6190ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, 
    mutex=0x5555561720a0, cond=0x5555561720c8)
    at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5555561720c8, mutex=0x5555561720a0)
    at ./nptl/pthread_cond_wait.c:627
#5  0x00007ffff6623ceb in QWaitCondition::wait(QMutex*, QDeadlineTimer) ()
   from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff661d969 in QThread::wait(QDeadlineTimer) ()
   from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff7eee8c1 in MusicListenersManager::applicationAboutToQuit() ()
   from /usr/lib/x86_64-linux-gnu/elisa/libelisaLib.so.0
#8  0x00007ffff6842793 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ffff6809dfe in QCoreApplication::aboutToQuit(QCoreApplication::QPriva--Type <RET> for more, q to quit, c to continue without paging--
teSignal) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ffff680e401 in QCoreApplicationPrivate::execCleanup() ()
   from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ffff6811d0c in QCoreApplication::exec() ()
   from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x000055555555996f in ?? ()
#13 0x00007ffff6126d90 in __libc_start_call_main (
    main=main@entry=0x555555558d10, argc=argc@entry=1, 
    argv=argv@entry=0x7fffffffe628)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#14 0x00007ffff6126e40 in __libc_start_main_impl (main=0x555555558d10, argc=1, 
    argv=0x7fffffffe628, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffe618)
    at ../csu/libc-start.c:392
#15 0x0000555555559cc5 in ?? ()


STEPS TO REPRODUCE
1.  Start Elisa, via menu, console ("elisa" or "sudo elisa")
2.  Select any folder ("/home/username/Music" in my case) to be the music folder
3. click on "read music collection" to initialize the music library
4. Click on, for example, "albums" or "files"

OBSERVED RESULT

No Music files show up. If you browse the system under "files", without root, elisa sees music files but cannot play them. When i give elisa root and click on "files" no audio files show up at all, only a empty desktop folder.


EXPECTED RESULT

Elisa should see and play my music files and ad them to it's library.

SOFTWARE/OS VERSIONS

OS: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Kernel: 5.15.0-48-generic
64 compiler: gcc v: 11.2.0
Shell: bash 5.1.16
DE: MATE 1.26.0 

qml-module-org-kde-kcm/jammy,now 5.92.0-0ubuntu1 amd64
qml-module-org-kde-kirigami2/jammy,now 5.92.0-0ubuntu2 amd64
qml-module-org-kde-kitemmodels/jammy,now 5.92.0-0ubuntu1 amd64
qml-module-org-kde-kquickcontrolsaddons/jammy,now 5.92.0-0ubuntu1 amd64
qml-module-qt-labs-folderlistmodel/jammy,now 5.15.3+dfsg-1 amd64
qml-module-qt-labs-platform/jammy,now 5.15.3+dfsg-1 amd64
qml-module-qt-labs-settings/jammy,now 5.15.3+dfsg-1 amd64
qml-module-qtgraphicaleffects/jammy,now 5.15.3-1 amd64
qml-module-qtqml-models2/jammy,now 5.15.3+dfsg-1 amd64
qml-module-qtqml/jammy,now 5.15.3+dfsg-1 amd64
qml-module-qtquick-controls2/jammy,now 5.15.3+dfsg-1 amd64
qml-module-qtquick-dialogs/jammy,now 5.15.3-1 amd64
qml-module-qtquick-layouts/jammy,now 5.15.3+dfsg-1 amd64
qml-module-qtquick-privatewidgets/jammy,now 5.15.3-1 amd64
qml-module-qtquick-templates2/jammy,now 5.15.3+dfsg-1 amd64
qml-module-qtquick-window2/jammy,now 5.15.3+dfsg-1 amd64
qml-module-qtquick2/jammy,now 5.15.3+dfsg-1 amd64
qmmp/jammy,now 1.4.4-1build1 amd64
qt5-gtk-platformtheme/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64
qt5-gtk2-platformtheme/jammy,now 5.0.0+git23.g335dbec-4build3 amd64
qt5-style-plugin-cleanlooks/jammy,now 5.0.0+git23.g335dbec-4build3 amd64
qt5-style-plugin-motif/jammy,now 5.0.0+git23.g335dbec-4build3 amd64
qt5-style-plugin-plastique/jammy,now 5.0.0+git23.g335dbec-4build3 amd64
qt5-style-plugins/jammy,now 5.0.0+git23.g335dbec-4build3 amd64
qt5ct/jammy,now 1.5-1build1 amd64
qtspeech5-speechd-plugin/jammy,now 5.15.3-1 amd64
qttranslations5-l10n/jammy,jammy,now 5.15.3-1 all
kded5/jammy,now 5.92.0-0ubuntu1 amd64

ADDITIONAL INFORMATION

Thanks for this awesome software, i really enjoyed it and there is nothing quite like it :)

Have a nice day

Regards,

Alex
Comment 1 Nate Graham 2022-10-10 17:03:16 UTC
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
It would appear that your system is broken; many things won't work properly when the XDG dirs aren't set up properly. I would recommend asking for help fixing your system in the Mint forums. Perhaps the upgrade process broke? Unfortunately this is a fairly common occurrence with Mint, in my experience.

Also please don't run GUI apps as root; it will usually cause breakage that can't be easily fixed later without detailed knowledge of the system's structure and internals.