From fa12bd3c2e51db22181e536ad8c21010a952abb5 Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Tue, 14 Jan 2020 10:30:30 +0000 Subject: pkg/report: Add the calling function to sx reports These can fail in many functions, include the calling function in the report --- pkg/report/testdata/freebsd/report/12 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pkg/report/testdata/freebsd/report/12 (limited to 'pkg/report/testdata') diff --git a/pkg/report/testdata/freebsd/report/12 b/pkg/report/testdata/freebsd/report/12 new file mode 100644 index 000000000..e357d6379 --- /dev/null +++ b/pkg/report/testdata/freebsd/report/12 @@ -0,0 +1,21 @@ +TITLE: panic: sx lock still held in solisten_proto + +panic: sx lock still held +cpuid = 0 +time = 1552762818 +KDB: stack backtrace: +db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe001fa45770 +vpanic() at vpanic+0x1e0/frame 0xfffffe001fa457d0 +panic() at panic+0x43/frame 0xfffffe001fa45830 +sx_destroy() at sx_destroy+0x5e/frame 0xfffffe001fa45850 +solisten_proto() at solisten_proto+0xde/frame 0xfffffe001fa458b0 +uipc_listen() at uipc_listen+0x124/frame 0xfffffe001fa45900 +solisten() at solisten+0x7a/frame 0xfffffe001fa45940 +kern_listen() at kern_listen+0x132/frame 0xfffffe001fa45980 +amd64_syscall() at amd64_syscall+0x436/frame 0xfffffe001fa45ab0 +fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe001fa45ab0 +--- syscall (0, FreeBSD ELF64, nosys), rip = 0x45c3ca, rsp = 0x7fffdffdcf88, rbp = 0x6bb140 --- +KDB: enter: panic +[ thread pid 794 tid 100167 ] +Stopped at kdb_enter+0x6a: movq $0,kdb_why + -- cgit mrf-deployment