code-google-com / qmmp

Automatically exported from code.google.com/p/qmmp
0 stars 0 forks source link

frozen while cycling through deleted files in playlist #459

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add some files to a playlist
2. move/remove the files
3. enable repeat playlist
4. double click an item in the playlist

Result:
qmmp tries to start playing the items in the playlist

What is the expected output?
to be able to interact with qmmp (e.g. stop playing)
What do you see instead?
i have to kill qmmp or wait until qmmp segfaults with
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7550664 in QTextEngine::itemize (this=0x7fffff803230)
    at text/qtextengine.cpp:1416
1416    {

(gdb) bt
#0  0x00007ffff7550664 in QTextEngine::itemize (this=0x7fffff803230)
    at text/qtextengine.cpp:1416
#1  0x00007ffff7452cb1 in QPainter::drawText (this=0x7fffff806bc0, p=..., str=
    ..., tf=<value optimized out>, justificationPadding=0)
    at painting/qpainter.cpp:5989
#2  0x000000000045cbc6 in drawText (this=0x1065ca0)
    at /usr/lib/qt4/include/QtGui/qpainter.h:957
#3  ListWidget::paintEvent (this=0x1065ca0)
    at /usr/src/debug/qmmp-0.5.0/src/ui/listwidget.cpp:167
#4  0x00007ffff735219e in QWidget::event (this=0x1065ca0, event=0x7fffff8073c0)
    at kernel/qwidget.cpp:8405
#5  0x00007ffff7300794 in QApplicationPrivate::notify_helper (this=0x74f640, 
    receiver=0x1065ca0, e=0x7fffff8073c0) at kernel/qapplication.cpp:4462
#6  0x00007ffff730536a in QApplication::notify (this=<value optimized out>, 
    receiver=0x1065ca0, e=0x7fffff8073c0) at kernel/qapplication.cpp:4341
#7  0x00007ffff6aeb03c in QCoreApplication::notifyInternal (this=
    0x7fffffffdc60, receiver=0x1065ca0, event=0x7fffff8073c0)
    at kernel/qcoreapplication.cpp:731
#8  0x00007ffff734f078 in sendSpontaneousEvent (this=0x10c8320, pdev=
    0x10a0f98, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=
    0x11b5c20) at ../../src/corelib/kernel/qcoreapplication.h:218
#9  QWidgetPrivate::drawWidget (this=0x10c8320, pdev=0x10a0f98, rgn=..., 
    offset=..., flags=4, sharedPainter=0x0, backingStore=0x11b5c20)
---Type <return> to continue, or q <return> to quit---
    at kernel/qwidget.cpp:5492
#10 0x00007ffff734fc3f in QWidgetPrivate::paintSiblingsRecursive (this=
    0x10a8e20, pdev=0x10a0f98, siblings=<value optimized out>, 
    index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=
    0x0, backingStore=0x11b5c20) at kernel/qwidget.cpp:5699
#11 0x00007ffff734fafc in QWidgetPrivate::paintSiblingsRecursive (this=
    0x10a8e20, pdev=0x10a0f98, siblings=..., index=0, rgn=..., offset=..., 
    flags=4, sharedPainter=0x0, backingStore=0x11b5c20)
    at kernel/qwidget.cpp:5686
#12 0x00007ffff734fafc in QWidgetPrivate::paintSiblingsRecursive (this=
    0x10a8e20, pdev=0x10a0f98, siblings=..., index=1, rgn=..., offset=..., 
    flags=4, sharedPainter=0x0, backingStore=0x11b5c20)
    at kernel/qwidget.cpp:5686
#13 0x00007ffff734fafc in QWidgetPrivate::paintSiblingsRecursive (this=
    0x10a8e20, pdev=0x10a0f98, siblings=..., index=2, rgn=..., offset=..., 
    flags=4, sharedPainter=0x0, backingStore=0x11b5c20)
    at kernel/qwidget.cpp:5686
