Message: previous - next
Month: May 2012

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

From: "Timothy Pearson" <kb9vqf@...>
Date: Fri, 4 May 2012 19:36:14 -0500
>> Darn.  I was running out the door when I wrote that; I'll try to get
>> something better to you later.
>> All of these crashes appear to be the result of a TQString passed by
>> reference from katerenderer.cpp that is disappearing before it is fully
>> processed.
> just a guess: could it be that that TQString is created and destroyed in a
> different thread than that which uses it (and consequently crashes)?
> nik

It is possible, that is why I am allowing gcc to handle any passing by
reference with the patch I posted.  It is possible that gcc was inlining
the functions (and masking the potential crash) prior to gcc 4.7.

This is all just a shot in the dark until I can reproduce the bug here. ;-)