Ticket #18903: clang-17-127940-debug-21-05-2024-15-27-12.report

File clang-17-127940-debug-21-05-2024-15-27-12.report, 12.4 KB (added by dovsienko, 6 months ago)
Line 
1Debug information for team /boot/system/bin/clang-17 (127940):
2CPU(s): 4x Intel Core™ i7-3770
3Memory: 1,022.94 MiB total, 433.80 MiB used
4Haiku revision: hrev57736 May 21 2024 06:02:33 (x86_64)
5
6Active Threads:
7 thread 127941: team 127940 debug task
8 thread 127940: clang-17 (main)
9 state: Exception (Segment violation)
10
11 Frame IP Function Name
12 -----------------------------------------------
13 0x7f3c78e2be00 0x1f918f338ba 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 0x000001f918f337e0: 55 push %rbp
17 0x000001f918f337e1: 4889e5 mov %rsp, %rbp
18 0x000001f918f337e4: 4157 push %r15
19 0x000001f918f337e6: 4989ff mov %rdi, %r15
20 0x000001f918f337e9: 4156 push %r14
21 0x000001f918f337eb: 4989d6 mov %rdx, %r14
22 0x000001f918f337ee: 4155 push %r13
23 0x000001f918f337f0: 4154 push %r12
24 0x000001f918f337f2: 53 push %rbx
25 0x000001f918f337f3: 4889f3 mov %rsi, %rbx
26 0x000001f918f337f6: 4883ec38 sub $0x38, %rsp
27 0x000001f918f337fa: 807f1a00 cmp $0x0, 0x1a(%rdi)
28 0x000001f918f337fe: 894da8 mov %ecx, -0x58(%rbp)
29 0x000001f918f33801: 751a jnz 0x18f3381d
30 0x000001f918f33803: 89c8 mov %ecx, %eax
31 0x000001f918f33805: 83e80b sub $0xb, %eax
32 0x000001f918f33808: 6683f801 cmp $0x1, %ax
33 0x000001f918f3380c: 0f861e020000 jbe 0x1f918f33a30
34 0x000001f918f33812: 66837da80a cmp $0xa, -0x58(%rbp)
35 0x000001f918f33817: 0f842a030000 jz 0x1f918f33b47
36 0x000001f918f3381d: 410fb606 movzx (%r14), %eax
37 0x000001f918f33821: 3c3f cmp $0x3f, %al
38 0x000001f918f33823: 0f844f020000 jz 0x1f918f33a78
39 0x000001f918f33829: 3c5c cmp $0x5c, %al
40 0x000001f918f3382b: 0f8447020000 jz 0x1f918f33a78
41 0x000001f918f33831: 4983c601 add $0x1, %r14
42 0x000001f918f33835: 4531e4 xor %r12d, %r12d
43 0x000001f918f33838: 4c8d6db0 lea -0x50(%rbp), %r13
44 0x000001f918f3383c: 3c27 cmp $0x27, %al
45 0x000001f918f3383e: 0f8462020000 jz 0x1f918f33aa6
46 0x000001f918f33844: 0f1f4000 nop (%rax)
47 0x000001f918f33848: 3c5c cmp $0x5c, %al
48 0x000001f918f3384a: 751c jnz 0x18f33868
49 0x000001f918f3384c: 410fb606 movzx (%r14), %eax
50 0x000001f918f33850: 3c3f cmp $0x3f, %al
51 0x000001f918f33852: 0f8448010000 jz 0x1f918f339a0
52 0x000001f918f33858: 3c5c cmp $0x5c, %al
53 0x000001f918f3385a: 0f8440010000 jz 0x1f918f339a0
54 0x000001f918f33860: 4983c601 add $0x1, %r14
55 0x000001f918f33864: 0f1f4000 nop (%rax)
56 0x000001f918f33868: 3c0a cmp $0xa, %al
57 0x000001f918f3386a: 0f8460010000 jz 0x1f918f339d0
58 0x000001f918f33870: 3c0d cmp $0xd, %al
59 0x000001f918f33872: 0f8458010000 jz 0x1f918f339d0
60 0x000001f918f33878: 84c0 test %al, %al
61 0x000001f918f3387a: 753e jnz 0x18f338ba
62 0x000001f918f3387c: 4d8b4f78 mov 0x78(%r15), %r9
63 0x000001f918f33880: 4d8d66ff lea -0x1(%r14), %r12
64 0x000001f918f33884: 4d39cc cmp %r9, %r12
65 0x000001f918f33887: 0f8447010000 jz 0x1f918f339d4
66 0x000001f918f3388d: 498b7f08 mov 0x8(%r15), %rdi
67 0x000001f918f33891: 4885ff test %rdi, %rdi
68 0x000001f918f33894: 7424 jz 0x18f338ba
69 0x000001f918f33896: 4883bff002000000 cmp $0x0, 0x2f0(%rdi)
70 0x000001f918f3389e: 741a jz 0x18f338ba
71 0x000001f918f338a0: 4c89e0 mov %r12, %rax
72 0x000001f918f338a3: 492b4770 sub 0x70(%r15), %rax
73 0x000001f918f338a7: 41038780000000 add 0x80(%r15), %eax
74 0x000001f918f338ae: 3b87fc020000 cmp 0x2fc(%rdi), %eax
75 0x000001f918f338b4: 0f84a2020000 jz 0x1f918f33b5c
76 0x000001f918f338ba: 410fb606 movzx (%r14), %eax <--
77
78 Frame memory:
79 [0x7f3c78e2bd90] ...........<... 20 e7 91 e9 0f 11 00 00 08 00 00 00 3c 7f 00 00
80 [0x7f3c78e2bda0] ....<....1...... 01 00 00 00 3c 7f 00 00 a7 31 e7 18 f9 01 00 00
81 [0x7f3c78e2bdb0] p..x<...A....... 70 be e2 78 3c 7f 00 00 41 b7 f8 18 f9 01 00 00
82 [0x7f3c78e2bdc0] .Z.............. f8 5a a2 e9 0f 11 00 00 90 06 93 e9 0f 11 00 00
83 [0x7f3c78e2bdd0] ............... 20 e7 91 e9 0f 11 00 00 c0 0a b8 1b f9 01 00 00
84 [0x7f3c78e2bde0] @..x<......*.... 40 bf e2 78 3c 7f 00 00 f2 9a a6 2a 12 01 00 00
85 [0x7f3c78e2bdf0] ...x<....Q...... b0 be e2 78 3c 7f 00 00 7f 51 f3 18 f9 01 00 00
86 0x7f3c78e2bec0 0x1f918f3517a clang::Lexer::LexTokenInternal(clang::Token&, bool) [clone .localalias] + 0xcda
87 0x7f3c78e2bf10 0x1f918fbf1ba clang::Preprocessor::Lex(clang::Token&) + 0x1da
88 0x7f3c78e2bff0 0x1f91af9d16e clang::RewriteIncludesInInput(clang::Preprocessor&, llvm::raw_ostream*, clang::PreprocessorOutputOptions const&) + 0x2be
89 0x7f3c78e2c090 0x1f91af951c0 clang::RewriteIncludesAction::ExecuteAction() + 0x150
90 0x7f3c78e2c0d0 0x1f91b0b3a16 clang::FrontendAction::Execute() + 0x96
91 0x7f3c78e2c150 0x1f91b032ca4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 0x114
92 0x7f3c78e2c1b0 0x1f91b13cfeb clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 0x32b
93 0x7f3c78e2c6f0 0x450730f2a7 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 0xea7
94 0x7f3c78e2c800 0x45073074de ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) + 0xee
95 0x7f3c78e2d850 0x450730b31c clang_main(int, char**, llvm::ToolContext const&) + 0x6ac
96 0x7f3c78e2d880 0x4507306aaf main + 0x1f
97 0x7f3c78e2d8b0 0x4507306bda _start + 0x3a
98 0x7f3c78e2d8e0 0x24064154c33 runtime_loader + 0x113
99 00000000 0x7fffffdf7258 commpage_thread_exit + 0
100
101 Registers:
102 rip: 0x000001f918f338ba
103 rsp: 0x00007f3c78e2bd90
104 rbp: 0x00007f3c78e2bdf0
105 rax: 0x0000000000000000
106 rbx: 0x00007f3c78e2bf40
107 rcx: 0x00007f3c78e2bf40
108 rdx: 0x0000000000000001
109 rsi: 0x000001122aa69b41
110 rdi: 0x0000110fe9930690
111 r8: 0x0000110fe991e720
112 r9: 0x000001122aa69aa9
113 r10: 0x0000110fe99a8560
114 r11: 0x0000000000000000
115 r12: 0x000001122aa69fff
116 r13: 0x00007f3c78e2bda0
117 r14: 0x000001122aa6a000
118 r15: 0x0000110fe991e720
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 2864160 0x45072fb000 0x450731f000 0x450731f000 0x4507320000 app /boot/system/bin/clang-17
162 2864163 0x6484e3e000 0x6485071000 0x6485071000 0x6485087000 lib /boot/system/lib/libstdc++.so.6.0.32
163 2864167 0x112d0e13000 0x112d0e29000 0x112d0e29000 0x112d0e2a000 lib /boot/system/lib/libz.so.1.3
164 2864165 0x1288d0e3000 0x1288d1f3000 0x1288d1f3000 0x1288d209000 lib /boot/system/lib/libroot.so
165 2864162 0x12bac6fa000 0x12bb3264000 0x12bb3264000 0x12bb3494000 lib /boot/system/lib/libLLVM-17.so
166 2864164 0x153c3896000 0x153c38b5000 0x153c38b5000 0x153c38b6000 lib /boot/system/lib/libgcc_s.so.1
167 2864166 0x1bcdbfbb000 0x1bcdbfc6000 0x1bcdbfc6000 0x1bcdbfc7000 lib /boot/system/lib/libbsd.so
168 2864161 0x1f918558000 0x1f91c0fd000 0x1f91c0fd000 0x1f91c37d000 lib /boot/system/lib/libclang-cpp.so.17
169 2864159 0x24064145000 0x24064162000 0x24064162000 0x24064163000 lib /boot/system/runtime_loader
170 2864158 0x7fffffdf7000 0x7fffffdff000 0x00000000 0x00000000 system commpage
171
172Areas:
173 ID Base End Size (KiB) Protection Locking Name
174 --------------------------------------------------------------------------------
175 8930384 0x238be21000 0x238be31000 64 rw- none rld heap
176 8930386 0x45072fb000 0x450731f000 144 r-x none clang-17_seg0ro
177 8930387 0x450731f000 0x4507320000 4 rw- none clang-17_seg1rw
178 8930394 0x6484e3e000 0x6485071000 2252 r-x none libstdc++.so.6.0.32_seg0ro
179 8930395 0x6485071000 0x648507f000 56 rw- none libstdc++.so.6.0.32_seg1rw
180 8930396 0x648507f000 0x6485087000 32 rw- none libstdc++.so.6.0.32_seg2rw
181 8930385 0x9a6517c000 0x9a6517d000 4 rw-cS none _rld_debug_
182 8930406 0xea1f163000 0xea1f173000 64 rw- none rld heap
183 8930407 0xf9de049000 0xf9de059000 64 rw- none rld heap
184 8930408 0x101f08c2000 0x101f0912000 320 rw- none rld heap
185 8930409 0x10b172cf000 0x10b1731f000 320 rw- none rld heap
186 8930411 0x10bb1886000 0x10bb188f000 36 r--r-- none libLLVM-17.so mmap area
187 8930412 0x10e80e30000 0x10e80e3b000 44 r--r-- none libLLVM-17.so mmap area
188 8930413 0x110a54f1000 0x110a54f6000 20 r--r-- none libLLVM-17.so mmap area
189 8930414 0x1122aa5d000 0x1122aa6a000 52 r--r-- none libLLVM-17.so mmap area
190 8930404 0x112d0e13000 0x112d0e29000 88 r-x none libz.so.1.3_seg0ro
191 8930405 0x112d0e29000 0x112d0e2a000 4 rw- none libz.so.1.3_seg1rw
192 8930399 0x1288d0e3000 0x1288d1f3000 1088 r-x none libroot.so_seg0ro
193 8930400 0x1288d1f3000 0x1288d201000 56 rw- none libroot.so_seg1rw
194 8930401 0x1288d201000 0x1288d209000 32 rw- none libroot.so_seg2rw
195 8930391 0x12bac6fa000 0x12bb3264000 109992 r-x none libLLVM-17.so_seg0ro
196 8930392 0x12bb3264000 0x12bb3413000 1724 rw- none libLLVM-17.so_seg1rw
197 8930393 0x12bb3413000 0x12bb3494000 516 rw- none libLLVM-17.so_seg2rw
198 8930397 0x153c3896000 0x153c38b5000 124 r-x none libgcc_s.so.1_seg0ro
199 8930398 0x153c38b5000 0x153c38b6000 4 rw- none libgcc_s.so.1_seg1rw
200 8930402 0x1bcdbfbb000 0x1bcdbfc6000 44 r-x none libbsd.so_seg0ro
201 8930403 0x1bcdbfc6000 0x1bcdbfc7000 4 rw- none libbsd.so_seg1rw
202 8930388 0x1f918558000 0x1f91c0fd000 61076 r-x none libclang-cpp.so.17_seg0ro
203 8930389 0x1f91c0fd000 0x1f91c363000 2456 rw- none libclang-cpp.so.17_seg1rw
204 8930390 0x1f91c363000 0x1f91c37d000 104 rw- none libclang-cpp.so.17_seg2rw
205 8930382 0x24064145000 0x24064162000 116 r-x none runtime_loader_seg0ro
206 8930383 0x24064162000 0x24064163000 4 rw- none runtime_loader_seg1rw
207 8930410 0x110fe9902000 0x110fe9b72000 2496 rw- none heap
208 8930380 0x7f3c77e2a000 0x7f3c78e30000 16408 rw-s none clang-17_127940_stack
209 8930379 0x7f9084b9e000 0x7f9084ba2000 16 rw-k full user area
210 8930381 0x7fffffdf7000 0x7fffffdff000 32 r-xSk full commpage
211
212Protection Flags: r - read, w - write, x - execute, s - stack, o - overcommit, c - cloneable, S - shared, k - kernel
213
214Semaphores:
215 ID Count Last Holder Name
216 ------------------------------------------------------------