Repository navigation
Open
Description
I found two sets of propolis core files on a certain sled after running the "parking" script that halted and uninstalled all zones on the sled.
Here are the core files of two specific propolis zones - there are 5 occurrences for each of them:
root@oxz_switch0:~# pilot host exec -c 'ls -lh /pool/*/*/crypt/debug/core\.* || true' 0-31
7 BRM27230045 ok:
8 BRM44220011 ok:
9 BRM44220005 ok: -rw-r--r-- 1 root root 309M Dec 14 2024 /pool/ext/f8b11629-ced6-412a-9c3f-d169b99ee996/crypt/debug/core.oxz_propolis-server_0807fc69-c1ad-4768-9cb6-9c54746b36d5.propolis-server.14698.1734168037
-rw-r--r-- 1 root root 69.4M Dec 14 2024 /pool/ext/f8b11629-ced6-412a-9c3f-d169b99ee996/crypt/debug/core.oxz_propolis-server_0807fc69-c1ad-4768-9cb6-9c54746b36d5.propolis-server.18482.1734168039
-rw-r--r-- 1 root root 69.4M Dec 14 2024 /pool/ext/f8b11629-ced6-412a-9c3f-d169b99ee996/crypt/debug/core.oxz_propolis-server_0807fc69-c1ad-4768-9cb6-9c54746b36d5.propolis-server.18516.1734168040
-rw-r--r-- 1 root root 69.4M Dec 14 2024 /pool/ext/f8b11629-ced6-412a-9c3f-d169b99ee996/crypt/debug/core.oxz_propolis-server_0807fc69-c1ad-4768-9cb6-9c54746b36d5.propolis-server.18551.1734168040
-rw-r--r-- 1 root root 69.4M Dec 14 2024 /pool/ext/f8b11629-ced6-412a-9c3f-d169b99ee996/crypt/debug/core.oxz_propolis-server_0807fc69-c1ad-4768-9cb6-9c54746b36d5.propolis-server.18571.1734168041
-rw-r--r-- 1 root root 186M Dec 14 2024 /pool/ext/f8b11629-ced6-412a-9c3f-d169b99ee996/crypt/debug/core.oxz_propolis-server_75e401d6-7502-4231-b30c-b2bfa32a1a6f.propolis-server.18383.1734168037
-rw-r--r-- 1 root root 69.4M Dec 14 2024 /pool/ext/f8b11629-ced6-412a-9c3f-d169b99ee996/crypt/debug/core.oxz_propolis-server_75e401d6-7502-4231-b30c-b2bfa32a1a6f.propolis-server.18453.1734168038
-rw-r--r-- 1 root root 69.4M Dec 14 2024 /pool/ext/f8b11629-ced6-412a-9c3f-d169b99ee996/crypt/debug/core.oxz_propolis-server_75e401d6-7502-4231-b30c-b2bfa32a1a6f.propolis-server.18487.1734168039
-rw-r--r-- 1 root root 69.4M Dec 14 2024 /pool/ext/f8b11629-ced6-412a-9c3f-d169b99ee996/crypt/debug/core.oxz_propolis-server_75e401d6-7502-4231-b30c-b2bfa32a1a6f.propolis-server.18521.1734168040
-rw-r--r-- 1 root root 69.4M Dec 14 2024 /pool/ext/f8b11629-ced6-412a-9c3f-d169b99ee996/crypt/debug/core.oxz_propolis-server_75e401d6-7502-4231-b30c-b2bfa32a1a6f.propolis-server.18554.1734168040
10 BRM42220009 ok:
...
The stacks appear identical and here is one of them:
BRM44220005 # mdb /pool/ext/f8b11629-ced6-412a-9c3f-d169b99ee996/crypt/debug/core.oxz_propolis-server_75e401d6-7502-4231-b30c-b2bfa32a1a6f.propolis-server.18554.1734168040
Loading modules: [ libumem.so.1 libnvpair.so.1 libc.so.1 ld.so.1 ]
> $C ! demangle
fffff5ffeddffa20 libc.so.1`_lwp_kill+0xa()
fffff5ffeddffa50 libc.so.1`raise+0x22(6)
fffff5ffeddffaa0 libc.so.1`abort+0x58()
fffff5ffeddffab0 0x28c9ab9()
fffff5ffeddffac0 0x28c9aa9()
fffff5ffeddffb20 rust_panic+0xd()
fffff5ffeddffbe0 std::panicking::rust_panic_with_hook::h503ea5292ea6f2f4+0x231()
fffff5ffeddffc20 std::panicking::begin_panic_handler::{{closure}}::h2eb8efd06bcdc46a+0x98()
fffff5ffeddffc30 0x28b0699()
fffff5ffeddffc60 0x28b2d3c()
fffff5ffeddffc90 0x28f7f6f()
fffff5ffeddffd70 0xf881f7()
fffff5ffeddffee0 std::sys::backtrace::__rust_begin_short_backtrace::h68463c8dc06c772b+0xd6()
fffff5ffeddfff60 core::ops::function::FnOnce::call_once{{vtable.shim}}::hc5463a0161650b1d+0xa3()
fffff5ffeddfffb0 std::sys::pal::unix::thread::Thread::new::thread_start::he13a45effb26dfc6+0x2b()
fffff5ffeddfffe0 libc.so.1`_thrp_setup+0x77(fffff5ffeef30240)
fffff5ffeddffff0 libc.so.1`_lwp_start()
Metadata
Metadata
Assignees
Labels
No labels
Activity
askfongjojo commentedon Dec 14, 2024
I uploaded an instance of the core files for each propolis zone to
/staff/core/propolis-827.askfongjojo commentedon Dec 14, 2024
The two instances have been running for some time and most likely didn't have any new processes in them that triggered new guest OS-related failures:
Unfortunately, their propolis logs were destroyed as part of the zone uninstall so all we have for debugging are the core files.
leftwo commentedon Dec 15, 2024
This is, unfortunate, yes.
I wonder if we could, as part of the parking, force an archive/rotation of the logs? Though, if the panic happens at the time of zone uninstall archiving logs is not going to catch that. Perhaps things were in a non normal state that contributed to the panic and the pre-logs would be a clue. As far as I know, we have not seen core files from running propolis during a rack parking previously.
As a second thing to try, we could spin up instances on a raclkette and then park it and see if we can get a panic, perhaps while tailing the propolis log from the global zone.
Third, it's possible crucible came off the rails if things are not shut down "properly", i.e tasks just dying at unexpected moments and, while not ideal, may not be an actual problem given that we are parking the rack. None the less, it should be understood.
jclulow commentedon Dec 15, 2024
Perhaps we ought to add an in-memory ring buffer of recent log records, in such a way that it could be fished out easily from the core file?
askfongjojo commentedon Dec 15, 2024
Related:
oxidecomputer/omicron#7012
oxidecomputer/omicron#4906
oxidecomputer/omicron#3860
askfongjojo commentedon Jan 31, 2025
Given this issue hasn't shown up since it was reported, I'm moving it to "unscheduled" since it's not very actionable at this time.
askfongjojo commentedon Jan 19, 2026
Propolis panics still exist but the stack is different:
The update was from version
18.0.0-0.ci+gitf507a3057c7to18.0.0-0.ci+git4175bf66d6cusing nexus-driven update.iximeow commentedon Jan 21, 2026
@askfongjojo the new cores are #1019, which i'm pretty sure is a different issue from the initial cores here. i'll move this core over and i've removed this from the 18 milestone in favor of #1019. and at some point hopefully soon i can see what the heck happened with the old cores too...
iximeow commentedon Jan 31, 2026
re. the earlier cores: both of these are a panic in
AsyncRecord::log_to. between then and now the change for mdb to infer right function for a no-return call has made the same cores much more obvious:this is basically the same thing Alan saw even this week in cores from other binaries. in builds with unwinding panics it looks like slog expects to catch panics at least since slog-async 2.8.0. but we
panic="abort", so, yknow. i think what's happened here is thatdrain.log()must, for theD: Drainwe have, include an unwrap that we hit. inpropolis-serverthat'sslog_bunyan, plumbed tostd::io::stdout()! lets see..