Bug 91492 - kdirwatch crash in message box recursion
Summary: kdirwatch crash in message box recursion
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-17 04:22 UTC by John Firebaugh
Modified: 2009-07-24 19:43 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 John Firebaugh 2004-10-17 04:22:24 UTC
Version:           unknown (using KDE 3.3.89 (CVS >= 20040820), compiled sources)
Compiler:          gcc version 3.3.4 (Debian 1:3.3.4-13)
OS:                Linux (i686) release 2.6.7-1-k7

I had a bunch of files open in kdevelop, and ran a cvs up, which caused several of them to be updated. KDevelop popped multiple "File Modified on Disk" message boxes, then crashed.

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1113602368 (LWP 964)]
[New Thread 1134414768 (LWP 965)]
[Thread debugging using libthread_db enabled]
[New Thread 1113602368 (LWP 964)]
[New Thread 1134414768 (LWP 965)]
[Thread debugging using libthread_db enabled]
[New Thread 1113602368 (LWP 964)]
[New Thread 1134414768 (LWP 965)]
[KCrash handler]
#3  0x41863b0d in QGList::next (this=0x9662e44) at tools/qglist.cpp:866
#4  0x40ad6ea3 in QPtrList<KDirWatchPrivate::Client>::next (this=0x9662e44)
    at qptrlist.h:111
#5  0x40ad4a48 in KDirWatchPrivate::emitEvent (this=0x8688908, e=0x9662e30, 
    event=1, fileName=@0x816fb8c)
    at /home/john/src/kde/kdelibs/kio/kio/kdirwatch.cpp:959
#6  0x40ad4ced in KDirWatchPrivate::slotRescan (this=0x8688908)
    at /home/john/src/kde/kdelibs/kio/kio/kdirwatch.cpp:1075
#7  0x40ad6a6c in KDirWatchPrivate::qt_invoke (this=0x8688908, _id=2, 
    _o=0xbfffd1f0) at kdirwatch_p.moc:88
#8  0x4158d659 in QObject::activate_signal (this=0x8688974, clist=0x8688cc8, 
    o=0xbfffd1f0) at kernel/qobject.cpp:2357
#9  0x4158d4f9 in QObject::activate_signal (this=0x8688974, signal=2)
    at kernel/qobject.cpp:2326
#10 0x418c7f84 in QTimer::timeout (this=0x8688974)
    at .moc/debug-shared-mt/moc_qtimer.cpp:82
#11 0x415b24ce in QTimer::event (this=0x8688974, e=0xbfffd480)
    at kernel/qtimer.cpp:219
#12 0x4152ae41 in QApplication::internalNotify (this=0xbffff420, 
    receiver=0x8688974, e=0xbfffd480) at kernel/qapplication.cpp:2635
#13 0x4152a379 in QApplication::notify (this=0xbffff420, receiver=0x8688974, 
    e=0xbfffd480) at kernel/qapplication.cpp:2358
#14 0x41079b8f in KApplication::notify (this=0xbffff420, receiver=0x8688974, 
    event=0xbfffd480)
    at /home/john/src/kde/kdelibs/kdecore/kapplication.cpp:518
#15 0x08104f0e in QApplication::sendEvent (receiver=0x8688974, 
    event=0xbfffd480) at qapplication.h:491
#16 0x41519524 in QEventLoop::activateTimers (this=0x81a0540)
    at kernel/qeventloop_unix.cpp:558
#17 0x414d2057 in QEventLoop::processEvents (this=0x81a0540, flags=4)
    at kernel/qeventloop_x11.cpp:389
#18 0x4153e809 in QEventLoop::enterLoop (this=0x81a0540)
    at kernel/qeventloop.cpp:198
#19 0x4152b009 in QApplication::enter_loop (this=0xbffff420)
    at kernel/qapplication.cpp:2790
