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 11:39:03 -0500
On 04/25/2012 09:21 AM, David C. Rankin wrote:
> On 04/25/2012 08:57 AM, David C. Rankin wrote:
>> For the second attempt working with kwrite, I started it from konsole so I
>> could look at the kdDebug output. There was nothing out of the ordinary.
>> These crashes have always been difficult for me to isolate. Can anyone
>> suggest a test that would help identify the problem. Also, any reports
>> confirming this behavior would be helpful.
> I just rebuilt tdelibs/tdebase on i686 to confirm - the same crash occurs and
> it is 100% repeatable.
> To confirm, all you need to do is open konsole and cat a file or do something
> to give you text to select and copy into kwrite. Then begin selecting text
> (one or two words at a time) in konsole and then middle-mouse paste into line
> 1 of kwrite. Continue doing this until you get to the point where the line
> will wrap on the next paste. When you paste the next selection that would
> cause line 1 in kwrite to wrap - the crash will occur. See example:
> You will then have to 'terminate' kwrite by clicking the close button and wait
> for the 'Terminate' or 'Keep Running' dialog to appear (or 'kill $(pidof
> kwrite)' in konsole)
> Any ideas??

When this happens kwrite takes over 80% of CPU, so it looks like something hit 
a loop and got stuck:

Here is the top output:

16307 david     20   0 45236  19m  15m R 86.9  2.6   1:10.09 kwrite

That's 86.9% of the CPU when kwrite hangs.

Same thing happens in kate. I'll open a new bug with BLOCKER when I get back 
from lunch :(

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