trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2012

Re: [trinity-devel] New kwrite crashes with yesterdays builds of tdelibs/tdebase

From: "Timothy Pearson" <kb9vqf@...>
Date: Wed, 25 Apr 2012 17:35:25 -0500
> On 04/25/2012 03:52 PM, Timothy Pearson wrote:
>>> On 04/25/2012 01:49 PM, Timothy Pearson wrote:
>>>>> got it -- now what (rebuild and don't strip :)
>>>> Yep, that's correct.  Once you get to the gdb>  prompt enter 'bt' and
>>>> press
>>>> <return>.
>>>>
>>>> Tim
>>>
>>> OK,
>>>
>>> 0xb51f4363 in KateRenderer::textWidth(KSharedPtr<KateTextLine> const&,
>>> unsigned int, unsigned int, bool*, int*) () from
>>> /opt/trinity/lib/trinity/libkatepart.so
>>> (gdb) bt
>>> #0  0xb51f4363 in KateRenderer::textWidth(KSharedPtr<KateTextLine>
>>> const&,
>>> unsigned int, unsigned int, bool*, int*) () from
>>> /opt/trinity/lib/trinity/libkatepart.so
>>> #1  0xb51d1d97 in KateViewInternal::range(int, KateLineRange const*) ()
>>>     from /opt/trinity/lib/trinity/libkatepart.so
>>> #2  0xb51d31ae in KateViewInternal::range(unsigned int, int) ()
>>>     from /opt/trinity/lib/trinity/libkatepart.so
>>> #3  0x08515838 in ?? ()
>>> Backtrace stopped: previous frame inner to this frame (corrupt stack?)
>>>
>>> Huh?
>>>
>>>    Do I need to rebuild without 'strip' to help?
>>>
>>
>> Possibly.  Also, if no one else is seeing this problem, I wonder if it
>> is
>> unique to your system/distribution.  We'll need a complete backtrace
>> with
>> line numbers to know for sure. :-)
>>
>> Tim
>
> Ain't I just the luck one again :)
>
> Here is the backtrace from the x86_64 box. It contains a bit more. The
> last was
> from i686. I'm currently rebuilding preserving the symbols, etc.. Let me
> know if
> this helps. It looks like both blew up on KateRenderer::textWidth:
>
> 0x00007fdf1c4bd135 in KateRenderer::textWidth(KSharedPtr<KateTextLine>
> const&,
> unsigned int, unsigned int, bool*, int*) () from
> /opt/trinity/lib/trinity/libkatepart.so
> (gdb) bt
> #0  0x00007fdf1c4bd135 in KateRenderer::textWidth(KSharedPtr<KateTextLine>
> const&, unsigned int, unsigned int, bool*, int*) () from
> /opt/trinity/lib/trinity/libkatepart.so
> #1  0x00007fdf1c49e674 in KateViewInternal::range(int, KateLineRange
> const*) ()
>    from /opt/trinity/lib/trinity/libkatepart.so
> #2  0x00007fdf1c49fb32 in KateViewInternal::range(unsigned int, int) ()
>    from /opt/trinity/lib/trinity/libkatepart.so
> #3  0x00007fdf1c4a14c9 in KateViewInternal::viewLineOffset(KateTextCursor
> const&, int, bool) ()
>    from /opt/trinity/lib/trinity/libkatepart.so
> #4  0x00007fdf1c4a4d25 in KateViewInternal::makeVisible(KateTextCursor
> const&,
> unsigned int, bool, bool, bool) () from
> /opt/trinity/lib/trinity/libkatepart.so
> #5  0x00007fdf1c4a5352 in KateViewInternal::updateCursor(KateTextCursor
> const&,
> bool, bool, bool) ()
>    from /opt/trinity/lib/trinity/libkatepart.so
> #6  0x00007fdf1c4a94c0 in KateViewInternal::editEnd(int, int, bool) ()
>    from /opt/trinity/lib/trinity/libkatepart.so
> #7  0x00007fdf1c445ef0 in KateDocument::editEnd() () from
> /opt/trinity/lib/trinity/libkatepart.so
> #8  0x00007fdf1c43ff5b in KateDocument::paste(KateView*) () from
> /opt/trinity/lib/trinity/libkatepart.so
> #9  0x00007fdf1c477a53 in KateView::paste() () from
> /opt/trinity/lib/trinity/libkatepart.so
> #10 0x00007fdf1c4a7102 in
> KateViewInternal::mouseReleaseEvent(TQMouseEvent*) ()
>    from /opt/trinity/lib/trinity/libkatepart.so
> #11 0x00007fdf254094b3 in TQWidget::event(TQEvent*) () from
> /opt/tqt3/lib/libtqt-mt.so.3
> #12 0x00007fdf2538df2d in TQApplication::internalNotify(TQObject*,
> TQEvent*) ()
>    from /opt/tqt3/lib/libtqt-mt.so.3
> #13 0x00007fdf2538e355 in TQApplication::notify(TQObject*, TQEvent*) ()
> from
> /opt/tqt3/lib/libtqt-mt.so.3
> #14 0x00007fdf25bab8c4 in KApplication::notify(TQObject*, TQEvent*) ()
> from
> /opt/trinity/lib/libtdecore.so.4
> #15 0x00007fdf2533b076 in TQETWidget::translateMouseEvent(_XEvent const*)
> ()
>    from /opt/tqt3/lib/libtqt-mt.so.3
> #16 0x00007fdf25339c58 in TQApplication::x11ProcessEvent(_XEvent*) () from
> /opt/tqt3/lib/libtqt-mt.so.3
> #17 0x00007fdf253484a4 in TQEventLoop::processEvents(unsigned int) () from
> /opt/tqt3/lib/libtqt-mt.so.3
> #18 0x00007fdf2539f549 in TQEventLoop::enterLoop() () from
> /opt/tqt3/lib/libtqt-mt.so.3
> #19 0x00007fdf2539f4d2 in TQEventLoop::exec() () from
> /opt/tqt3/lib/libtqt-mt.so.3
> #20 0x00007fdf1e8393a8 in kdemain () from
> /opt/trinity/lib/libtdeinit_kwrite.so
> #21 0x00007fdf1ea438c0 in tdeinitmain () from
> /opt/trinity/lib/trinity/kwrite.so
> #22 0x00000000004094ee in ?? ()
> #23 0x000000000040a5ee in ?? ()
> #24 0x000000000040abda in ?? ()
> #25 0x0000000000406b26 in main ()
>
>   How do I make it spit out line numbers?

By providing libraries with the symbols intact.

Tim