https://bugs.kde.org/show_bug.cgi?id=487937
Bug ID: 487937 Summary: Amarok crashes on startup in Debian Classification: Applications Product: amarok Version: unspecified Platform: Debian unstable OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: amarok-bugs-d...@kde.org Reporter: jfeb...@gmail.com Target Milestone: kf5 Application: amarok (3.0.0-git) Qt Version: 6.6.2 Frameworks Version: 6.3.0 Operating System: Linux 6.9.3-josep1 x86_64 Windowing System: X11 Distribution: Debian GNU/Linux trixie/sid DrKonqi: 6.0.80 [KCrashBackend] -- Information about the crash: I builded Amarok 3.0 and also from current git master but it always crashes on startup. However if I move or remove /usr/lib/x86_64-linux-gnu/qt5/plugins/amarok_collection-mysqlcollection.so then Amarok starts but it's unable to build a local music collection. I'm using Debian unstable with Qt 5.15.13, KDE Plasma 5.27.11, KDE Framework 5.115.0 and MariaDB 10.11.8 same version for the embedded version. Starting Amarok with the --debug from the terminal I get this output: amarok --debug Qt: Session management error: None of the authentication protocols specified are supported amarok: BEGIN: void App::continueInit() amarok: BEGIN: virtual int App::newInstance() amarok: BEGIN: void App::handleCliArgs(const QString&) amarok: END__: void App::handleCliArgs(const QString&) [Took: 0s] amarok: END__: virtual int App::newInstance() [Took: 0s] amarok: BEGIN: EngineController::EngineController() amarok: END__: EngineController::EngineController() [Took: 0s] amarok: BEGIN: void EngineController::initializePhonon() QObject::connect: No such signal Phonon::VLC::MediaObject::angleChanged(int) QObject::connect: No such signal Phonon::VLC::MediaObject::availableAnglesChanged(int) amarok: BEGIN: void EqualizerController::initialize(const Phonon::Path&) amarok: [EqualizerController] Established Phonon equalizer effect with 11 parameters. amarok: BEGIN: void EqualizerController::eqUpdate() amarok: END__: void EqualizerController::eqUpdate() [Took: 0s] amarok: END__: void EqualizerController::initialize(const Phonon::Path&) [Took: 0s] WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::AudioDataOutput ( no objectName ). amarok: [EngineController] Tick Interval (actual): 100 amarok: END__: void EngineController::initializePhonon() [Took: 0.016s] amarok: BEGIN: CollectionManager::CollectionManager() amarok: END__: CollectionManager::CollectionManager() [Took: 0s] amarok: BEGIN: MainWindow::MainWindow() amarok: BEGIN: Plugins::PluginManager::PluginManager(QObject*) amarok: BEGIN: void Plugins::PluginManager::checkPluginEnabledStates() amarok: [PluginManager] found plugin: "amarok_collection-ipodcollection" enabled: true amarok: [PluginManager] found plugin: "amarok_service_lastfm" enabled: true amarok: [PluginManager] Plugin "amarok_storage-mysqlserverstorage" is vital amarok: [PluginManager] found plugin: "amarok_storage-mysqlserverstorage" enabled: true amarok: [PluginManager] found plugin: "amarok_service_ampache" enabled: false amarok: [PluginManager] found plugin: "amarok_importer-itunes" enabled: true amarok: [PluginManager] Plugin "amarok_collection-mysqlcollection" is vital amarok: [PluginManager] found plugin: "amarok_collection-mysqlcollection" enabled: true amarok: [PluginManager] found plugin: "amarok_collection-daapcollection" enabled: false amarok: [PluginManager] found plugin: "amarok_collection-umscollection" enabled: true amarok: [PluginManager] Plugin "amarok_storage-mysqlestorage" is vital amarok: [PluginManager] found plugin: "amarok_storage-mysqlestorage" enabled: true amarok: [PluginManager] found plugin: "amarok_importer-clementine" enabled: true amarok: [PluginManager] found plugin: "amarok_importer-banshee" enabled: true amarok: [PluginManager] found plugin: "amarok_service_magnatunestore" enabled: true amarok: [PluginManager] found plugin: "amarok_collection-playdarcollection" enabled: false amarok: [PluginManager] found plugin: "amarok_collection-audiocdcollection" enabled: true amarok: [PluginManager] found plugin: "amarok_collection-mtpcollection" enabled: true amarok: [PluginManager] found plugin: "amarok_service_gpodder" enabled: false amarok: [PluginManager] found plugin: "amarok_importer-rhythmbox" enabled: true amarok: [PluginManager] found plugin: "amarok_importer-fastforward" enabled: true amarok: [PluginManager] found plugin: "amarok_service_opmldirectory" enabled: true amarok: [PluginManager] found plugin: "amarok_importer-amarok" enabled: true amarok: [PluginManager] 20 plugins in total amarok: [PluginManager] Creating factory for plugin: "amarok_collection-ipodcollection" amarok: [PluginManager] Creating factory for plugin: "amarok_service_lastfm" amarok: [PluginManager] Creating factory for plugin: "amarok_storage-mysqlserverstorage" amarok: [PluginManager] Plugin "amarok_storage-mysqlserverstorage" is vital amarok: [PluginManager] Creating factory for plugin: "amarok_service_ampache" amarok: [PluginManager] Creating factory for plugin: "amarok_importer-itunes" amarok: [PluginManager] Creating factory for plugin: "amarok_collection-mysqlcollection" amarok: [PluginManager] Plugin "amarok_collection-mysqlcollection" is vital amarok: [PluginManager] Creating factory for plugin: "amarok_collection-daapcollection" amarok: [PluginManager] Creating factory for plugin: "amarok_collection-umscollection" amarok: [PluginManager] Creating factory for plugin: "amarok_storage-mysqlestorage" amarok: [PluginManager] Plugin "amarok_storage-mysqlestorage" is vital amarok: [PluginManager] Creating factory for plugin: "amarok_importer-clementine" amarok: [PluginManager] Creating factory for plugin: "amarok_importer-banshee" amarok: [PluginManager] Creating factory for plugin: "amarok_service_magnatunestore" amarok: [PluginManager] Creating factory for plugin: "amarok_collection-playdarcollection" amarok: BEGIN: Collections::PlaydarCollectionFactory::PlaydarCollectionFactory() amarok: END__: Collections::PlaydarCollectionFactory::PlaydarCollectionFactory() [Took: 0s] amarok: [PluginManager] Creating factory for plugin: "amarok_collection-audiocdcollection" amarok: [PluginManager] Creating factory for plugin: "amarok_collection-mtpcollection" amarok: [PluginManager] Creating factory for plugin: "amarok_service_gpodder" amarok: [PluginManager] Creating factory for plugin: "amarok_importer-rhythmbox" amarok: [PluginManager] Creating factory for plugin: "amarok_importer-fastforward" amarok: [PluginManager] Creating factory for plugin: "amarok_service_opmldirectory" amarok: [PluginManager] Creating factory for plugin: "amarok_importer-amarok" amarok: BEGIN: StorageManager::StorageManager() amarok: END__: StorageManager::StorageManager() [Took: 0s] amarok: BEGIN: ServicePluginManager::ServicePluginManager() amarok: END__: ServicePluginManager::ServicePluginManager() [Took: 0s] Got ERROR: "Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist" errno: 2000 amarok: [MySqlStorage] Connected to MySQL server 10.11.8-MariaDB-1-embedded amarok: [MySqlStorage] Initialized thread, count == 1 amarok: BEGIN: void StorageManager::slotNewStorage(QSharedPointer<SqlStorage>) amarok: END__: void StorageManager::slotNewStorage(QSharedPointer<SqlStorage>) [Took: 0s] amarok: BEGIN: bool IpodCollectionFactory::identifySolidDevice(const QString&) const amarok: Device supported PMP protocols: ("mtp") amarok: Device "/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:08.1/0000:07:00.3/usb3/3-3" doesn't have PortableMediaPlayer ipod interface or StorageAccess interface -> cannot be and iPod amarok: END__: bool IpodCollectionFactory::identifySolidDevice(const QString&) const [Took: 0s] amarok: BEGIN: bool IpodCollectionFactory::identifySolidDevice(const QString&) const amarok: Device "/org/freedesktop/UDisks2/block_devices/sdc1" not identified iPod-like, trying parent device amarok: Device "/org/freedesktop/UDisks2/drives/SanDisk_SDSSDA120G_151657403493" not identified iPod-like, trying parent device amarok: Device "/org/freedesktop/UDisks2" not identified iPod-like, trying parent device amarok: Device "" is invalid, returning false. (i.e. was not iPod-like) amarok: END__: bool IpodCollectionFactory::identifySolidDevice(const QString&) const [Took: 0s] amarok: BEGIN: bool IpodCollectionFactory::identifySolidDevice(const QString&) const amarok: Device "/org/freedesktop/UDisks2/block_devices/nvme0n1p2" not identified iPod-like, trying parent device amarok: Device "/org/freedesktop/UDisks2/drives/SK_hynix_BC501_HFM256GDJTNG_8310A_NN92N267910802P1Z" not identified iPod-like, trying parent device amarok: Device "/org/freedesktop/UDisks2" not identified iPod-like, trying parent device amarok: Device "" is invalid, returning false. (i.e. was not iPod-like) amarok: END__: bool IpodCollectionFactory::identifySolidDevice(const QString&) const [Took: 0s] amarok: BEGIN: bool IpodCollectionFactory::identifySolidDevice(const QString&) const amarok: Device "/org/freedesktop/UDisks2/block_devices/sdb1" not identified iPod-like, trying parent device amarok: Device "/org/freedesktop/UDisks2/drives/WDC_WD40EZRZ_75GXCB0_WD_WCC7K2DN90LT" not identified iPod-like, trying parent device amarok: Device "/org/freedesktop/UDisks2" not identified iPod-like, trying parent device amarok: Device "" is invalid, returning false. (i.e. was not iPod-like) amarok: END__: bool IpodCollectionFactory::identifySolidDevice(const QString&) const [Took: 0s] amarok: BEGIN: bool IpodCollectionFactory::identifySolidDevice(const QString&) const amarok: Device "/org/freedesktop/UDisks2/block_devices/nvme0n1p3" not identified iPod-like, trying parent device amarok: Device "/org/freedesktop/UDisks2/drives/SK_hynix_BC501_HFM256GDJTNG_8310A_NN92N267910802P1Z" not identified iPod-like, trying parent device amarok: Device "/org/freedesktop/UDisks2" not identified iPod-like, trying parent device amarok: Device "" is invalid, returning false. (i.e. was not iPod-like) amarok: END__: bool IpodCollectionFactory::identifySolidDevice(const QString&) const [Took: 0s] amarok: BEGIN: bool IpodCollectionFactory::identifySolidDevice(const QString&) const amarok: Device "/org/freedesktop/UDisks2/block_devices/sda1" not identified iPod-like, trying parent device amarok: Device "/org/freedesktop/UDisks2/drives/WDC_WD10EZEX_08WN4A0_WD_WCC6Y5KHSS4P" not identified iPod-like, trying parent device amarok: Device "/org/freedesktop/UDisks2" not identified iPod-like, trying parent device amarok: Device "" is invalid, returning false. (i.e. was not iPod-like) amarok: END__: bool IpodCollectionFactory::identifySolidDevice(const QString&) const [Took: 0s] amarok: BEGIN: bool IpodCollectionFactory::identifySolidDevice(const QString&) const amarok: Device "/org/freedesktop/UDisks2/block_devices/nvme0n1p1" not identified iPod-like, trying parent device amarok: Device "/org/freedesktop/UDisks2/drives/SK_hynix_BC501_HFM256GDJTNG_8310A_NN92N267910802P1Z" not identified iPod-like, trying parent device amarok: Device "/org/freedesktop/UDisks2" not identified iPod-like, trying parent device amarok: Device "" is invalid, returning false. (i.e. was not iPod-like) amarok: END__: bool IpodCollectionFactory::identifySolidDevice(const QString&) const [Took: 0s] amarok: BEGIN: SqlRegistry::SqlRegistry(Collections::SqlCollection*) 20 -- exe=/usr/bin/amarok 13 -- platform=xcb 11 -- display=:0 15 -- appname=amarok 17 -- apppath=/usr/bin 10 -- signal=11 11 -- pid=127371 21 -- appversion=3.0.0-git 19 -- programname=Amarok 31 -- bugaddress=sub...@bugs.kde.org KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = amarok path = /usr/bin pid = 127371 KCrash: Arguments: /usr/bin/amarok --debug KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi qt.gui.icc: fromIccProfile: failed size sanity 2 Qt: Session management error: None of the authentication protocols specified are supported fish: Job 1, 'amarok --debug' has stopped I also removed all Amarok configurations from .config and .local/share with the same results. Maybe it's something specific with the mariadb Debian's packages. The crash can be reproduced every time. -- Backtrace: Application: Amarok (amarok), signal: Segmentation fault [KCrash Handler] #4 __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:523 #5 0x00007f592ff46625 in bitmap_copy () at /lib/x86_64-linux-gnu/libsamba-util.so.0 #6 0x00007f58ea7cd842 in SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool, bool, bool, bool, Item_func::Bitmap) () at /lib/x86_64-linux-gnu/libmariadbd.so.19 #7 0x00007f58ea76aa9a in mysql_delete(THD*, TABLE_LIST*, Item*, SQL_I_List<st_order>*, unsigned long long, unsigned long long, select_result*) () at /lib/x86_64-linux-gnu/libmariadbd.so.19 #8 0x00007f58ea72b096 in mysql_execute_command(THD*, bool) () at /lib/x86_64-linux-gnu/libmariadbd.so.19 #9 0x00007f58ea72ce29 in mysql_parse(THD*, char*, unsigned int, Parser_state*) () at /lib/x86_64-linux-gnu/libmariadbd.so.19 #10 0x00007f58ea72e301 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) () at /lib/x86_64-linux-gnu/libmariadbd.so.19 #11 0x00007f58ea514bfe in () at /lib/x86_64-linux-gnu/libmariadbd.so.19 #12 0x00007f58ea505ed2 in mysql_send_query () at /lib/x86_64-linux-gnu/libmariadbd.so.19 #13 0x00007f58ea505f35 in mysql_real_query () at /lib/x86_64-linux-gnu/libmariadbd.so.19 #14 0x00007f59266309ae in MySqlStorage::query(QString const&) (this=this@entry=0x5591a961d620, statement=...) at ./src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:116 #15 0x00007f5916370452 in DatabaseUpdater::deleteOrphanedByDirectory(QString const&) (this=this@entry=0x7ffed06eeaf0, table=...) at ./src/core-impl/collections/db/sql/DatabaseUpdater.cpp:1008 #16 0x00007f59163a313f in SqlRegistry::SqlRegistry(Collections::SqlCollection*) (this=this@entry=0x5591a98619d0, collection=collection@entry=0x5591a9878540) at ./src/core-impl/collections/db/sql/SqlRegistry.cpp:48 #17 0x00007f5916387df0 in Collections::SqlCollection::SqlCollection(QSharedPointer<SqlStorage> const&) (this=this@entry=0x5591a9878540, storage=...) at ./src/core-impl/collections/db/sql/SqlCollection.cpp:265 #18 0x00007f591638b787 in Collections::SqlCollectionFactory::createSqlCollection(QSharedPointer<SqlStorage>) const (this=this@entry=0x7ffed06eecaf, storage=...) at ./src/core-impl/collections/db/sql/SqlCollectionFactory.cpp:29 #19 0x00007f592663bce2 in Collections::MySqlCollectionFactory::init() (this=0x5591a95e7d20) at ./src/core-impl/collections/db/sql/mysqlcollection/MySqlCollectionFactory.cpp:37 #20 0x00007f5940592958 in Plugins::PluginManager::checkPluginEnabledStates() (this=this@entry=0x5591a95e6130) at ./src/PluginManager.cpp:219 #21 0x00007f5940593da9 in Plugins::PluginManager::init() (this=this@entry=0x5591a95e6130) at ./src/PluginManager.cpp:90 #22 0x00007f5940593f0d in Plugins::PluginManager::PluginManager(QObject*) (this=0x5591a95e6130, parent=<optimized out>) at ./src/PluginManager.cpp:70 #23 0x00007f5940594065 in Plugins::PluginManager::instance() () at ./src/PluginManager.cpp:49 #24 0x00007f59405830b3 in The::pluginManager() () at ./src/PluginManager.h:118 #25 MainWindow::MainWindow() (this=this@entry=0x5591a95c8400) at ./src/MainWindow.cpp:146 #26 0x00007f594056a7c8 in App::continueInit() (this=this@entry=0x7ffed06ef180) at ./src/App.cpp:463 #27 0x00005591693affb3 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:382 [Inferior 1 (process 124943) detached] Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.