[Bug 72] New: valgrind: use of unitialized values in the gcx module

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 24 13:01:07 PST 2006


http://d.puremagic.com/bugzilla/show_bug.cgi?id=72

           Summary: valgrind: use of unitialized values in the gcx module
           Product: D
           Version: 0.150
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: thomas-dloop at kuehne.cn


Context:
DStress' next torture step will include running new compiler versions,
generated programs and old compiler version with changed/new test cases under
valgrind. The aim is to locate usage of uninitialized values and potential GC
issues.

See also: 
dkdk2l$76$1 at digitaldaemon.com: Tiago Gasiba's "memory leakage in D"
djtk1c$22gs$1 at digitaldaemon.com: Tiago Gasiba's "Garbage Collector Bug?"

Potentially related:
dv416n$2s5q$1 at digitaldaemon.com: Johan Gröngvist's "A program leaking memory."

The snipplets below are missing line numbers due to Phobos compilation settings
and a not yet triangled "@@ parsing :(0,7) gave NULL type ((0,7) remains)"
valgrind issue.

Conditional jump or move depends on uninitialized value(s)
   at 0x80665A2: _D3gcx3Gcx8findPoolFPvZPS3gcx4Pool (in /tmp/dstress/log)
   by 0x80669CF: _D3gcx3Gcx4markFPvPvZv (in /tmp/dstress/log)
   by 0x8066BB7: _D3gcx3Gcx11fullcollectFPvZk (in /tmp/dstress/log)
   by 0x8066A79: _D3gcx3Gcx16fullcollectshellFZk (in /tmp/dstress/log)
   by 0x8065BAF: _D3gcx2GC12mallocNoSyncFkZPv (in /tmp/dstress/log)
   by 0x8065AF6: _D3gcx2GC6mallocFkZPv (in /tmp/dstress/log)
   by 0x806000D: _d_arrayappendc (in /tmp/dstress/log)

Use of uninitialised value of size 4
   at 0x80669E3: _D3gcx3Gcx4markFPvPvZv (in /tmp/dstress/log)
   by 0x8066BB7: _D3gcx3Gcx11fullcollectFPvZk (in /tmp/dstress/log)
   by 0x8066A79: _D3gcx3Gcx16fullcollectshellFZk (in /tmp/dstress/log)
   by 0x8065BAF: _D3gcx2GC12mallocNoSyncFkZPv (in /tmp/dstress/log)
   by 0x8065AF6: _D3gcx2GC6mallocFkZPv (in /tmp/dstress/log)
   by 0x806000D: _d_arrayappendc (in /tmp/dstress/log)

Use of uninitialised value of size 4
   at 0x8067358: _D6gcbits6GCBits4testFkZk (in /tmp/dstress/log)
   by 0x8066A17: _D3gcx3Gcx4markFPvPvZv (in /tmp/dstress/log)
   by 0x8066BB7: _D3gcx3Gcx11fullcollectFPvZk (in /tmp/dstress/log)
   by 0x8066A79: _D3gcx3Gcx16fullcollectshellFZk (in /tmp/dstress/log)
   by 0x8065BAF: _D3gcx2GC12mallocNoSyncFkZPv (in /tmp/dstress/log)
   by 0x8065AF6: _D3gcx2GC6mallocFkZPv (in /tmp/dstress/log)
   by 0x806000D: _d_arrayappendc (in /tmp/dstress/log)

Use of uninitialised value of size 4
   at 0x8067370: _D6gcbits6GCBits3setFkZv (in /tmp/dstress/log)
   by 0x8066A24: _D3gcx3Gcx4markFPvPvZv (in /tmp/dstress/log)
   by 0x8066BB7: _D3gcx3Gcx11fullcollectFPvZk (in /tmp/dstress/log)
   by 0x8066A79: _D3gcx3Gcx16fullcollectshellFZk (in /tmp/dstress/log)
   by 0x8065BAF: _D3gcx2GC12mallocNoSyncFkZPv (in /tmp/dstress/log)
   by 0x8065AF6: _D3gcx2GC6mallocFkZPv (in /tmp/dstress/log)
   by 0x806000D: _d_arrayappendc (in /tmp/dstress/log)

Conditional jump or move depends on uninitialised value(s)
   at 0x8066C6A: _D3gcx3Gcx11fullcollectFPvZk (in /tmp/dstress/log)
   by 0x8066A79: _D3gcx3Gcx16fullcollectshellFZk (in /tmp/dstress/log)
   by 0x8065BAF: _D3gcx2GC12mallocNoSyncFkZPv (in /tmp/dstress/log)
   by 0x8065AF6: _D3gcx2GC6mallocFkZPv (in /tmp/dstress/log)
   by 0x806000D: _d_arrayappendc (in /tmp/dstress/log)


-- 




More information about the Digitalmars-d-bugs mailing list