strange effect with --enable-fast-malloc=full

Martijn Klingens klingens at kde.org
Tue Apr 16 20:50:40 BST 2002


On Tuesday 16 April 2002 21:21, Falk Brettschneider wrote:
> I tried valgrind but it's in a very early stage. I gave up after every
> trial ended up with "not implemented yet in valgrind". For instance my
> app is multi-threaded, valgrind can't handle pthread. So I didn't get at
> the point where the error occurs.

Wow... you're the first to say that valgrind is in a 'very early stage'... I 
agree that thread support would be more than welcome, but it's about the only 
feature really missing. For everything non-threaded it's already quite a 
wonderful debugging tool.

> Hmm...being in the infinite loop is worse than a good old-fashioned
> crash. Can we please insert an escape condition { ... if (p->fd==nextp
> && prev_inuse(p)) { break; }... } while (....) ? Then I at least get a
> good crash. :-)

Patch it locally and see if it helps? :)

Martijn





More information about the kde-core-devel mailing list