namld@sunny:~/prjs/tmp$ valgrind ./test_lept ==27492== Memcheck, a memory error detector ==27492== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==27492== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info ==27492== Command: ./test_lept ==27492== lept_version: leptonica-1.80.0 ==27492== Conditional jump or move depends on uninitialised value(s) ==27492== at 0x4FF2B0E: seedfillBinaryLow (seedfill.c:444) ==27492== by 0x4FF5E91: pixSeedfillBinary (seedfill.c:285) ==27492== by 0x4F5212F: pixGenerateHalftoneMask (pageseg.c:339) ==27492== by 0x108AD4: main (in /home/namld/prjs/tmp/test_lept) ==27492== ==27492== Conditional jump or move depends on uninitialised value(s) ==27492== at 0x4FF2ABF: seedfillBinaryLow (seedfill.c:452) ==27492== by 0x4FF5E91: pixSeedfillBinary (seedfill.c:285) ==27492== by 0x4F5212F: pixGenerateHalftoneMask (pageseg.c:339) ==27492== by 0x108AD4: main (in /home/namld/prjs/tmp/test_lept) ==27492== ==27492== Conditional jump or move depends on uninitialised value(s) ==27492== at 0x4FF2BC5: seedfillBinaryLow (seedfill.c:480) ==27492== by 0x4FF5E91: pixSeedfillBinary (seedfill.c:285) ==27492== by 0x4F5212F: pixGenerateHalftoneMask (pageseg.c:339) ==27492== by 0x108AD4: main (in /home/namld/prjs/tmp/test_lept) ==27492== ==27492== Conditional jump or move depends on uninitialised value(s) ==27492== at 0x4FF2B79: seedfillBinaryLow (seedfill.c:488) ==27492== by 0x4FF5E91: pixSeedfillBinary (seedfill.c:285) ==27492== by 0x4F5212F: pixGenerateHalftoneMask (pageseg.c:339) ==27492== by 0x108AD4: main (in /home/namld/prjs/tmp/test_lept) ==27492== ==27492== Conditional jump or move depends on uninitialised value(s) ==27492== at 0x4ED051D: pixEqualWithAlpha (compare.c:347) ==27492== by 0x4ED0593: pixEqual (compare.c:160) ==27492== by 0x4FF5EA3: pixSeedfillBinary (seedfill.c:286) ==27492== by 0x4F5212F: pixGenerateHalftoneMask (pageseg.c:339) ==27492== by 0x108AD4: main (in /home/namld/prjs/tmp/test_lept) ==27492== ==27492== Conditional jump or move depends on uninitialised value(s) ==27492== at 0x4ED0438: pixEqualWithAlpha (compare.c:338) ==27492== by 0x4ED0593: pixEqual (compare.c:160) ==27492== by 0x4FF5EA3: pixSeedfillBinary (seedfill.c:286) ==27492== by 0x4F5212F: pixGenerateHalftoneMask (pageseg.c:339) ==27492== by 0x108AD4: main (in /home/namld/prjs/tmp/test_lept) ==27492== ==27492== Conditional jump or move depends on uninitialised value(s) ==27492== at 0x4F6FA07: pixZero (pix3.c:1846) ==27492== by 0x4F52154: pixGenerateHalftoneMask (pageseg.c:347) ==27492== by 0x108AD4: main (in /home/namld/prjs/tmp/test_lept) ==27492== ==27492== Conditional jump or move depends on uninitialised value(s) ==27492== at 0x4ED6F3B: nextOnPixelInRasterLow (conncomp.c:521) ==27492== by 0x4ED7390: nextOnPixelInRaster (conncomp.c:476) ==27492== by 0x4ED8348: pixConnCompBB (conncomp.c:350) ==27492== by 0x4ED8515: pixConnComp (conncomp.c:165) ==27492== by 0x4E8FBA1: pixaGenerateFont (bmf.c:643) ==27492== by 0x4E9009B: pixaGenerateFontFromString (bmf.c:533) ==27492== by 0x4E90A13: bmfCreate (bmf.c:132) ==27492== by 0x108AFC: main (in /home/namld/prjs/tmp/test_lept) ==27492== ==27492== Conditional jump or move depends on uninitialised value(s) ==27492== at 0x4ED6FC2: nextOnPixelInRasterLow (conncomp.c:536) ==27492== by 0x4ED7390: nextOnPixelInRaster (conncomp.c:476) ==27492== by 0x4ED8348: pixConnCompBB (conncomp.c:350) ==27492== by 0x4ED8515: pixConnComp (conncomp.c:165) ==27492== by 0x4E8FBA1: pixaGenerateFont (bmf.c:643) ==27492== by 0x4E9009B: pixaGenerateFontFromString (bmf.c:533) ==27492== by 0x4E90A13: bmfCreate (bmf.c:132) ==27492== by 0x108AFC: main (in /home/namld/prjs/tmp/test_lept) ==27492== ==27492== ==27492== HEAP SUMMARY: ==27492== in use at exit: 0 bytes in 0 blocks ==27492== total heap usage: 1,777 allocs, 1,777 frees, 7,621,169 bytes allocated ==27492== ==27492== All heap blocks were freed -- no leaks are possible ==27492== ==27492== Use --track-origins=yes to see where uninitialised values come from ==27492== For lists of detected and suppressed errors, rerun with: -s ==27492== ERROR SUMMARY: 8445 errors from 9 contexts (suppressed: 0 from 0)