Bug 209442 - Crash, before complete start, external mysqldb
Summary: Crash, before complete start, external mysqldb
Status: RESOLVED DUPLICATE of bug 209380
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-04 21:08 UTC by Andy
Modified: 2009-10-04 21:10 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy 2009-10-04 21:08:23 UTC
Application that crashed: amarok
Version of the application: 2.2-GIT
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.31.1-56.fc12.x86_64 x86_64

What I was doing when the application crashed:
A crash before Amarok completes startup.  2.2-git updated to 10-4-09 with external mysql db that worked fine with 2-3 days ago git.

Collection is stored via NFS file share.

 -- Backtrace:
Application: Amarok (amarok), signal: Aborted
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f653e619820 (LWP 6858))]

Thread 4 (Thread 0x7f652fa46710 (LWP 6862)):
#0  0x0000003f09ad7fe3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6530545c5f in poll_func (ufds=0x7f6528000910, nfds=2, timeout=-1, userdata=0x11d2f30) at pulse/thread-mainloop.c:75
#2  0x00007f6530536326 in pa_mainloop_poll (m=0x11c0bf0) at pulse/mainloop.c:879
#3  0x00007f65305376e9 in pa_mainloop_iterate (m=0x11c0bf0, block=<value optimized out>, retval=0x0) at pulse/mainloop.c:961
#4  0x00007f65305377a0 in pa_mainloop_run (m=0x11c0bf0, retval=0x0) at pulse/mainloop.c:979
#5  0x00007f6530545b7b in thread (userdata=0x11d2570) at pulse/thread-mainloop.c:94
#6  0x00007f6530304f20 in internal_thread_func (userdata=0x11c0cf0) at pulsecore/thread-posix.c:72
#7  0x0000003f0a20696a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x0000003f09ae13cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6520144710 (LWP 6864)):
[KCrash Handler]
#5  0x0000003f09a33575 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x0000003f09a34d55 in abort () at abort.c:92
#7  0x0000003f09a6feb3 in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#8  0x0000003f09a758d6 in malloc_printerr (action=3, str=0x3f09b42790 "double free or corruption (!prev)", ptr=<value optimized out>) at malloc.c:6264
#9  0x00007f652d601609 in vio_delete (vio=0x1319b40) at vio.c:231
#10 0x00007f652d5fd5c0 in end_server (mysql=0x1319370) at client.c:949
#11 0x00007f652d5fd90f in cli_safe_read (mysql=0x1319370) at client.c:702
#12 0x00007f652d5ffa48 in cli_advanced_command (mysql=0x1319370, command=<value optimized out>, header=<value optimized out>, header_length=<value optimized out>, arg=0x0, arg_length=0, 
    skip_check=<value optimized out>, stmt=<value optimized out>) at client.c:824
