Bug 70 – valgrind: Conditional jump or move depends on uninitialised value(s) in elf_findstr

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-03-24T13:35:00Z
Last change time
2014-02-15T02:09:25Z
Assigned to
bugzilla
Creator
thomas-dloop

Comments

Comment #0 by thomas-dloop — 2006-03-24T13:35:16Z
<< a.d >> int main(){ return 0; } >> a.d << valgrind-3.1.0 -q --leak-check=no --tool=memcheck /opt/dmd/150/dmd/bin/dmd -I/opt/dmd/150/dmd/src/phobos -L-L/opt/dmd/150/dmd/lib a.d Conditional jump or move depends on uninitialised value(s) at 0x808F158: elf_findstr(Outbuffer*, char const*, char const*) (in /opt/dmd/150/dmd/bin/dmd) by 0x80909BD: elf_getsegment(char const*, char const*, int, int) (in /opt/dmd/150/dmd/bin/dmd) by 0x8090874: obj_ehsections() (in /opt/dmd/150/dmd/bin/dmd) by 0x80B062F: FuncDeclaration::toObjFile() (in /opt/dmd/150/dmd/bin/dmd) by 0x80AFC6C: Module::genobjfile() (in /opt/dmd/150/dmd/bin/dmd) by 0x80BF3DC: main (in /opt/dmd/150/dmd/bin/dmd) Conditional jump or move depends on uninitialised value(s) at 0x808F158: elf_findstr(Outbuffer*, char const*, char const*) (in /opt/dmd/150/dmd/bin/dmd) by 0x80909BD: elf_getsegment(char const*, char const*, int, int) (in /opt/dmd/150/dmd/bin/dmd) by 0x80908BF: obj_ehsections() (in /opt/dmd/150/dmd/bin/dmd) by 0x80B062F: FuncDeclaration::toObjFile() (in /opt/dmd/150/dmd/bin/dmd) by 0x80AFC6C: Module::genobjfile() (in /opt/dmd/150/dmd/bin/dmd) by 0x80BF3DC: main (in /opt/dmd/150/dmd/bin/dmd) Conditional jump or move depends on uninitialised value(s) at 0x808F158: elf_findstr(Outbuffer*, char const*, char const*) (in /opt/dmd/150/dmd/bin/dmd) by 0x80909BD: elf_getsegment(char const*, char const*, int, int) (in /opt/dmd/150/dmd/bin/dmd) by 0x80908CF: obj_ehsections() (in /opt/dmd/150/dmd/bin/dmd) by 0x80B062F: FuncDeclaration::toObjFile() (in /opt/dmd/150/dmd/bin/dmd) by 0x80AFC6C: Module::genobjfile() (in /opt/dmd/150/dmd/bin/dmd) by 0x80BF3DC: main (in /opt/dmd/150/dmd/bin/dmd) Conditional jump or move depends on uninitialised value(s) at 0x808F158: elf_findstr(Outbuffer*, char const*, char const*) (in /opt/dmd/150/dmd/bin/dmd) by 0x80909BD: elf_getsegment(char const*, char const*, int, int) (in /opt/dmd/150/dmd/bin/dmd) by 0x809094B: obj_comdat(Symbol*) (in /opt/dmd/150/dmd/bin/dmd) by 0x80CD8A5: writefunc2(Symbol*) (in /opt/dmd/150/dmd/bin/dmd) by 0x80CD507: writefunc(Symbol*) (in /opt/dmd/150/dmd/bin/dmd) by 0x80B00F8: FuncDeclaration::toObjFile() (in /opt/dmd/150/dmd/bin/dmd) by 0x80AFC6C: Module::genobjfile() (in /opt/dmd/150/dmd/bin/dmd) by 0x80BF3DC: main (in /opt/dmd/150/dmd/bin/dmd)
Comment #1 by bugzilla — 2007-12-04T23:33:43Z
Fixed dmd 1.024 and 2.008