#14 0x00007ffff734fafc in QWidgetPrivate::paintSiblingsRecursive (this=
    0x10a8e20, pdev=0x10a0f98, siblings=..., index=3, rgn=..., offset=..., 
    flags=4, sharedPainter=0x0, backingStore=0x11b5c20)
    at kernel/qwidget.cpp:5686
#15 0x00007ffff734fafc in QWidgetPrivate::paintSiblingsRecursive (this=
    0x10a8e20, pdev=0x10a0f98, siblings=..., index=4, rgn=..., offset=..., 
---Type <return> to continue, or q <return> to quit---
    flags=4, sharedPainter=0x0, backingStore=0x11b5c20)
    at kernel/qwidget.cpp:5686
#16 0x00007ffff734fafc in QWidgetPrivate::paintSiblingsRecursive (this=
    0x10a8e20, pdev=0x10a0f98, siblings=..., index=5, rgn=..., offset=..., 
    flags=4, sharedPainter=0x0, backingStore=0x11b5c20)
    at kernel/qwidget.cpp:5686
#17 0x00007ffff734fafc in QWidgetPrivate::paintSiblingsRecursive (this=
    0x10a8e20, pdev=0x10a0f98, siblings=..., index=6, rgn=..., offset=..., 
    flags=4, sharedPainter=0x0, backingStore=0x11b5c20)
    at kernel/qwidget.cpp:5686
#18 0x00007ffff734fafc in QWidgetPrivate::paintSiblingsRecursive (this=
    0x10a8e20, pdev=0x10a0f98, siblings=..., index=7, rgn=..., offset=..., 
    flags=4, sharedPainter=0x0, backingStore=0x11b5c20)
    at kernel/qwidget.cpp:5686
#19 0x00007ffff734fafc in QWidgetPrivate::paintSiblingsRecursive (this=
    0x10a8e20, pdev=0x10a0f98, siblings=..., index=8, rgn=..., offset=..., 
    flags=4, sharedPainter=0x0, backingStore=0x11b5c20)
    at kernel/qwidget.cpp:5686
#20 0x00007ffff734fafc in QWidgetPrivate::paintSiblingsRecursive (this=
    0x10a8e20, pdev=0x10a0f98, siblings=..., index=9, rgn=..., offset=..., 
    flags=4, sharedPainter=0x0, backingStore=0x11b5c20)
    at kernel/qwidget.cpp:5686
#21 0x00007ffff734fafc in QWidgetPrivate::paintSiblingsRecursive (this=
---Type <return> to continue, or q <return> to quit---
    0x10a8e20, pdev=0x10a0f98, siblings=..., index=10, rgn=..., offset=..., 
    flags=4, sharedPainter=0x0, backingStore=0x11b5c20)
    at kernel/qwidget.cpp:5686
#22 0x00007ffff734fafc in QWidgetPrivate::paintSiblingsRecursive (this=
    0x10a8e20, pdev=0x10a0f98, siblings=..., index=19, rgn=..., offset=..., 
    flags=4, sharedPainter=0x0, backingStore=0x11b5c20)
    at kernel/qwidget.cpp:5686
#23 0x00007ffff734edba in QWidgetPrivate::drawWidget (this=0x10a8e20, pdev=
    0x10a0f98, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=
    0x0, backingStore=0x11b5c20) at kernel/qwidget.cpp:5545
#24 0x00007ffff7512ea9 in QWidgetBackingStore::sync (this=0x11b5c20)
    at painting/qbackingstore.cpp:1333
#25 0x00007ffff7345270 in QWidgetPrivate::syncBackingStore (this=0x10a8e20)
    at kernel/qwidget.cpp:1842
#26 0x00007ffff73526a2 in QWidget::event (this=0x108a120, event=0x1f1a2c0)
    at kernel/qwidget.cpp:8552
#27 0x00007ffff7300794 in QApplicationPrivate::notify_helper (this=0x74f640, 
    receiver=0x108a120, e=0x1f1a2c0) at kernel/qapplication.cpp:4462
#28 0x00007ffff730536a in QApplication::notify (this=<value optimized out>, 
    receiver=0x108a120, e=0x1f1a2c0) at kernel/qapplication.cpp:4341
