trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2012

Re: [trinity-devel] kwrite crash - it is tdelibs! (tqt3-46, tdelibs-47, tdebase-46 => crash)

From: /dev/ammo42 <mickeytintincolle@...>
Date: Mon, 14 May 2012 05:43:47 +0200
On Sun, 13 May 2012 22:41:06 -0500
"David C. Rankin" <drankinatty@...> wrote:

> On 05/08/2012 06:03 PM, David C. Rankin wrote:
> > On 05/04/2012 10:54 PM, Timothy Pearson wrote:
> >> OK, this will have to wait until I can get a gcc 4.7 system up and
> >> running.
> >>
> >> Tim
> > 
> > Tim, all,
> > 
> >   Just drop a line back to the list when anyone has more
> > information on this issue. I am somewhat stuck building/debugging
> > further on gcc 4.7 until we know what we are dealing with here. I
> > have had no other response/confirmations from the suse folks on
> > whether they have stumbled across this issue yet or not. I was
> > hoping to at least have a confirmation and be able to get more eyes
> > on this issue, but I doubt they have waded into the issue yet. If
> > they have, they haven't put it on the front-burner. I know Ilya has
> > been test building on gcc47, but I have heard anything back on
> > whether they can reproduce it or not.
> > 
> >   Since tdelibs is central to everything that happens in tde, it's
> > hard to know whether any new or existing issues seen are
> > related/not related to whatever is going on here. Can anybody think
> > of any other tests I can run that might narrow this down? Thanks.
> > 
> > 
> > 
> There was a new release of gcc 4.7.0-6 on Arch so I rebuilt everything
> (tqt3->tdebase) and tried again. Same result :( However, the file not
> found error looks strange. What gives with that error? - just do to
> the random nature of this error or has a 't' 'q' bug been introduced??
The "No such file or directory" error is because gdb tries to open the
concerned file (kernel/qfont_x11.cpp, from TQt3 sources) to show the
line of code that program was executing.
> 
> Here is the backtrace:
> 
> 0x00007ffeeb43fa77 in TQFontMetrics::charWidth (this=0x17b6870,
> str=..., pos=81) at kernel/qfont_x11.cpp:704
> 704     kernel/qfont_x11.cpp: No such file or directory.
> (gdb) bt
> #0  0x00007ffeeb43fa77 in TQFontMetrics::charWidth (this=0x17b6870,
> str=..., pos=81) at kernel/qfont_x11.cpp:704
> #1  0x00007ffee56ac1ba in width (tabWidth=<optimized out>,
> italic=<optimized out>, bold=<optimized out>, col=81, text=...,
> this=0x17b6850) at /build/src/tdelibs/kate/part/katefont.h:76
> #2  width (tabWidth=<optimized out>, col=81, text=..., fs=...,
> this=<optimized out>)
> at /build/src/tdelibs/kate/part/kateattribute.h:55 #3
> KateRenderer::textWidth (this=0x18de640, textLine=..., startcol=0,
> maxwidth=753, needWrap=0x7fffef2d6ec8, endX=0x7fffef2d6ebc)
> at /build/src/tdelibs/kate/part/katerenderer.cpp:797 #4
> 0x00007ffee568d674 in KateViewInternal::range
> (this=this@entry=0x18a03e0, realLine=realLine@entry=0,
> previous=previous@entry=0x0)
> at /build/src/tdelibs/kate/part/kateviewinternal.cpp:1331 #5
> 0x00007ffee568eb32 in KateViewInternal::range
> (this=this@entry=0x18a03e0, realLine=0, viewLine=viewLine@entry=1)
> at /build/src/tdelibs/kate/part/kateviewinternal.cpp:1418 #6
> 0x00007ffee56904c9 in KateViewInternal::viewLineOffset
> (this=this@entry=0x18a03e0, virtualCursor=..., offset=0,
> keepX=keepX@entry=false)
> at /build/src/tdelibs/kate/part/kateviewinternal.cpp:1578 #7
> 0x00007ffee5693d25 in KateViewInternal::makeVisible
> (this=this@entry=0x18a03e0, c=..., endCol=114,
> force=force@entry=false, center=center@entry=false,
> calledExternally=calledExternally@entry=false)
> at /build/src/tdelibs/kate/part/kateviewinternal.cpp:781 #8
> 0x00007ffee5694352 in KateViewInternal::updateCursor
> (this=this@entry=0x18a03e0, newCursor=..., force=force@entry=true,
> center=center@entry=false,
> calledExternally=calledExternally@entry=false)
> at /build/src/tdelibs/kate/part/kateviewinternal.cpp:2204 #9
> 0x00007ffee56984c0 in KateViewInternal::editEnd (this=0x18a03e0,
> editTagLineStart=0, editTagLineEnd=<optimized out>,
> tagFrom=<optimized out>)
> at /build/src/tdelibs/kate/part/kateviewinternal.cpp:3385 #10
> 0x00007ffee5634ef0 in KateDocument::editEnd (this=0x17d5560)
> at /build/src/tdelibs/kate/part/katedocument.cpp:1032 #11
> 0x00007ffee562ef5b in KateDocument::paste (this=0x17d5560,
> view=0x18a7fd0) at /build/src/tdelibs/kate/part/katedocument.cpp:3249
> #12 0x00007ffee5666a53 in KateView::paste (this=0x18a7fd0)
> at /build/src/tdelibs/kate/part/kateview.cpp:1597 #13
> 0x00007ffee5696102 in KateViewInternal::mouseReleaseEvent
> (this=0x18a03e0, e=0x7fffef2d77d0)
> at /build/src/tdelibs/kate/part/kateviewinternal.cpp:2965 #14
> 0x00007ffeeb52e343 in TQWidget::event (this=0x18a03e0,
> e=0x7fffef2d77d0) at kernel/qwidget.cpp:4725 #15 0x00007ffeeb498559
> in TQApplication::internalNotify (this=0x7fffef2d8030, receiver=
> 0x18a03e0, e=0x7fffef2d77d0) at kernel/qapplication.cpp:2638 #16
> 0x00007ffeeb497be3 in TQApplication::notify (this=0x7fffef2d8030,
> receiver=0x18a03e0, e=0x7fffef2d77d0) at kernel/qapplication.cpp:2424
> #17 0x00007ffeec461894 in KApplication::notify (this=0x7fffef2d8030,
> receiver=0x18a03e0, event=0x7fffef2d77d0)
> at /build/src/tdelibs/tdecore/kapplication.cpp:583 #18
> 0x00007ffeeb42a6b3 in TQApplication::sendSpontaneousEvent
> (receiver=0x18a03e0, event=0x7fffef2d77d0) at
> kernel/ntqapplication.h:526 #19 0x00007ffeeb423f53 in
> TQETWidget::translateMouseEvent (this=0x18a03e0,
> event=0x7fffef2d7ce0) at kernel/qapplication_x11.cpp:4380 #20
> 0x00007ffeeb421871 in TQApplication::x11ProcessEvent
> (this=0x7fffef2d8030, event=0x7fffef2d7ce0) at
> kernel/qapplication_x11.cpp:3557 #21 0x00007ffeeb43cc44 in
> TQEventLoop::processEvents (this=0x1718f90, flags=4) at
> kernel/qeventloop_x11.cpp:195 #22 0x00007ffeeb4ab818 in
> TQEventLoop::enterLoop (this=0x1718f90) at kernel/qeventloop.cpp:201
> #23 0x00007ffeeb4ab6e9 in TQEventLoop::exec (this=0x1718f90) at
> kernel/qeventloop.cpp:148 #24 0x00007ffeeb498689 in
> TQApplication::exec (this=0x7fffef2d8030) at
> kernel/qapplication.cpp:2761 #25 0x00007ffeef7d43a8 in kdemain
> (argc=1, argv=0x7fffef2d8608)
> at /build/src/tdebase/kate/app/kwritemain.cpp:692 #26
> 0x000000000040082c in main (argc=1, argv=0x7fffef2d8608)
> at /build/src/build/kate/app/kwrite_tdeinit_executable.cpp:2
> 
>