Severe thumbnail problems

George Staikos staikos at kde.org
Thu Dec 26 23:24:02 GMT 2002


Ok so I tried to reproduce the problems and here is what I got:

- Set arts to start with no audio i/o.  Opened konqi on a directory, set audio 
and video previews on, and reloaded.

- Xine artsplugin is compiled and installed.

- Lots of CPU being used, processes firing up, and eventually konqi freezes.  
Here is the backtrace:

#0  0x0e924000 in select () at soinit.c:76
#1  0x0cff17a0 in Arts::StdIOManager::processOneEvent (this=0x10241f68,
    blocking=true) at iomanager.cc:253
#2  0x0d41af44 in Arts::QIOManager::processOneEvent (this=0x4, blocking=true)
    at qiomanager.cc:167
#3  0x0cfec524 in Arts::Dispatcher::waitForResult (this=0x102ac518,
    requestID=31, connection=0x10291d58) at dispatcher.cc:463
#4  0x0cff997c in Arts::Object_stub::_lookupMethod (this=0x10305578,
    methodDef=@0x7fffeca8) at object.cc:1292
#5  0x0cff9c50 in Arts::Object_stub::_lookupMethodFast (this=0x10305578,
    method=0xd38da5c 
"method:00000017637265617465506c61794f626a656374466f7255524c0000000011417274733a3a506c61794f626a65637400000000020000000300000007737472696e67000000000475726c", 
'0' <repeats 17 times>, "7737472696e6700000000096d696"...)
    at object.cc:1315
#6  0x0d3718ac in Arts::PlayObjectFactoryV2_stub::createPlayObjectForURL (
    this=0x1030559c, url=@0x7fffed58, mimetype=@0x7fffed88, createBUS=true)
    at kmedia2.cc:1885
#7  0x0d477fa0 in KDE::PlayObjectFactory::createPlayObject (this=0x102f9170,
    url=@0x10315fc0, mimetype=@0x7fffede8, createBUS=true)
    at /opt/kde3/include/arts/soundserver.h:1687
#8  0x0d477c94 in KDE::PlayObjectFactory::createPlayObject (this=0x102400b8,
    url=@0x7fffee18, createBUS=true) at kplayobjectfactory.cc:92
#9  0x0d4d4a60 in KonqSoundPlayerImpl::play (this=0x102b8ce0,
    fileName=@0x7fffee68) at konq_sound.cc:90
#10 0x0e3a4c70 in KonqIconViewWidget::slotStartSoundPreview (this=0x4)
    at konq_iconviewwidget.cc:631
#11 0x0e3ac328 in KonqIconViewWidget::qt_invoke (this=0x100811b0, _id=88,
    _o=0x7fffef28) at konq_iconviewwidget.moc:201
#12 0x0f0f69ac in QObject::activate_signal (this=0x10315dc0, clist=0x10315ec8,
    o=0x7fffef28) at kernel/qobject.cpp:2214
#13 0x0f0f67c8 in QObject::activate_signal (this=0x10315dc0, signal=2)
    at kernel/qobject.cpp:2188
#14 0x0f4b6da0 in QTimer::timeout (this=0x10315dc0)
    at .moc/debug-shared-mt/moc_qtimer.cpp:83
#15 0x0f122fac in QTimer::event (this=0x10315dc0, e=0x7ffff1d8)
    at kernel/qtimer.cpp:219
#16 0x0f06e208 in QApplication::internalNotify (this=0x7ffff408,
    receiver=0x10315dc0, e=0x7ffff1d8) at kernel/qapplication.cpp:2303
#17 0x0f06d694 in QApplication::notify (this=0x7ffff408, receiver=0x10315dc0,
    e=0x7ffff1d8) at kernel/qapplication.cpp:2067
#18 0x0f7fbc20 in KApplication::notify (this=0x7ffff408, receiver=0x10315dc0,
    event=0x7ffff1d8) at kapplication.cpp:453
#19 0x0f4a53d0 in QApplication::sendEvent (receiver=0x10315dc0,
    event=0x7ffff1d8) at .moc/debug-shared-mt/../../kernel/qapplication.h:478
#20 0x0f042740 in QEventLoop::activateTimers (this=0x10063578)
    at kernel/qeventloop_unix.cpp:524
#21 0x0f013c30 in QEventLoop::processEvents (this=0x10063578, flags=4)
    at kernel/qeventloop_x11.cpp:311
#22 0x0f08d694 in QEventLoop::enterLoop (this=0x10063578)
    at kernel/qeventloop.cpp:191


I look at ps:

staikos   1695  0.2  1.5 20396 7740 ?        S    18:09   0:00 
/opt/kde3/bin/artsd -F 10 -S 4096 -a null -s 60 -m artsmessage -l 3 -f
staikos   1703  0.0  1.5 20396 7740 ?        S    18:10   0:00 
/opt/kde3/bin/artsd -F 10 -S 4096 -a null -s 60 -m artsmessage -l 3 -f
staikos   1705  0.0  1.5 20396 7740 ?        S    18:10   0:00 
/opt/kde3/bin/artsd -F 10 -S 4096 -a null -s 60 -m artsmessage -l 3 -f
staikos   1701  0.4  3.4 73876 17512 ?       S    18:09   0:01 kdeinit: 
kio_thumbnail thumbnail /tmp/ksocket-staikos/klauncherPZ6xtb.slave-socket 
/tmp/ksocket-staikos/konquerorJJdGDb.slave-socket
staikos   1706  0.2  3.3 73676 17064 ?       S    18:10   0:00 kdeinit: 
kio_thumbnail thumbnail /tmp/ksocket-staikos/klauncherPZ6xtb.slave-socket 
/tmp/ksocket-staikos/konquerorizxHAa.slave-socket

Surprise surprise, kio_thumbnail are frozen at:
#0  0x0e924000 in select () at soinit.c:76
#1  0x0d9907a0 in Arts::StdIOManager::processOneEvent (this=0x1008afb8,
    blocking=true) at iomanager.cc:253
#2  0x0ddb9f44 in Arts::QIOManager::processOneEvent (this=0x4, blocking=true)
    at qiomanager.cc:167
#3  0x0d98b524 in Arts::Dispatcher::waitForResult (this=0x1009b908,
    requestID=31, connection=0x100a9468) at dispatcher.cc:463
#4  0x0dd02ffc in Arts::PlayObject_stub::play (this=0x100a8cc8)
    at kmedia2.cc:295
#5  0x0de120e0 in KPlayObject::play (this=0x7fffeac8)
    at /opt/kde3/include/arts/kmedia2.h:1150
#6  0x0de73b74 in VideoCreator::create (this=0x1008adf8, path=@0x7fffee08,
    width=90, height=90, img=@0x7ffff008) at videocreator.cpp:70
#7  0x0e335aac in ThumbnailProtocol::get (this=0x7ffff628, url=@0x7ffff338)
    at thumbnail.cpp:199


   If I kill artsd with SIGKILL (only), konqi unfreezes.  IMHO artsd has no 
right to block kde apps.  This needs to be fixed too, or we have to reduce 
dependency on arts.  Finally, artsd should -never- be started if the kcontrol 
module says not to start it.

-- 

George Staikos



More information about the kde-multimedia mailing list