Ticket #18903: clang-17-128663-debug-21-05-2024-15-28-22.report

File clang-17-128663-debug-21-05-2024-15-28-22.report, 12.6 KB (added by dovsienko, 5 weeks ago)
Line 
1Debug information for team /boot/system/bin/clang-17 (128663):
2CPU(s): 4x Intel Core™ i7-3770
3Memory: 1,022.94 MiB total, 470.45 MiB used
4Haiku revision: hrev57736 May 21 2024 06:02:33 (x86_64)
5
6Active Threads:
7 thread 128665: team 128663 debug task
8 thread 128663: clang-17 (main)
9 state: Exception (Segment violation)
10
11 Frame IP Function Name
12 -----------------------------------------------
13 0x7ffcdbe27b20 0x1939c2ff8ba 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 0x000001939c2ff7e0: 55 push %rbp
17 0x000001939c2ff7e1: 4889e5 mov %rsp, %rbp
18 0x000001939c2ff7e4: 4157 push %r15
19 0x000001939c2ff7e6: 4989ff mov %rdi, %r15
20 0x000001939c2ff7e9: 4156 push %r14
21 0x000001939c2ff7eb: 4989d6 mov %rdx, %r14
22 0x000001939c2ff7ee: 4155 push %r13
23 0x000001939c2ff7f0: 4154 push %r12
24 0x000001939c2ff7f2: 53 push %rbx
25 0x000001939c2ff7f3: 4889f3 mov %rsi, %rbx
26 0x000001939c2ff7f6: 4883ec38 sub $0x38, %rsp
27 0x000001939c2ff7fa: 807f1a00 cmp $0x0, 0x1a(%rdi)
28 0x000001939c2ff7fe: 894da8 mov %ecx, -0x58(%rbp)
29 0x000001939c2ff801: 751a jnz 0x9c2ff81d
30 0x000001939c2ff803: 89c8 mov %ecx, %eax
31 0x000001939c2ff805: 83e80b sub $0xb, %eax
32 0x000001939c2ff808: 6683f801 cmp $0x1, %ax
33 0x000001939c2ff80c: 0f861e020000 jbe 0x1939c2ffa30
34 0x000001939c2ff812: 66837da80a cmp $0xa, -0x58(%rbp)
35 0x000001939c2ff817: 0f842a030000 jz 0x1939c2ffb47
36 0x000001939c2ff81d: 410fb606 movzx (%r14), %eax
37 0x000001939c2ff821: 3c3f cmp $0x3f, %al
38 0x000001939c2ff823: 0f844f020000 jz 0x1939c2ffa78
39 0x000001939c2ff829: 3c5c cmp $0x5c, %al
40 0x000001939c2ff82b: 0f8447020000 jz 0x1939c2ffa78
41 0x000001939c2ff831: 4983c601 add $0x1, %r14
42 0x000001939c2ff835: 4531e4 xor %r12d, %r12d
43 0x000001939c2ff838: 4c8d6db0 lea -0x50(%rbp), %r13
44 0x000001939c2ff83c: 3c27 cmp $0x27, %al
45 0x000001939c2ff83e: 0f8462020000 jz 0x1939c2ffaa6
46 0x000001939c2ff844: 0f1f4000 nop (%rax)
47 0x000001939c2ff848: 3c5c cmp $0x5c, %al
48 0x000001939c2ff84a: 751c jnz 0x9c2ff868
49 0x000001939c2ff84c: 410fb606 movzx (%r14), %eax
50 0x000001939c2ff850: 3c3f cmp $0x3f, %al
51 0x000001939c2ff852: 0f8448010000 jz 0x1939c2ff9a0
52 0x000001939c2ff858: 3c5c cmp $0x5c, %al
53 0x000001939c2ff85a: 0f8440010000 jz 0x1939c2ff9a0
54 0x000001939c2ff860: 4983c601 add $0x1, %r14
55 0x000001939c2ff864: 0f1f4000 nop (%rax)
56 0x000001939c2ff868: 3c0a cmp $0xa, %al
57 0x000001939c2ff86a: 0f8460010000 jz 0x1939c2ff9d0
58 0x000001939c2ff870: 3c0d cmp $0xd, %al
59 0x000001939c2ff872: 0f8458010000 jz 0x1939c2ff9d0
60 0x000001939c2ff878: 84c0 test %al, %al
61 0x000001939c2ff87a: 753e jnz 0x9c2ff8ba
62 0x000001939c2ff87c: 4d8b4f78 mov 0x78(%r15), %r9
63 0x000001939c2ff880: 4d8d66ff lea -0x1(%r14), %r12
64 0x000001939c2ff884: 4d39cc cmp %r9, %r12
65 0x000001939c2ff887: 0f8447010000 jz 0x1939c2ff9d4
66 0x000001939c2ff88d: 498b7f08 mov 0x8(%r15), %rdi
67 0x000001939c2ff891: 4885ff test %rdi, %rdi
68 0x000001939c2ff894: 7424 jz 0x9c2ff8ba
69 0x000001939c2ff896: 4883bff002000000 cmp $0x0, 0x2f0(%rdi)
70 0x000001939c2ff89e: 741a jz 0x9c2ff8ba
71 0x000001939c2ff8a0: 4c89e0 mov %r12, %rax
72 0x000001939c2ff8a3: 492b4770 sub 0x70(%r15), %rax
73 0x000001939c2ff8a7: 41038780000000 add 0x80(%r15), %eax
74 0x000001939c2ff8ae: 3b87fc020000 cmp 0x2fc(%rdi), %eax
75 0x000001939c2ff8b4: 0f84a2020000 jz 0x1939c2ffb5c
76 0x000001939c2ff8ba: 410fb606 movzx (%r14), %eax <--
77
78 Frame memory:
79 [0x7ffcdbe27ab0] .^............. 20 05 5e 0a 1c 12 00 00 08 00 00 00 fc 7f 00 00
80 [0x7ffcdbe27ac0] ..........#..... 01 00 00 00 fc 7f 00 00 a7 f1 23 9c 93 01 00 00
81 [0x7ffcdbe27ad0] .{......Aw5..... 90 7b e2 db fc 7f 00 00 41 77 35 9c 93 01 00 00
82 [0x7ffcdbe27ae0] ..n......&_..... b8 8c 6e 0a 1c 12 00 00 90 26 5f 0a 1c 12 00 00
83 [0x7ffcdbe27af0] .^............. 20 05 5e 0a 1c 12 00 00 c0 ca f4 9e 93 01 00 00
84 [0x7ffcdbe27b00] `|.........8.... 60 7c e2 db fc 7f 00 00 f2 da d1 38 08 01 00 00
85 [0x7ffcdbe27b10] .{........0..... d0 7b e2 db fc 7f 00 00 7f 11 30 9c 93 01 00 00
86 0x7ffcdbe27be0 0x1939c30117a clang::Lexer::LexTokenInternal(clang::Token&, bool) [clone .localalias] + 0xcda
87 0x7ffcdbe27c30 0x1939c38b1ba clang::Preprocessor::Lex(clang::Token&) + 0x1da
88 0x7ffcdbe27d10 0x1939e36916e clang::RewriteIncludesInInput(clang::Preprocessor&, llvm::raw_ostream*, clang::PreprocessorOutputOptions const&) + 0x2be
89 0x7ffcdbe27db0 0x1939e3611c0 clang::RewriteIncludesAction::ExecuteAction() + 0x150
90 0x7ffcdbe27df0 0x1939e47fa16 clang::FrontendAction::Execute() + 0x96
91 0x7ffcdbe27e70 0x1939e3feca4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 0x114
92 0x7ffcdbe27ed0 0x1939e508feb clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 0x32b
93 0x7ffcdbe28410 0x22ed27342a7 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 0xea7
94 0x7ffcdbe28520 0x22ed272c4de ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) + 0xee
95 0x7ffcdbe29570 0x22ed273031c clang_main(int, char**, llvm::ToolContext const&) + 0x6ac
96 0x7ffcdbe295a0 0x22ed272baaf main + 0x1f
97 0x7ffcdbe295d0 0x22ed272bbda _start + 0x3a
98 0x7ffcdbe29600 0x10b945f7c33 runtime_loader + 0x113
99 00000000 0x7fffffdf7258 commpage_thread_exit + 0
100
101 Registers:
102 rip: 0x000001939c2ff8ba
103 rsp: 0x00007ffcdbe27ab0
104 rbp: 0x00007ffcdbe27b10
105 rax: 0x0000000000000000
106 rbx: 0x00007ffcdbe27c60
107 rcx: 0x00007ffcdbe27c60
108 rdx: 0x0000000000000001
109 rsi: 0x0000010838d1db41
110 rdi: 0x0000121c0a5f2690
111 r8: 0x0000121c0a5e0520
112 r9: 0x0000010838d1daa9
113 r10: 0x0000000000000001
114 r11: 0x0000000000000202
115 r12: 0x0000010838d1dfff
116 r13: 0x00007ffcdbe27ac0
117 r14: 0x0000010838d1e000
118 r15: 0x0000121c0a5e0520
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}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Text Base Text End Data Base Data End Type Name
160 --------------------------------------------------------------------------------
161 2878105 0x2e6bc2f000 0x2e6bc45000 0x2e6bc45000 0x2e6bc46000 lib /boot/system/lib/libz.so.1.3
162 2878102 0x4f7a9db000 0x4f7a9fa000 0x4f7a9fa000 0x4f7a9fb000 lib /boot/system/lib/libgcc_s.so.1
163 2878100 0x51e815e000 0x51eecc8000 0x51eecc8000 0x51eeef8000 lib /boot/system/lib/libLLVM-17.so
164 2878104 0x10839cf4000 0x10839cff000 0x10839cff000 0x10839d00000 lib /boot/system/lib/libbsd.so
165 2878097 0x10b945e8000 0x10b94605000 0x10b94605000 0x10b94606000 lib /boot/system/runtime_loader
166 2878103 0x170a40b7000 0x170a41c7000 0x170a41c7000 0x170a41dd000 lib /boot/system/lib/libroot.so
167 2878099 0x1939b924000 0x1939f4c9000 0x1939f4c9000 0x1939f749000 lib /boot/system/lib/libclang-cpp.so.17
168 2878101 0x1d166360000 0x1d166593000 0x1d166593000 0x1d1665a9000 lib /boot/system/lib/libstdc++.so.6.0.32
169 2878098 0x22ed2720000 0x22ed2744000 0x22ed2744000 0x22ed2745000 app /boot/system/bin/clang-17
170 2878096 0x7fffffdf7000 0x7fffffdff000 0x00000000 0x00000000 system commpage
171
172Areas:
173 ID Base End Size (KiB) Protection Locking Name
174 --------------------------------------------------------------------------------
175 8973616 0x2e6bc2f000 0x2e6bc45000 88 r-x none libz.so.1.3_seg0ro
176 8973617 0x2e6bc45000 0x2e6bc46000 4 rw- none libz.so.1.3_seg1rw
177 8973596 0x469c74f000 0x469c75f000 64 rw- none rld heap
178 8973609 0x4f7a9db000 0x4f7a9fa000 124 r-x none libgcc_s.so.1_seg0ro
179 8973610 0x4f7a9fa000 0x4f7a9fb000 4 rw- none libgcc_s.so.1_seg1rw
180 8973603 0x51e815e000 0x51eecc8000 109992 r-x none libLLVM-17.so_seg0ro
181 8973604 0x51eecc8000 0x51eee77000 1724 rw- none libLLVM-17.so_seg1rw
182 8973605 0x51eee77000 0x51eeef8000 516 rw- none libLLVM-17.so_seg2rw
183 8973597 0x528fb16000 0x528fb17000 4 rw-cS none _rld_debug_
184 8973618 0x7411ca6000 0x7411cb6000 64 rw- none rld heap
185 8973619 0xd8618c5000 0xd8618d5000 64 rw- none rld heap
186 8973620 0xfee5676000 0xfee56c6000 320 rw- none rld heap
187 8973621 0x1053c96d000 0x1053c9bd000 320 rw- none rld heap
188 8973692 0x1054ef9f000 0x1054efa4000 20 r--r-- none libLLVM-17.so mmap area
189 8973693 0x107fbc81000 0x107fbc8a000 36 r--r-- none libLLVM-17.so mmap area
190 8973694 0x108288df000 0x108288e9000 40 r--r-- none libLLVM-17.so mmap area
191 8973695 0x10837944000 0x1083794f000 44 r--r-- none libLLVM-17.so mmap area
192 8973697 0x10838d11000 0x10838d1e000 52 r--r-- none libLLVM-17.so mmap area
193 8973614 0x10839cf4000 0x10839cff000 44 r-x none libbsd.so_seg0ro
194 8973615 0x10839cff000 0x10839d00000 4 rw- none libbsd.so_seg1rw
195 8973594 0x10b945e8000 0x10b94605000 116 r-x none runtime_loader_seg0ro
196 8973595 0x10b94605000 0x10b94606000 4 rw- none runtime_loader_seg1rw
197 8973611 0x170a40b7000 0x170a41c7000 1088 r-x none libroot.so_seg0ro
198 8973612 0x170a41c7000 0x170a41d5000 56 rw- none libroot.so_seg1rw
199 8973613 0x170a41d5000 0x170a41dd000 32 rw- none libroot.so_seg2rw
200 8973600 0x1939b924000 0x1939f4c9000 61076 r-x none libclang-cpp.so.17_seg0ro
201 8973601 0x1939f4c9000 0x1939f72f000 2456 rw- none libclang-cpp.so.17_seg1rw
202 8973602 0x1939f72f000 0x1939f749000 104 rw- none libclang-cpp.so.17_seg2rw
203 8973606 0x1d166360000 0x1d166593000 2252 r-x none libstdc++.so.6.0.32_seg0ro
204 8973607 0x1d166593000 0x1d1665a1000 56 rw- none libstdc++.so.6.0.32_seg1rw
205 8973608 0x1d1665a1000 0x1d1665a9000 32 rw- none libstdc++.so.6.0.32_seg2rw
206 8973598 0x22ed2720000 0x22ed2744000 144 r-x none clang-17_seg0ro
207 8973599 0x22ed2744000 0x22ed2745000 4 rw- none clang-17_seg1rw
208 8973687 0x121c0a5c4000 0x121c0a884000 2816 rw- none heap
209 8973591 0x7f4a90cc4000 0x7f4a90cc8000 16 rw-k full user area
210 8973592 0x7ffcdae26000 0x7ffcdbe2d000 16412 rw-s none clang-17_128663_stack
211 8973593 0x7fffffdf7000 0x7fffffdff000 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 ------------------------------------------------------------