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

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 70 - valgrind: Conditional jump or move depends on uninitialised value(s) in elf_findstr
Summary: valgrind: Conditional jump or move depends on uninitialised value(s) in elf_f...
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Linux
: P2 normal
Assignee: Walter Bright
URL:
Keywords:
Depends on:
Blocks:
Reported: 2006年03月24日 13:35 UTC by Thomas Kühne
Modified: 2014年02月15日 02:09 UTC (History)
0 users

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Thomas Kühne 2006年03月24日 13:35:16 UTC
<< 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 Walter Bright 2007年12月04日 23:33:43 UTC
Fixed dmd 1.024 and 2.008


AltStyle によって変換されたページ (->オリジナル) /