#20 0x4172a1e0 in QDialog::exec (this=0x891c488) at dialogs/qdialog.cpp:432
#21 0x40e75b85 in KMessageBox::createKMessageBox (dialog=0x891c488, icon=
      {<QPaintDevice> = {_vptr.QPaintDevice = 0x419d1a28, hd = 15122627, rendhd = 156180688, devFlags = 2, painters = 0, static x_appdisplay = 0x817ef10, static x_appscreen = 0, static x_appdepth = 24, static x_appcells = 256, static x_approotwindow = 125, static x_appcolormap = 32, static x_appdefcolormap = true, static x_appvisual = 0x817fc58, static x_appdefvisual = true, static x_appdepth_arr = 0x817eb60, static x_appcells_arr = 0x817ec48, static x_approotwindow_arr = 0x817ec58, static x_appcolormap_arr = 0x817ec68, static x_appdefcolormap_arr = 0x817ec78, static x_appvisual_arr = 0x817ec88, static x_appdefvisual_arr = 0x817ec98, x11Data = 0x0}, <Qt> = {static color0 = @0x41a10fa0, static color1 = @0x41a10fa8, static black = @0x41a10fb0, static white = @0x41a10fb8, static darkGray = @0x41a10fc0, static gray = @0x41a10fc8, static lightGray = @0x41a10fd0, static red = @0x41a10fd8, static green = @0x41a10fe0, static blue = @0x41a10fe8, static cyan = @0x41a10ff0, static magenta = @0x41a10ff8, static yellow = @0x41a11000, static darkRed = @0x41a11008, static darkGreen = @0x41a11010, static darkBlue = @0x41a11018, static darkCyan = @0x41a11020, static darkMagenta = @0x41a11028, static darkYellow = @0x41a11030, static arrowCursor = @0x41a0f6a0, static upArrowCursor = @0x41a0f6a4, static crossCursor = @0x41a0f6a8, static waitCursor = @0x41a0f6ac, static ibeamCursor = @0x41a0f6b0, static sizeVerCursor = @0x41a0f6b4, static sizeHorCursor = @0x41a0f6b8, static sizeBDiagCursor = @0x41a0f6bc, static sizeFDiagCursor = @0x41a0f6c0, static sizeAllCursor = @0x41a0f6c4, static blankCursor = @0x41a0f6c8, static splitVCursor = @0x41a0f6cc, static splitHCursor = @0x41a0f6d0, static pointingHandCursor = @0x41a0f6d4, static forbiddenCursor = @0x41a0f6d8, static whatsThisCursor = @0x41a0f6dc, static busyCursor = @0x41a0f6e0}, data = 0x968dc88, static defOptim = NormalOptim}, text=@0xbfffda00, 
    strlist=@0xbfffd950, ask=@0xbfffd8b0, checkboxReturn=0xbfffd8af, 
    options=5, details=@0x816fb8c, notifyType=Warning)
    at /home/john/src/kde/kdelibs/kdeui/kmessagebox.cpp:311
#22 0x40e75269 in KMessageBox::createKMessageBox (dialog=0x891c488, 
    icon=Warning, text=@0xbfffda00, strlist=@0xbfffd950, ask=@0xbfffd8b0, 
    checkboxReturn=0xbfffd8af, options=5, details=@0x816fb8c)
    at /home/john/src/kde/kdelibs/kdeui/kmessagebox.cpp:147
#23 0x40e76c41 in KMessageBox::warningYesNoListWId (parent_id=14680092, 
    text=@0xbfffda00, strlist=@0xbfffd950, caption=@0xbfffd9f0, 
    buttonYes=@0xbfffd9e0, buttonNo=@0xbfffd9d0, dontAskAgainName=@0x816fb8c, 
    options=5) at /home/john/src/kde/kdelibs/kdeui/kmessagebox.cpp:576
#24 0x40e769e9 in KMessageBox::warningYesNoList (parent=0x8237068, 
    text=@0xbfffda00, strlist=@0xbfffd950, caption=@0xbfffd9f0, 
    buttonYes=@0xbfffd9e0, buttonNo=@0xbfffd9d0, dontAskAgainName=@0x816fb8c, 
    options=5) at /home/john/src/kde/kdelibs/kdeui/kmessagebox.cpp:539
#25 0x40e768f8 in KMessageBox::warningYesNo (parent=0x8237068, 
    text=@0xbfffda00, caption=@0xbfffd9f0, buttonYes=@0xbfffd9e0, 
    buttonNo=@0xbfffd9d0, dontAskAgainName=@0x816fb8c, options=5)
    at /home/john/src/kde/kdelibs/kdeui/kmessagebox.cpp:514
#26 0x080a4445 in PartController::reactToDirty (this=0x82a4f10, 
    url=@0xbfffdae0) at /home/john/src/kde/kdevelop/src/partcontroller.cpp:1280
#27 0x080a3e86 in PartController::slotDocumentDirty (this=0x82a4f10, 
    d=0x8edf370, isModified=true, reason=1 '\001')
    at /home/john/src/kde/kdevelop/src/partcontroller.cpp:1223
#28 0x080a58f2 in PartController::qt_invoke (this=0x82a4f10, _id=26, 
    _o=0xbfffdc00) at partcontroller.moc:167
#29 0x4158d659 in QObject::activate_signal (this=0x8edf370, clist=0x9061f08, 
    o=0xbfffdc00) at kernel/qobject.cpp:2357
