On Monday 30 April 2012 18:39:59 David C. Rankin wrote:
Tim, Darrell,
As /dev/ammo42 suggested, I captured a strace on the i686 crash. It is
attached to bug 979. (current tdebase and tqt3, tdelibs from 4/16 -- same
crash)
http://bugs.trinitydesktop.org/attachment.cgi?id=568
Also, this bug occurs 100% of the time when pasting 'small' amounts of
text (1-2 words at a time) until the line wraps. I can paste 10 lines of
text into kwrite and keep editing - so it looks like something that effects
the single line length computation.
I'll keep incrementally downgrading and report when I narrow the time
the bug was introduced. If anyone can read straces, then take a look.
Be very carefully with gcc 4.7 patches. For example, if you have something
like this:
Iterator it = blabla;
for(Iterator it = blabla; it; ++it)
it.do_something()
Is not enough to rename the for's "it", this will fix building problem, but
will broke the logic of loop. You should also rename the "it" which is inside
the loop.
This is WRONG:
Iterator it = blabla;
for(Iterator it1 = blabla; it1; ++it1)
it.do_something()
This is CORRECT:
Iterator it = blabla;
for(Iterator it1 = blabla; it1; ++it1)
it1.do_something()
--
Serghei