Today I tried to adjust the volume in kmix. I am unable to open the kmix mixer window.
I deleted the kmix rc files and started kmix. The window opens empty, only a window frame.
This is a recent GIT build, short version 7877. Not the most recent but recent.
Would somebody please confirm?
Darrell
Today I tried to adjust the volume in kmix. I am unable to open the kmix mixer window.
I deleted the kmix rc files and started kmix. The window opens empty, only a window frame.
This is a recent GIT build, short version 7877. Not the most recent but recent.
Would somebody please confirm?
The same thing happens when I open the "got to page" dialog in kate. Only a window frame with no contents and the app freezes.
Darrell
Today I tried to adjust the volume in kmix. I am unable to open the kmix mixer window.
I deleted the kmix rc files and started kmix. The window opens empty, only a window frame.
This is a recent GIT build, short version 7877. Not the most recent but recent.
The same thing happens when I open the "Go To" dialog in kate. Only a window frame with no contents and the app freezes.
Tim,
GIT short version 7888 from yesterday. This bug kills the app and requires a manually forced termination. I no longer can use the Go To dialog in kate/kwrite because of this bug or adjust kmix volumes.
I don't know what those two dialogs have in common to cause the failure. I'm guessing commit 679d4f0b is the cause?
Please help!
Darrell
Today I tried to adjust the volume in kmix. I am unable to open the kmix mixer window.
I deleted the kmix rc files and started kmix. The window opens empty, only a window frame.
This is a recent GIT build, short version 7877. Not the most recent but recent.
The same thing happens when I open the "Go To" dialog in kate. Only a window frame with no contents and the app freezes.
Tim,
GIT short version 7888 from yesterday. This bug kills the app and requires a manually forced termination. I no longer can use the Go To dialog in kate/kwrite because of this bug or adjust kmix volumes.
I don't know what those two dialogs have in common to cause the failure. I'm guessing commit 679d4f0b is the cause?
Please help!
Darrell
Strange, I do not see either failure on my up-to-date test system. After the tdelibs ABI change (2a415e33) did you recompile/reinstall tdelibs, then recompile/reinstall everything else after that?
Tim
Strange, I do not see either failure on my up-to-date test system. After the tdelibs ABI change (2a415e33) did you recompile/reinstall tdelibs, then recompile/reinstall everything else after that?
These are complete, fresh, clean rebuilds.
Reversing commit 679d4f0b resolves the problem with the kate/kwrite Go To dialog but not kmix. I only rebuilt tqt3 and tdemultimedia to test. I did not rebuild tdelibs or tdebase because the Go To dialog worked only with rebuilding tqt3. I don't have extensive backups of test builds, but I did not have the kmix problem until recently. I believe git short version 7606 was the last time I saw no dialog problems.
Darrell
Strange, I do not see either failure on my up-to-date test system. After the tdelibs ABI change (2a415e33) did you recompile/reinstall tdelibs, then recompile/reinstall everything else after that?
These are complete, fresh, clean rebuilds.
Reversing commit 679d4f0b resolves the problem with the kate/kwrite Go To dialog but not kmix. I only rebuilt tqt3 and tdemultimedia to test. I did not rebuild tdelibs or tdebase because the Go To dialog worked only with rebuilding tqt3. I don't have extensive backups of test builds, but I did not have the kmix problem until recently. I believe git short version 7606 was the last time I saw no dialog problems.
Darrell
Hmm, I just thought of something. What widget style are you using? It could be triggering a bug in TQt3.
Tim
Reversing commit 679d4f0b resolves the problem with the kate/kwrite Go To dialog but not kmix. I only rebuilt tqt3 and tdemultimedia to test. I did not rebuild tdelibs or tdebase because the Go To dialog worked only with rebuilding tqt3. I don't have extensive backups of test builds, but I did not have the kmix problem until recently. I believe git short version 7606 was the last time I saw no dialog problems.
Restoring the git short version 7606 packages resolves the kmix mixer window bug. According to the date stamps on the packages, 7606 was from July 7.
Of course, as mentioned, rebuilding only tqt3 with a reversed commit 679d4f0b resolved the problem in kate/kwite. So I believe there is a connection to that commit, and likely to kmix too.
Hmm, I just thought of something. What widget style are you using? It could be triggering a bug in TQt3.
I am using the "KDE 2" widgets (Window Decorations), KDE Classic style, and Crystalsvg icons.
Darrell
Reversing commit 679d4f0b resolves the problem with the kate/kwrite Go
To
dialog but not kmix. I only rebuilt tqt3 and tdemultimedia to test. I
did
not rebuild tdelibs or tdebase because the Go To dialog worked only
with
rebuilding tqt3. I don't have extensive backups of test builds, but I
did
not have the kmix problem until recently. I believe git short version
7606
was the last time I saw no dialog problems.
Restoring the git short version 7606 packages resolves the kmix mixer window bug. According to the date stamps on the packages, 7606 was from July 7.
Of course, as mentioned, rebuilding only tqt3 with a reversed commit 679d4f0b resolved the problem in kate/kwite. So I believe there is a connection to that commit, and likely to kmix too.
Hmm, I just thought of something. What widget style are you using? It could be triggering a bug in TQt3.
I am using the "KDE 2" widgets (Window Decorations), KDE Classic style, and Crystalsvg icons.
Darrell
Still unable to reproduce. Can you attach to the hung kwrite process with gdb and generate a backtrace for me?
Thanks!
Tim
Still unable to reproduce. Can you attach to the hung kwrite process with gdb and generate a backtrace for me?
I'm having no success with this.
In konsole I type:
gdg --arg kate
I wait until the prompt returns and then I type 'r':
(gdb) r
Starting program: /opt/trinity/bin/kate warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libtdeinit_kate.so.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libkateinterfaces.so.0.0.0.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libkutils.so.1.2.0.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libkparts.so.2.1.0.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libkio.so.4.2.0.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libtdeui.so.4.2.0.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libtdesu.so.4.2.0.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libkwalletclient.so.1.0.1.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libtdecore.so.4.2.0.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libDCOP.so.4.2.0.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libtdefx.so.4.2.0.debug warning: no loadable sections found in added symbol-file /usr/lib/.debug/libtqt.so.4.2.0.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libkatepartinterfaces.so.0.0.0.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libktexteditor.so.0.0.0.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libkabc.so.1.2.0.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libvcard.so.0.0.0.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libkresources.so.1.2.0.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libart_lgpl_2.so.2.3.21.debug [Thread debugging using libthread_db enabled] warning: no loadable sections found in added symbol-file /opt/trinity/plugins/styles/.debug/libqmotifplusstyle.so.debug warning: no loadable sections found in added symbol-file /opt/trinity/plugins/styles/.debug/libqplatinumstyle.so.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libkjs.so.1.2.0.debug warning: no loadable sections found in added symbol-file /opt/trinity/lib/.debug/libtdeprint.so.4.2.0.debug
I load a text file in kate and press Ctrl-g (Go To dialog). The dialog is empty and kate freezes, but I am unable to proceed to the point where I can type 'bt' to generate a backtrace.
Here is a screen grab of the empty dialog:
http://humanreadable.nfshost.com/trinity/build_logs/kate-goto.png
Here is a screen grab of the empty kmix mixer window:
http://humanreadable.nfshost.com/trinity/build_logs/kmix-mixer-window.png
Darrell
<snip>
I load a text file in kate and press Ctrl-g (Go To dialog). The dialog is empty and kate freezes, but I am unable to proceed to the point where I can type 'bt' to generate a backtrace.
After Kate freezes, go back to your gdb terminal and type "Ctrl+C". Once the (gdb) prompt shows up, type 'bt<return>'.
Tim
After Kate freezes, go back to your gdb terminal and type "Ctrl+C". Once the (gdb) prompt shows up, type 'bt<return>'.
(gdb) bt #0 0xb67dd746 in writev () from /lib/libc.so.6 #1 0xb645c3db in ?? () from /usr/lib/libxcb.so.1 #2 0xb645c8db in ?? () from /usr/lib/libxcb.so.1 #3 0xb645cc77 in xcb_writev () from /usr/lib/libxcb.so.1 #4 0xb6a5cd99 in _XSend () from /usr/lib/libX11.so.6 #5 0xb6a5d3f9 in _XFlush () from /usr/lib/libX11.so.6 #6 0xb6a332d8 in XDrawLine () from /usr/lib/libX11.so.6 #7 0xb6caf22a in TQPainter::drawLine (this=0xbfff9e88, x1=9, y1=22, x2=9, y2=88) at kernel/qpainter_x11.cpp:1730 #8 0xb707b22c in TQCommonStyle::drawComplexControl (this=0x80927f0, control=TQStyle::CC_Slider, p=0xbfff9e88, 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 0xb71e8c12 in KStyle::drawComplexControl (this=0x80927f0, control=TQStyle::CC_Slider, p=0xbfffd440, ceData=..., elementFlags=10518560, r=..., cg=..., flags=1, controls=<value optimized out>, active=0, opt=..., widget=0x83ff6a8) at /dev/shm/tdelibs/tdefx/kstyle.cpp:1270 #10 0xb629f93b in HighColorStyle::drawComplexControl (this=0x80927f0, control=TQStyle::CC_Slider, p=0xbfffd440, ceData=..., elementFlags=10518560, r=..., cg=..., flags=1, controls=7, active=0, opt=..., widget=0x83ff6a8) at /dev/shm/tdelibs/kstyles/highcolor/highcolor.cpp:1717 #11 0xb6d7416d in TQStyle::drawComplexControl (this=0x80927f0, control=TQStyle::CC_Slider, p=0xbfffd440, widget=0x83ff6a8, r=..., cg=..., flags=1, controls=7, active=0, opt=...) at kernel/qstyle.cpp:2489 #12 0xb6e79e03 in TQSlider::paintEvent (this=0x83ff6a8) at widgets/qslider.cpp:424 #13 0xb6d93401 in TQWidget::event (this=0x83ff6a8, e=0xbfffd904) at kernel/qwidget.cpp:4828 #14 0xb6cf0f6d in TQApplication::internalNotify (this=0xbfffe82c, receiver=0x83ff6a8, e=0xbfffd904) at kernel/qapplication.cpp:2638 #15 0xb6cf1e8c in TQApplication::notify (this=0xbfffe82c, receiver=0x83ff6a8, e=0xbfffd904) at kernel/qapplication.cpp:2526 #16 0xb72c368d in KApplication::notify (this=0xbfffe82c, receiver=0x83ff6a8, event=0xbfffd904) at /dev/shm/tdelibs/tdecore/kapplication.cpp:583 #17 0xb6c80886 in TQApplication::sendSpontaneousEvent (this=0x83ff6a8, event=0xbfffdbac) at kernel/ntqapplication.h:526 #18 TQETWidget::translatePaintEvent (this=0x83ff6a8, event=0xbfffdbac) at kernel/qapplication_x11.cpp:5861 #19 0xb6c8a1f6 in TQApplication::x11ProcessEvent (this=0xbfffe82c, event=0xbfffdbac) at kernel/qapplication_x11.cpp:3580 #20 0xb6c9df12 in TQEventLoop::processEvents (this=0x807d980, flags=4) at kernel/qeventloop_x11.cpp:195 #21 0xb6d0965b in TQEventLoop::enterLoop (this=0x807d980) at kernel/qeventloop.cpp:201 #22 0xb6cf1561 in TQApplication::enter_loop (this=0xbfffe82c) at kernel/qapplication.cpp:2796 #23 0xb6ee7b1e in TQDialog::exec (this=0x83df048) at dialogs/qdialog.cpp:435 ---Type <return> to continue, or q <return> to quit--- #24 0xb619d083 in KateView::gotoLine (this=0x83186c0) at /dev/shm/tdelibs/kate/part/kateview.cpp:906 #25 0xb61adc53 in KateView::tqt_invoke (this=0x83186c0, _id=190, _o=0xbfffddd8) at /dev/shm/tdelibs.build/kate/part/kateview.moc:790 #26 0xb6d54765 in TQObject::activate_signal (this=0x833cff0, clist=0x833d368, o=0xbfffddd8) at kernel/qobject.cpp:2383 #27 0xb6d56846 in TQObject::activate_signal (this=0x4000, signal=2) at kernel/qobject.cpp:2352 #28 0xb7745239 in KAction::activated (this=0x833cff0) at /dev/shm/tdelibs.build/tdeui/kaction.moc:174 #29 0xb7745350 in KAction::slotActivated (this=0x833cff0) at /dev/shm/tdelibs/tdeui/kaction.cpp:1112 #30 0xb774ac0b in KAction::tqt_invoke (this=0x833cff0, _id=15, _o=0xbfffdf08) at /dev/shm/tdelibs.build/tdeui/kaction.moc:216 #31 0xb6d54765 in TQObject::activate_signal (this=0x8391660, clist=0x830fb60, o=0xbfffdf08) at kernel/qobject.cpp:2383 #32 0xb6d56846 in TQObject::activate_signal (this=0x4000, signal=2) at kernel/qobject.cpp:2352 #33 0xb7370149 in KAccelPrivate::menuItemActivated (this=0x8391660) at /dev/shm/tdelibs.build/tdecore/kaccelprivate.moc:108 #34 0xb73716f7 in KAccelPrivate::emitActivatedSignal (this=0x8391660, pAction=0x838cf00) at /dev/shm/tdelibs/tdecore/kaccel.cpp:403 #35 0xb7375887 in KAccelPrivate::eventFilter (this=0x8391660, pEvent=0xbfffe3f0) at /dev/shm/tdelibs/tdecore/kaccel.cpp:373 #36 0xb6d54810 in TQObject::activate_filters (this=0x81e44a8, e=0xbfffe3f0) at kernel/qobject.cpp:930 #37 0xb6d54894 in TQObject::event (this=0x81e44a8, e=0xbfffe3f0) at kernel/qobject.cpp:762 #38 0xb6d931e2 in TQWidget::event (this=0x81e44a8, e=0xbfffe3f0) at kernel/qwidget.cpp:4701 #39 0xb6e5472b in TQMainWindow::event (this=0x81e44a8, e=0xbfffe3f0) at widgets/qmainwindow.cpp:1690 #40 0xb7f35802 in KateMainWindow::event (this=0x81e44a8, e=0xbfffe3f0) at /dev/shm/tdebase/kate/app/katemainwindow.cpp:757 #41 0xb6cf0f6d in TQApplication::internalNotify (this=0xbfffe82c, receiver=0x81e44a8, e=0xbfffe3f0) at kernel/qapplication.cpp:2638 #42 0xb6cf2462 in TQApplication::notify (this=0xbfffe82c, receiver=0x831e4b8, e=0xbfffe3f0) at kernel/qapplication.cpp:2395 #43 0xb72c368d in KApplication::notify (this=0xbfffe82c, receiver=0x831e4b8, event=0xbfffe3f0) at /dev/shm/tdelibs/tdecore/kapplication.cpp:583 #44 0xb73714a3 in TQApplication::sendEvent (this=0x81889f8, pEvent=0xbfffe69c) at /opt/trinity/include/ntqapplication.h:523 #45 KAccelEventHandler::x11Event (this=0x81889f8, pEvent=0xbfffe69c) at /dev/shm/tdelibs/tdecore/kaccel.cpp:147 #46 0xb72c0501 in KAppX11HackWidget::publicx11Event (this=0xbfffe82c, _event=0xbfffe69c) ---Type <return> to continue, or q <return> to quit--- at /dev/shm/tdelibs/tdecore/kapplication.cpp:1782 #47 KApplication::x11EventFilter (this=0xbfffe82c, _event=0xbfffe69c) at /dev/shm/tdelibs/tdecore/kapplication.cpp:2109 #48 0xb6c7b30c in qt_x11EventFilter (ev=0xbfffe69c) at kernel/qapplication_x11.cpp:422 #49 0xb6c89802 in TQApplication::x11ProcessEvent (this=0xbfffe82c, event=0xbfffe69c) at kernel/qapplication_x11.cpp:3422 #50 0xb6c9df12 in TQEventLoop::processEvents (this=0x807d980, flags=4) at kernel/qeventloop_x11.cpp:195 #51 0xb6d0965b in TQEventLoop::enterLoop (this=0x807d980) at kernel/qeventloop.cpp:201 #52 0xb6d094f4 in TQEventLoop::exec (this=0x807d980) at kernel/qeventloop.cpp:148 #53 0xb6cf15f1 in TQApplication::exec (this=0xbfffe82c) at kernel/qapplication.cpp:2761 #54 0xb7fb6ded in kdemain (argc=1, argv=0xbfffedb4) at /dev/shm/tdebase/kate/app/katemain.cpp:270 #55 0x080487bb in main (argc=1, argv=0xbfffedb4) at /dev/shm/tdebase.build/kate/app/kate_tdeinit_executable.cpp:2
I don't know how to capture a backtrace for kmix. Seems kmix detaches from gdb when running 'gdb --arg kmix'.
Darrell
Try gdb --args --nofork On Aug 31, 2012 5:14 PM, "Darrell Anderson" humanreadable@yahoo.com wrote:
After Kate freezes, go back to your gdb terminal and type "Ctrl+C". Once the (gdb) prompt shows up, type 'bt<return>'.
(gdb) bt #0 0xb67dd746 in writev () from /lib/libc.so.6 #1 0xb645c3db in ?? () from /usr/lib/libxcb.so.1 #2 0xb645c8db in ?? () from /usr/lib/libxcb.so.1 #3 0xb645cc77 in xcb_writev () from /usr/lib/libxcb.so.1 #4 0xb6a5cd99 in _XSend () from /usr/lib/libX11.so.6 #5 0xb6a5d3f9 in _XFlush () from /usr/lib/libX11.so.6 #6 0xb6a332d8 in XDrawLine () from /usr/lib/libX11.so.6 #7 0xb6caf22a in TQPainter::drawLine (this=0xbfff9e88, x1=9, y1=22, x2=9, y2=88) at kernel/qpainter_x11.cpp:1730 #8 0xb707b22c in TQCommonStyle::drawComplexControl (this=0x80927f0, control=TQStyle::CC_Slider, p=0xbfff9e88, 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 0xb71e8c12 in KStyle::drawComplexControl (this=0x80927f0, control=TQStyle::CC_Slider, p=0xbfffd440, ceData=..., elementFlags=10518560, r=..., cg=..., flags=1, controls=<value optimized out>, active=0, opt=..., widget=0x83ff6a8) at /dev/shm/tdelibs/tdefx/kstyle.cpp:1270 #10 0xb629f93b in HighColorStyle::drawComplexControl (this=0x80927f0, control=TQStyle::CC_Slider, p=0xbfffd440, ceData=..., elementFlags=10518560, r=..., cg=..., flags=1, controls=7, active=0, opt=..., widget=0x83ff6a8) at /dev/shm/tdelibs/kstyles/highcolor/highcolor.cpp:1717 #11 0xb6d7416d in TQStyle::drawComplexControl (this=0x80927f0, control=TQStyle::CC_Slider, p=0xbfffd440, widget=0x83ff6a8, r=..., cg=..., flags=1, controls=7, active=0, opt=...) at kernel/qstyle.cpp:2489 #12 0xb6e79e03 in TQSlider::paintEvent (this=0x83ff6a8) at widgets/qslider.cpp:424 #13 0xb6d93401 in TQWidget::event (this=0x83ff6a8, e=0xbfffd904) at kernel/qwidget.cpp:4828 #14 0xb6cf0f6d in TQApplication::internalNotify (this=0xbfffe82c, receiver=0x83ff6a8, e=0xbfffd904) at kernel/qapplication.cpp:2638 #15 0xb6cf1e8c in TQApplication::notify (this=0xbfffe82c, receiver=0x83ff6a8, e=0xbfffd904) at kernel/qapplication.cpp:2526 #16 0xb72c368d in KApplication::notify (this=0xbfffe82c, receiver=0x83ff6a8, event=0xbfffd904) at /dev/shm/tdelibs/tdecore/kapplication.cpp:583 #17 0xb6c80886 in TQApplication::sendSpontaneousEvent (this=0x83ff6a8, event=0xbfffdbac) at kernel/ntqapplication.h:526 #18 TQETWidget::translatePaintEvent (this=0x83ff6a8, event=0xbfffdbac) at kernel/qapplication_x11.cpp:5861 #19 0xb6c8a1f6 in TQApplication::x11ProcessEvent (this=0xbfffe82c, event=0xbfffdbac) at kernel/qapplication_x11.cpp:3580 #20 0xb6c9df12 in TQEventLoop::processEvents (this=0x807d980, flags=4) at kernel/qeventloop_x11.cpp:195 #21 0xb6d0965b in TQEventLoop::enterLoop (this=0x807d980) at kernel/qeventloop.cpp:201 #22 0xb6cf1561 in TQApplication::enter_loop (this=0xbfffe82c) at kernel/qapplication.cpp:2796 #23 0xb6ee7b1e in TQDialog::exec (this=0x83df048) at dialogs/qdialog.cpp:435 ---Type <return> to continue, or q <return> to quit--- #24 0xb619d083 in KateView::gotoLine (this=0x83186c0) at /dev/shm/tdelibs/kate/part/kateview.cpp:906 #25 0xb61adc53 in KateView::tqt_invoke (this=0x83186c0, _id=190, _o=0xbfffddd8) at /dev/shm/tdelibs.build/kate/part/kateview.moc:790 #26 0xb6d54765 in TQObject::activate_signal (this=0x833cff0, clist=0x833d368, o=0xbfffddd8) at kernel/qobject.cpp:2383 #27 0xb6d56846 in TQObject::activate_signal (this=0x4000, signal=2) at kernel/qobject.cpp:2352 #28 0xb7745239 in KAction::activated (this=0x833cff0) at /dev/shm/tdelibs.build/tdeui/kaction.moc:174 #29 0xb7745350 in KAction::slotActivated (this=0x833cff0) at /dev/shm/tdelibs/tdeui/kaction.cpp:1112 #30 0xb774ac0b in KAction::tqt_invoke (this=0x833cff0, _id=15, _o=0xbfffdf08) at /dev/shm/tdelibs.build/tdeui/kaction.moc:216 #31 0xb6d54765 in TQObject::activate_signal (this=0x8391660, clist=0x830fb60, o=0xbfffdf08) at kernel/qobject.cpp:2383 #32 0xb6d56846 in TQObject::activate_signal (this=0x4000, signal=2) at kernel/qobject.cpp:2352 #33 0xb7370149 in KAccelPrivate::menuItemActivated (this=0x8391660) at /dev/shm/tdelibs.build/tdecore/kaccelprivate.moc:108 #34 0xb73716f7 in KAccelPrivate::emitActivatedSignal (this=0x8391660, pAction=0x838cf00) at /dev/shm/tdelibs/tdecore/kaccel.cpp:403 #35 0xb7375887 in KAccelPrivate::eventFilter (this=0x8391660, pEvent=0xbfffe3f0) at /dev/shm/tdelibs/tdecore/kaccel.cpp:373 #36 0xb6d54810 in TQObject::activate_filters (this=0x81e44a8, e=0xbfffe3f0) at kernel/qobject.cpp:930 #37 0xb6d54894 in TQObject::event (this=0x81e44a8, e=0xbfffe3f0) at kernel/qobject.cpp:762 #38 0xb6d931e2 in TQWidget::event (this=0x81e44a8, e=0xbfffe3f0) at kernel/qwidget.cpp:4701 #39 0xb6e5472b in TQMainWindow::event (this=0x81e44a8, e=0xbfffe3f0) at widgets/qmainwindow.cpp:1690 #40 0xb7f35802 in KateMainWindow::event (this=0x81e44a8, e=0xbfffe3f0) at /dev/shm/tdebase/kate/app/katemainwindow.cpp:757 #41 0xb6cf0f6d in TQApplication::internalNotify (this=0xbfffe82c, receiver=0x81e44a8, e=0xbfffe3f0) at kernel/qapplication.cpp:2638 #42 0xb6cf2462 in TQApplication::notify (this=0xbfffe82c, receiver=0x831e4b8, e=0xbfffe3f0) at kernel/qapplication.cpp:2395 #43 0xb72c368d in KApplication::notify (this=0xbfffe82c, receiver=0x831e4b8, event=0xbfffe3f0) at /dev/shm/tdelibs/tdecore/kapplication.cpp:583 #44 0xb73714a3 in TQApplication::sendEvent (this=0x81889f8, pEvent=0xbfffe69c) at /opt/trinity/include/ntqapplication.h:523 #45 KAccelEventHandler::x11Event (this=0x81889f8, pEvent=0xbfffe69c) at /dev/shm/tdelibs/tdecore/kaccel.cpp:147 #46 0xb72c0501 in KAppX11HackWidget::publicx11Event (this=0xbfffe82c, _event=0xbfffe69c) ---Type <return> to continue, or q <return> to quit--- at /dev/shm/tdelibs/tdecore/kapplication.cpp:1782 #47 KApplication::x11EventFilter (this=0xbfffe82c, _event=0xbfffe69c) at /dev/shm/tdelibs/tdecore/kapplication.cpp:2109 #48 0xb6c7b30c in qt_x11EventFilter (ev=0xbfffe69c) at kernel/qapplication_x11.cpp:422 #49 0xb6c89802 in TQApplication::x11ProcessEvent (this=0xbfffe82c, event=0xbfffe69c) at kernel/qapplication_x11.cpp:3422 #50 0xb6c9df12 in TQEventLoop::processEvents (this=0x807d980, flags=4) at kernel/qeventloop_x11.cpp:195 #51 0xb6d0965b in TQEventLoop::enterLoop (this=0x807d980) at kernel/qeventloop.cpp:201 #52 0xb6d094f4 in TQEventLoop::exec (this=0x807d980) at kernel/qeventloop.cpp:148 #53 0xb6cf15f1 in TQApplication::exec (this=0xbfffe82c) at kernel/qapplication.cpp:2761 #54 0xb7fb6ded in kdemain (argc=1, argv=0xbfffedb4) at /dev/shm/tdebase/kate/app/katemain.cpp:270 #55 0x080487bb in main (argc=1, argv=0xbfffedb4) at /dev/shm/tdebase.build/kate/app/kate_tdeinit_executable.cpp:2
I don't know how to capture a backtrace for kmix. Seems kmix detaches from gdb when running 'gdb --arg kmix'.
Darrell
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Sorry ,
kmix --nofork On Aug 31, 2012 6:01 PM, "Calvin Morrison" mutantturkey@gmail.com wrote:
Try gdb --args --nofork On Aug 31, 2012 5:14 PM, "Darrell Anderson" humanreadable@yahoo.com wrote:
After Kate freezes, go back to your gdb terminal and type "Ctrl+C". Once the (gdb) prompt shows up, type 'bt<return>'.
(gdb) bt #0 0xb67dd746 in writev () from /lib/libc.so.6 #1 0xb645c3db in ?? () from /usr/lib/libxcb.so.1 #2 0xb645c8db in ?? () from /usr/lib/libxcb.so.1 #3 0xb645cc77 in xcb_writev () from /usr/lib/libxcb.so.1 #4 0xb6a5cd99 in _XSend () from /usr/lib/libX11.so.6 #5 0xb6a5d3f9 in _XFlush () from /usr/lib/libX11.so.6 #6 0xb6a332d8 in XDrawLine () from /usr/lib/libX11.so.6 #7 0xb6caf22a in TQPainter::drawLine (this=0xbfff9e88, x1=9, y1=22, x2=9, y2=88) at kernel/qpainter_x11.cpp:1730 #8 0xb707b22c in TQCommonStyle::drawComplexControl (this=0x80927f0, control=TQStyle::CC_Slider, p=0xbfff9e88, 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 0xb71e8c12 in KStyle::drawComplexControl (this=0x80927f0, control=TQStyle::CC_Slider, p=0xbfffd440, ceData=..., elementFlags=10518560, r=..., cg=..., flags=1, controls=<value optimized out>, active=0, opt=..., widget=0x83ff6a8) at /dev/shm/tdelibs/tdefx/kstyle.cpp:1270 #10 0xb629f93b in HighColorStyle::drawComplexControl (this=0x80927f0, control=TQStyle::CC_Slider, p=0xbfffd440, ceData=..., elementFlags=10518560, r=..., cg=..., flags=1, controls=7, active=0, opt=..., widget=0x83ff6a8) at /dev/shm/tdelibs/kstyles/highcolor/highcolor.cpp:1717 #11 0xb6d7416d in TQStyle::drawComplexControl (this=0x80927f0, control=TQStyle::CC_Slider, p=0xbfffd440, widget=0x83ff6a8, r=..., cg=..., flags=1, controls=7, active=0, opt=...) at kernel/qstyle.cpp:2489 #12 0xb6e79e03 in TQSlider::paintEvent (this=0x83ff6a8) at widgets/qslider.cpp:424 #13 0xb6d93401 in TQWidget::event (this=0x83ff6a8, e=0xbfffd904) at kernel/qwidget.cpp:4828 #14 0xb6cf0f6d in TQApplication::internalNotify (this=0xbfffe82c, receiver=0x83ff6a8, e=0xbfffd904) at kernel/qapplication.cpp:2638 #15 0xb6cf1e8c in TQApplication::notify (this=0xbfffe82c, receiver=0x83ff6a8, e=0xbfffd904) at kernel/qapplication.cpp:2526 #16 0xb72c368d in KApplication::notify (this=0xbfffe82c, receiver=0x83ff6a8, event=0xbfffd904) at /dev/shm/tdelibs/tdecore/kapplication.cpp:583 #17 0xb6c80886 in TQApplication::sendSpontaneousEvent (this=0x83ff6a8, event=0xbfffdbac) at kernel/ntqapplication.h:526 #18 TQETWidget::translatePaintEvent (this=0x83ff6a8, event=0xbfffdbac) at kernel/qapplication_x11.cpp:5861 #19 0xb6c8a1f6 in TQApplication::x11ProcessEvent (this=0xbfffe82c, event=0xbfffdbac) at kernel/qapplication_x11.cpp:3580 #20 0xb6c9df12 in TQEventLoop::processEvents (this=0x807d980, flags=4) at kernel/qeventloop_x11.cpp:195 #21 0xb6d0965b in TQEventLoop::enterLoop (this=0x807d980) at kernel/qeventloop.cpp:201 #22 0xb6cf1561 in TQApplication::enter_loop (this=0xbfffe82c) at kernel/qapplication.cpp:2796 #23 0xb6ee7b1e in TQDialog::exec (this=0x83df048) at dialogs/qdialog.cpp:435 ---Type <return> to continue, or q <return> to quit--- #24 0xb619d083 in KateView::gotoLine (this=0x83186c0) at /dev/shm/tdelibs/kate/part/kateview.cpp:906 #25 0xb61adc53 in KateView::tqt_invoke (this=0x83186c0, _id=190, _o=0xbfffddd8) at /dev/shm/tdelibs.build/kate/part/kateview.moc:790 #26 0xb6d54765 in TQObject::activate_signal (this=0x833cff0, clist=0x833d368, o=0xbfffddd8) at kernel/qobject.cpp:2383 #27 0xb6d56846 in TQObject::activate_signal (this=0x4000, signal=2) at kernel/qobject.cpp:2352 #28 0xb7745239 in KAction::activated (this=0x833cff0) at /dev/shm/tdelibs.build/tdeui/kaction.moc:174 #29 0xb7745350 in KAction::slotActivated (this=0x833cff0) at /dev/shm/tdelibs/tdeui/kaction.cpp:1112 #30 0xb774ac0b in KAction::tqt_invoke (this=0x833cff0, _id=15, _o=0xbfffdf08) at /dev/shm/tdelibs.build/tdeui/kaction.moc:216 #31 0xb6d54765 in TQObject::activate_signal (this=0x8391660, clist=0x830fb60, o=0xbfffdf08) at kernel/qobject.cpp:2383 #32 0xb6d56846 in TQObject::activate_signal (this=0x4000, signal=2) at kernel/qobject.cpp:2352 #33 0xb7370149 in KAccelPrivate::menuItemActivated (this=0x8391660) at /dev/shm/tdelibs.build/tdecore/kaccelprivate.moc:108 #34 0xb73716f7 in KAccelPrivate::emitActivatedSignal (this=0x8391660, pAction=0x838cf00) at /dev/shm/tdelibs/tdecore/kaccel.cpp:403 #35 0xb7375887 in KAccelPrivate::eventFilter (this=0x8391660, pEvent=0xbfffe3f0) at /dev/shm/tdelibs/tdecore/kaccel.cpp:373 #36 0xb6d54810 in TQObject::activate_filters (this=0x81e44a8, e=0xbfffe3f0) at kernel/qobject.cpp:930 #37 0xb6d54894 in TQObject::event (this=0x81e44a8, e=0xbfffe3f0) at kernel/qobject.cpp:762 #38 0xb6d931e2 in TQWidget::event (this=0x81e44a8, e=0xbfffe3f0) at kernel/qwidget.cpp:4701 #39 0xb6e5472b in TQMainWindow::event (this=0x81e44a8, e=0xbfffe3f0) at widgets/qmainwindow.cpp:1690 #40 0xb7f35802 in KateMainWindow::event (this=0x81e44a8, e=0xbfffe3f0) at /dev/shm/tdebase/kate/app/katemainwindow.cpp:757 #41 0xb6cf0f6d in TQApplication::internalNotify (this=0xbfffe82c, receiver=0x81e44a8, e=0xbfffe3f0) at kernel/qapplication.cpp:2638 #42 0xb6cf2462 in TQApplication::notify (this=0xbfffe82c, receiver=0x831e4b8, e=0xbfffe3f0) at kernel/qapplication.cpp:2395 #43 0xb72c368d in KApplication::notify (this=0xbfffe82c, receiver=0x831e4b8, event=0xbfffe3f0) at /dev/shm/tdelibs/tdecore/kapplication.cpp:583 #44 0xb73714a3 in TQApplication::sendEvent (this=0x81889f8, pEvent=0xbfffe69c) at /opt/trinity/include/ntqapplication.h:523 #45 KAccelEventHandler::x11Event (this=0x81889f8, pEvent=0xbfffe69c) at /dev/shm/tdelibs/tdecore/kaccel.cpp:147 #46 0xb72c0501 in KAppX11HackWidget::publicx11Event (this=0xbfffe82c, _event=0xbfffe69c) ---Type <return> to continue, or q <return> to quit--- at /dev/shm/tdelibs/tdecore/kapplication.cpp:1782 #47 KApplication::x11EventFilter (this=0xbfffe82c, _event=0xbfffe69c) at /dev/shm/tdelibs/tdecore/kapplication.cpp:2109 #48 0xb6c7b30c in qt_x11EventFilter (ev=0xbfffe69c) at kernel/qapplication_x11.cpp:422 #49 0xb6c89802 in TQApplication::x11ProcessEvent (this=0xbfffe82c, event=0xbfffe69c) at kernel/qapplication_x11.cpp:3422 #50 0xb6c9df12 in TQEventLoop::processEvents (this=0x807d980, flags=4) at kernel/qeventloop_x11.cpp:195 #51 0xb6d0965b in TQEventLoop::enterLoop (this=0x807d980) at kernel/qeventloop.cpp:201 #52 0xb6d094f4 in TQEventLoop::exec (this=0x807d980) at kernel/qeventloop.cpp:148 #53 0xb6cf15f1 in TQApplication::exec (this=0xbfffe82c) at kernel/qapplication.cpp:2761 #54 0xb7fb6ded in kdemain (argc=1, argv=0xbfffedb4) at /dev/shm/tdebase/kate/app/katemain.cpp:270 #55 0x080487bb in main (argc=1, argv=0xbfffedb4) at /dev/shm/tdebase.build/kate/app/kate_tdeinit_executable.cpp:2
I don't know how to capture a backtrace for kmix. Seems kmix detaches from gdb when running 'gdb --arg kmix'.
Darrell
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Sorry ,
kmix --nofork
Here is the backtrace for the kmix mixer window:
#0 0xb7633df4 in TQStyleControlElementData (this=0xbffe9ee0) at kernel/ntqstyle.h:203 #1 0xb7937258 in TQCommonStyle::drawComplexControl (this=0x80867d0, 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:2265 #2 0xb6ae5c12 in KStyle::drawComplexControl (this=0x80867d0, control=TQStyle::CC_Slider, p=0xbfffe350, ceData=..., elementFlags=10518560, r=..., cg=..., flags=1, controls=<value optimized out>, active=0, opt=..., widget=0x8198970) at /dev/shm/tdelibs/tdefx/kstyle.cpp:1270 #3 0xb63e993b in HighColorStyle::drawComplexControl (this=0x80867d0, control=TQStyle::CC_Slider, p=0xbfffe350, ceData=..., elementFlags=10518560, r=..., cg=..., flags=1, controls=7, active=0, opt=..., widget=0x8198970) at /dev/shm/tdelibs/kstyles/highcolor/highcolor.cpp:1717 #4 0xb763016d in TQStyle::drawComplexControl (this=0x80867d0, control=TQStyle::CC_Slider, p=0xbfffe350, widget=0x8198970, r=..., cg=..., flags=1, controls=7, active=0, opt=...) at kernel/qstyle.cpp:2489 #5 0xb7735e03 in TQSlider::paintEvent (this=0x8198970) at widgets/qslider.cpp:424 #6 0xb764f401 in TQWidget::event (this=0x8198970, e=0xbfffe814) at kernel/qwidget.cpp:4828 #7 0xb75acf6d in TQApplication::internalNotify (this=0x80560d0, receiver=0x8198970, e=0xbfffe814) at kernel/qapplication.cpp:2638 #8 0xb75ade8c in TQApplication::notify (this=0x80560d0, receiver=0x8198970, e=0xbfffe814) at kernel/qapplication.cpp:2526 #9 0xb6e5768d in KApplication::notify (this=0x80560d0, receiver=0x8198970, event=0xbfffe814) at /dev/shm/tdelibs/tdecore/kapplication.cpp:583 #10 0xb753c886 in TQApplication::sendSpontaneousEvent (this=0x8198970, event=0xbfffeabc) at kernel/ntqapplication.h:526 #11 TQETWidget::translatePaintEvent (this=0x8198970, event=0xbfffeabc) at kernel/qapplication_x11.cpp:5861 #12 0xb75461f6 in TQApplication::x11ProcessEvent (this=0x80560d0, event=0xbfffeabc) at kernel/qapplication_x11.cpp:3580 #13 0xb7559f12 in TQEventLoop::processEvents (this=0x8073d68, flags=4) at kernel/qeventloop_x11.cpp:195 #14 0xb75c565b in TQEventLoop::enterLoop (this=0x8073d68) at kernel/qeventloop.cpp:201 #15 0xb75c54f4 in TQEventLoop::exec (this=0x8073d68) at kernel/qeventloop.cpp:148 #16 0xb75ad5f1 in TQApplication::exec (this=0x80560d0) at kernel/qapplication.cpp:2761 #17 0xb7f85cae in kdemain (argc=2, argv=0xbfffed14) at main.cpp:66 #18 0x0804864b in main (argc=2, argv=0xbfffed14) at kmix.la.cpp:2
Darrell
Here is the backtrace for the kmix mixer window:
I don't know how to read these backtraces, but seems the common failure might be dialogs using slider controls?
Darrell
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?
Thanks!
Tim
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
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 ) {
I found the issue. The slider drawing code did not initialise the min/max variables, therefore anytime a slider was shown there was a risk of a random application hang.
This has been fixed in GIT hashes 6c72a84 and 2c0153b (Qt3 and TQt3, respectively).
Thank you for your help with this issue; the backtraces were invaluable in tracing the problem!
Tim
I found the issue. The slider drawing code did not initialise the min/max variables, therefore anytime a slider was shown there was a risk of a random application hang.
Interesting the bug never surfaced until the kstyle changes. I mean, the bug was always there but new code finally exposed the bug. Who says programming is easy. :-)
This has been fixed in GIT hashes 6c72a84 and 2c0153b (Qt3 and TQt3, respectively).
Does this require a rebuild of all packages or only (T)Qt3?
Thank you for your help with this issue; the backtraces were invaluable in tracing the problem!
I only wish I knew more about how to read backtraces. I've tried reading tutorials but all I get is watery eyes. :-)
Darrell
I found the issue. The slider drawing code did not initialise the min/max variables, therefore anytime a slider was shown there was a risk of a random application hang.
Interesting the bug never surfaced until the kstyle changes. I mean, the bug was always there but new code finally exposed the bug. Who says programming is easy. :-)
Actually I introduced the bug by accident. :-) It's easy to do when changing that much code...
This has been fixed in GIT hashes 6c72a84 and 2c0153b (Qt3 and TQt3, respectively).
Does this require a rebuild of all packages or only (T)Qt3?
Only (T)Qt3.
Tim
Timothy Pearson wrote:
Strange, I do not see either failure on my up-to-date test system. After the tdelibs ABI change (2a415e33) did you recompile/reinstall tdelibs, then recompile/reinstall everything else after that?
These are complete, fresh, clean rebuilds.
Reversing commit 679d4f0b resolves the problem with the kate/kwrite Go To dialog but not kmix. I only rebuilt tqt3 and tdemultimedia to test. I did not rebuild tdelibs or tdebase because the Go To dialog worked only with rebuilding tqt3. I don't have extensive backups of test builds, but I did not have the kmix problem until recently. I believe git short version 7606 was the last time I saw no dialog problems.
Darrell
Hmm, I just thought of something. What widget style are you using? It could be triggering a bug in TQt3.
I've got the same problems here on Ubuntu Precise with the nightlies. I'm using the default widget style, Platik.