#30 0x43b71ebd in Kate::Document::modifiedOnDisc (this=0x8edf370, 
    t0=0x8edf370, t1=true, t2=1 '\001') at document.moc:307
#31 0x43aafe29 in KateDocument::slotModOnHdDirty (this=0x8edf370, 
    path=@0x96223b8)
    at /home/john/src/kde/kdelibs/kate/part/katedocument.cpp:5334
#32 0x43a977bf in KateDocument::qt_invoke (this=0x8edf370, _id=123, 
    _o=0xbfffde30) at katedocument.moc:1234
#33 0x4158d793 in QObject::activate_signal (this=0x86d9788, clist=0x874dc80, 
    o=0xbfffde30) at kernel/qobject.cpp:2381
#34 0x4158dd92 in QObject::activate_signal (this=0x86d9788, signal=2, param=
      {static null = {static null = <same as static member of an already seen type>, d = 0x81722a8, static shared_null = 0x81722a8}, d = 0x8eb3398, static shared_null = 0x81722a8}) at kernel/qobject.cpp:2452
#35 0x40ad66a2 in KDirWatch::dirty (this=0x86d9788, t0=@0xbfffdf10)
    at kdirwatch.moc:95
#36 0x40ad644d in KDirWatch::setDirty (this=0x86d9788, _file=@0xbfffdf10)
    at /home/john/src/kde/kdelibs/kio/kio/kdirwatch.cpp:1439
#37 0x40ad4a3a in KDirWatchPrivate::emitEvent (this=0x8688908, e=0x8f5c9b8, 
    event=1, fileName=@0x816fb8c)
    at /home/john/src/kde/kdelibs/kio/kio/kdirwatch.cpp:988
#38 0x40ad4ced in KDirWatchPrivate::slotRescan (this=0x8688908)
    at /home/john/src/kde/kdelibs/kio/kio/kdirwatch.cpp:1075
#39 0x40ad6a6c in KDirWatchPrivate::qt_invoke (this=0x8688908, _id=2, 
    _o=0xbfffe030) at kdirwatch_p.moc:88
#40 0x4158d659 in QObject::activate_signal (this=0x8688974, clist=0x8688cc8, 
    o=0xbfffe030) at kernel/qobject.cpp:2357
#41 0x4158d4f9 in QObject::activate_signal (this=0x8688974, signal=2)
    at kernel/qobject.cpp:2326
#42 0x418c7f84 in QTimer::timeout (this=0x8688974)
    at .moc/debug-shared-mt/moc_qtimer.cpp:82
#43 0x415b24ce in QTimer::event (this=0x8688974, e=0xbfffe2c0)
    at kernel/qtimer.cpp:219
#44 0x4152ae41 in QApplication::internalNotify (this=0xbffff420, 
    receiver=0x8688974, e=0xbfffe2c0) at kernel/qapplication.cpp:2635
#45 0x4152a379 in QApplication::notify (this=0xbffff420, receiver=0x8688974, 
    e=0xbfffe2c0) at kernel/qapplication.cpp:2358
#46 0x41079b8f in KApplication::notify (this=0xbffff420, receiver=0x8688974, 
    event=0xbfffe2c0)
    at /home/john/src/kde/kdelibs/kdecore/kapplication.cpp:518
#47 0x08104f0e in QApplication::sendEvent (receiver=0x8688974, 
    event=0xbfffe2c0) at qapplication.h:491
#48 0x41519524 in QEventLoop::activateTimers (this=0x81a0540)
    at kernel/qeventloop_unix.cpp:558
#49 0x414d2057 in QEventLoop::processEvents (this=0x81a0540, flags=4)
    at kernel/qeventloop_x11.cpp:389
#50 0x4153e809 in QEventLoop::enterLoop (this=0x81a0540)
    at kernel/qeventloop.cpp:198
#51 0x4152b009 in QApplication::enter_loop (this=0xbffff420)
    at kernel/qapplication.cpp:2790
