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: "Timothy Pearson" <kb9vqf@...>
Date: Fri, 4 May 2012 13:42:03 -0500
> Tim, Darrell, All,
>   tdelibs is the package that causes the kwrite/kate/etc.. crash when
> built on
> gcc 47. The backtrace is good this time and points to:
> at (i=<optimized out>, this=<optimized out>) at
> /opt/tqt3/include/ntqstring.h:641
> 641             { return i < d->len ? d->unicode[i] : TQChar::null; }

That is valuable information!  This is also not an issue of ignoring build
warnings, as there are none which relate to the failing code.

If you can, please try the attached patch.  It will probably do nothing,
but there is half a chance that gcc 4.7 did not inline the functions where
gcc 4.6 did, *potentially* causing a crash due to misuse of parameters
passed by reference.

Tim



Attachments: