Ticket #18598: date-9346-debug-25-09-2023-09-18-50.report

File date-9346-debug-25-09-2023-09-18-50.report, 13.2 KB (added by bipolar, 14 months ago)

/bin/date crash

Line 
1Debug information for team /boot/system/bin/date (9346):
2CPU(s): 4x AMD Phenom II
3Memory: 3.00 GiB total, 680.09 MiB used
4Haiku revision: hrev56578+87 Jul 26 2023 06:02: (x86_64)
5
6Active Threads:
7 thread 9347: team 9346 debug task
8 thread 9346: date (main)
9 state: Exception (General protection fault)
10
11 Frame IP Function Name
12 -----------------------------------------------
13 0x7fe4f9a319b0 0x1769643d8f0 u_strToUTF8WithSub_66 + 0x140
14 Disassembly:
15 u_strToUTF8WithSub_66:
16 0x000001769643d7b0: 55 push %rbp
17 0x000001769643d7b1: 4c63d6 movsxd %esi, %r10
18 0x000001769643d7b4: 31c0 xor %eax, %eax
19 0x000001769643d7b6: 4d89d3 mov %r10, %r11
20 0x000001769643d7b9: 4901fa add %rdi, %r10
21 0x000001769643d7bc: 4889e5 mov %rsp, %rbp
22 0x000001769643d7bf: 4157 push %r15
23 0x000001769643d7c1: 4156 push %r14
24 0x000001769643d7c3: 4155 push %r13
25 0x000001769643d7c5: 4154 push %r12
26 0x000001769643d7c7: 53 push %rbx
27 0x000001769643d7c8: 4889fb mov %rdi, %rbx
28 0x000001769643d7cb: 4883ec18 sub $0x18, %rsp
29 0x000001769643d7cf: 488955c8 mov %rdx, -0x38(%rbp)
30 0x000001769643d7d3: 488b5518 mov 0x18(%rbp), %rdx
31 0x000001769643d7d7: 4885ff test %rdi, %rdi
32 0x000001769643d7da: 4c0f44d0 cmovz %rax, %r10
33 0x000001769643d7de: 8b12 mov (%rdx), %edx
34 0x000001769643d7e0: 85d2 test %edx, %edx
35 0x000001769643d7e2: 0f8fd4010000 jg 0x1769643d9bc
36 0x000001769643d7e8: 4889cf mov %rcx, %rdi
37 0x000001769643d7eb: 4885c9 test %rcx, %rcx
38 0x000001769643d7ee: 7509 jnz 0x9643d7f9
39 0x000001769643d7f0: 4585c0 test %r8d, %r8d
40 0x000001769643d7f3: 0f85b7010000 jnz 0x1769643d9b0
41 0x000001769643d7f9: 4183f8ff cmp $0xffffffff, %r8d
42 0x000001769643d7fd: 0f8cad010000 jl 0x1769643d9b0
43 0x000001769643d803: 4585db test %r11d, %r11d
44 0x000001769643d806: 0f88a4010000 js 0x1769643d9b0
45 0x000001769643d80c: 4885db test %rbx, %rbx
46 0x000001769643d80f: 0f94c2 setz %dl
47 0x000001769643d812: 4585db test %r11d, %r11d
48 0x000001769643d815: 0f9fc0 setg %al
49 0x000001769643d818: 84c2 test %al, %dl
50 0x000001769643d81a: 0f8590010000 jnz 0x1769643d9b0
51 0x000001769643d820: 4181f9ffff1000 cmp $0x10ffff, %r9d
52 0x000001769643d827: 0f8f83010000 jg 0x1769643d9b0
53 0x000001769643d82d: 4489c8 mov %r9d, %eax
54 0x000001769643d830: 2500f8ffff and $0xfffff800, %eax
55 0x000001769643d835: 3d00d80000 cmp $0xd800, %eax
56 0x000001769643d83a: 0f8470010000 jz 0x1769643d9b0
57 0x000001769643d840: 48837d1000 cmp $0x0, 0x10(%rbp)
58 0x000001769643d845: 740a jz 0x9643d851
59 0x000001769643d847: 488b4510 mov 0x10(%rbp), %rax
60 0x000001769643d84b: c70000000000 mov $0x0, (%rax)
61 0x000001769643d851: 4183f8ff cmp $0xffffffff, %r8d
62 0x000001769643d855: 0f847a040000 jz 0x1769643dcd5
63 0x000001769643d85b: 48b8565555555555 mov $0x5555555555555556, %rax
64 0x000001769643d865: 4c89d1 mov %r10, %rcx
65 0x000001769643d868: 4829d9 sub %rbx, %rcx
66 0x000001769643d86b: 48f7e9 imul %rcx
67 0x000001769643d86e: 48c1f93f sar $0x3f, %rcx
68 0x000001769643d872: 4829ca sub %rcx, %rdx
69 0x000001769643d875: 4885ff test %rdi, %rdi
70 0x000001769643d878: 0f844d010000 jz 0x1769643d9cb
71 0x000001769643d87e: 4963c0 movsxd %r8d, %rax
72 0x000001769643d881: 4801c0 add %rax, %rax
73 0x000001769643d884: 4c8d2407 lea (%rdi,%rax), %r12
74 0x000001769643d888: 48d1f8 sar $0x1, %rax
75 0x000001769643d88b: 39c2 cmp %eax, %edx
76 0x000001769643d88d: 0f4fd0 cmovg %eax, %edx
77 0x000001769643d890: 83fa02 cmp $0x2, %edx
78 0x000001769643d893: 0f8e20090000 jle 0x1769643e1b9
79 0x000001769643d899: 4489c8 mov %r9d, %eax
80 0x000001769643d89c: 4489c9 mov %r9d, %ecx
81 0x000001769643d89f: 4589cd mov %r9d, %r13d
82 0x000001769643d8a2: 4531c0 xor %r8d, %r8d
83 0x000001769643d8a5: c1f812 sar $0x12, %eax
84 0x000001769643d8a8: c1f90c sar $0xc, %ecx
85 0x000001769643d8ab: 4183e53f and $0x3f, %r13d
86 0x000001769643d8af: 83c8f0 or $0xfffffff0, %eax
87 0x000001769643d8b2: 4183cd80 or $0xffffff80, %r13d
88 0x000001769643d8b6: 8845c4 mov %al, -0x3c(%rbp)
89 0x000001769643d8b9: 89c8 mov %ecx, %eax
90 0x000001769643d8bb: 83c9e0 or $0xffffffe0, %ecx
91 0x000001769643d8be: 83e03f and $0x3f, %eax
92 0x000001769643d8c1: 884dc5 mov %cl, -0x3b(%rbp)
93 0x000001769643d8c4: 4889d9 mov %rbx, %rcx
94 0x000001769643d8c7: 83c880 or $0xffffff80, %eax
95 0x000001769643d8ca: 8845c3 mov %al, -0x3d(%rbp)
96 0x000001769643d8cd: 4489c8 mov %r9d, %eax
97 0x000001769643d8d0: c1f806 sar $0x6, %eax
98 0x000001769643d8d3: 89c6 mov %eax, %esi
99 0x000001769643d8d5: 83c8c0 or $0xffffffc0, %eax
100 0x000001769643d8d8: 83e63f and $0x3f, %esi
101 0x000001769643d8db: 8845c7 mov %al, -0x39(%rbp)
102 0x000001769643d8de: 83ce80 or $0xffffff80, %esi
103 0x000001769643d8e1: 408875c6 mov %sil, -0x3a(%rbp)
104 0x000001769643d8e5: eb18 jmp 0x1769643d8ff
105 0x000001769643d8e7: 660f1f8400000000 o16 nop (%rax,%rax)
106 0x000001769643d8f0: 408831 mov %sil, (%rcx) <--
107
108 Frame memory:
109 [0x7fe4f9a31960] .%.............. e6 25 00 8f f0 ef bf ff d8 19 a3 f9 e4 7f 00 00
110 [0x7fe4f9a31970] ........p....... 80 1a a3 f9 e4 7f 00 00 70 1e a3 f9 e4 7f 00 00
111 [0x7fe4f9a31980] P............... 50 1e a3 f9 e4 7f 00 00 03 00 00 00 00 00 00 00
112 [0x7fe4f9a31990] enos_Air........ 65 6e 6f 73 5f 41 69 72 d8 19 a3 f9 e4 7f 00 00
113 [0x7fe4f9a319a0] ..........C.v... 10 1e a3 f9 e4 7f 00 00 02 07 43 96 76 01 00 00
114 0x7fe4f9a31e20 0x176964306fd icu_66::UnicodeString::toUTF8(icu_66::ByteSink&) const + 0xcd
115 0x7fe4f9a31ef0 0x21fc157034f BPrivate::Libroot::ICUTimeConversion::TZSet(char const*, char const*) + 0x21f
116 0x7fe4f9a31f20 0x21fc156db89 BPrivate::Libroot::ICULocaleBackend::TZSet(char const*, char const*) + 0x29
117 0x7fe4f9a32050 0xd2383d51c tzset + 0xcc
118 0x7fe4f9a32070 0xd2383d563 localtime_r + 0x13
119 0x7fe4f9a32090 0xfcab8a2dbd localtime_rz + 0x2d
120 0x7fe4f9a32120 0xfcab897f64 show_date + 0x34
121 0x7fe4f9a32240 0xfcab897b1a main + 0x6ca
122 0x7fe4f9a32270 0xfcab897f1a _start + 0x3a
123 0x7fe4f9a322b0 0x9714a28ae3 runtime_loader + 0x103
124 00000000 0x7feed0dda258 commpage_thread_exit + 0
125
126 Registers:
127 rip: 0x000001769643d8f0
128 rsp: 0x00007fe4f9a31960
129 rbp: 0x00007fe4f9a319a0
130 rax: 0x0000000000000047
131 rbx: 0x7269415f736f6e65
132 rcx: 0x7269415f736f6e65
133 rdx: 0x0000000000000003
134 rsi: 0x0000000000000047
135 rdi: 0x00007fe4f9a31e7a
136 r8: 0x0000000000000000
137 r9: 0x000000000000fffd
138 r10: 0x7269415f736f6f65
139 r11: 0x0000000000000100
140 r12: 0x00007fe4f9a31e80
141 r13: 0x00000000ffffffbd
142 r14: 0x00007fe4f9a31e7c
143 r15: 0x00007fe4f9a319d8
144 cs: 0x002b
145 ds: 0x0000
146 es: 0x0000
147 fs: 0x0000
148 gs: 0x0000
149 ss: 0x0023
150 st0: 0
151 st1: 0
152 st2: 0
153 st3: 0
154 st4: 0
155 st5: 0.99
156 st6: 7.82e+05
157 st7: 9.42e+08
158 mm0: {0, 0, 0, 0}
159 mm1: {0, 0, 0, 0}
160 mm2: {0, 0, 0, 0}
161 mm3: {0, 0, 0, 0}
162 mm4: {0, 0, 0, 0}
163 mm5: {0x7000, 0xa3d, 0xa3d7, 0xfd70}
164 mm6: {0, 0, 0x3000, 0xbef8}
165 mm7: {0xfcea, 0x43da, 0xedae, 0xe0b0}
166 xmm0: {0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37}
167 xmm1: {0, 0, 0, 0, 0, 0, 0, 0}
168 xmm2: {0x5a2, 0x2000, 0x23c, 0, 0, 0, 0, 0}
169 xmm3: {0, 0, 0, 0, 0x1, 0x100, 0, 0}
170 xmm4: {0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39}
171 xmm5: {0, 0, 0, 0, 0, 0, 0, 0}
172 xmm6: {0, 0, 0, 0, 0, 0, 0, 0}
173 xmm7: {0, 0, 0, 0, 0, 0, 0, 0}
174 xmm8: {0, 0, 0, 0, 0, 0, 0, 0}
175 xmm9: {0, 0, 0, 0, 0, 0, 0, 0}
176 xmm10: {0, 0, 0, 0, 0, 0, 0, 0}
177 xmm11: {0, 0, 0, 0, 0, 0, 0, 0}
178 xmm12: {0, 0, 0, 0, 0, 0, 0, 0}
179 xmm13: {0, 0, 0, 0, 0, 0, 0, 0}
180 xmm14: {0, 0, 0, 0, 0, 0, 0, 0}
181 xmm15: {0, 0, 0, 0, 0, 0, 0, 0}
182
183Loaded Images:
184 ID Text Base Text End Data Base Data End Type Name
185 --------------------------------------------------------------------------------
186 155527 0xc7f477000 0xc7f6aa000 0xc7f6aa000 0xc7f6c0000 lib /boot/system/lib/libstdc++.so.6.0.32
187 155524 0xd23779000 0xd2388c000 0xd23a8b000 0xd23ade000 lib /boot/system/lib/libroot.so
188 155530 0x90b57b7000 0x90b57c3000 0x90b59c2000 0x90b59c4000 lib /boot/system/lib/libicuio.so.66.1
189 155528 0x951b624000 0x951b625000 0x951b824000 0x951b825000 lib /boot/system/lib/libicudata.so.66.1
190 155522 0x9714a19000 0x9714a36000 0x9714c36000 0x9714c37000 lib /boot/system/runtime_loader
191 155523 0xfcab892000 0xfcab8b0000 0xfcabaaf000 0xfcabab2000 app /boot/system/bin/date
192 155529 0x1608fe70000 0x16090167000 0x16090366000 0x1609037f000 lib /boot/system/lib/libicui18n.so.66.1
193 155531 0x17696358000 0x1769652c000 0x1769672c000 0x17696742000 lib /boot/system/lib/libicuuc.so.66.1
194 155525 0x1d18f321000 0x1d18f340000 0x1d18f340000 0x1d18f341000 lib /boot/system/lib/libgcc_s.so.1
195 155526 0x21fc1563000 0x21fc1575000 0x21fc1775000 0x21fc1776000 lib /boot/system/lib/libroot-addon-icu.so
196 155521 0x7feed0dda000 0x7feed0de2000 0x00000000 0x00000000 system commpage
197
198Areas:
199 ID Base End Size (KiB) Protection Locking Name
200 --------------------------------------------------------------------------------
201 485565 0xc7f477000 0xc7f6aa000 2252 r-x none libstdc++.so.6.0.32_seg0ro
202 485566 0xc7f6aa000 0xc7f6b8000 56 rw- none libstdc++.so.6.0.32_seg1rw
203 485567 0xc7f6b8000 0xc7f6c0000 32 rw- none libstdc++.so.6.0.32_seg2rw
204 485557 0xd23779000 0xd2388c000 1100 r-x none libroot.so_seg0ro
205 485558 0xd23a8b000 0xd23a99000 56 rw- none libroot.so_seg1rw
206 485559 0xd23a99000 0xd23ade000 276 rw- none libroot.so_seg2rw
207 485552 0xdec786000 0xdec796000 64 rw- none rld heap
208 485553 0x671f846000 0x671f847000 4 rw-cS none _rld_debug_
209 485578 0x8b82e02000 0x8b82e12000 64 rw- none rld heap
210 485579 0x8dd6a81000 0x8dd6a91000 64 rw- none rld heap
211 485580 0x900bc7d000 0x900bc95000 96 rw- none rld heap
212 485581 0x9018e22000 0x9018e3a000 96 rw- none rld heap
213 485582 0x90a8394000 0x90a9e4f000 27372 r--S none libicuuc.so.66 mmap area
214 485573 0x90b57b7000 0x90b57c3000 48 r-x none libicuio.so.66.1_seg0ro
215 485574 0x90b59c2000 0x90b59c4000 8 rw- none libicuio.so.66.1_seg1rw
216 485568 0x951b624000 0x951b625000 4 r-x none libicudata.so.66.1_seg0ro
217 485569 0x951b824000 0x951b825000 4 rw- none libicudata.so.66.1_seg1rw
218 485550 0x9714a19000 0x9714a36000 116 r-x none runtime_loader_seg0ro
219 485551 0x9714c36000 0x9714c37000 4 rw- none runtime_loader_seg1rw
220 485554 0xfcab892000 0xfcab8b0000 120 r-x none date_seg0ro
221 485555 0xfcabaaf000 0xfcabab1000 8 rw- none date_seg1rw
222 485556 0xfcabab1000 0xfcabab2000 4 rw- none date_seg2rw
223 485570 0x1608fe70000 0x16090167000 3036 r-x none libicui18n.so.66.1_seg0ro
224 485571 0x16090366000 0x1609037e000 96 rw- none libicui18n.so.66.1_seg1rw
225 485572 0x1609037e000 0x1609037f000 4 rw- none libicui18n.so.66.1_seg2rw
226 485575 0x17696358000 0x1769652c000 1872 r-x none libicuuc.so.66.1_seg0ro
227 485576 0x1769672c000 0x17696741000 84 rw- none libicuuc.so.66.1_seg1rw
228 485577 0x17696741000 0x17696742000 4 rw- none libicuuc.so.66.1_seg2rw
229 485560 0x1d18f321000 0x1d18f340000 124 r-x none libgcc_s.so.1_seg0ro
230 485561 0x1d18f340000 0x1d18f341000 4 rw- none libgcc_s.so.1_seg1rw
231 485563 0x21fc1563000 0x21fc1575000 72 r-x none libroot-addon-icu.so_seg0ro
232 485564 0x21fc1775000 0x21fc1776000 4 rw- none libroot-addon-icu.so_seg1rw
233 485562 0x11890259b000 0x11890264b000 704 rw- none heap
234 485548 0x7fe4f8a2f000 0x7fe4f9a35000 16408 rw-s none date_9346_stack
235 485549 0x7feed0dda000 0x7feed0de2000 32 r-xSk full commpage
236 485547 0x7ff8772c7000 0x7ff8772cb000 16 rw-k full user area
237
238Protection Flags: r - read, w - write, x - execute, s - stack, o - overcommit, c - cloneable, S - shared, k - kernel
239
240Semaphores:
241 ID Count Last Holder Name
242 ------------------------------------------------------------