Bug 305258 - crash if not able to find MySQL message files
Summary: crash if not able to find MySQL message files
Status: RESOLVED DUPLICATE of bug 284810
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 2.7
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-16 13:17 UTC by Jaime Torres
Modified: 2012-08-16 23:19 UTC (History)
0 users

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 Jaime Torres 2012-08-16 13:17:27 UTC
Application: amarok (2.5-GIT)
KDE Platform Version: 4.9.00 (Compiled from sources)
Qt Version: 4.8.3
Operating System: Linux 3.4.4-32-desktop x86_64
Distribution: "openSUSE 12.3 Milestone 0 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

MariaDB (the fork of MySQL) lately is not deploying the same files as MySQL, therefore, after starting Amarok, a timed messageBox appears with the following content:

La base de datos de amarok notificó los siguientes errores:
GREPME MySQLe query failed! (2000) Can't find messagefile '/usr/share/mysql-community-server/errmsg.sys' on init(I18N_ARGUMENT_MISSING)
en la mayor parte de los casos usted necesitará solucionar estos errores antes de que Amarok se ejecute adecuadamente.

After the messagebox timeout, crash.

If I press on the OK of the messagebox, Amarok starts and works normally.

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fbf54e0fd25 in raise () from /lib64/libc.so.6
#7  0x00007fbf54e111a8 in abort () from /lib64/libc.so.6
#8  0x00007fbf5577d6df in qt_message_output (msgType=<optimized out>, msgType@entry=QtFatalMsg, buf=<optimized out>) at /g/kdegit/qt/src/corelib/global/qglobal.cpp:2266
#9  0x00007fbf5577d844 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7fbf558f94a0 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff600de378) at /g/kdegit/qt/src/corelib/global/qglobal.cpp:2312
#10 0x00007fbf5577d9d4 in qFatal (msg=<optimized out>) at /g/kdegit/qt/src/corelib/global/qglobal.cpp:2495
#11 0x00007fbf33b2f588 in Collections::SqlCollection::mountPointManager (this=0x7fbf3c8bda40) at /g/kdegit/amarok/src/core-impl/collections/db/sql/SqlCollection.cpp:280
#12 0x00007fbf33b0ddd9 in ScanManager::addDirToList(QString const&) (this=0x7fbf3639cdc0, directory=...) at /g/kdegit/amarok/src/core-impl/collections/db/ScanManager.cpp:180
#13 0x00007fbf33b4c086 in ScanManager::requestIncrementalScan(QString const&) (this=this@entry=0x7fbf3639cdc0, directory=...) at /g/kdegit/amarok/src/core-impl/collections/db/ScanManager.cpp:149
#14 0x00007fbf33b5b4c2 in ScanManager::checkForDirectoryChanges (this=0x7fbf3639cdc0) at /g/kdegit/amarok/src/core-impl/collections/db/ScanManager.cpp:292
#15 0x00007fbf33b4bfc0 in qt_static_metacall (_o=0x7fbf3639cdc0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /g/b45/amarok/src/core-impl/collections/db/sql/ScanManager.moc:98
#16 0x00007fbf558a671f in QMetaObject::activate (sender=0x7fbf3c8c6080, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:3547
#17 0x00007fbf558a5afc in QObject::event (this=0x7fbf3c8c6080, e=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:1157
#18 0x00007fbf5634c291 in QApplicationPrivate::notify_helper (this=this@entry=0x7fbf3d891c40, receiver=receiver@entry=0x7fbf3c8c6080, e=e@entry=0x7fff600ded40) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4557
#19 0x00007fbf56351339 in QApplication::notify (this=0x7fff600e2330, receiver=0x7fbf3c8c6080, e=0x7fff600ded40) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4418
#20 0x00007fbf57d1ac8e in KApplication::notify (this=0x7fff600e2330, receiver=0x7fbf3c8c6080, event=0x7fff600ded40) at /g/kdegit/kdelibs/kdeui/kernel/kapplication.cpp:311
#21 0x00007fbf5588ef6d in QCoreApplication::notifyInternal (this=0x7fff600e2330, receiver=0x7fbf3c8c6080, event=0x7fff600ded40) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:915
#22 0x00007fbf558c3352 in QCoreApplication::sendEvent (event=0x7fff600ded40, receiver=<optimized out>) at ../../include/QtCore/../../../../kdegit/qt/src/corelib/kernel/qcoreapplication.h:231
#23 QTimerInfoList::activateTimers (this=0x7fbf3d85ab60) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:611
#24 0x00007fbf558bfd84 in timerSourceDispatch (source=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:186
#25 timerSourceDispatch (source=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:180
#26 0x00007fbf558bfdb1 in idleTimerSourceDispatch (source=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:233
#27 0x00007fbf4da733b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#28 0x00007fbf4da736e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fbf4da737a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#30 0x00007fbf558c04e4 in QEventDispatcherGlib::processEvents (this=0x7fbf3d82b970, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:424
#31 0x00007fbf563fa866 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at /g/kdegit/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fbf5588d4cf in QEventLoop::processEvents (this=this@entry=0x7fff600defd0, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:149
#33 0x00007fbf5588d788 in QEventLoop::exec (this=0x7fff600defd0, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:204
#34 0x00007fbf56874147 in QDialog::exec (this=0x7fbf363d6f70) at /g/kdegit/qt/src/gui/dialogs/qdialog.cpp:554
#35 0x00007fbf57c8ba91 in KMessageBox::createKMessageBox (dialog=dialog@entry=0x7fbf363d6f70, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=..., notifyType=notifyType@entry=QMessageBox::Critical) at /g/kdegit/kdelibs/kdeui/dialogs/kmessagebox.cpp:344
#36 0x00007fbf57c8bf98 in KMessageBox::createKMessageBox (dialog=dialog@entry=0x7fbf363d6f70, icon=icon@entry=QMessageBox::Critical, text=..., strlist=..., ask=..., checkboxReturn=checkboxReturn@entry=0x0, options=..., details=...) at /g/kdegit/kdelibs/kdeui/dialogs/kmessagebox.cpp:159
#37 0x00007fbf57c8c8c0 in KMessageBox::errorListWId (parent_id=0, text=..., strlist=..., caption=..., options=...) at /g/kdegit/kdelibs/kdeui/dialogs/kmessagebox.cpp:854
#38 0x00007fbf57c8ca0d in KMessageBox::error (parent=0x7fbf36387c00, text=..., caption=..., options=...) at /g/kdegit/kdelibs/kdeui/dialogs/kmessagebox.cpp:821
#39 0x00007fbf33b1366c in Collections::SqlCollection::SqlCollection(QString const&, QString const&, SqlStorage*) (this=<optimized out>, id=..., prettyName=..., storage=0x7fbf363d6d60) at /g/kdegit/amarok/src/core-impl/collections/db/sql/SqlCollection.cpp:203
#40 0x00007fbf33b136f5 in Collections::SqlCollectionFactory::createSqlCollection(QString const&, QString const&, SqlStorage*) const (this=<optimized out>, id=..., prettyName=..., storage=0x7fbf363d6d60) at /g/kdegit/amarok/src/core-impl/collections/db/sql/SqlCollectionFactory.cpp:31
#41 0x00007fbf33b9ae13 in Collections::MySqlEmbeddedCollectionFactory::init (this=0x7fbf363d61c0) at /g/kdegit/amarok/src/core-impl/collections/db/sql/mysqlecollection/MySqlEmbeddedCollection.cpp:35
#42 0x00007fbf57440661 in CollectionManager::loadPlugins (this=this@entry=0x7fbf362bc140, factories=...) at /g/kdegit/amarok/src/core-impl/collections/support/CollectionManager.cpp:207
#43 0x00007fbf57443660 in CollectionManager::init (this=0x7fbf362bc140, factories=...) at /g/kdegit/amarok/src/core-impl/collections/support/CollectionManager.cpp:175
#44 0x00007fbf57815177 in Plugins::PluginManager::init (this=this@entry=0x7fbf361565c0) at /g/kdegit/amarok/src/PluginManager.cpp:82
#45 0x00007fbf57815750 in Plugins::PluginManager::PluginManager (this=0x7fbf361565c0, parent=<optimized out>) at /g/kdegit/amarok/src/PluginManager.cpp:64
#46 0x00007fbf5781586c in Plugins::PluginManager::instance () at /g/kdegit/amarok/src/PluginManager.cpp:43
#47 0x00007fbf5783a678 in MainWindow::MainWindow() (this=0x7fbf36387c00) at /g/kdegit/amarok/src/MainWindow.cpp:140
#48 0x00007fbf5783af4c in App::continueInit() (this=this@entry=0x7fff600e2330) at /g/kdegit/amarok/src/App.cpp:545
#49 0x00007fbf5783bafc in App::App() (this=0x7fff600e2330) at /g/kdegit/amarok/src/App.cpp:184
#50 0x0000000000408783 in main (argc=0, argv=<optimized out>) at /g/kdegit/amarok/src/main.cpp:304

This bug may be a duplicate of or related to bug 284795.

Possible duplicates by query: bug 284795.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-08-16 23:19:01 UTC
This is a known bug in Opensuse, please check with your distribution.

*** This bug has been marked as a duplicate of bug 284810 ***