Ticket #18903: clang-17-128649-debug-21-05-2024-15-28-26.report

File clang-17-128649-debug-21-05-2024-15-28-26.report, 12.5 KB (added by dovsienko, 6 months ago)
Line 
1Debug information for team /boot/system/bin/clang-17 (128649):
2CPU(s): 4x Intel Core™ i7-3770
3Memory: 1,022.94 MiB total, 806.46 MiB used
4Haiku revision: hrev57736 May 21 2024 06:02:33 (x86_64)
5
6Active Threads:
7 thread 128654: team 128649 debug task
8 thread 128649: clang-17 (main)
9 state: Exception (Segment violation)
10
11 Frame IP Function Name
12 -----------------------------------------------
13 0x7fe0466086d0 0x181f97b68ba 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 0x00000181f97b67e0: 55 push %rbp
17 0x00000181f97b67e1: 4889e5 mov %rsp, %rbp
18 0x00000181f97b67e4: 4157 push %r15
19 0x00000181f97b67e6: 4989ff mov %rdi, %r15
20 0x00000181f97b67e9: 4156 push %r14
21 0x00000181f97b67eb: 4989d6 mov %rdx, %r14
22 0x00000181f97b67ee: 4155 push %r13
23 0x00000181f97b67f0: 4154 push %r12
24 0x00000181f97b67f2: 53 push %rbx
25 0x00000181f97b67f3: 4889f3 mov %rsi, %rbx
26 0x00000181f97b67f6: 4883ec38 sub $0x38, %rsp
27 0x00000181f97b67fa: 807f1a00 cmp $0x0, 0x1a(%rdi)
28 0x00000181f97b67fe: 894da8 mov %ecx, -0x58(%rbp)
29 0x00000181f97b6801: 751a jnz 0xf97b681d
30 0x00000181f97b6803: 89c8 mov %ecx, %eax
31 0x00000181f97b6805: 83e80b sub $0xb, %eax
32 0x00000181f97b6808: 6683f801 cmp $0x1, %ax
33 0x00000181f97b680c: 0f861e020000 jbe 0x181f97b6a30
34 0x00000181f97b6812: 66837da80a cmp $0xa, -0x58(%rbp)
35 0x00000181f97b6817: 0f842a030000 jz 0x181f97b6b47
36 0x00000181f97b681d: 410fb606 movzx (%r14), %eax
37 0x00000181f97b6821: 3c3f cmp $0x3f, %al
38 0x00000181f97b6823: 0f844f020000 jz 0x181f97b6a78
39 0x00000181f97b6829: 3c5c cmp $0x5c, %al
40 0x00000181f97b682b: 0f8447020000 jz 0x181f97b6a78
41 0x00000181f97b6831: 4983c601 add $0x1, %r14
42 0x00000181f97b6835: 4531e4 xor %r12d, %r12d
43 0x00000181f97b6838: 4c8d6db0 lea -0x50(%rbp), %r13
44 0x00000181f97b683c: 3c27 cmp $0x27, %al
45 0x00000181f97b683e: 0f8462020000 jz 0x181f97b6aa6
46 0x00000181f97b6844: 0f1f4000 nop (%rax)
47 0x00000181f97b6848: 3c5c cmp $0x5c, %al
48 0x00000181f97b684a: 751c jnz 0xf97b6868
49 0x00000181f97b684c: 410fb606 movzx (%r14), %eax
50 0x00000181f97b6850: 3c3f cmp $0x3f, %al
51 0x00000181f97b6852: 0f8448010000 jz 0x181f97b69a0
52 0x00000181f97b6858: 3c5c cmp $0x5c, %al
53 0x00000181f97b685a: 0f8440010000 jz 0x181f97b69a0
54 0x00000181f97b6860: 4983c601 add $0x1, %r14
55 0x00000181f97b6864: 0f1f4000 nop (%rax)
56 0x00000181f97b6868: 3c0a cmp $0xa, %al
57 0x00000181f97b686a: 0f8460010000 jz 0x181f97b69d0
58 0x00000181f97b6870: 3c0d cmp $0xd, %al
59 0x00000181f97b6872: 0f8458010000 jz 0x181f97b69d0
60 0x00000181f97b6878: 84c0 test %al, %al
61 0x00000181f97b687a: 753e jnz 0xf97b68ba
62 0x00000181f97b687c: 4d8b4f78 mov 0x78(%r15), %r9
63 0x00000181f97b6880: 4d8d66ff lea -0x1(%r14), %r12
64 0x00000181f97b6884: 4d39cc cmp %r9, %r12
65 0x00000181f97b6887: 0f8447010000 jz 0x181f97b69d4
66 0x00000181f97b688d: 498b7f08 mov 0x8(%r15), %rdi
67 0x00000181f97b6891: 4885ff test %rdi, %rdi
68 0x00000181f97b6894: 7424 jz 0xf97b68ba
69 0x00000181f97b6896: 4883bff002000000 cmp $0x0, 0x2f0(%rdi)
70 0x00000181f97b689e: 741a jz 0xf97b68ba
71 0x00000181f97b68a0: 4c89e0 mov %r12, %rax
72 0x00000181f97b68a3: 492b4770 sub 0x70(%r15), %rax
73 0x00000181f97b68a7: 41038780000000 add 0x80(%r15), %eax
74 0x00000181f97b68ae: 3b87fc020000 cmp 0x2fc(%rdi), %eax
75 0x00000181f97b68b4: 0f84a2020000 jz 0x181f97b6b5c
76 0x00000181f97b68ba: 410fb606 movzx (%r14), %eax <--
77
78 Frame memory:
79 [0x7fe046608660] ..;............ 20 a7 1a 3b ec 11 00 00 08 00 00 00 e0 7f 00 00
80 [0x7fe046608670] .........ao..... 01 00 00 00 e0 7f 00 00 a7 61 6f f9 81 01 00 00
81 [0x7fe046608680] @.`F....A....... 40 87 60 46 e0 7f 00 00 41 e7 80 f9 81 01 00 00
82 [0x7fe046608690] .,+;.......;.... b8 2c 2b 3b ec 11 00 00 90 c6 1b 3b ec 11 00 00
83 [0x7fe0466086a0] ..;.....:@..... 20 a7 1a 3b ec 11 00 00 c0 3a 40 fc 81 01 00 00
84 [0x7fe0466086b0] ..`F............ 10 88 60 46 e0 7f 00 00 f2 8a ef 97 9b 00 00 00
85 [0x7fe0466086c0] ..`F......{..... 80 87 60 46 e0 7f 00 00 7f 81 7b f9 81 01 00 00
86 0x7fe046608790 0x181f97b817a clang::Lexer::LexTokenInternal(clang::Token&, bool) [clone .localalias] + 0xcda
87 0x7fe0466087e0 0x181f98421ba clang::Preprocessor::Lex(clang::Token&) + 0x1da
88 0x7fe0466088c0 0x181fb82016e clang::RewriteIncludesInInput(clang::Preprocessor&, llvm::raw_ostream*, clang::PreprocessorOutputOptions const&) + 0x2be
89 0x7fe046608960 0x181fb8181c0 clang::RewriteIncludesAction::ExecuteAction() + 0x150
90 0x7fe0466089a0 0x181fb936a16 clang::FrontendAction::Execute() + 0x96
91 0x7fe046608a20 0x181fb8b5ca4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 0x114
92 0x7fe046608a80 0x181fb9bffeb clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 0x32b
93 0x7fe046608fc0 0x21a4dfbb2a7 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 0xea7
94 0x7fe0466090d0 0x21a4dfb34de ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) + 0xee
95 0x7fe04660a120 0x21a4dfb731c clang_main(int, char**, llvm::ToolContext const&) + 0x6ac
96 0x7fe04660a150 0x21a4dfb2aaf main + 0x1f
97 0x7fe04660a180 0x21a4dfb2bda _start + 0x3a
98 0x7fe04660a1b0 0x9bcef94c33 runtime_loader + 0x113
99 00000000 0x7fffffdf5258 commpage_thread_exit + 0
100
101 Registers:
102 rip: 0x00000181f97b68ba
103 rsp: 0x00007fe046608660
104 rbp: 0x00007fe0466086c0
105 rax: 0x0000000000000000
106 rbx: 0x00007fe046608810
107 rcx: 0x00007fe046608810
108 rdx: 0x0000000000000001
109 rsi: 0x0000009b97ef8b41
110 rdi: 0x000011ec3b1bc690
111 r8: 0x000011ec3b1aa720
112 r9: 0x0000009b97ef8aa9
113 r10: 0x0000000000000001
114 r11: 0x0000000000000206
115 r12: 0x0000009b97ef8fff
116 r13: 0x00007fe046608670
117 r14: 0x0000009b97ef9000
118 r15: 0x000011ec3b1aa720
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: 1
131 st6: 4.23e+05
132 st7: 9.9e+08
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: {0x1000, 0xd9d, 0x7fcf, 0xffe9}
139 mm6: {0, 0, 0x2000, 0xce6a}
140 mm7: {0xf368, 0xc53e, 0xce25, 0xec09}
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 2877929 0x3a6bc4e000 0x3a6be81000 0x3a6be81000 0x3a6be97000 lib /boot/system/lib/libstdc++.so.6.0.32
162 2877925 0x9bcef85000 0x9bcefa2000 0x9bcefa2000 0x9bcefa3000 lib /boot/system/runtime_loader
163 2877932 0xeca3dfb000 0xeca3e06000 0xeca3e06000 0xeca3e07000 lib /boot/system/lib/libbsd.so
164 2877928 0xf3e2edb000 0xf3e9a45000 0xf3e9a45000 0xf3e9c75000 lib /boot/system/lib/libLLVM-17.so
165 2877933 0x127496df000 0x127496f5000 0x127496f5000 0x127496f6000 lib /boot/system/lib/libz.so.1.3
166 2877930 0x15c9d501000 0x15c9d520000 0x15c9d520000 0x15c9d521000 lib /boot/system/lib/libgcc_s.so.1
167 2877927 0x181f8ddb000 0x181fc980000 0x181fc980000 0x181fcc00000 lib /boot/system/lib/libclang-cpp.so.17
168 2877931 0x1df34526000 0x1df34636000 0x1df34636000 0x1df3464c000 lib /boot/system/lib/libroot.so
169 2877926 0x21a4dfa7000 0x21a4dfcb000 0x21a4dfcb000 0x21a4dfcc000 app /boot/system/bin/clang-17
170 2877924 0x7fffffdf5000 0x7fffffdfd000 0x00000000 0x00000000 system commpage
171
172Areas:
173 ID Base End Size (KiB) Protection Locking Name
174 --------------------------------------------------------------------------------
175 8972974 0x21828ec000 0x21828fc000 64 rw- none rld heap
176 8972984 0x3a6bc4e000 0x3a6be81000 2252 r-x none libstdc++.so.6.0.32_seg0ro
177 8972985 0x3a6be81000 0x3a6be8f000 56 rw- none libstdc++.so.6.0.32_seg1rw
178 8972986 0x3a6be8f000 0x3a6be97000 32 rw- none libstdc++.so.6.0.32_seg2rw
179 8972975 0x3d2a5b3000 0x3d2a5b4000 4 rw-cS none _rld_debug_
180 8973006 0x7de3c86000 0x7de3c96000 64 rw- none rld heap
181 8973007 0x8645b20000 0x8645b30000 64 rw- none rld heap
182 8973008 0x8ab895b000 0x8ab89ab000 320 rw- none rld heap
183 8973009 0x8d278a4000 0x8d278f4000 320 rw- none rld heap
184 8973422 0x99d59ab000 0x99d59b4000 36 r--r-- none libLLVM-17.so mmap area
185 8973424 0x9a23b55000 0x9a23b5a000 20 r--r-- none libLLVM-17.so mmap area
186 8973425 0x9a8de5f000 0x9a8de68000 36 r--r-- none libLLVM-17.so mmap area
187 8973427 0x9b8fa2c000 0x9b8fa37000 44 r--r-- none libLLVM-17.so mmap area
188 8973428 0x9b97eec000 0x9b97ef9000 52 r--r-- none libLLVM-17.so mmap area
189 8972972 0x9bcef85000 0x9bcefa2000 116 r-x none runtime_loader_seg0ro
190 8972973 0x9bcefa2000 0x9bcefa3000 4 rw- none runtime_loader_seg1rw
191 8972992 0xeca3dfb000 0xeca3e06000 44 r-x none libbsd.so_seg0ro
192 8972993 0xeca3e06000 0xeca3e07000 4 rw- none libbsd.so_seg1rw
193 8972981 0xf3e2edb000 0xf3e9a45000 109992 r-x none libLLVM-17.so_seg0ro
194 8972982 0xf3e9a45000 0xf3e9bf4000 1724 rw- none libLLVM-17.so_seg1rw
195 8972983 0xf3e9bf4000 0xf3e9c75000 516 rw- none libLLVM-17.so_seg2rw
196 8972994 0x127496df000 0x127496f5000 88 r-x none libz.so.1.3_seg0ro
197 8972995 0x127496f5000 0x127496f6000 4 rw- none libz.so.1.3_seg1rw
198 8972987 0x15c9d501000 0x15c9d520000 124 r-x none libgcc_s.so.1_seg0ro
199 8972988 0x15c9d520000 0x15c9d521000 4 rw- none libgcc_s.so.1_seg1rw
200 8972978 0x181f8ddb000 0x181fc980000 61076 r-x none libclang-cpp.so.17_seg0ro
201 8972979 0x181fc980000 0x181fcbe6000 2456 rw- none libclang-cpp.so.17_seg1rw
202 8972980 0x181fcbe6000 0x181fcc00000 104 rw- none libclang-cpp.so.17_seg2rw
203 8972989 0x1df34526000 0x1df34636000 1088 r-x none libroot.so_seg0ro
204 8972990 0x1df34636000 0x1df34644000 56 rw- none libroot.so_seg1rw
205 8972991 0x1df34644000 0x1df3464c000 32 rw- none libroot.so_seg2rw
206 8972976 0x21a4dfa7000 0x21a4dfcb000 144 r-x none clang-17_seg0ro
207 8972977 0x21a4dfcb000 0x21a4dfcc000 4 rw- none clang-17_seg1rw
208 8973417 0x11ec3b18e000 0x11ec3b41e000 2624 rw- none heap
209 8972970 0x7fe045607000 0x7fe04660e000 16412 rw-s none clang-17_128649_stack
210 8972969 0x7ff70f5ae000 0x7ff70f5b2000 16 rw-k full user area
211 8972971 0x7fffffdf5000 0x7fffffdfd000 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 ------------------------------------------------------------