Either I'm confused or the gc is

donallen donaldcallen at gmail.com
Thu Oct 22 15:58:32 UTC 2020


Here's the rest of it:

y 0x1B8C0F: pure nothrow @safe 
std.array.Appender!(immutable(char)[]).Appender 
std.array.appender!(immutable(char)[]).appender() 
(/usr/include/dlang/dmd/std/array.d:3886)
==3854==    by 0x1C81AC: pure @safe immutable(char)[] 
std.format.format!(char, immutable(char)[], 
immutable(char)[]).format(in char[], immutable(char)[], 
immutable(char)[]) (/usr/include/dlang/dmd/std/format.d:6642)
==3854==    by 0x1B7E98: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:272)
==3854==  Uninitialised value was created by a stack allocation
==3854==    at 0x1B77FC: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:84)
==3854==
==3854== Use of uninitialised value of size 8
==3854==    at 0x224A4F: nothrow scope void 
gc.impl.conservative.gc.Gcx.mark!(false, 
true).mark(gc.impl.conservative.gc.Gcx.ScanRange!(false).ScanRange) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21F137: nothrow void 
gc.impl.conservative.gc.Gcx.markParallel(bool) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21E959: nothrow ulong 
gc.impl.conservative.gc.Gcx.fullcollect(bool) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21CBFC: nothrow void* 
gc.impl.conservative.gc.Gcx.smallAlloc(ulong, ref ulong, uint, 
const(TypeInfo)) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x2227C0: nothrow void* 
gc.impl.conservative.gc.ConservativeGC.runLocked!(gc.impl.conservative.gc.ConservativeGC.mallocNoSync(ulong, uint, ref ulong, const(TypeInfo)), gc.impl.conservative.gc.mallocTime, gc.impl.conservative.gc.numMallocs, ulong, uint, ulong, const(TypeInfo)).runLocked(ref ulong, ref uint, ref ulong, ref const(TypeInfo)) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21A279: nothrow core.memory.BlkInfo_ 
gc.impl.conservative.gc.ConservativeGC.qalloc(ulong, uint, 
const(TypeInfo)) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E6C5E: gc_qalloc (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E90CB: _d_newitemT (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1B8D4B: pure nothrow ref @trusted 
std.array.Appender!(immutable(char)[]).Appender 
std.array.Appender!(immutable(char)[]).Appender.__ctor(immutable(char)[]) (/usr/include/dlang/dmd/std/array.d:3261)
==3854==    by 0x1B8C0F: pure nothrow @safe 
std.array.Appender!(immutable(char)[]).Appender 
std.array.appender!(immutable(char)[]).appender() 
(/usr/include/dlang/dmd/std/array.d:3886)
==3854==    by 0x1C81AC: pure @safe immutable(char)[] 
std.format.format!(char, immutable(char)[], 
immutable(char)[]).format(in char[], immutable(char)[], 
immutable(char)[]) (/usr/include/dlang/dmd/std/format.d:6642)
==3854==    by 0x1B7E98: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:272)
==3854==  Uninitialised value was created by a stack allocation
==3854==    at 0x1B77FC: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:84)
==3854==
==3854== Use of uninitialised value of size 8
==3854==    at 0x23C1CB: nothrow @nogc ulong 
gc.bits.GCBits.setLocked(ulong) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x224A6C: nothrow scope void 
gc.impl.conservative.gc.Gcx.mark!(false, 
true).mark(gc.impl.conservative.gc.Gcx.ScanRange!(false).ScanRange) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21F137: nothrow void 
gc.impl.conservative.gc.Gcx.markParallel(bool) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21E959: nothrow ulong 
gc.impl.conservative.gc.Gcx.fullcollect(bool) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21CBFC: nothrow void* 
gc.impl.conservative.gc.Gcx.smallAlloc(ulong, ref ulong, uint, 
const(TypeInfo)) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x2227C0: nothrow void* 
gc.impl.conservative.gc.ConservativeGC.runLocked!(gc.impl.conservative.gc.ConservativeGC.mallocNoSync(ulong, uint, ref ulong, const(TypeInfo)), gc.impl.conservative.gc.mallocTime, gc.impl.conservative.gc.numMallocs, ulong, uint, ulong, const(TypeInfo)).runLocked(ref ulong, ref uint, ref ulong, ref const(TypeInfo)) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21A279: nothrow core.memory.BlkInfo_ 
gc.impl.conservative.gc.ConservativeGC.qalloc(ulong, uint, 
const(TypeInfo)) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E6C5E: gc_qalloc (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E90CB: _d_newitemT (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1B8D4B: pure nothrow ref @trusted 
std.array.Appender!(immutable(char)[]).Appender 
std.array.Appender!(immutable(char)[]).Appender.__ctor(immutable(char)[]) (/usr/include/dlang/dmd/std/array.d:3261)
==3854==    by 0x1B8C0F: pure nothrow @safe 
std.array.Appender!(immutable(char)[]).Appender 
std.array.appender!(immutable(char)[]).appender() 
(/usr/include/dlang/dmd/std/array.d:3886)
==3854==    by 0x1C81AC: pure @safe immutable(char)[] 
std.format.format!(char, immutable(char)[], 
immutable(char)[]).format(in char[], immutable(char)[], 
immutable(char)[]) (/usr/include/dlang/dmd/std/format.d:6642)
==3854==  Uninitialised value was created by a stack allocation
==3854==    at 0x1B77FC: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:84)
==3854==
==3854== Use of uninitialised value of size 8
==3854==    at 0x224A8D: nothrow scope void 
gc.impl.conservative.gc.Gcx.mark!(false, 
true).mark(gc.impl.conservative.gc.Gcx.ScanRange!(false).ScanRange) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21F137: nothrow void 
gc.impl.conservative.gc.Gcx.markParallel(bool) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21E959: nothrow ulong 
gc.impl.conservative.gc.Gcx.fullcollect(bool) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21CBFC: nothrow void* 
gc.impl.conservative.gc.Gcx.smallAlloc(ulong, ref ulong, uint, 
const(TypeInfo)) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x2227C0: nothrow void* 
gc.impl.conservative.gc.ConservativeGC.runLocked!(gc.impl.conservative.gc.ConservativeGC.mallocNoSync(ulong, uint, ref ulong, const(TypeInfo)), gc.impl.conservative.gc.mallocTime, gc.impl.conservative.gc.numMallocs, ulong, uint, ulong, const(TypeInfo)).runLocked(ref ulong, ref uint, ref ulong, ref const(TypeInfo)) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21A279: nothrow core.memory.BlkInfo_ 
gc.impl.conservative.gc.ConservativeGC.qalloc(ulong, uint, 
const(TypeInfo)) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E6C5E: gc_qalloc (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E90CB: _d_newitemT (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1B8D4B: pure nothrow ref @trusted 
std.array.Appender!(immutable(char)[]).Appender 
std.array.Appender!(immutable(char)[]).Appender.__ctor(immutable(char)[]) (/usr/include/dlang/dmd/std/array.d:3261)
==3854==    by 0x1B8C0F: pure nothrow @safe 
std.array.Appender!(immutable(char)[]).Appender 
std.array.appender!(immutable(char)[]).appender() 
(/usr/include/dlang/dmd/std/array.d:3886)
==3854==    by 0x1C81AC: pure @safe immutable(char)[] 
std.format.format!(char, immutable(char)[], 
immutable(char)[]).format(in char[], immutable(char)[], 
immutable(char)[]) (/usr/include/dlang/dmd/std/format.d:6642)
==3854==    by 0x1B7E98: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:272)
==3854==  Uninitialised value was created by a stack allocation
==3854==    at 0x1B77FC: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:84)
==3854==
==3854== Use of uninitialised value of size 8
==3854==    at 0x224987: nothrow scope void 
gc.impl.conservative.gc.Gcx.mark!(false, 
true).mark(gc.impl.conservative.gc.Gcx.ScanRange!(false).ScanRange) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21F137: nothrow void 
gc.impl.conservative.gc.Gcx.markParallel(bool) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21E959: nothrow ulong 
gc.impl.conservative.gc.Gcx.fullcollect(bool) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21CBFC: nothrow void* 
gc.impl.conservative.gc.Gcx.smallAlloc(ulong, ref ulong, uint, 
const(TypeInfo)) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x2227C0: nothrow void* 
gc.impl.conservative.gc.ConservativeGC.runLocked!(gc.impl.conservative.gc.ConservativeGC.mallocNoSync(ulong, uint, ref ulong, const(TypeInfo)), gc.impl.conservative.gc.mallocTime, gc.impl.conservative.gc.numMallocs, ulong, uint, ulong, const(TypeInfo)).runLocked(ref ulong, ref uint, ref ulong, ref const(TypeInfo)) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21A279: nothrow core.memory.BlkInfo_ 
gc.impl.conservative.gc.ConservativeGC.qalloc(ulong, uint, 
const(TypeInfo)) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E6C5E: gc_qalloc (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E90CB: _d_newitemT (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1B8D4B: pure nothrow ref @trusted 
std.array.Appender!(immutable(char)[]).Appender 
std.array.Appender!(immutable(char)[]).Appender.__ctor(immutable(char)[]) (/usr/include/dlang/dmd/std/array.d:3261)
==3854==    by 0x1B8C0F: pure nothrow @safe 
std.array.Appender!(immutable(char)[]).Appender 
std.array.appender!(immutable(char)[]).appender() 
(/usr/include/dlang/dmd/std/array.d:3886)
==3854==    by 0x1C81AC: pure @safe immutable(char)[] 
std.format.format!(char, immutable(char)[], 
immutable(char)[]).format(in char[], immutable(char)[], 
immutable(char)[]) (/usr/include/dlang/dmd/std/format.d:6642)
==3854==    by 0x1B7E98: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:272)
==3854==  Uninitialised value was created by a stack allocation
==3854==    at 0x1B77FC: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:84)
==3854==
==3854== Conditional jump or move depends on uninitialised 
value(s)
==3854==    at 0x224C56: nothrow scope void 
gc.impl.conservative.gc.Gcx.mark!(false, 
true).mark(gc.impl.conservative.gc.Gcx.ScanRange!(false).ScanRange) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21F137: nothrow void 
gc.impl.conservative.gc.Gcx.markParallel(bool) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21E959: nothrow ulong 
gc.impl.conservative.gc.Gcx.fullcollect(bool) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21CBFC: nothrow void* 
gc.impl.conservative.gc.Gcx.smallAlloc(ulong, ref ulong, uint, 
const(TypeInfo)) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x2227C0: nothrow void* 
gc.impl.conservative.gc.ConservativeGC.runLocked!(gc.impl.conservative.gc.ConservativeGC.mallocNoSync(ulong, uint, ref ulong, const(TypeInfo)), gc.impl.conservative.gc.mallocTime, gc.impl.conservative.gc.numMallocs, ulong, uint, ulong, const(TypeInfo)).runLocked(ref ulong, ref uint, ref ulong, ref const(TypeInfo)) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21A279: nothrow core.memory.BlkInfo_ 
gc.impl.conservative.gc.ConservativeGC.qalloc(ulong, uint, 
const(TypeInfo)) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E6C5E: gc_qalloc (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E90CB: _d_newitemT (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1B8D4B: pure nothrow ref @trusted 
std.array.Appender!(immutable(char)[]).Appender 
std.array.Appender!(immutable(char)[]).Appender.__ctor(immutable(char)[]) (/usr/include/dlang/dmd/std/array.d:3261)
==3854==    by 0x1B8C0F: pure nothrow @safe 
std.array.Appender!(immutable(char)[]).Appender 
std.array.appender!(immutable(char)[]).appender() 
(/usr/include/dlang/dmd/std/array.d:3886)
==3854==    by 0x1C81AC: pure @safe immutable(char)[] 
std.format.format!(char, immutable(char)[], 
immutable(char)[]).format(in char[], immutable(char)[], 
immutable(char)[]) (/usr/include/dlang/dmd/std/format.d:6642)
==3854==    by 0x1B7E98: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:272)
==3854==  Uninitialised value was created by a stack allocation
==3854==    at 0x1B77FC: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:84)
==3854==
  requires a link to a commodity but doesn't have one.
A commodity with the same name as the account does exist. The 
account will be linked to it.
  [snip]
  ==3854== Thread 4:
==3854== Conditional jump or move depends on uninitialised 
value(s)
==3854==    at 0x224AF4: nothrow scope void 
gc.impl.conservative.gc.Gcx.mark!(false, 
true).mark(gc.impl.conservative.gc.Gcx.ScanRange!(false).ScanRange) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x225007: nothrow void 
gc.impl.conservative.gc.Gcx.pullFromScanStackImpl!(false).pullFromScanStackImpl() (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21F645: nothrow void 
gc.impl.conservative.gc.Gcx.scanBackground() (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x23C0D2: extern (C) nothrow void* 
core.thread.osthread.createLowLevelThread(void delegate() 
nothrow, uint, void delegate() 
nothrow).thread_lowlevelEntry(void*) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x49B03E8: start_thread (in 
/usr/lib/libpthread-2.32.so)
==3854==    by 0x4C3C292: clone (in /usr/lib/libc-2.32.so)
==3854==  Uninitialised value was created by a stack allocation
==3854==    at 0x1B77F8: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:84)
==3854==
==3854== Use of uninitialised value of size 8
==3854==    at 0x23C1CB: nothrow @nogc ulong 
gc.bits.GCBits.setLocked(ulong) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x224B39: nothrow scope void 
gc.impl.conservative.gc.Gcx.mark!(false, 
true).mark(gc.impl.conservative.gc.Gcx.ScanRange!(false).ScanRange) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x225007: nothrow void 
gc.impl.conservative.gc.Gcx.pullFromScanStackImpl!(false).pullFromScanStackImpl() (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21F645: nothrow void 
gc.impl.conservative.gc.Gcx.scanBackground() (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x23C0D2: extern (C) nothrow void* 
core.thread.osthread.createLowLevelThread(void delegate() 
nothrow, uint, void delegate() 
nothrow).thread_lowlevelEntry(void*) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x49B03E8: start_thread (in 
/usr/lib/libpthread-2.32.so)
==3854==    by 0x4C3C292: clone (in /usr/lib/libc-2.32.so)
==3854==  Uninitialised value was created by a stack allocation
==3854==    at 0x1B77F8: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:84)
==3854==
==3854== Conditional jump or move depends on uninitialised 
value(s)
==3854==    at 0x224B3D: nothrow scope void 
gc.impl.conservative.gc.Gcx.mark!(false, 
true).mark(gc.impl.conservative.gc.Gcx.ScanRange!(false).ScanRange) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x225007: nothrow void 
gc.impl.conservative.gc.Gcx.pullFromScanStackImpl!(false).pullFromScanStackImpl() (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21F645: nothrow void 
gc.impl.conservative.gc.Gcx.scanBackground() (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x23C0D2: extern (C) nothrow void* 
core.thread.osthread.createLowLevelThread(void delegate() 
nothrow, uint, void delegate() 
nothrow).thread_lowlevelEntry(void*) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x49B03E8: start_thread (in 
/usr/lib/libpthread-2.32.so)
==3854==    by 0x4C3C292: clone (in /usr/lib/libc-2.32.so)
==3854==  Uninitialised value was created by a stack allocation
==3854==    at 0x1B77F8: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:84)
==3854==
==3854== Use of uninitialised value of size 8
==3854==    at 0x224B5A: nothrow scope void 
gc.impl.conservative.gc.Gcx.mark!(false, 
true).mark(gc.impl.conservative.gc.Gcx.ScanRange!(false).ScanRange) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x225007: nothrow void 
gc.impl.conservative.gc.Gcx.pullFromScanStackImpl!(false).pullFromScanStackImpl() (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21F645: nothrow void 
gc.impl.conservative.gc.Gcx.scanBackground() (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x23C0D2: extern (C) nothrow void* 
core.thread.osthread.createLowLevelThread(void delegate() 
nothrow, uint, void delegate() 
nothrow).thread_lowlevelEntry(void*) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x49B03E8: start_thread (in 
/usr/lib/libpthread-2.32.so)
==3854==    by 0x4C3C292: clone (in /usr/lib/libc-2.32.so)
==3854==  Uninitialised value was created by a stack allocation
==3854==    at 0x1B77F8: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:84)
==3854==
==3854== Conditional jump or move depends on uninitialised 
value(s)
==3854==    at 0x224B67: nothrow scope void 
gc.impl.conservative.gc.Gcx.mark!(false, 
true).mark(gc.impl.conservative.gc.Gcx.ScanRange!(false).ScanRange) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x225007: nothrow void 
gc.impl.conservative.gc.Gcx.pullFromScanStackImpl!(false).pullFromScanStackImpl() (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21F645: nothrow void 
gc.impl.conservative.gc.Gcx.scanBackground() (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x23C0D2: extern (C) nothrow void* 
core.thread.osthread.createLowLevelThread(void delegate() 
nothrow, uint, void delegate() 
nothrow).thread_lowlevelEntry(void*) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x49B03E8: start_thread (in 
/usr/lib/libpthread-2.32.so)
==3854==    by 0x4C3C292: clone (in /usr/lib/libc-2.32.so)
==3854==  Uninitialised value was created by a stack allocation
==3854==    at 0x1B77F8: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:84)
==3854==
==3854== Use of uninitialised value of size 8
==3854==    at 0x224B75: nothrow scope void 
gc.impl.conservative.gc.Gcx.mark!(false, 
true).mark(gc.impl.conservative.gc.Gcx.ScanRange!(false).ScanRange) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x225007: nothrow void 
gc.impl.conservative.gc.Gcx.pullFromScanStackImpl!(false).pullFromScanStackImpl() (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21F645: nothrow void 
gc.impl.conservative.gc.Gcx.scanBackground() (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x23C0D2: extern (C) nothrow void* 
core.thread.osthread.createLowLevelThread(void delegate() 
nothrow, uint, void delegate() 
nothrow).thread_lowlevelEntry(void*) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x49B03E8: start_thread (in 
/usr/lib/libpthread-2.32.so)
==3854==    by 0x4C3C292: clone (in /usr/lib/libc-2.32.so)
==3854==  Uninitialised value was created by a stack allocation
==3854==    at 0x1B77F8: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:84)
==3854==
==3854== Thread 1:
==3854== Conditional jump or move depends on uninitialised 
value(s)
==3854==    at 0x21DA9C: nothrow ulong 
gc.impl.conservative.gc.Gcx.sweep() (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21EB9F: nothrow ulong 
gc.impl.conservative.gc.Gcx.fullcollect(bool) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21CBFC: nothrow void* 
gc.impl.conservative.gc.Gcx.smallAlloc(ulong, ref ulong, uint, 
const(TypeInfo)) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x2227C0: nothrow void* 
gc.impl.conservative.gc.ConservativeGC.runLocked!(gc.impl.conservative.gc.ConservativeGC.mallocNoSync(ulong, uint, ref ulong, const(TypeInfo)), gc.impl.conservative.gc.mallocTime, gc.impl.conservative.gc.numMallocs, ulong, uint, ulong, const(TypeInfo)).runLocked(ref ulong, ref uint, ref ulong, ref const(TypeInfo)) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x21A279: nothrow core.memory.BlkInfo_ 
gc.impl.conservative.gc.ConservativeGC.qalloc(ulong, uint, 
const(TypeInfo)) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E6C5E: gc_qalloc (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E6446: pure nothrow core.memory.BlkInfo_ 
core.memory.GC.qalloc(ulong, uint, const(TypeInfo)) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1B90AF: pure nothrow @trusted 
core.memory.BlkInfo_ 
std.array.Appender!(immutable(char)[]).Appender.ensureAddable(ulong).__lambda3() (/usr/include/dlang/dmd/std/array.d:3386)
==3854==    by 0x1B8FCD: pure nothrow @safe void 
std.array.Appender!(immutable(char)[]).Appender.ensureAddable(ulong) (/usr/include/dlang/dmd/std/array.d:3386)
==3854==    by 0x1BD1E6: pure nothrow @safe char[] 
std.array.Appender!(immutable(char)[]).Appender.put!(immutable(char)[]).put(immutable(char)[]).bigDataFun(ulong) (/usr/include/dlang/dmd/std/array.d:3488)
==3854==    by 0x1BD0D4: pure nothrow @safe void 
std.array.Appender!(immutable(char)[]).Appender.put!(immutable(char)[]).put(immutable(char)[]) (/usr/include/dlang/dmd/std/array.d:3491)
==3854==    by 0x1C3B92: pure nothrow @safe void 
std.range.primitives.doPut!(std.array.Appender!(immutable(char)[]).Appender, immutable(char)[]).doPut(ref std.array.Appender!(immutable(char)[]).Appender, ref immutable(char)[]) (/usr/include/dlang/dmd/std/range/primitives.d:277)
==3854==  Uninitialised value was created by a stack allocation
==3854==    at 0x1B77F8: void 
verifier.main(immutable(char)[][]).walk_account_tree(verifier.main(immutable(char)[][]).Account, int) (verifier.d:84)
==3854==
but doesn't have one.
A commodity with the same name as the account does exist. The 
account will be linked to it.
  requires a link to a commodity but doesn't have one.
[snip]
==3854==
==3854== HEAP SUMMARY:
==3854==     in use at exit: 2,380,288 bytes in 2,013 blocks
==3854==   total heap usage: 339,984 allocs, 337,971 frees, 
439,341,276 bytes allocated
==3854==
==3854== 16 bytes in 1 blocks are definitely lost in loss record 
21 of 171
==3854==    at 0x483A77F: malloc (vg_replace_malloc.c:307)
==3854==    by 0x208B1B: nothrow @nogc void* rt.tlsgc.init() (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x207181: thread_init (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1FEC3B: rt_init (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E76DB: void rt.dmain2._d_run_main2(char[][], 
ulong, extern (C) int function(char[][])*).runAll() (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E7678: void rt.dmain2._d_run_main2(char[][], 
ulong, extern (C) int function(char[][])*).tryExec(scope void 
delegate()) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E75E1: _d_run_main2 (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E7359: _d_run_main (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1B8A89: main 
(/usr/include/dlang/dmd/core/internal/entrypoint.d:29)
==3854==
==3854== 32 bytes in 1 blocks are possibly lost in loss record 33 
of 171
==3854==    at 0x483A77F: malloc (vg_replace_malloc.c:307)
==3854==    by 0x2195E5: core.gc.gcinterface.GC 
gc.impl.conservative.gc.initialize() (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x20CF7C: core.gc.gcinterface.GC 
core.gc.registry.createGCInstance(immutable(char)[]) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x2074E2: gc_init_nothrow (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1FDA7F: nothrow void* 
gc.impl.proto.gc.ProtoGC.malloc(ulong, uint, const(TypeInfo)) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E6C1A: gc_malloc (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E8514: _d_allocmemory (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1B6A4F: _Dmain (verifier.d:8)
==3854==    by 0x1E77CA: void rt.dmain2._d_run_main2(char[][], 
ulong, extern (C) int function(char[][])*).runAll().__lambda1() 
(in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E7678: void rt.dmain2._d_run_main2(char[][], 
ulong, extern (C) int function(char[][])*).tryExec(scope void 
delegate()) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E7752: void rt.dmain2._d_run_main2(char[][], 
ulong, extern (C) int function(char[][])*).runAll() (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E7678: void rt.dmain2._d_run_main2(char[][], 
ulong, extern (C) int function(char[][])*).tryExec(scope void 
delegate()) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==
==3854== 2,380,056 (768 direct, 2,379,288 indirect) bytes in 1 
blocks are definitely lost in loss record 171 of 171
==3854==    at 0x483A77F: malloc (vg_replace_malloc.c:307)
==3854==    by 0x4905F13: ??? (in /usr/lib/libsqlite3.so.0.8.6)
==3854==    by 0x4905489: sqlite3Malloc (in 
/usr/lib/libsqlite3.so.0.8.6)
==3854==    by 0x490599A: sqlite3MallocZero (in 
/usr/lib/libsqlite3.so.0.8.6)
==3854==    by 0x490454E: ??? (in /usr/lib/libsqlite3.so.0.8.6)
==3854==    by 0x1D77FA: void* lib.open_db(immutable(char)[]) (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1B6ACB: _Dmain (verifier.d:33)
==3854==    by 0x1E77CA: void rt.dmain2._d_run_main2(char[][], 
ulong, extern (C) int function(char[][])*).runAll().__lambda1() 
(in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E7678: void rt.dmain2._d_run_main2(char[][], 
ulong, extern (C) int function(char[][])*).tryExec(scope void 
delegate()) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E7752: void rt.dmain2._d_run_main2(char[][], 
ulong, extern (C) int function(char[][])*).runAll() (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E7678: void rt.dmain2._d_run_main2(char[][], 
ulong, extern (C) int function(char[][])*).tryExec(scope void 
delegate()) (in /home/dca/Software/newcash_d/verifier/verifier)
==3854==    by 0x1E75E1: _d_run_main2 (in 
/home/dca/Software/newcash_d/verifier/verifier)
==3854==
==3854== LEAK SUMMARY:
==3854==    definitely lost: 784 bytes in 2 blocks
==3854==    indirectly lost: 2,379,288 bytes in 2,005 blocks
==3854==      possibly lost: 32 bytes in 1 blocks
==3854==    still reachable: 184 bytes in 5 blocks
==3854==         suppressed: 0 bytes in 0 blocks
==3854== Reachable blocks (those to which a pointer was found) 
are not shown.
==3854== To see them, rerun with: --leak-check=full 
--show-leak-kinds=all
==3854==
==3854== For lists of detected and suppressed errors, rerun with: 
-s
==3854== ERROR SUMMARY: 3213 errors from 33 contexts (suppressed: 
0 from 0)




More information about the Digitalmars-d mailing list