Ticket #18903: clang-17-128656-debug-21-05-2024-15-28-24.report

File clang-17-128656-debug-21-05-2024-15-28-24.report, 12.5 KB (added by dovsienko, 6 months ago)
Line 
1Debug information for team /boot/system/bin/clang-17 (128656):
2CPU(s): 4x Intel Core™ i7-3770
3Memory: 1,022.94 MiB total, 585.25 MiB used
4Haiku revision: hrev57736 May 21 2024 06:02:33 (x86_64)
5
6Active Threads:
7 thread 128659: team 128656 debug task
8 thread 128656: clang-17 (main)
9 state: Exception (Segment violation)
10
11 Frame IP Function Name
12 -----------------------------------------------
13 0x7f606ecb8490 0xb3c495d8ba clang::Lexer::LexCharConstant(clang::Token&, char const*, clang::tok::TokenKind) + 0xda
14 Disassembly:
15 clang::Lexer::LexCharConstant(clang::Token&, char const*, clang::tok::TokenKind):
16 0x000000b3c495d7e0: 55 push %rbp
17 0x000000b3c495d7e1: 4889e5 mov %rsp, %rbp
18 0x000000b3c495d7e4: 4157 push %r15
19 0x000000b3c495d7e6: 4989ff mov %rdi, %r15
20 0x000000b3c495d7e9: 4156 push %r14
21 0x000000b3c495d7eb: 4989d6 mov %rdx, %r14
22 0x000000b3c495d7ee: 4155 push %r13
23 0x000000b3c495d7f0: 4154 push %r12
24 0x000000b3c495d7f2: 53 push %rbx
25 0x000000b3c495d7f3: 4889f3 mov %rsi, %rbx
26 0x000000b3c495d7f6: 4883ec38 sub $0x38, %rsp
27 0x000000b3c495d7fa: 807f1a00 cmp $0x0, 0x1a(%rdi)
28 0x000000b3c495d7fe: 894da8 mov %ecx, -0x58(%rbp)
29 0x000000b3c495d801: 751a jnz 0xc495d81d
30 0x000000b3c495d803: 89c8 mov %ecx, %eax
31 0x000000b3c495d805: 83e80b sub $0xb, %eax
32 0x000000b3c495d808: 6683f801 cmp $0x1, %ax
33 0x000000b3c495d80c: 0f861e020000 jbe 0xb3c495da30
34 0x000000b3c495d812: 66837da80a cmp $0xa, -0x58(%rbp)
35 0x000000b3c495d817: 0f842a030000 jz 0xb3c495db47
36 0x000000b3c495d81d: 410fb606 movzx (%r14), %eax
37 0x000000b3c495d821: 3c3f cmp $0x3f, %al
38 0x000000b3c495d823: 0f844f020000 jz 0xb3c495da78
39 0x000000b3c495d829: 3c5c cmp $0x5c, %al
40 0x000000b3c495d82b: 0f8447020000 jz 0xb3c495da78
41 0x000000b3c495d831: 4983c601 add $0x1, %r14
42 0x000000b3c495d835: 4531e4 xor %r12d, %r12d
43 0x000000b3c495d838: 4c8d6db0 lea -0x50(%rbp), %r13
44 0x000000b3c495d83c: 3c27 cmp $0x27, %al
45 0x000000b3c495d83e: 0f8462020000 jz 0xb3c495daa6
46 0x000000b3c495d844: 0f1f4000 nop (%rax)
47 0x000000b3c495d848: 3c5c cmp $0x5c, %al
48 0x000000b3c495d84a: 751c jnz 0xc495d868
49 0x000000b3c495d84c: 410fb606 movzx (%r14), %eax
50 0x000000b3c495d850: 3c3f cmp $0x3f, %al
51 0x000000b3c495d852: 0f8448010000 jz 0xb3c495d9a0
52 0x000000b3c495d858: 3c5c cmp $0x5c, %al
53 0x000000b3c495d85a: 0f8440010000 jz 0xb3c495d9a0
54 0x000000b3c495d860: 4983c601 add $0x1, %r14
55 0x000000b3c495d864: 0f1f4000 nop (%rax)
56 0x000000b3c495d868: 3c0a cmp $0xa, %al
57 0x000000b3c495d86a: 0f8460010000 jz 0xb3c495d9d0
58 0x000000b3c495d870: 3c0d cmp $0xd, %al
59 0x000000b3c495d872: 0f8458010000 jz 0xb3c495d9d0
60 0x000000b3c495d878: 84c0 test %al, %al
61 0x000000b3c495d87a: 753e jnz 0xc495d8ba
62 0x000000b3c495d87c: 4d8b4f78 mov 0x78(%r15), %r9
63 0x000000b3c495d880: 4d8d66ff lea -0x1(%r14), %r12
64 0x000000b3c495d884: 4d39cc cmp %r9, %r12
65 0x000000b3c495d887: 0f8447010000 jz 0xb3c495d9d4
66 0x000000b3c495d88d: 498b7f08 mov 0x8(%r15), %rdi
67 0x000000b3c495d891: 4885ff test %rdi, %rdi
68 0x000000b3c495d894: 7424 jz 0xc495d8ba
69 0x000000b3c495d896: 4883bff002000000 cmp $0x0, 0x2f0(%rdi)
70 0x000000b3c495d89e: 741a jz 0xc495d8ba
71 0x000000b3c495d8a0: 4c89e0 mov %r12, %rax
72 0x000000b3c495d8a3: 492b4770 sub 0x70(%r15), %rax
73 0x000000b3c495d8a7: 41038780000000 add 0x80(%r15), %eax
74 0x000000b3c495d8ae: 3b87fc020000 cmp 0x2fc(%rdi), %eax
75 0x000000b3c495d8b4: 0f84a2020000 jz 0xb3c495db5c
76 0x000000b3c495d8ba: 410fb606 movzx (%r14), %eax <--
77
78 Frame memory:
79 [0x7f606ecb8420] .IS........`... 20 85 49 53 de 10 00 00 08 00 00 00 60 7f 00 00
80 [0x7f606ecb8430] ....`........... 01 00 00 00 60 7f 00 00 a7 d1 89 c4 b3 00 00 00
81 [0x7f606ecb8440] ...n`...AW...... 00 85 cb 6e 60 7f 00 00 41 57 9b c4 b3 00 00 00
82 [0x7f606ecb8450] ..ZS......JS.... b8 0c 5a 53 de 10 00 00 90 a6 4a 53 de 10 00 00
83 [0x7f606ecb8460] .IS......Z..... 20 85 49 53 de 10 00 00 c0 aa 5a c7 b3 00 00 00
84 [0x7f606ecb8470] ...n`........... d0 85 cb 6e 60 7f 00 00 f2 ba 10 ec 0f 01 00 00
85 [0x7f606ecb8480] @..n`........... 40 85 cb 6e 60 7f 00 00 7f f1 95 c4 b3 00 00 00
86 0x7f606ecb8550 0xb3c495f17a clang::Lexer::LexTokenInternal(clang::Token&, bool) [clone .localalias] + 0xcda
87 0x7f606ecb85a0 0xb3c49e91ba clang::Preprocessor::Lex(clang::Token&) + 0x1da
88 0x7f606ecb8680 0xb3c69c716e clang::RewriteIncludesInInput(clang::Preprocessor&, llvm::raw_ostream*, clang::PreprocessorOutputOptions const&) + 0x2be
89 0x7f606ecb8720 0xb3c69bf1c0 clang::RewriteIncludesAction::ExecuteAction() + 0x150
90 0x7f606ecb8760 0xb3c6adda16 clang::FrontendAction::Execute() + 0x96
91 0x7f606ecb87e0 0xb3c6a5cca4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 0x114
92 0x7f606ecb8840 0xb3c6b66feb clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 0x32b
93 0x7f606ecb8d80 0x9a6eab12a7 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 0xea7
94 0x7f606ecb8e90 0x9a6eaa94de ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) + 0xee
95 0x7f606ecb9ee0 0x9a6eaad31c clang_main(int, char**, llvm::ToolContext const&) + 0x6ac
96 0x7f606ecb9f10 0x9a6eaa8aaf main + 0x1f
97 0x7f606ecb9f40 0x9a6eaa8bda _start + 0x3a
98 0x7f606ecb9f70 0x1b33059dc33 runtime_loader + 0x113
99 00000000 0x7fffffdf6258 commpage_thread_exit + 0
100
101 Registers:
102 rip: 0x000000b3c495d8ba
103 rsp: 0x00007f606ecb8420
104 rbp: 0x00007f606ecb8480
105 rax: 0x0000000000000000
106 rbx: 0x00007f606ecb85d0
107 rcx: 0x00007f606ecb85d0
108 rdx: 0x0000000000000001
109 rsi: 0x0000010fec10bb41
110 rdi: 0x000010de534aa690
111 r8: 0x000010de53498520
112 r9: 0x0000010fec10baa9
113 r10: 0x0000000000000001
114 r11: 0x0000000000000202
115 r12: 0x0000010fec10bfff
116 r13: 0x00007f606ecb8430
117 r14: 0x0000010fec10c000
118 r15: 0x000010de53498520
119 cs: 0x002b
120 ds: 0x0000
121 es: 0x0000
122 fs: 0x0000
123 gs: 0x0000
124 ss: 0x0023
125 st0: 0
126 st1: 0
127 st2: 0
128 st3: 0
129 st4: 0
130 st5: 0
131 st6: 0
132 st7: 0
133 mm0: {0, 0, 0, 0}
134 mm1: {0, 0, 0, 0}
135 mm2: {0, 0, 0, 0}
136 mm3: {0, 0, 0, 0}
137 mm4: {0, 0, 0, 0}
138 mm5: {0, 0, 0, 0}
139 mm6: {0, 0, 0, 0}
140 mm7: {0, 0, 0, 0}
141 ymm0: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
142 ymm1: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
143 ymm2: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
144 ymm3: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
145 ymm4: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
146 ymm5: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
147 ymm6: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
148 ymm7: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
149 ymm8: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
150 ymm9: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
151 ymm10: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
152 ymm11: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
153 ymm12: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
154 ymm13: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
155 ymm14: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
156 ymm15: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
157
158Loaded Images:
159 ID Text Base Text End Data Base Data End Type Name
160 --------------------------------------------------------------------------------
161 2878085 0x7e1d171000 0x7e1d187000 0x7e1d187000 0x7e1d188000 lib /boot/system/lib/libz.so.1.3
162 2878080 0x927944a000 0x927ffb4000 0x927ffb4000 0x92801e4000 lib /boot/system/lib/libLLVM-17.so
163 2878078 0x9a6ea9d000 0x9a6eac1000 0x9a6eac1000 0x9a6eac2000 app /boot/system/bin/clang-17
164 2878079 0xb3c3f82000 0xb3c7b27000 0xb3c7b27000 0xb3c7da7000 lib /boot/system/lib/libclang-cpp.so.17
165 2878084 0x10fefc34000 0x10fefc3f000 0x10fefc3f000 0x10fefc40000 lib /boot/system/lib/libbsd.so
166 2878082 0x153428ab000 0x153428ca000 0x153428ca000 0x153428cb000 lib /boot/system/lib/libgcc_s.so.1
167 2878081 0x15fe26a0000 0x15fe28d3000 0x15fe28d3000 0x15fe28e9000 lib /boot/system/lib/libstdc++.so.6.0.32
168 2878083 0x1b1251e8000 0x1b1252f8000 0x1b1252f8000 0x1b12530e000 lib /boot/system/lib/libroot.so
169 2878077 0x1b33058e000 0x1b3305ab000 0x1b3305ab000 0x1b3305ac000 lib /boot/system/runtime_loader
170 2878076 0x7fffffdf6000 0x7fffffdfe000 0x00000000 0x00000000 system commpage
171
172Areas:
173 ID Base End Size (KiB) Protection Locking Name
174 --------------------------------------------------------------------------------
175 8973488 0x5310d82000 0x5310d92000 64 rw- none rld heap
176 8973508 0x7e1d171000 0x7e1d187000 88 r-x none libz.so.1.3_seg0ro
177 8973509 0x7e1d187000 0x7e1d188000 4 rw- none libz.so.1.3_seg1rw
178 8973495 0x927944a000 0x927ffb4000 109992 r-x none libLLVM-17.so_seg0ro
179 8973496 0x927ffb4000 0x9280163000 1724 rw- none libLLVM-17.so_seg1rw
180 8973497 0x9280163000 0x92801e4000 516 rw- none libLLVM-17.so_seg2rw
181 8973490 0x9a6ea9d000 0x9a6eac1000 144 r-x none clang-17_seg0ro
182 8973491 0x9a6eac1000 0x9a6eac2000 4 rw- none clang-17_seg1rw
183 8973492 0xb3c3f82000 0xb3c7b27000 61076 r-x none libclang-cpp.so.17_seg0ro
184 8973493 0xb3c7b27000 0xb3c7d8d000 2456 rw- none libclang-cpp.so.17_seg1rw
185 8973494 0xb3c7d8d000 0xb3c7da7000 104 rw- none libclang-cpp.so.17_seg2rw
186 8973489 0xb865618000 0xb865619000 4 rw-cS none _rld_debug_
187 8973514 0xe659ffc000 0xe65a00c000 64 rw- none rld heap
188 8973515 0x1053ce07000 0x1053ce17000 64 rw- none rld heap
189 8973516 0x10a1fa25000 0x10a1fa75000 320 rw- none rld heap
190 8973517 0x10c903c0000 0x10c90410000 320 rw- none rld heap
191 8973523 0x10d25fa6000 0x10d25fab000 20 r--r-- none libLLVM-17.so mmap area
192 8973524 0x10f6de73000 0x10f6de7c000 36 r--r-- none libLLVM-17.so mmap area
193 8973527 0x10f6f790000 0x10f6f79a000 40 r--r-- none libLLVM-17.so mmap area
194 8973528 0x10f8db4c000 0x10f8db57000 44 r--r-- none libLLVM-17.so mmap area
195 8973529 0x10fec0ff000 0x10fec10c000 52 r--r-- none libLLVM-17.so mmap area
196 8973506 0x10fefc34000 0x10fefc3f000 44 r-x none libbsd.so_seg0ro
197 8973507 0x10fefc3f000 0x10fefc40000 4 rw- none libbsd.so_seg1rw
198 8973501 0x153428ab000 0x153428ca000 124 r-x none libgcc_s.so.1_seg0ro
199 8973502 0x153428ca000 0x153428cb000 4 rw- none libgcc_s.so.1_seg1rw
200 8973498 0x15fe26a0000 0x15fe28d3000 2252 r-x none libstdc++.so.6.0.32_seg0ro
201 8973499 0x15fe28d3000 0x15fe28e1000 56 rw- none libstdc++.so.6.0.32_seg1rw
202 8973500 0x15fe28e1000 0x15fe28e9000 32 rw- none libstdc++.so.6.0.32_seg2rw
203 8973503 0x1b1251e8000 0x1b1252f8000 1088 r-x none libroot.so_seg0ro
204 8973504 0x1b1252f8000 0x1b125306000 56 rw- none libroot.so_seg1rw
205 8973505 0x1b125306000 0x1b12530e000 32 rw- none libroot.so_seg2rw
206 8973486 0x1b33058e000 0x1b3305ab000 116 r-x none runtime_loader_seg0ro
207 8973487 0x1b3305ab000 0x1b3305ac000 4 rw- none runtime_loader_seg1rw
208 8973521 0x10de5347c000 0x10de5371c000 2688 rw- none heap
209 8973484 0x7f606dcb6000 0x7f606ecbd000 16412 rw-s none clang-17_128656_stack
210 8973483 0x7f78faa58000 0x7f78faa5c000 16 rw-k full user area
211 8973485 0x7fffffdf6000 0x7fffffdfe000 32 r-xSk full commpage
212
213Protection Flags: r - read, w - write, x - execute, s - stack, o - overcommit, c - cloneable, S - shared, k - kernel
214
215Semaphores:
216 ID Count Last Holder Name
217 ------------------------------------------------------------