Can someone please decipher the below? I’ve been struggling with this for a couple of days.
It looks to me like a problem allocating space. This is occurring after just a few thread spawns (these threads have been confirmed to close fine - max 6 running in parallel - called ‘CommandThread’ when running. ‘user thread’ are the, now finished, CommandThreads.).
All ideas welcome. Thanks in advance.
Debug information for team /boot/home/git/Paladin/Paladin/Paladin.new (208413):
CPU(s): 6x Intel Core™ i7-8750H
Memory: 4.00 GiB total, 1.26 GiB used
Haiku revision: hrev53655 Dec 27 2019 07:20:24 (x86_64)
Active Threads:
thread 208413: Paladin.new (main)
thread 208414: team 208413 debug task
thread 208463: w>Paladin: Paladin
thread 208465: build thread
thread 208466: build thread
thread 208469: build thread
thread 208470: build thread
thread 208471: user thread
thread 208472: CommandThread
thread 208473: user thread
thread 208474: CommandThread
thread 208468: build thread
state: Debugged
Frame IP Function Name
-----------------------------------------------
00000000 0x32ccb833a2 _kern_resize_area + 0xa
Disassembly:
_kern_resize_area:
0x00000032ccb83398: 4989ca mov %rcx, %r10
0x00000032ccb8339b: 48c7c0c6000000 mov $0xc6, %rax
0x00000032ccb833a2: 0f05 syscall <--
0x7f372a394350 0x32ccc28de4 BPrivate::hoardSbrk(long) + 0x234
0x7f372a394390 0x32ccc2adea BPrivate::superblock::makeSuperblock(int, BPrivate::processHeap*) + 0xea
0x7f372a3943f0 0x32ccc2af78 BPrivate::threadHeap::malloc(unsigned long) + 0xa8
0x7f372a394410 0x32ccc2b78b malloc + 0x9b
0x7f372a394420 0x193e98d9ea0 ?
0x1c810fd9bea 0x193e9904240 ?
0x48535441e5894855 0x8948000002b0ec81 ?
Registers:
rip: 0x00000032ccb833a4
rsp: 0x00007f372a394308
rbp: 0x00007f372a394340
rax: 0x0000000000000000
rbx: 0x0000000000020000
rcx: 0x00000032ccb833a4
rdx: 0x0000000000000000
rsi: 0x0000000000180000
rdi: 0x0000000000a15e2d
r8: 0x0000000000000007
r9: 0x0000000000000007
r10: 0x00000193e98e8bd0
r11: 0x0000000000003287
r12: 0x0000000000180000
r13: 0x0000000000000003
r14: 0x0000000000152880
r15: 0x00000193e98565f0
cs: 0x002b
ds: 0x0000
es: 0x0000
fs: 0x0000
gs: 0x0000
ss: 0x0023
st0: 0
st1: 0
st2: 0
st3: 0
st4: 0
st5: 0
st6: 0
st7: 0
mm0: {0, 0, 0, 0}
mm1: {0, 0, 0, 0}
mm2: {0, 0, 0, 0}
mm3: {0, 0, 0, 0}
mm4: {0, 0, 0, 0}
mm5: {0, 0, 0, 0}
mm6: {0, 0, 0, 0}
mm7: {0, 0, 0, 0}
xmm0: {0, 0, 0, 0, 0, 0, 0, 0}
xmm1: {0, 0, 0, 0, 0, 0, 0, 0}
xmm2: {0, 0, 0, 0, 0, 0, 0, 0}
xmm3: {0, 0, 0, 0, 0, 0, 0, 0}
xmm4: {0, 0, 0, 0, 0, 0, 0, 0}
xmm5: {0, 0, 0, 0, 0, 0, 0, 0}
xmm6: {0, 0, 0, 0, 0, 0, 0, 0}
xmm7: {0, 0, 0, 0, 0, 0, 0, 0}
xmm8: {0, 0, 0, 0, 0, 0, 0, 0}
xmm9: {0, 0, 0, 0, 0, 0, 0, 0}
xmm10: {0, 0, 0, 0, 0, 0, 0, 0}
xmm11: {0, 0, 0, 0, 0, 0, 0, 0}
xmm12: {0, 0, 0, 0, 0, 0, 0, 0}
xmm13: {0, 0, 0, 0, 0, 0, 0, 0}
xmm14: {0, 0, 0, 0, 0, 0, 0, 0}
xmm15: {0, 0, 0, 0, 0, 0, 0, 0}
Loaded Images:
ID Text Base Text End Data Base Data End Type Name
--------------------------------------------------------------------------------
3666251 0x2b1cebe000 0x2b1d07c000 0x2b1d27c000 0x2b1d297000 lib /boot/system/lib/libtracker.so
3666250 0x32ccb41000 0x32ccc9f000 0x32cce9e000 0x32ccef1000 lib /boot/system/lib/libroot.so
3666259 0x4778fd2000 0x4778fdd000 0x47791dd000 0x47791de000 lib /boot/system/lib/libiculx.so.57.1
3666264 0x951de29000 0x951df24000 0x951e123000 0x951e126000 lib /boot/system/lib/libtextencoding.so
3666263 0x95faf88000 0x95fb051000 0x95fb250000 0x95fb251000 lib /boot/system/lib/libzstd.so.1.4.4
3666254 0xbc92851000 0xbc92867000 0xbc92a66000 0xbc92a67000 lib /boot/system/lib/libgcc_s.so.1
3666248 0xc7142d5000 0xc7145e9000 0xc7147e8000 0xc714816000 lib /boot/system/lib/libbe.so
3666262 0xf46f382000 0xf46f39e000 0xf46f59d000 0xf46f59e000 lib /boot/system/lib/libz.so.1.2.11
3666256 0x104e0c87000 0x104e0f04000 0x104e1103000 0x104e1118000 lib /boot/system/lib/libicui18n.so.57.1
3666255 0x10b32518000 0x10b33d96000 0x10b33f95000 0x10b33f96000 lib /boot/system/lib/libicudata.so.57.1
3666257 0x111ebde0000 0x111ebdec000 0x111ebfeb000 0x111ebfed000 lib /boot/system/lib/libicuio.so.57.1
3666252 0x11441579000 0x1144158e000 0x1144178d000 0x1144178f000 lib /boot/system/lib/libtranslation.so
3666249 0x144bbc8d000 0x144bbcd1000 0x144bbed1000 0x144bbed2000 lib /boot/system/lib/libpcre.so.1.2.11
3666246 0x14707abd000 0x14707ade000 0x14707cdd000 0x14707cdf000 lib /boot/system/runtime_loader
3666261 0x18b7bdcd000 0x18b7bf65000 0x18b7c164000 0x18b7c179000 lib /boot/system/lib/libicuuc.so.57.1
3666253 0x1b2409a4000 0x1b240b06000 0x1b240d06000 0x1b240d1a000 lib /boot/system/lib/libstdc++.so.6.0.25
3666260 0x1c1f4756000 0x1c1f4785000 0x1c1f4985000 0x1c1f49b9000 lib /boot/system/lib/libicutu.so.57.1
3666247 0x1c810f27000 0x1c81102b000 0x1c81122a000 0x1c811238000 app /boot/home/git/Paladin/Paladin/Paladin.new
3666258 0x243cd364000 0x243cd3b9000 0x243cd5b9000 0x243cd5bc000 lib /boot/system/lib/libicule.so.57.1
3666245 0x7fa64cdee000 0x7fa64cdf6000 0x00000000 0x00000000 system commpage
Areas:
ID Base End Size (KiB) Protection Locking Name
--------------------------------------------------------------------------------
Protection Flags: r - read, w - write, x - execute, s - stack, o - overcommit, c - cloneable, S - shared, k - kernel
Semaphores:
ID Count Last Holder Name
------------------------------------------------------------