Windows crash

Thiago Macieira thiago at macieira.org
Tue Mar 30 10:35:19 PDT 2021


On Tuesday, 30 March 2021 08:30:31 PDT Dirk Hohndel via subsurface wrote:
> I wonder why I didn't find this with Valgrind. Given that my professional
> software developer career started writing a memory debugger 27 years ago...
> I find Valgrind frustratingly inconsistent to use.
> 
> /D

Try ASan (-fsanitize=address). Compiling only the executable and not the 
libraries (especially Qt) with ASan works most of the time, but if you need 
more info you may need to enable that for Qt too.

I find that Valgrind and ASan are complementary and find things the other 
don't. Valgrind is especially useful when you don't want to recompile.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering





More information about the subsurface mailing list