[Qt-interest] QTimer and crashing...

BRM bm_witness at yahoo.com
Thu Aug 5 15:04:33 CEST 2010


----- Original Message ----

> From: Arnold Krille <arnold at arnoldarts.de>
> To: qt-interest at trolltech.com
> Sent: Wed, August 4, 2010 7:24:25 PM
> Subject: Re: [Qt-interest] QTimer and crashing...
> 
> On Wednesday 04 August 2010 22:59:24 BRM wrote:
> > Well, I've tried  valgrind on this particular application in the past, and
> > it just doesn't  work. The whole application grinds to a halt under the
> > resources  consumed.
> 
> Yes, running in valgrind makes your app really slow. But that  is because each 

> instruction is checked. I don't think its because you run  out of memory or 
> something. I successfully use valgrind on apps that use a  quarter to half the 

> available memory and that still works without  swapping...

It's for numerous reasons. However, the slow down causes the data to backup (as 
it is a time-dependent system) and results in the app crashing under valgrind.
It's a cause-effect relationship.

Don't get me wrong - I like valgrind. It just doesn't work in this situation.

Ben




More information about the Qt-interest-old mailing list