#29 0x00007ffff6aeb03c in QCoreApplication::notifyInternal (this=
    0x7fffffffdc60, receiver=0x108a120, event=0x1f1a2c0)
    at kernel/qcoreapplication.cpp:731
---Type <return> to continue, or q <return> to quit---
#30 0x00007ffff6aee825 in sendEvent (receiver=0x0, event_type=0, data=0x74f800)
    at kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, 
    data=0x74f800) at kernel/qcoreapplication.cpp:1372
#32 0x00007ffff6b16033 in sendPostedEvents (s=<value optimized out>)
    at kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:277
#34 0x00007ffff51c587d in g_main_dispatch (context=0x7534e0) at gmain.c:2440
#35 g_main_context_dispatch (context=0x7534e0) at gmain.c:3013
#36 0x00007ffff51c6058 in g_main_context_iterate (context=0x7534e0, 
    block=<value optimized out>, dispatch=1, self=<value optimized out>)
    at gmain.c:3091
#37 0x00007ffff51c62e9 in g_main_context_iteration (context=0x7534e0, 
    may_block=0) at gmain.c:3154
#38 0x00007ffff6b161cf in QEventDispatcherGlib::processEvents (this=0x750b90, 
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#39 0x00007ffff73a652e in QGuiEventDispatcherGlib::processEvents (
    this=<value optimized out>, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007ffff6aeec4f in QCoreApplication::processEvents (flags=...)
    at kernel/qcoreapplication.cpp:923
#41 0x00007ffff6769058 in SoundCore::play (this=0x90aa70, source=..., 
---Type <return> to continue, or q <return> to quit---
    queue=<value optimized out>, offset=-1)
    at /usr/src/debug/qmmp-0.5.0/src/qmmp/soundcore.cpp:76
#42 0x00007ffff6519741 in MediaPlayer::play (this=0x8f0000, offset=-1)
    at /usr/src/debug/qmmp-0.5.0/src/qmmpui/mediaplayer.cpp:145
#43 0x00007ffff6519c13 in MediaPlayer::processState (this=0x8f0000, 
    state=<value optimized out>)
    at /usr/src/debug/qmmp-0.5.0/src/qmmpui/mediaplayer.cpp:264
#44 0x00007ffff652a8d3 in MediaPlayer::qt_metacall (this=0x8f0000, _c=
    QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=
    0x7fffff809d60)
    at /usr/src/debug/qmmp-0.5.0/build/src/qmmpui/moc_mediaplayer.cxx:101
#45 0x00007ffff6aff94f in QMetaObject::activate (sender=0x90aa70, 
    m=<value optimized out>, local_signal_index=<value optimized out>, argv=
    0x7fffff809d60) at kernel/qobject.cpp:3278
#46 0x00007ffff677ade1 in SoundCore::stateChanged (this=<value optimized out>, 
    _t1=Qmmp::NormalError)
    at /usr/src/debug/qmmp-0.5.0/build/src/qmmp/moc_soundcore.cxx:197
#47 0x00007ffff677afd4 in SoundCore::qt_metacall (this=0x90aa70, _c=
    QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fffff809e90)
    at /usr/src/debug/qmmp-0.5.0/build/src/qmmp/moc_soundcore.cxx:117
#48 0x00007ffff6aff94f in QMetaObject::activate (sender=0x976670, 
    m=<value optimized out>, local_signal_index=<value optimized out>, argv=
    0x7fffff809e90) at kernel/qobject.cpp:3278
---Type <return> to continue, or q <return> to quit---
#49 0x00007ffff677b2e1 in StateHandler::stateChanged (
    this=<value optimized out>, _t1=Qmmp::NormalError)
    at /usr/src/debug/qmmp-0.5.0/build/src/qmmp/moc_statehandler.cxx:150
#50 0x00007ffff676c4f0 in StateHandler::dispatch (this=0x976670, state=
    Qmmp::NormalError)
    at /usr/src/debug/qmmp-0.5.0/src/qmmp/statehandler.cpp:151
