Another dynamic collections related crash

Dan Meltzer hydrogen at notyetimplemented.com
Tue Jan 30 06:02:46 UTC 2007


while I don't expect amarok to handle a remote nfs server shutting down mid-stream perfectly, I think it might be able to be handled better then it currently is (Amarok freezes)

I appologize for the less helpful bt than usual, this is on my box that doesn't have debugging symbols built for most apps.
bt:

0x00002adf22625eb7 in access () from /lib/libc.so.6
(gdb) bt
#0  0x00002adf22625eb7 in access () from /lib/libc.so.6
#1  0x0000003c87360e32 in qt_file_access () from /usr/qt/3/lib64/libqt-mt.so.3
#2  0x0000003c87373e61 in QFileInfo::exists ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#3  0x00002adf1fd2ee28 in ScanController::initIncremental (this=0x1153c80)
    at /home/hydrogen/amarok-svn/amarok/src/scancontroller.cpp:201
#4  0x00002adf1fd306b3 in ScanController (this=0x1153c80,
    parent=0x2adf200a7be0, incremental=true, folders=@0x7fff8b2fbf50)
    at /home/hydrogen/amarok-svn/amarok/src/scancontroller.cpp:91
#5  0x00002adf1fb9570b in CollectionDB::scanModifiedDirs (this=0x2adf200a7be0)
    at /home/hydrogen/amarok-svn/amarok/src/collectiondb.cpp:5732
#6  0x00002adf1fb95bad in CollectionDB::scanMonitor (this=0x2adf200a7be0)
    at /home/hydrogen/amarok-svn/amarok/src/collectiondb.cpp:4884
#7  0x00002adf1fb95bc9 in CollectionDB::timerEvent (this=0x2adf200a7be0)
    at /home/hydrogen/amarok-svn/amarok/src/collectiondb.cpp:4845
#8  0x0000003c8713b39f in QObject::event () from /usr/qt/3/lib64/libqt-mt.so.3
#9  0x0000003c870eb12b in QApplication::internalNotify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#10 0x0000003c870ebc5a in QApplication::notify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#11 0x00002adf219e5deb in KApplication::notify ()
   from /usr/kde/3.5/lib/libkdecore.so.4
#12 0x0000003c870e2855 in QEventLoop::activateTimers ()
---Type <return> to continue, or q <return> to quit---
   from /usr/qt/3/lib64/libqt-mt.so.3
#13 0x0000003c870a5943 in QEventLoop::processEvents ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#14 0x0000003c870fe28a in QEventLoop::enterLoop ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#15 0x0000003c870fe16e in QEventLoop::exec ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#16 0x0000000000405dd4 in main (argc=1, argv=0x7fff8b2fc768)
    at /home/hydrogen/amarok-svn/amarok/src/main.cpp:114
(gdb)
(gdb) thread apply full bt all
(gdb) thread apply all bt full

Thread 6 (Thread 1090533696 (LWP 8036)):
#0  0x00002adf223135b7 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
No symbol table info available.
#1  0x00002aaaac8b9e90 in ?? () from /usr/lib64/libxine.so.1
No symbol table info available.
#2  0x00002adf2230f027 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#3  0x00002adf22631f5d in clone () from /lib/libc.so.6
No symbol table info available.
#4  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 5 (Thread 1082140992 (LWP 8037)):
#0  0x00002adf2262a759 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x00002aaaae0647dd in ?? ()
   from /usr/lib64/xine/plugins/1.1.4/xineplug_ao_out_alsa.so
No symbol table info available.
#2  0x00002adf2230f027 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#3  0x00002adf22631f5d in clone () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#4  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 4 (Thread 1098926400 (LWP 8038)):
#0  0x00002adf223133c6 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
No symbol table info available.
#1  0x00002aaaac8c6495 in ?? () from /usr/lib64/libxine.so.1
No symbol table info available.
#2  0x00002aaaac8c655f in ?? () from /usr/lib64/libxine.so.1
No symbol table info available.
#3  0x00002aaaac8c7178 in ?? () from /usr/lib64/libxine.so.1
No symbol table info available.
#4  0x00002adf2230f027 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x00002adf22631f5d in clone () from /lib/libc.so.6
No symbol table info available.
#6  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 3 (Thread 1107319104 (LWP 8039)):
#0  0x00002adf223133c6 in pthread_cond_wait@@GLIBC_2.3.2 ()
---Type <return> to continue, or q <return> to quit---
   from /lib/libpthread.so.0
