1 | danny@spectre ~/projects/haiku/haiku/gcc4 $ valgrind /home/danny/projects/haiku/haiku/gcc4/objects/linux/x86/debug_5/tools/xres -o "/home/danny/projects/haiku/haiku/gcc4/objects/haiku/x86/common/bin/makebootable/platform/bios_ia32/file-data-RAWT:666:BootCode-stage1.bin.rsrc" -a "RAWT:666:BootCode" "/home/danny/projects/haiku/haiku/src/system/boot/platform/bios_ia32/stage1.bin"
|
---|
2 | ==13825== Memcheck, a memory error detector.
|
---|
3 | ==13825== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
|
---|
4 | ==13825== Using LibVEX rev 1732, a library for dynamic binary translation.
|
---|
5 | ==13825== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
|
---|
6 | ==13825== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
|
---|
7 | ==13825== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
|
---|
8 | ==13825== For more details, rerun with: -v
|
---|
9 | ==13825==
|
---|
10 | ==13825== Invalid write of size 8
|
---|
11 | ==13825== at 0x4DDF005: BPrivate::Storage::fill_pattern(unsigned long, void*, unsigned long) (ResourceFile.cpp:154)
|
---|
12 | ==13825== by 0x4DDF04C: BPrivate::Storage::fill_pattern(void const*, void*, unsigned long) (ResourceFile.cpp:162)
|
---|
13 | ==13825== by 0x4DDF093: BPrivate::Storage::fill_pattern(void const*, void*, void const*) (ResourceFile.cpp:171)
|
---|
14 | ==13825== by 0x4DDFDDD: BPrivate::Storage::ResourceFile::_WriteResources(BPrivate::Storage::ResourcesContainer&) (ResourceFile.cpp:1134)
|
---|
15 | ==13825== by 0x4DE0448: BPrivate::Storage::ResourceFile::WriteResources(BPrivate::Storage::ResourcesContainer&) (ResourceFile.cpp:378)
|
---|
16 | ==13825== by 0x4DE3416: BPrivate::Storage::ResourceFile::_InitFile(BFile&, bool) (ResourceFile.cpp:460)
|
---|
17 | ==13825== by 0x4DE34AF: BPrivate::Storage::ResourceFile::SetTo(BFile*, bool) (ResourceFile.cpp:260)
|
---|
18 | ==13825== by 0x4DE5521: BResources::SetTo(BFile const*, bool) (Resources.cpp:117)
|
---|
19 | ==13825== by 0x403466: WriteFileState::_PrepareOutput() (xres.cpp:512)
|
---|
20 | ==13825== by 0x4037A9: WriteFileState::AddResource(ResourceID const&, char const*, ResourceDataSource*) (xres.cpp:452)
|
---|
21 | ==13825== by 0x4022E1: AddResourceCommand::Do(State*) (xres.cpp:618)
|
---|
22 | ==13825== by 0x401FB6: main (xres.cpp:878)
|
---|
23 | ==13825== Address 0x56CD174 is 1,532 bytes inside a block of size 1,536 alloc'd
|
---|
24 | ==13825== at 0x4A1F912: operator new[](unsigned long, std::nothrow_t const&) (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
|
---|
25 | ==13825== by 0x4DDFA98: BPrivate::Storage::ResourceFile::_WriteResources(BPrivate::Storage::ResourcesContainer&) (ResourceFile.cpp:1089)
|
---|
26 | ==13825== by 0x4DE0448: BPrivate::Storage::ResourceFile::WriteResources(BPrivate::Storage::ResourcesContainer&) (ResourceFile.cpp:378)
|
---|
27 | ==13825== by 0x4DE3416: BPrivate::Storage::ResourceFile::_InitFile(BFile&, bool) (ResourceFile.cpp:460)
|
---|
28 | ==13825== by 0x4DE34AF: BPrivate::Storage::ResourceFile::SetTo(BFile*, bool) (ResourceFile.cpp:260)
|
---|
29 | ==13825== by 0x4DE5521: BResources::SetTo(BFile const*, bool) (Resources.cpp:117)
|
---|
30 | ==13825== by 0x403466: WriteFileState::_PrepareOutput() (xres.cpp:512)
|
---|
31 | ==13825== by 0x4037A9: WriteFileState::AddResource(ResourceID const&, char const*, ResourceDataSource*) (xres.cpp:452)
|
---|
32 | ==13825== by 0x4022E1: AddResourceCommand::Do(State*) (xres.cpp:618)
|
---|
33 | ==13825== by 0x401FB6: main (xres.cpp:878)
|
---|
34 | ==13825==
|
---|
35 | ==13825== Conditional jump or move depends on uninitialised value(s)
|
---|
36 | ==13825== at 0x4DE1B68: BPrivate::Storage::ResourceFile::_ReadIndex(BPrivate::Storage::resource_parse_info&) (ResourceFile.cpp:766)
|
---|
37 | ==13825== by 0x4DE3867: BPrivate::Storage::ResourceFile::InitContainer(BPrivate::Storage::ResourcesContainer&) (ResourceFile.cpp:310)
|
---|
38 | ==13825== by 0x4DE5561: BResources::SetTo(BFile const*, bool) (Resources.cpp:123)
|
---|
39 | ==13825== by 0x403466: WriteFileState::_PrepareOutput() (xres.cpp:512)
|
---|
40 | ==13825== by 0x4037A9: WriteFileState::AddResource(ResourceID const&, char const*, ResourceDataSource*) (xres.cpp:452)
|
---|
41 | ==13825== by 0x4022E1: AddResourceCommand::Do(State*) (xres.cpp:618)
|
---|
42 | ==13825== by 0x401FB6: main (xres.cpp:878)
|
---|
43 | ==13825==
|
---|
44 | ==13825== Conditional jump or move depends on uninitialised value(s)
|
---|
45 | ==13825== at 0x4DE06B8: BPrivate::Storage::check_pattern(unsigned long, void*, unsigned long, bool) (ResourceFile.cpp:182)
|
---|
46 | ==13825== by 0x4DE1500: BPrivate::Storage::ResourceFile::_ReadIndexEntry(BPrivate::Storage::resource_parse_info&, long, unsigned long, bool) (ResourceFile.cpp:810)
|
---|
47 | ==13825== by 0x4DE1C8B: BPrivate::Storage::ResourceFile::_ReadIndex(BPrivate::Storage::resource_parse_info&) (ResourceFile.cpp:780)
|
---|
48 | ==13825== by 0x4DE3867: BPrivate::Storage::ResourceFile::InitContainer(BPrivate::Storage::ResourcesContainer&) (ResourceFile.cpp:310)
|
---|
49 | ==13825== by 0x4DE5561: BResources::SetTo(BFile const*, bool) (Resources.cpp:123)
|
---|
50 | ==13825== by 0x403466: WriteFileState::_PrepareOutput() (xres.cpp:512)
|
---|
51 | ==13825== by 0x4037A9: WriteFileState::AddResource(ResourceID const&, char const*, ResourceDataSource*) (xres.cpp:452)
|
---|
52 | ==13825== by 0x4022E1: AddResourceCommand::Do(State*) (xres.cpp:618)
|
---|
53 | ==13825== by 0x401FB6: main (xres.cpp:878)
|
---|
54 | ==13825==
|
---|
55 | ==13825== Conditional jump or move depends on uninitialised value(s)
|
---|
56 | ==13825== at 0x4DE1506: BPrivate::Storage::ResourceFile::_ReadIndexEntry(BPrivate::Storage::resource_parse_info&, long, unsigned long, bool) (ResourceFile.cpp:810)
|
---|
57 | ==13825== by 0x4DE1C8B: BPrivate::Storage::ResourceFile::_ReadIndex(BPrivate::Storage::resource_parse_info&) (ResourceFile.cpp:780)
|
---|
58 | ==13825== by 0x4DE3867: BPrivate::Storage::ResourceFile::InitContainer(BPrivate::Storage::ResourcesContainer&) (ResourceFile.cpp:310)
|
---|
59 | ==13825== by 0x4DE5561: BResources::SetTo(BFile const*, bool) (Resources.cpp:123)
|
---|
60 | ==13825== by 0x403466: WriteFileState::_PrepareOutput() (xres.cpp:512)
|
---|
61 | ==13825== by 0x4037A9: WriteFileState::AddResource(ResourceID const&, char const*, ResourceDataSource*) (xres.cpp:452)
|
---|
62 | ==13825== by 0x4022E1: AddResourceCommand::Do(State*) (xres.cpp:618)
|
---|
63 | ==13825== by 0x401FB6: main (xres.cpp:878)
|
---|
64 | ==13825==
|
---|
65 | ==13825== Conditional jump or move depends on uninitialised value(s)
|
---|
66 | ==13825== at 0x4DE1568: BPrivate::Storage::ResourceFile::_ReadIndexEntry(BPrivate::Storage::resource_parse_info&, long, unsigned long, bool) (ResourceFile.cpp:822)
|
---|
67 | ==13825== by 0x4DE1C8B: BPrivate::Storage::ResourceFile::_ReadIndex(BPrivate::Storage::resource_parse_info&) (ResourceFile.cpp:780)
|
---|
68 | ==13825== by 0x4DE3867: BPrivate::Storage::ResourceFile::InitContainer(BPrivate::Storage::ResourcesContainer&) (ResourceFile.cpp:310)
|
---|
69 | ==13825== by 0x4DE5561: BResources::SetTo(BFile const*, bool) (Resources.cpp:123)
|
---|
70 | ==13825== by 0x403466: WriteFileState::_PrepareOutput() (xres.cpp:512)
|
---|
71 | ==13825== by 0x4037A9: WriteFileState::AddResource(ResourceID const&, char const*, ResourceDataSource*) (xres.cpp:452)
|
---|
72 | ==13825== by 0x4022E1: AddResourceCommand::Do(State*) (xres.cpp:618)
|
---|
73 | ==13825== by 0x401FB6: main (xres.cpp:878)
|
---|
74 | --13825-- VALGRIND INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - exiting
|
---|
75 | --13825-- si_code=1; Faulting address: 0x3E9056CD188; sp: 0x4023A9D70
|
---|
76 |
|
---|
77 | valgrind: the 'impossible' happened:
|
---|
78 | Killed by fatal signal
|
---|
79 | ==13825== at 0x3801E5C2: (within /usr/lib64/valgrind/amd64-linux/memcheck)
|
---|
80 | ==13825== by 0x3800229C: (within /usr/lib64/valgrind/amd64-linux/memcheck)
|
---|
81 | ==13825== by 0x380327D8: (within /usr/lib64/valgrind/amd64-linux/memcheck)
|
---|
82 | ==13825== by 0x380336BA: (within /usr/lib64/valgrind/amd64-linux/memcheck)
|
---|
83 | ==13825== by 0x3804E080: (within /usr/lib64/valgrind/amd64-linux/memcheck)
|
---|
84 |
|
---|
85 | sched status:
|
---|
86 | running_tid=1
|
---|
87 |
|
---|
88 | Thread 1: status = VgTs_Runnable
|
---|
89 | ==13825== at 0x4A1F912: operator new[](unsigned long, std::nothrow_t const&) (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
|
---|
90 | ==13825== by 0x4DE0D54: BPrivate::Storage::ResourceFile::_ReadInfoTable(BPrivate::Storage::resource_parse_info&) (ResourceFile.cpp:854)
|
---|
91 | ==13825== by 0x4DE3874: BPrivate::Storage::ResourceFile::InitContainer(BPrivate::Storage::ResourcesContainer&) (ResourceFile.cpp:311)
|
---|
92 | ==13825== by 0x4DE5561: BResources::SetTo(BFile const*, bool) (Resources.cpp:123)
|
---|
93 | ==13825== by 0x403466: WriteFileState::_PrepareOutput() (xres.cpp:512)
|
---|
94 | ==13825== by 0x4037A9: WriteFileState::AddResource(ResourceID const&, char const*, ResourceDataSource*) (xres.cpp:452)
|
---|
95 | ==13825== by 0x4022E1: AddResourceCommand::Do(State*) (xres.cpp:618)
|
---|
96 | ==13825== by 0x401FB6: main (xres.cpp:878)
|
---|
97 |
|
---|
98 |
|
---|
99 | Note: see also the FAQ.txt in the source distribution.
|
---|
100 | It contains workarounds to several common problems.
|
---|
101 |
|
---|
102 | If that doesn't help, please report this bug to: www.valgrind.org
|
---|
103 |
|
---|
104 | In the bug report, send all the above text, the valgrind
|
---|
105 | version, and what Linux distro you are using. Thanks.
|
---|
106 |
|
---|