#13 0x00007f652d5cf04d in mysql_ping (mysql=<value optimized out>) at libmysql.c:1419
#14 0x00007f652d9a3ddb in MySqlServerCollection::query (this=0x1317ce0, query=...) at /home/garage/amarok/src/collection/mysqlservercollection/MySqlServerCollection.cpp:126
#15 0x00007f652d97fc8f in SqlQueryMaker::runQuery (this=0x17c4cf0, query=...) at /home/garage/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:723
#16 0x00007f652d983584 in SqlWorkerThread::run (this=0xdba0c0) at /home/garage/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:54
#17 0x0000003f1dc0befd in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f6520143ce0, th=0x1637cb0, job=0xdba0c0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/Job.cpp:106
#18 0x0000003f1dc0c1fe in ThreadWeaver::Job::execute (this=0xdba0c0, th=0x1637cb0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/Job.cpp:135
#19 0x0000003f1dc0b1ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f6520143d70, parent=0x176a370, th=0x1637cb0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/Thread.cpp:95
#20 0x0000003f1dc0b658 in ThreadWeaver::Thread::run (this=0x1637cb0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/Thread.cpp:142
#21 0x0000003f15a59d65 in QThreadPrivate::start (arg=0x1637cb0) at thread/qthread_unix.cpp:188
#22 0x0000003f0a20696a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#23 0x0000003f09ae13cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#24 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f651f743710 (LWP 6865)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003f15a5ae1b in wait (time=18446744073709551615, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=18446744073709551615, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003f1dc0aaf6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x176a370, th=0x161c3b0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003f1dc0cbfb in ThreadWeaver::WorkingHardState::applyForWork (this=0x1a624b0, th=0x161c3b0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003f1dc0b21f in ThreadWeaver::ThreadRunHelper::run (this=0x7f651f742d70, parent=0x176a370, th=0x161c3b0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/Thread.cpp:87
#6  0x0000003f1dc0b658 in ThreadWeaver::Thread::run (this=0x161c3b0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003f15a59d65 in QThreadPrivate::start (arg=0x161c3b0) at thread/qthread_unix.cpp:188
#8  0x0000003f0a20696a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x0000003f09ae13cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7f653e619820 (LWP 6858)):
#0  0x0000003f09ad7fe3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003f0d20885a in _xcb_conn_wait (c=0xd8b630, cond=<value optimized out>, vector=0x7fff34596e98, count=0x7fff34596e94) at xcb_conn.c:306
#2  0x0000003f0d208d87 in _xcb_out_send (c=0xd8b630, vector=0x7fff34596e98, count=0x7fff34596e94) at xcb_out.c:338
#3  0x0000003f0d209035 in xcb_writev (c=0xd8b630, vector=0x7fff34596ef0, count=3, requests=19) at xcb_out.c:286
#4  0x0000003f0ce4d26a in _XSend (dpy=0xd9d1c0, data=0x0, size=<value optimized out>) at xcb_io.c:332
#5  0x0000003f0ce4d3a9 in _XReply (dpy=0x7fff34596e10, rep=0x7fff34596ff0, extra=0, discard=0) at xcb_io.c:450
#6  0x0000003f0ce297e5 in XGetImage (dpy=0xd9d1c0, d=<value optimized out>, x=<value optimized out>, y=<value optimized out>, width=16, height=16, plane_mask=18446744073709551615, format=2)
    at GetImage.c:77
#7  0x0000003f16c5d0ce in QX11PixmapData::toImage (this=0x1a19390) at image/qpixmap_x11.cpp:1428
#8  0x0000003f16c4ceed in QPixmap::toImage (this=0x7fff34597820) at image/qpixmap.cpp:447
#9  0x0000003cec88b7b3 in KPixmapCache::Private::writeData (this=0xef5220, key=..., pix=...) at /usr/src/debug/kdelibs-4.3.1/kdeui/util/kpixmapcache.cpp:1434
#10 0x0000003cec88c3fb in KPixmapCache::insert (this=0xeecda0, key=..., pix=...) at /usr/src/debug/kdelibs-4.3.1/kdeui/util/kpixmapcache.cpp:1400
#11 0x0000003cec7ed74b in KIconCache::insert (this=0xeecda0, key=..., pix=..., path=<value optimized out>) at /usr/src/debug/kdelibs-4.3.1/kdeui/icons/kiconcache.cpp:285
#12 0x0000003cec7e2146 in KIconLoader::loadIcon (this=<value optimized out>, _name=<value optimized out>, group=<value optimized out>, size=<value optimized out>, state=<value optimized out>, 
    overlays=<value optimized out>, path_store=<value optimized out>, canReturnNull=<value optimized out>) at /usr/src/debug/kdelibs-4.3.1/kdeui/icons/kiconloader.cpp:1320
#13 0x0000003cec7d8d0c in KIconEngine::actualSize (this=<value optimized out>, size=<value optimized out>, mode=<value optimized out>, state=<value optimized out>)
    at /usr/src/debug/kdelibs-4.3.1/kdeui/icons/kiconengine.cpp:80