No symbol table info available.
#1  0x00002aaaac8bc89d in ?? () from /usr/lib64/libxine.so.1
No symbol table info available.
#2  0x00002aaaac8c27d4 in ?? () from /usr/lib64/libxine.so.1
No symbol table info available.
#3  0x00002adf2230f027 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00002adf22631f5d in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 1115711808 (LWP 8040)):
#0  0x00002adf223133c6 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
No symbol table info available.
#1  0x00002aaaac8c9916 in xine_event_wait () from /usr/lib64/libxine.so.1
No symbol table info available.
#2  0x00002aaaac8c9988 in ?? () from /usr/lib64/libxine.so.1
No symbol table info available.
#3  0x00002adf2230f027 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#4  0x00002adf22631f5d in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 47137856302032 (LWP 8029)):
#0  0x00002adf22625eb7 in access () from /lib/libc.so.6
No symbol table info available.
#1  0x0000003c87360e32 in qt_file_access () from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#2  0x0000003c87373e61 in QFileInfo::exists ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#3  0x00002adf1fd2ee28 in ScanController::initIncremental (this=0x1153c80)
    at /home/hydrogen/amarok-svn/amarok/src/scancontroller.cpp:201
        id = 2
        folder = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x52e580, static shared_null = 0x52e580}, d = 0xe00570,
  static shared_null = 0x52e580}
        mtime = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x52e580, static shared_null = 0x52e580}, d = 0x1192c50,
---Type <return> to continue, or q <return> to quit---
  static shared_null = 0x52e580}
        info = {fn = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x52e580, static shared_null = 0x52e580}, d = 0xe00570,
    static shared_null = 0x52e580}, fic = 0x0, cache = true, symLink = false}
        it = {node = 0x903500}
        end = {node = 0x8137e0}
        uniquelyNamedStackAllocatedStandardBlock = {m_start = {
    tv_sec = 1170135803, tv_usec = 727041},
  m_label = 0x2adf1fe9c860 "void ScanController::initIncremental()"}
        list = {sh = 0xcda370}
        deviceIds = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x52e580, static shared_null = 0x52e580}, d = 0xb95a30,
  static shared_null = 0x52e580}
        values = {<QValueList<QString>> = {sh = 0xb2fa90}, <No data fields>}
        __PRETTY_FUNCTION__ = "void ScanController::initIncremental()"
#4  0x00002adf1fd306b3 in ScanController (this=0x1153c80,
    parent=0x2adf200a7be0, incremental=true, folders=@0x7fff8b2fbf50)
    at /home/hydrogen/amarok-svn/amarok/src/scancontroller.cpp:91
No locals.
#5  0x00002adf1fb9570b in CollectionDB::scanModifiedDirs (this=0x2adf200a7be0)
    at /home/hydrogen/amarok-svn/amarok/src/collectiondb.cpp:5732
---Type <return> to continue, or q <return> to quit---
No locals.
#6  0x00002adf1fb95bad in CollectionDB::scanMonitor (this=0x2adf200a7be0)
    at /home/hydrogen/amarok-svn/amarok/src/collectiondb.cpp:4884
No locals.
#7  0x00002adf1fb95bc9 in CollectionDB::timerEvent (this=0x2adf200a7be0)
    at /home/hydrogen/amarok-svn/amarok/src/collectiondb.cpp:4845
No locals.
#8  0x0000003c8713b39f in QObject::event () from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#9  0x0000003c870eb12b in QApplication::internalNotify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#10 0x0000003c870ebc5a in QApplication::notify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#11 0x00002adf219e5deb in KApplication::notify ()
   from /usr/kde/3.5/lib/libkdecore.so.4
No symbol table info available.
#12 0x0000003c870e2855 in QEventLoop::activateTimers ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#13 0x0000003c870a5943 in QEventLoop::processEvents ()
   from /usr/qt/3/lib64/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#14 0x0000003c870fe28a in QEventLoop::enterLoop ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#15 0x0000003c870fe16e in QEventLoop::exec ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#16 0x0000000000405dd4 in main (argc=1, argv=0x7fff8b2fc768)
    at /home/hydrogen/amarok-svn/amarok/src/main.cpp:114
        app = {<> = {<No data fields>}, <EngineObserver> = {
    _vptr.EngineObserver = 0x2adf20052870, m_subject = 0x0},
  static metaObj = 0x5d4a10, static mainThreadId = 0,
  m_pGlobalAccel = 0x60d3f0, m_pPlayerWindow = 0x0,
  m_pPlaylistWindow = 0x60d8f0, m_pTray = 0x5b76c0,
  m_pMediaDeviceManager = 0x2adf200a8460}
#0  0x00002adf22625eb7 in access () from /lib/libc.so.6
(gdb)




More information about the Amarok mailing list