trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2012

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

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 25 Apr 2012 21:34:33 -0500
On 04/25/2012 05:35 PM, Timothy Pearson wrote:
>> 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>.
>>>>>
<snip>
>>
>>   How do I make it spit out line numbers?
> 
> By providing libraries with the symbols intact.
> 
> Tim
> 


OK,

  I rebuild without stripping and I'm still not getting line numbers, but I may
have got something more useful. I still suspect something related to paste of
the select buffer. Simply opening a file with lines long enough to wrap will not
cause a crash automatically. I had multiple files open in kate for a couple of
minutes, long enough to start picking through the settings and the help file
before it locked. Then pasting words until it started to wrap the line was all
it took.

  I was really surprised by the whole system freeze. I am putting together a
list of files that had been updated since 4/1 to see if there is anything that
looks suspect. If it was a new update that caused problems, it would have to
have been very recently. I didn't get line numbers in gdb.  I simply rebuilt
tdelibs and tdebase -- I guess tqt3 and tqt-interface symbols will be required.
Anyway, here is what I was able to get:

Konsole Output:

<snip>
kio (KDirWatch): KDirWatchPrivate::removeEntry for '/home/david/Documents'
sub_entry: (nil)
kio (KDirWatch): inotify remove true true
kio (KDirWatch): Cancelled INotify (fd 11, 7) for /home/david/Documents
kio (KDirWatch): Removed Dir /home/david/Documents [KDirWatch-2]
Kate (Document): [int KateFileTypeManager::fileType(KateDocument*)]
Kate (Document): [int KateFileTypeManager::fileType(KateDocument*)]
kio (KDirWatch): Added File /home/david/Documents/pacman.log [KDirWatch-1]
Kate (Document): [int KateFileTypeManager::fileType(KateDocument*)]
Kate (Document): search for config file in path: /home/david/Documents
Kate (Document): search for config file in path: /home/david
Kate (Document): search for config file in path: /home
Kate (Document): search for config file in path: /
Kate (Document): OPEN USES ENCODING: ISO 8859-1
Kate (Document): A BLOCK LOADED WITH LINES: 1752
Kate (Document): LOADING DONE
Kate (Document): [int KateFileTypeManager::fileType(KateDocument*)]
Kate (Document): [int KateFileTypeManager::fileType(KateDocument*)]
tdeui (KToolBar): isearchToolBar KToolBar::removeItem item -51 not found
tdeui (KToolBar): isearchToolBar KToolBar::removeItem item -52 not found
kio (KDirWatch): ev wd: 7 mask 32768 path:

after rebuild without strip:

Loaded symbols for /opt/tqt3/plugins/inputmethods/libqxim.so
0x00007ff4ab7916d0 in TQFontMetrics::charWidth () from
/opt/trinity/lib/trinity/libkatepart.so
(gdb) bt
#0  0x00007ff4ab7916d0 in TQFontMetrics::charWidth () from
/opt/trinity/lib/trinity/libkatepart.so
#1  0x00007ff4ab8431ba in KateRenderer::textWidth(KSharedPtr<KateTextLine>
const&, unsigned int, unsigned int, bool*, int*) () from
/opt/trinity/lib/trinity/libkatepart.so
#2  0x00007ff4ab824674 in KateViewInternal::range(int, KateLineRange const*) ()
   from /opt/trinity/lib/trinity/libkatepart.so
#3  0x00007ff4ab825b32 in KateViewInternal::range(unsigned int, int) ()
   from /opt/trinity/lib/trinity/libkatepart.so
#4  0x00007ff4ab8274c9 in KateViewInternal::viewLineOffset(KateTextCursor
const&, int, bool) ()
   from /opt/trinity/lib/trinity/libkatepart.so
#5  0x00007ff4ab82ad25 in KateViewInternal::makeVisible(KateTextCursor const&,
unsigned int, bool, bool, bool) () from /opt/trinity/lib/trinity/libkatepart.so
#6  0x00007ff4ab82b352 in KateViewInternal::updateCursor(KateTextCursor const&,
bool, bool, bool) ()
   from /opt/trinity/lib/trinity/libkatepart.so
#7  0x00007ff4ab82f4c0 in KateViewInternal::editEnd(int, int, bool) ()
   from /opt/trinity/lib/trinity/libkatepart.so
#8  0x00007ff4ab7cbef0 in KateDocument::editEnd() () from
/opt/trinity/lib/trinity/libkatepart.so
#9  0x00007ff4ab7c5f5b in KateDocument::paste(KateView*) () from
/opt/trinity/lib/trinity/libkatepart.so
#10 0x00007ff4ab7fda53 in KateView::paste() () from
/opt/trinity/lib/trinity/libkatepart.so
#11 0x00007ff4ab82d102 in KateViewInternal::mouseReleaseEvent(TQMouseEvent*) ()
   from /opt/trinity/lib/trinity/libkatepart.so
#12 0x00007ff4b3a854b3 in TQWidget::event(TQEvent*) () from
/opt/tqt3/lib/libtqt-mt.so.3
#13 0x00007ff4b3a09f2d in TQApplication::internalNotify(TQObject*, TQEvent*) ()
   from /opt/tqt3/lib/libtqt-mt.so.3
#14 0x00007ff4b3a0a355 in TQApplication::notify(TQObject*, TQEvent*) () from
/opt/tqt3/lib/libtqt-mt.so.3
#15 0x00007ff4b42278c4 in KApplication::notify(TQObject*, TQEvent*) () from
/opt/trinity/lib/libtdecore.so.4
#16 0x00007ff4b39b7076 in TQETWidget::translateMouseEvent(_XEvent const*) ()
   from /opt/tqt3/lib/libtqt-mt.so.3
#17 0x00007ff4b39b5c58 in TQApplication::x11ProcessEvent(_XEvent*) () from
/opt/tqt3/lib/libtqt-mt.so.3
#18 0x00007ff4b39c44a4 in TQEventLoop::processEvents(unsigned int) () from
/opt/tqt3/lib/libtqt-mt.so.3
#19 0x00007ff4b3a1b549 in TQEventLoop::enterLoop() () from
/opt/tqt3/lib/libtqt-mt.so.3
#20 0x00007ff4b3a1b4d2 in TQEventLoop::exec() () from /opt/tqt3/lib/libtqt-mt.so.3
#21 0x00007ff4acea6cf6 in kdemain () from /opt/trinity/lib/libtdeinit_kate.so
#22 0x00007ff4ad0ac860 in tdeinitmain () from /opt/trinity/lib/trinity/kate.so
#23 0x00000000004094ee in launch(int, char const*, char const*, char const*,
int, char const*, bool, char const*, bool, char const*) ()
#24 0x000000000040a5ee in handle_launcher_request(int) ()
#25 0x000000000040abda in handle_requests(int) ()
#26 0x0000000000406b26 in main ()

   Do I need to also go rebuild tqt3 and tqt-interface in order to preserve the
line numbers?

-- 
David C. Rankin, J.D.,P.E.