This might be a stupid question, but did you try to run kwirte with valgrind?
Nik
Am Donnerstag, 3. Mai 2012 schrieb David C. Rankin:
Tim, Darrell, all
It's confirmed - the same kwrite crash occurs when the 3/29 sources are
rebuilt on gcc 4.7. We are challenged with what will be a fun bug hunt that
will take a skilled dev who is familiar with this type of debug. I did have
full debug built into the packages and here is the backtrace. I'm at a
standstill. I know not where to go next. Experts, please weigh in....
Loaded symbols for /lib/libnss_files.so.2
0x00007f5859c98200 in isSpace () from /opt/tqt3/lib/libtqt-mt.so.3
(gdb) bt
#0 0x00007f5859c98200 in isSpace () from /opt/tqt3/lib/libtqt-mt.so.3
#1 0x00007f585a0a6a6c in TQChar::isSpace (this=0x1c9b010) at
tools/qstring.cpp:475 #2 0x00007f5853f5ffc1 in KateRenderer::textWidth
(this=0x1aa9210, textLine=..., startcol=0, maxwidth=817,
needWrap=0x7fffc9605ea8, endX=0x7fffc9605e9c) at
/build/src/tdelibs/kate/part/katerenderer.cpp:806
#3 0x00007f5853f41674 in KateViewInternal::range
(this=this@entry=0x1a66ce0, realLine=realLine@entry=0,
previous=previous@entry=0x0)
at /build/src/tdelibs/kate/part/kateviewinternal.cpp:1331
#4 0x00007f5853f42b32 in KateViewInternal::range
(this=this@entry=0x1a66ce0, realLine=0,
viewLine=viewLine@entry=1) at
/build/src/tdelibs/kate/part/kateviewinternal.cpp:1418
#5 0x00007f5853f444c9 in KateViewInternal::viewLineOffset
(this=this@entry=0x1a66ce0,
virtualCursor=..., offset=0, keepX=keepX@entry=false)
at /build/src/tdelibs/kate/part/kateviewinternal.cpp:1578
#6 0x00007f5853f47d25 in KateViewInternal::makeVisible
(this=this@entry=0x1a66ce0, c=...,
endCol=115, force=force@entry=false, center=center@entry=false,
calledExternally=calledExternally@entry=false)
at /build/src/tdelibs/kate/part/kateviewinternal.cpp:781
#7 0x00007f5853f48352 in KateViewInternal::updateCursor
(this=this@entry=0x1a66ce0, newCursor=..., force=force@entry=true,
center=center@entry=false, calledExternally=calledExternally@entry=false)
at /build/src/tdelibs/kate/part/kateviewinternal.cpp:2204
#8 0x00007f5853f4c4c0 in KateViewInternal::editEnd (this=0x1a66ce0,
editTagLineStart=0,
editTagLineEnd=<optimized out>, tagFrom=<optimized out>)
at /build/src/tdelibs/kate/part/kateviewinternal.cpp:3385
#9 0x00007f5853ee8ef0 in KateDocument::editEnd (this=0x199d150)
at /build/src/tdelibs/kate/part/katedocument.cpp:1032
#10 0x00007f5853ee2f5b in KateDocument::paste (this=0x199d150,
view=0x1aa6630) at /build/src/tdelibs/kate/part/katedocument.cpp:3249
#11 0x00007f5853f1aa53 in KateView::paste (this=0x1aa6630)
at /build/src/tdelibs/kate/part/kateview.cpp:1597
#12 0x00007f5853f4a102 in KateViewInternal::mouseReleaseEvent
(this=0x1a66ce0, e=0x7fffc96067b0) at
/build/src/tdelibs/kate/part/kateviewinternal.cpp:2965 #13
0x00007f5859de2343 in TQWidget::event (this=0x1a66ce0, e=0x7fffc96067b0) at
kernel/qwidget.cpp:4725
#14 0x00007f5859d4c559 in TQApplication::internalNotify
(this=0x7fffc9607010, receiver=
0x1a66ce0, e=0x7fffc96067b0) at kernel/qapplication.cpp:2638
#15 0x00007f5859d4bbe3 in TQApplication::notify (this=0x7fffc9607010,
receiver=0x1a66ce0,
e=0x7fffc96067b0) at kernel/qapplication.cpp:2424
#16 0x00007f585ad045c4 in KApplication::notify (this=0x7fffc9607010,
receiver=0x1a66ce0,
event=0x7fffc96067b0) at
/build/src/tdelibs/tdecore/kapplication.cpp:583 #17 0x00007f5859cde6b3 in
TQApplication::sendSpontaneousEvent (receiver=0x1a66ce0,
event=0x7fffc96067b0) at kernel/ntqapplication.h:526
#18 0x00007f5859cd7f53 in TQETWidget::translateMouseEvent (this=0x1a66ce0,
event=0x7fffc9606cc0) at kernel/qapplication_x11.cpp:4380
#19 0x00007f5859cd5871 in TQApplication::x11ProcessEvent
(this=0x7fffc9607010, event=0x7fffc9606cc0) at
kernel/qapplication_x11.cpp:3557
#20 0x00007f5859cf0c44 in TQEventLoop::processEvents (this=0x18e3e80,
flags=4) at kernel/qeventloop_x11.cpp:195
#21 0x00007f5859d5f818 in TQEventLoop::enterLoop (this=0x18e3e80)
at kernel/qeventloop.cpp:201
#22 0x00007f5859d5f6e9 in TQEventLoop::exec (this=0x18e3e80) at
kernel/qeventloop.cpp:148
#23 0x00007f5859d4c689 in TQApplication::exec (this=0x7fffc9607010)
at kernel/qapplication.cpp:2761
#24 0x00007f585e0303a8 in kdemain (argc=1, argv=0x7fffc96075e8)
at /build/src/tdebase/kate/app/kwritemain.cpp:692
#25 0x000000000040082c in main (argc=1, argv=0x7fffc96075e8)
at /build/src/build/kate/app/kwrite_tdeinit_executable.cpp:2
(gdb)