#52 0x4172a1e0 in QDialog::exec (this=0x96f16a0) at dialogs/qdialog.cpp:432
#53 0x40e75b85 in KMessageBox::createKMessageBox (dialog=0x96f16a0, icon=
      {<QPaintDevice> = {_vptr.QPaintDevice = 0x419d1a28, hd = 15122627, rendhd = 156180688, devFlags = 2, painters = 0, static x_appdisplay = 0x817ef10, static x_appscreen = 0, static x_appdepth = 24, static x_appcells = 256, static x_approotwindow = 125, static x_appcolormap = 32, static x_appdefcolormap = true, static x_appvisual = 0x817fc58, static x_appdefvisual = true, static x_appdepth_arr = 0x817eb60, static x_appcells_arr = 0x817ec48, static x_approotwindow_arr = 0x817ec58, static x_appcolormap_arr = 0x817ec68, static x_appdefcolormap_arr = 0x817ec78, static x_appvisual_arr = 0x817ec88, static x_appdefvisual_arr = 0x817ec98, x11Data = 0x0}, <Qt> = {static color0 = @0x41a10fa0, static color1 = @0x41a10fa8, static black = @0x41a10fb0, static white = @0x41a10fb8, static darkGray = @0x41a10fc0, static gray = @0x41a10fc8, static lightGray = @0x41a10fd0, static red = @0x41a10fd8, static green = @0x41a10fe0, static blue = @0x41a10fe8, static cyan = @0x41a10ff0, static magenta = @0x41a10ff8, static yellow = @0x41a11000, static darkRed = @0x41a11008, static darkGreen = @0x41a11010, static darkBlue = @0x41a11018, static darkCyan = @0x41a11020, static darkMagenta = @0x41a11028, static darkYellow = @0x41a11030, static arrowCursor = @0x41a0f6a0, static upArrowCursor = @0x41a0f6a4, static crossCursor = @0x41a0f6a8, static waitCursor = @0x41a0f6ac, static ibeamCursor = @0x41a0f6b0, static sizeVerCursor = @0x41a0f6b4, static sizeHorCursor = @0x41a0f6b8, static sizeBDiagCursor = @0x41a0f6bc, static sizeFDiagCursor = @0x41a0f6c0, static sizeAllCursor = @0x41a0f6c4, static blankCursor = @0x41a0f6c8, static splitVCursor = @0x41a0f6cc, static splitHCursor = @0x41a0f6d0, static pointingHandCursor = @0x41a0f6d4, static forbiddenCursor = @0x41a0f6d8, static whatsThisCursor = @0x41a0f6dc, static busyCursor = @0x41a0f6e0}, data = 0x968dc88, static defOptim = NormalOptim}, text=@0xbfffe840, 
    strlist=@0xbfffe790, ask=@0xbfffe6f0, checkboxReturn=0xbfffe6ef, 
    options=5, details=@0x816fb8c, notifyType=Warning)
    at /home/john/src/kde/kdelibs/kdeui/kmessagebox.cpp:311
#54 0x40e75269 in KMessageBox::createKMessageBox (dialog=0x96f16a0, 
    icon=Warning, text=@0xbfffe840, strlist=@0xbfffe790, ask=@0xbfffe6f0, 
    checkboxReturn=0xbfffe6ef, options=5, details=@0x816fb8c)
    at /home/john/src/kde/kdelibs/kdeui/kmessagebox.cpp:147
#55 0x40e76c41 in KMessageBox::warningYesNoListWId (parent_id=14680092, 
    text=@0xbfffe840, strlist=@0xbfffe790, caption=@0xbfffe830, 
    buttonYes=@0xbfffe820, buttonNo=@0xbfffe810, dontAskAgainName=@0x816fb8c, 
    options=5) at /home/john/src/kde/kdelibs/kdeui/kmessagebox.cpp:576
#56 0x40e769e9 in KMessageBox::warningYesNoList (parent=0x8237068, 
    text=@0xbfffe840, strlist=@0xbfffe790, caption=@0xbfffe830, 
    buttonYes=@0xbfffe820, buttonNo=@0xbfffe810, dontAskAgainName=@0x816fb8c, 
    options=5) at /home/john/src/kde/kdelibs/kdeui/kmessagebox.cpp:539
#57 0x40e768f8 in KMessageBox::warningYesNo (parent=0x8237068, 
    text=@0xbfffe840, caption=@0xbfffe830, buttonYes=@0xbfffe820, 
    buttonNo=@0xbfffe810, dontAskAgainName=@0x816fb8c, options=5)
    at /home/john/src/kde/kdelibs/kdeui/kmessagebox.cpp:514
#58 0x080a4445 in PartController::reactToDirty (this=0x82a4f10, 
    url=@0xbfffe920) at /home/john/src/kde/kdevelop/src/partcontroller.cpp:1280
#59 0x080a3e86 in PartController::slotDocumentDirty (this=0x82a4f10, 
    d=0x88f7a08, isModified=true, reason=1 '\001')
    at /home/john/src/kde/kdevelop/src/partcontroller.cpp:1223
#60 0x080a58f2 in PartController::qt_invoke (this=0x82a4f10, _id=26, 
    _o=0xbfffea40) at partcontroller.moc:167