#14 0x0000003f16c240ec in QIcon::actualSize (this=<value optimized out>, size=<value optimized out>, mode=<value optimized out>, state=<value optimized out>) at image/qicon.cpp:744
#15 0x0000003f171055f7 in QStyledItemDelegate::initStyleOption (this=<value optimized out>, option=0x7fff34597e40, index=...) at itemviews/qstyleditemdelegate.cpp:353
#16 0x0000003f17106678 in QStyledItemDelegate::sizeHint (this=0x16226e0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:444
#17 0x0000003cec7f4588 in KExtendableItemDelegate::sizeHint (this=0x16226e0, option=<value optimized out>, index=...) at /usr/src/debug/kdelibs-4.3.1/kdeui/itemviews/kextendableitemdelegate.cpp:175
#18 0x0000003cec7a9929 in KShortcutsEditorDelegate::sizeHint (this=<value optimized out>, option=<value optimized out>, index=<value optimized out>)
    at /usr/src/debug/kdelibs-4.3.1/kdeui/dialogs/kshortcutseditordelegate.cpp:116
#19 0x0000003f1709d692 in QTreeView::sizeHintForColumn (this=<value optimized out>, column=<value optimized out>) at itemviews/qtreeview.cpp:2743
#20 0x0000003f1706fdd9 in QHeaderViewPrivate::resizeSections (this=0x161c410, globalMode=<value optimized out>, useGlobalMode=<value optimized out>) at itemviews/qheaderview.cpp:2983
#21 0x0000003f17058449 in QAbstractItemView::doItemsLayout (this=0x161b060) at itemviews/qabstractitemview.cpp:1022
#22 0x0000003f170a4e3c in QTreeView::doItemsLayout (this=0x1616ce0) at itemviews/qtreeview.cpp:1980
#23 0x0000003f1709d312 in executePostedLayout (this=0x1617640) at ../../src/gui/itemviews/qabstractitemview_p.h:191
#24 QTreeView::sizeHintForColumn (this=0x1617640) at itemviews/qtreeview.cpp:2716
#25 0x0000003f1706fdd9 in QHeaderViewPrivate::resizeSections (this=0x161c410, globalMode=<value optimized out>, useGlobalMode=<value optimized out>) at itemviews/qheaderview.cpp:2983
#26 0x0000003f17061bbd in QAbstractItemView::qt_metacall (this=0x161b060, _c=InvokeMetaMethod, _id=23, _a=0x7fff34598760) at .moc/release-shared/moc_qabstractitemview.cpp:233
#27 0x0000003f17074fe5 in QHeaderView::qt_metacall (this=0x161b060, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff34598760) at .moc/release-shared/moc_qheaderview.cpp:132
#28 0x0000003f15b47ca7 in QMetaMethod::invoke (this=0x7fff34598a10, object=0x161b060, connectionType=<value optimized out>, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=
    ..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1522
#29 0x0000003f15b48346 in QMetaObject::invokeMethod (obj=0x161b060, member=<value optimized out>, type=<value optimized out>, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., 
    val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1114
#30 0x0000003f1709971c in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x7db778 <Address 0x7db778 out of bounds>, 
    obj=<value optimized out>) at ../../src/corelib/kernel/qobjectdefs.h:403
#31 QTreeView::updateGeometries (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x7db778 <Address 0x7db778 out of bounds>, 
    obj=<value optimized out>) at itemviews/qtreeview.cpp:2692
