Yes, it appears that under certain (as of yet
unknown)
conditions the while loop at line 2264 will never exit. The loop
control looks like this:
while ( v <= ceData.maxSteps + 1 ) {
It would be useful to know the local variables at the time
of the infinite loop. Can you rerun your previous test on Kate, but
after you execute the 'bt' command can you execute a 'info locals'
command and
post the results of both commands?
===================================================
kate:
(gdb) bt
#0 0xb6d788ec in ~TQStyleControlElementGenericWidgetData (this=0xbffe8f40,
__in_chrg=<value optimized out>)
at kernel/ntqstyle.h:182
#1 ~TQStyleControlElementData (this=0xbffe8f40, __in_chrg=<value optimized out>) at
kernel/ntqstyle.h:203
#2 0xb707b281 in TQCommonStyle::drawComplexControl (this=0x8087c68,
control=TQStyle::CC_Slider, p=0xbfff9df8, ceData=DWARF-2 expression error: DW_OP_reg
operations must be used either alone or in conjuction with DW_OP_piece.
)
at styles/qcommonstyle.cpp:2265
#3 0xb71e8c12 in KStyle::drawComplexControl (this=0x8087c68, control=TQStyle::CC_Slider,
p=0xbfffd3b0, ceData=...,
elementFlags=10518560, r=..., cg=..., flags=1, controls=<value optimized out>,
active=0, opt=..., widget=0x83d8468)
at /dev/shm/tdelibs/tdefx/kstyle.cpp:1270
#4 0xb629a93b in HighColorStyle::drawComplexControl (this=0x8087c68,
control=TQStyle::CC_Slider, p=0xbfffd3b0,
ceData=..., elementFlags=10518560, r=..., cg=..., flags=1, controls=7, active=0,
opt=..., widget=0x83d8468)
at /dev/shm/tdelibs/kstyles/highcolor/highcolor.cpp:1717
#5 0xb6d7416d in TQStyle::drawComplexControl (this=0x8087c68, control=TQStyle::CC_Slider,
p=0xbfffd3b0,
widget=0x83d8468, r=..., cg=..., flags=1, controls=7, active=0, opt=...) at
kernel/qstyle.cpp:2489
#6 0xb6e79e03 in TQSlider::paintEvent (this=0x83d8468) at widgets/qslider.cpp:424
#7 0xb6d93401 in TQWidget::event (this=0x83d8468, e=0xbfffd874) at
kernel/qwidget.cpp:4828
#8 0xb6cf0f6d in TQApplication::internalNotify (this=0xbfffe79c, receiver=0x83d8468,
e=0xbfffd874)
at kernel/qapplication.cpp:2638
#9 0xb6cf1e8c in TQApplication::notify (this=0xbfffe79c, receiver=0x83d8468,
e=0xbfffd874)
at kernel/qapplication.cpp:2526
#10 0xb72c368d in KApplication::notify (this=0xbfffe79c, receiver=0x83d8468,
event=0xbfffd874)
at /dev/shm/tdelibs/tdecore/kapplication.cpp:583
#11 0xb6c80886 in TQApplication::sendSpontaneousEvent (this=0x83d8468, event=0xbfffdb1c)
at kernel/ntqapplication.h:526
#12 TQETWidget::translatePaintEvent (this=0x83d8468, event=0xbfffdb1c) at
kernel/qapplication_x11.cpp:5861
#13 0xb6c8a1f6 in TQApplication::x11ProcessEvent (this=0xbfffe79c, event=0xbfffdb1c) at
kernel/qapplication_x11.cpp:3580
#14 0xb6c9df12 in TQEventLoop::processEvents (this=0x807db70, flags=4) at
kernel/qeventloop_x11.cpp:195
#15 0xb6d0965b in TQEventLoop::enterLoop (this=0x807db70) at kernel/qeventloop.cpp:201
#16 0xb6cf1561 in TQApplication::enter_loop (this=0xbfffe79c) at
kernel/qapplication.cpp:2796
#17 0xb6ee7b1e in TQDialog::exec (this=0x83cad88) at dialogs/qdialog.cpp:435
#18 0xb6198083 in KateView::gotoLine (this=0x8319910) at
/dev/shm/tdelibs/kate/part/kateview.cpp:906
#19 0xb61a8c53 in KateView::tqt_invoke (this=0x8319910, _id=190, _o=0xbfffdd48)
at /dev/shm/tdelibs.build/kate/part/kateview.moc:790
#20 0xb6d54765 in TQObject::activate_signal (this=0x833e280, clist=0x833e5f8,
o=0xbfffdd48) at kernel/qobject.cpp:2383
#21 0xb6d56846 in TQObject::activate_signal (this=0xbffe91ac, signal=2) at
kernel/qobject.cpp:2352
---Type <return> to continue, or q <return> to quit---
#22 0xb7745239 in KAction::activated (this=0x833e280) at
/dev/shm/tdelibs.build/tdeui/kaction.moc:174
#23 0xb7745350 in KAction::slotActivated (this=0x833e280) at
/dev/shm/tdelibs/tdeui/kaction.cpp:1112
#24 0xb774ac0b in KAction::tqt_invoke (this=0x833e280, _id=15, _o=0xbfffde78)
at /dev/shm/tdelibs.build/tdeui/kaction.moc:216
#25 0xb6d54765 in TQObject::activate_signal (this=0x8392970, clist=0x83cc8b0,
o=0xbfffde78) at kernel/qobject.cpp:2383
#26 0xb6d56846 in TQObject::activate_signal (this=0xbffe91ac, signal=2) at
kernel/qobject.cpp:2352
#27 0xb7370149 in KAccelPrivate::menuItemActivated (this=0x8392970)
at /dev/shm/tdelibs.build/tdecore/kaccelprivate.moc:108
#28 0xb73716f7 in KAccelPrivate::emitActivatedSignal (this=0x8392970, pAction=0x8380c70)
at /dev/shm/tdelibs/tdecore/kaccel.cpp:403
#29 0xb7375887 in KAccelPrivate::eventFilter (this=0x8392970, pEvent=0xbfffe360)
at /dev/shm/tdelibs/tdecore/kaccel.cpp:373
#30 0xb6d54810 in TQObject::activate_filters (this=0x818fd70, e=0xbfffe360) at
kernel/qobject.cpp:930
#31 0xb6d54894 in TQObject::event (this=0x818fd70, e=0xbfffe360) at
kernel/qobject.cpp:762
#32 0xb6d931e2 in TQWidget::event (this=0x818fd70, e=0xbfffe360) at
kernel/qwidget.cpp:4701
#33 0xb6e5472b in TQMainWindow::event (this=0x818fd70, e=0xbfffe360) at
widgets/qmainwindow.cpp:1690
#34 0xb7f35802 in KateMainWindow::event (this=0x818fd70, e=0xbfffe360)
at /dev/shm/tdebase/kate/app/katemainwindow.cpp:757
#35 0xb6cf0f6d in TQApplication::internalNotify (this=0xbfffe79c, receiver=0x818fd70,
e=0xbfffe360)
at kernel/qapplication.cpp:2638
#36 0xb6cf2462 in TQApplication::notify (this=0xbfffe79c, receiver=0x831f748,
e=0xbfffe360)
at kernel/qapplication.cpp:2395
#37 0xb72c368d in KApplication::notify (this=0xbfffe79c, receiver=0x831f748,
event=0xbfffe360)
at /dev/shm/tdelibs/tdecore/kapplication.cpp:583
#38 0xb73714a3 in TQApplication::sendEvent (this=0x80d3ef8, pEvent=0xbfffe60c)
at /opt/trinity/include/ntqapplication.h:523
#39 KAccelEventHandler::x11Event (this=0x80d3ef8, pEvent=0xbfffe60c) at
/dev/shm/tdelibs/tdecore/kaccel.cpp:147
#40 0xb72c0501 in KAppX11HackWidget::publicx11Event (this=0xbfffe79c, _event=0xbfffe60c)
at /dev/shm/tdelibs/tdecore/kapplication.cpp:1782
#41 KApplication::x11EventFilter (this=0xbfffe79c, _event=0xbfffe60c) at
/dev/shm/tdelibs/tdecore/kapplication.cpp:2109
#42 0xb6c7b30c in qt_x11EventFilter (ev=0xbfffe60c) at kernel/qapplication_x11.cpp:422
#43 0xb6c89802 in TQApplication::x11ProcessEvent (this=0xbfffe79c, event=0xbfffe60c) at
kernel/qapplication_x11.cpp:3422
#44 0xb6c9df12 in TQEventLoop::processEvents (this=0x807db70, flags=4) at
kernel/qeventloop_x11.cpp:195
---Type <return> to continue, or q <return> to quit---
#45 0xb6d0965b in TQEventLoop::enterLoop (this=0x807db70) at kernel/qeventloop.cpp:201
#46 0xb6d094f4 in TQEventLoop::exec (this=0x807db70) at kernel/qeventloop.cpp:148
#47 0xb6cf15f1 in TQApplication::exec (this=0xbfffe79c) at kernel/qapplication.cpp:2761
#48 0xb7fb6ded in kdemain (argc=1, argv=0xbfffed24) at
/dev/shm/tdebase/kate/app/katemain.cpp:270
#49 0x080487bb in main (argc=1, argv=0xbfffed24) at
/dev/shm/tdebase.build/kate/app/kate_tdeinit_executable.cpp:2
(gdb) info locals
No locals.
===================================================
kmix:
(gdb) bt
#0 0xb6bc8c76 in writev () from /lib/libc.so.6
#1 0xb71483db in ?? () from /usr/lib/libxcb.so.1
#2 0xb71488db in ?? () from /usr/lib/libxcb.so.1
#3 0xb7148c77 in xcb_writev () from /usr/lib/libxcb.so.1
#4 0xb719ad99 in _XSend () from /usr/lib/libX11.so.6
#5 0xb719b3f9 in _XFlush () from /usr/lib/libX11.so.6
#6 0xb71712d8 in XDrawLine () from /usr/lib/libX11.so.6
#7 0xb756b22a in TQPainter::drawLine (this=0xbfffad98, x1=15, y1=23, x2=15, y2=282) at
kernel/qpainter_x11.cpp:1730
#8 0xb793722c in TQCommonStyle::drawComplexControl (this=0x8086c08,
control=TQStyle::CC_Slider, p=0xbfffad98, ceData=DWARF-2 expression error: DW_OP_reg
operations must be used either alone or in conjuction with DW_OP_piece.
)
at styles/qcommonstyle.cpp:2268
#9 0xb6ae0c12 in KStyle::drawComplexControl (this=0x8086c08, control=TQStyle::CC_Slider,
p=0xbfffe350, ceData=...,
elementFlags=10518560, r=..., cg=..., flags=1, controls=<value optimized out>,
active=0, opt=..., widget=0x81989c8)
at /dev/shm/tdelibs/tdefx/kstyle.cpp:1270
#10 0xb63e493b in HighColorStyle::drawComplexControl (this=0x8086c08,
control=TQStyle::CC_Slider, p=0xbfffe350,
ceData=..., elementFlags=10518560, r=..., cg=..., flags=1, controls=7, active=0,
opt=..., widget=0x81989c8)
at /dev/shm/tdelibs/kstyles/highcolor/highcolor.cpp:1717
#11 0xb763016d in TQStyle::drawComplexControl (this=0x8086c08, control=TQStyle::CC_Slider,
p=0xbfffe350,
widget=0x81989c8, r=..., cg=..., flags=1, controls=7, active=0, opt=...) at
kernel/qstyle.cpp:2489
#12 0xb7735e03 in TQSlider::paintEvent (this=0x81989c8) at widgets/qslider.cpp:424
#13 0xb764f401 in TQWidget::event (this=0x81989c8, e=0xbfffe814) at
kernel/qwidget.cpp:4828
#14 0xb75acf6d in TQApplication::internalNotify (this=0x80560d0, receiver=0x81989c8,
e=0xbfffe814)
at kernel/qapplication.cpp:2638
#15 0xb75ade8c in TQApplication::notify (this=0x80560d0, receiver=0x81989c8,
e=0xbfffe814)
at kernel/qapplication.cpp:2526
#16 0xb6e5768d in KApplication::notify (this=0x80560d0, receiver=0x81989c8,
event=0xbfffe814)
at /dev/shm/tdelibs/tdecore/kapplication.cpp:583
#17 0xb753c886 in TQApplication::sendSpontaneousEvent (this=0x81989c8, event=0xbfffeabc)
at kernel/ntqapplication.h:526
#18 TQETWidget::translatePaintEvent (this=0x81989c8, event=0xbfffeabc) at
kernel/qapplication_x11.cpp:5861
#19 0xb75461f6 in TQApplication::x11ProcessEvent (this=0x80560d0, event=0xbfffeabc) at
kernel/qapplication_x11.cpp:3580
#20 0xb7559f12 in TQEventLoop::processEvents (this=0x8062f28, flags=4) at
kernel/qeventloop_x11.cpp:195
#21 0xb75c565b in TQEventLoop::enterLoop (this=0x8062f28) at kernel/qeventloop.cpp:201
#22 0xb75c54f4 in TQEventLoop::exec (this=0x8062f28) at kernel/qeventloop.cpp:148
#23 0xb75ad5f1 in TQApplication::exec (this=0x80560d0) at kernel/qapplication.cpp:2761
---Type <return> to continue, or q <return> to quit---
#24 0xb7f85cae in kdemain (argc=2, argv=0xbfffed14) at main.cpp:66
#25 0x0804864b in main (argc=2, argv=0xbfffed14) at kmix.la.cpp:2
(gdb) info locals
No symbol table info available.
Darrell