#51 0x00007ffff6768c79 in SoundCore::enqueue (this=0x90aa70)
    at /usr/src/debug/qmmp-0.5.0/src/qmmp/soundcore.cpp:286
#52 0x00007ffff677b0b9 in SoundCore::qt_metacall (this=0x90aa70, _c=
    QMetaObject::InvokeMetaMethod, _id=20, _a=0x7fffff80a120)
    at /usr/src/debug/qmmp-0.5.0/build/src/qmmp/moc_soundcore.cxx:134
#53 0x00007ffff6aff94f in QMetaObject::activate (sender=0x1eebd40, 
    m=<value optimized out>, local_signal_index=<value optimized out>, argv=
    0x0) at kernel/qobject.cpp:3278
#54 0x00007ffff6773eb9 in FileInputSource::initialize (
    this=<value optimized out>)
    at /usr/src/debug/qmmp-0.5.0/src/qmmp/fileinputsource.cpp:36
#55 0x00007ffff67690e0 in SoundCore::play (this=0x90aa70, 
    source=<value optimized out>, queue=<value optimized out>, offset=-1)
    at /usr/src/debug/qmmp-0.5.0/src/qmmp/soundcore.cpp:95
#56 0x00007ffff6519741 in MediaPlayer::play (this=0x8f0000, offset=-1)
    at /usr/src/debug/qmmp-0.5.0/src/qmmpui/mediaplayer.cpp:145
#57 0x00007ffff6519c13 in MediaPlayer::processState (this=0x8f0000, 
---Type <return> to continue, or q <return> to quit---
    state=<value optimized out>)
    at /usr/src/debug/qmmp-0.5.0/src/qmmpui/mediaplayer.cpp:264
#58 0x00007ffff652a8d3 in MediaPlayer::qt_metacall (this=0x8f0000, _c=
    QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=
    0x7fffff80a340)
    at /usr/src/debug/qmmp-0.5.0/build/src/qmmpui/moc_mediaplayer.cxx:101
#59 0x00007ffff6aff94f in QMetaObject::activate (sender=0x90aa70, 
    m=<value optimized out>, local_signal_index=<value optimized out>, argv=
    0x7fffff80a340) at kernel/qobject.cpp:3278
#60 0x00007ffff677ade1 in SoundCore::stateChanged (this=<value optimized out>, 
    _t1=Qmmp::NormalError)
    at /usr/src/debug/qmmp-0.5.0/build/src/qmmp/moc_soundcore.cxx:197
#61 0x00007ffff677afd4 in SoundCore::qt_metacall (this=0x90aa70, _c=
    QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fffff80a470)
    at /usr/src/debug/qmmp-0.5.0/build/src/qmmp/moc_soundcore.cxx:117
#62 0x00007ffff6aff94f in QMetaObject::activate (sender=0x976670, 
    m=<value optimized out>, local_signal_index=<value optimized out>, argv=
    0x7fffff80a470) at kernel/qobject.cpp:3278
#63 0x00007ffff677b2e1 in StateHandler::stateChanged (
    this=<value optimized out>, _t1=Qmmp::NormalError)
    at /usr/src/debug/qmmp-0.5.0/build/src/qmmp/moc_statehandler.cxx:150
#64 0x00007ffff676c4f0 in StateHandler::dispatch (this=0x976670, state=
    Qmmp::NormalError)
---Type <return> to continue, or q <return> to quit---

What version of the product are you using? On what operating system?
qmmp-0.5.0-1-mdv2011.0.x86_64
Mandriva Cooker

Original issue reported on code.google.com by hhielsc...@gmail.com on 28 Apr 2011 at 5:09

GoogleCodeExporter commented 9 years ago

Original comment by trialuser02 on 8 May 2011 at 9:22

GoogleCodeExporter commented 9 years ago

Original comment by trialuser02 on 8 May 2011 at 9:23

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2180.

Original comment by trialuser02 on 8 May 2011 at 9:41