#32 0x0000003f170a5c49 in QTreeView::timerEvent (this=0x1616ce0, event=0x7fff34599780) at itemviews/qtreeview.cpp:1188
#33 0x0000003f15b4eb4e in QObject::event (this=0x1616ce0, e=0x7fff34599780) at kernel/qobject.cpp:1074
#34 0x0000003f16bdd5bf in QWidget::event (this=0x1616ce0, event=0x7fff34599780) at kernel/qwidget.cpp:7946
#35 0x0000003f16f35b66 in QFrame::event (this=0x1616ce0, e=0x7fff34599780) at widgets/qframe.cpp:559
#36 0x0000003f16fc4e51 in QAbstractScrollArea::event (this=0x1616ce0, e=0x7fff34599780) at widgets/qabstractscrollarea.cpp:918
#37 0x0000003f1705ffbb in QAbstractItemView::event (this=0x1616ce0, event=0x7fff34599780) at itemviews/qabstractitemview.cpp:1411
#38 0x0000003f16b8f6bc in QApplicationPrivate::notify_helper (this=0xd64090, receiver=0x1616ce0, e=0x7fff34599780) at kernel/qapplication.cpp:4056
#39 0x0000003f16b9691e in QApplication::notify (this=<value optimized out>, receiver=0x1616ce0, e=0x7fff34599780) at kernel/qapplication.cpp:4021
#40 0x0000003cec811b56 in KApplication::notify (this=0x7fff3459ab90, receiver=0x1616ce0, event=0x7fff34599780) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#41 0x0000003f15b3f90c in QCoreApplication::notifyInternal (this=0x7fff3459ab90, receiver=0x1616ce0, event=0x7fff34599780) at kernel/qcoreapplication.cpp:610
#42 0x0000003f15b6a382 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#43 QTimerInfoList::activateTimers (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:572
#44 0x0000003f15b67d5d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#45 0x0000003f0b63922e in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#46 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#47 0x0000003f0b63cc18 in g_main_context_iterate (context=0xd69520, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#48 0x0000003f0b63cd3a in IA__g_main_context_iteration (context=0xd69520, may_block=1) at gmain.c:2654
#49 0x0000003f15b67ca6 in QEventDispatcherGlib::processEvents (this=0xc4cbb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#50 0x0000003f16c2208e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#51 0x0000003f15b3e242 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#52 0x0000003f15b3e614 in QEventLoop::exec (this=0x7fff34599b40, flags=) at kernel/qeventloop.cpp:201
#53 0x0000003cec89a630 in KWallet::Wallet::openWallet (name=<value optimized out>, w=<value optimized out>, ot=Synchronous) at /usr/src/debug/kdelibs-4.3.1/kdeui/util/kwallet.cpp:252
#54 0x00007f653e86089e in WalletHelper::getNetworkWallet (this=0x1a5a720) at /home/garage/amarok/src/CredentialStorage.cpp:36
#55 0x00007f653e8602c5 in CredentialStorage::readEntry (folder=..., key=..., value=...) at /home/garage/amarok/src/CredentialStorage.cpp:68
#56 0x00007f652de58887 in LastFmServiceConfig::load (this=0x7fff34599ef0) at /home/garage/amarok/src/services/lastfm/LastFmServiceConfig.cpp:58
#57 0x00007f652de5820a in LastFmServiceConfig::LastFmServiceConfig (this=0x7fff34599ef0) at /home/garage/amarok/src/services/lastfm/LastFmServiceConfig.cpp:31
#58 0x00007f652de429cc in LastFmServiceFactory::createLastFmService (this=0x1303c50) at /home/garage/amarok/src/services/lastfm/LastFmService.cpp:141
#59 0x00007f652de42894 in LastFmServiceFactory::init (this=0x1303c50) at /home/garage/amarok/src/services/lastfm/LastFmService.cpp:84
#60 0x00007f653e961769 in ServicePluginManager::init (this=0x11fb670) at /home/garage/amarok/src/services/ServicePluginManager.cpp:102
#61 0x00007f653eadbd74 in MainWindow::init (this=0xd5a860) at /home/garage/amarok/src/MainWindow.cpp:347
#62 0x00007f653ead933e in MainWindow::MainWindow (this=0xd5a860) at /home/garage/amarok/src/MainWindow.cpp:163
#63 0x00007f653eabd401 in App::continueInit (this=0x7fff3459ab90) at /home/garage/amarok/src/App.cpp:667
#64 0x00007f653eab95f5 in App::App (this=0x7fff3459ab90) at /home/garage/amarok/src/App.cpp:225
#65 0x0000000000406ba2 in main (argc=1, argv=0x7fff3459c998) at /home/garage/amarok/src/main.cpp:225
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Mikko C. 2009-10-04 21:10:52 UTC

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