#61 0x4158d659 in QObject::activate_signal (this=0x88f7a08, clist=0x8a6da60, 
    o=0xbfffea40) at kernel/qobject.cpp:2357
#62 0x43b71ebd in Kate::Document::modifiedOnDisc (this=0x88f7a08, 
    t0=0x88f7a08, t1=true, t2=1 '\001') at document.moc:307
#63 0x43aafe29 in KateDocument::slotModOnHdDirty (this=0x88f7a08, 
    path=@0x96f4610)
    at /home/john/src/kde/kdelibs/kate/part/katedocument.cpp:5334
#64 0x43a977bf in KateDocument::qt_invoke (this=0x88f7a08, _id=123, 
    _o=0xbfffec70) at katedocument.moc:1234
#65 0x4158d793 in QObject::activate_signal (this=0x86d9788, clist=0x874dc80, 
    o=0xbfffec70) at kernel/qobject.cpp:2381
#66 0x4158dd92 in QObject::activate_signal (this=0x86d9788, signal=2, param=
      {static null = {static null = <same as static member of an already seen type>, d = 0x81722a8, static shared_null = 0x81722a8}, d = 0x8928218, static shared_null = 0x81722a8}) at kernel/qobject.cpp:2452
#67 0x40ad66a2 in KDirWatch::dirty (this=0x86d9788, t0=@0xbfffed50)
    at kdirwatch.moc:95
#68 0x40ad644d in KDirWatch::setDirty (this=0x86d9788, _file=@0xbfffed50)
    at /home/john/src/kde/kdelibs/kio/kio/kdirwatch.cpp:1439
#69 0x40ad4a3a in KDirWatchPrivate::emitEvent (this=0x8688908, e=0x94bd068, 
    event=1, fileName=@0x816fb8c)
    at /home/john/src/kde/kdelibs/kio/kio/kdirwatch.cpp:988
#70 0x40ad4ced in KDirWatchPrivate::slotRescan (this=0x8688908)
    at /home/john/src/kde/kdelibs/kio/kio/kdirwatch.cpp:1075
#71 0x40ad6a6c in KDirWatchPrivate::qt_invoke (this=0x8688908, _id=2, 
    _o=0xbfffee70) at kdirwatch_p.moc:88
#72 0x4158d659 in QObject::activate_signal (this=0x8688974, clist=0x8688cc8, 
    o=0xbfffee70) at kernel/qobject.cpp:2357
#73 0x4158d4f9 in QObject::activate_signal (this=0x8688974, signal=2)
    at kernel/qobject.cpp:2326
#74 0x418c7f84 in QTimer::timeout (this=0x8688974)
    at .moc/debug-shared-mt/moc_qtimer.cpp:82
#75 0x415b24ce in QTimer::event (this=0x8688974, e=0xbffff100)
    at kernel/qtimer.cpp:219
#76 0x4152ae41 in QApplication::internalNotify (this=0xbffff420, 
    receiver=0x8688974, e=0xbffff100) at kernel/qapplication.cpp:2635
#77 0x4152a379 in QApplication::notify (this=0xbffff420, receiver=0x8688974, 
    e=0xbffff100) at kernel/qapplication.cpp:2358
#78 0x41079b8f in KApplication::notify (this=0xbffff420, receiver=0x8688974, 
    event=0xbffff100)
    at /home/john/src/kde/kdelibs/kdecore/kapplication.cpp:518
#79 0x08104f0e in QApplication::sendEvent (receiver=0x8688974, 
    event=0xbffff100) at qapplication.h:491
#80 0x41519524 in QEventLoop::activateTimers (this=0x81a0540)
    at kernel/qeventloop_unix.cpp:558
#81 0x414d2057 in QEventLoop::processEvents (this=0x81a0540, flags=4)
    at kernel/qeventloop_x11.cpp:389
#82 0x4153e809 in QEventLoop::enterLoop (this=0x81a0540)
    at kernel/qeventloop.cpp:198
#83 0x4153e722 in QEventLoop::exec (this=0x81a0540)
    at kernel/qeventloop.cpp:145
#84 0x4152afad in QApplication::exec (this=0xbffff420)
    at kernel/qapplication.cpp:2758
#85 0x080cb0a1 in main (argc=1, argv=0xbffff5d4)
    at /home/john/src/kde/kdevelop/src/main.cpp:138
Comment 1 David Faure 2004-10-18 18:56:22 UTC
The recursion comes from kdevelop, not from KIO. Please reassign to kdevelop.

Comment 2 Andreas Pakulat 2009-07-24 19:43:42 UTC
no idea why this is still open. Its certainly fixed in kdev4.