[Bug 296395] Core dumps from top, pkg, cron, tzsetup, ... on Raspberry Pi Zero 2 W
[email protected] Tue, 30 Jun 2026 07:30:09 +0000
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D296395
Bug ID: 296395
Summary: Core dumps from top, pkg, cron, tzsetup, ... on
Raspberry Pi Zero 2 W
Product: Base System
Version: 15.1-RELEASE
Hardware: arm64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: arm
Assignee: [email protected]
Reporter: [email protected]
Created attachment 272281
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D272281&action=
=3Dedit
top core
Running FreeBSD 15.1-RELEASE on a Raspberry Pi Zero 2 W (installed from the
official image), several base programs like top, pkg, cron, zsh, tzsetup, .=
..
core dump frequently:
root@dns2:~ # grep core /var/log/messages
Jun 12 12:55:48 generic kernel: pid 113 (growfs), jid 0, uid 0: exited on
signal 11 (no core dump - other error)
Jun 22 13:42:24 dns2 kernel: pid 3338 (zsh), jid 0, uid 0: exited on signal=
11
(core dumped)
Jun 22 13:42:33 dns2 kernel: pid 3357 (zsh), jid 0, uid 0: exited on signal=
11
(core dumped)
Jun 22 13:49:31 dns2 kernel: pid 2665 (ntpd), jid 0, uid 233: exited on sig=
nal
11 (no core dump - sugid process denied by kern.sugid_coredump)
Jun 22 13:51:12 dns2 kernel: pid 2025 (zsh), jid 0, uid 1002: exited on sig=
nal
11 (core dumped)
Jun 22 14:08:48 dns2 kernel: pid 1762 (ntpd), jid 0, uid 233: exited on sig=
nal
11 (no core dump - sugid process denied by kern.sugid_coredump)
Jun 23 03:29:29 dns2 kernel: pid 3898 (pkg), jid 0, uid 0: exited on signal=
11
(core dumped)
Jun 23 12:21:04 dns2 kernel: pid 4790 (tzsetup), jid 0, uid 1002: exited on
signal 11 (core dumped)
Jun 23 16:14:39 dns2 kernel: pid 5139 (top), jid 0, uid 0: exited on signal=
11
(core dumped)
Jun 23 23:55:00 dns2 kernel: pid 5771 (cron), jid 0, uid 0: exited on signa=
l 11
(no core dump - sugid process denied by kern.sugid_coredump)
Jun 24 03:45:14 dns2 kernel: pid 6521 (pkg), jid 0, uid 0: exited on signal=
11
(core dumped)
Jun 25 03:01:17 dns2 kernel: pid 9504 (pkg), jid 0, uid 0: exited on signal=
11
(core dumped)
Jun 25 12:30:42 dns2 kernel: pid 10419 (top), jid 0, uid 1002: exited on si=
gnal
11 (core dumped)
Jun 25 17:44:00 dns2 kernel: pid 11373 (cron), jid 0, uid 0: exited on sign=
al
11 (no core dump - sugid process denied by kern.sugid_coredump)
Jun 25 19:30:11 dns2 kernel: pid 11518 (top), jid 0, uid 0: exited on signa=
l 11
(core dumped)
Jun 26 03:27:25 dns2 kernel: pid 12611 (pkg), jid 0, uid 0: exited on signa=
l 11
(core dumped)
Jun 27 03:34:13 dns2 kernel: pid 15110 (pkg), jid 0, uid 0: exited on signa=
l 11
(core dumped)
Jun 27 07:55:00 dns2 kernel: pid 15768 (cron), jid 0, uid 0: exited on sign=
al
11 (no core dump - sugid process denied by kern.sugid_coredump)
Jun 28 03:01:16 dns2 kernel: pid 17755 (pkg), jid 0, uid 0: exited on signa=
l 11
(core dumped)
Jun 29 03:06:44 dns2 kernel: pid 20276 (pkg), jid 0, uid 0: exited on signa=
l 11
(core dumped)
Jun 29 15:15:00 dns2 kernel: pid 21403 (cron), jid 0, uid 0: exited on sign=
al
11 (no core dump - sugid process denied by kern.sugid_coredump)
Jun 30 03:01:23 dns2 kernel: pid 22794 (pkg), jid 0, uid 0: exited on signa=
l 11
(core dumped)
root@dns2:~ #=20
I'm attaching a core from top, I can provide other cores if necessary.
Backtrace of the core shows:
root@dns2:~ # gdb top top.core
GNU gdb (GDB) 15.1 [GDB v15.1 for FreeBSD]
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.htm=
l>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-portbld-freebsd15.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from top...
Reading symbols from /usr/lib/debug//usr/bin/top.debug...
[New LWP 100121]
Core was generated by `top -a'.
Program terminated with signal SIGSEGV, Segmentation fault.
Invalid permissions for mapped object.
#0 0x00000e018873c004 in __get_locale () at
/usr/src/lib/libc/stdio/vsprintf.c:52
warning: 52 /usr/src/lib/libc/stdio/vsprintf.c: No such file or directo=
ry
(gdb) bt full
#0 0x00000e018873c004 in __get_locale () at
/usr/src/lib/libc/stdio/vsprintf.c:52
No locals.
#1 vsprintf (str=3D0xe01853ae538 "select", fmt=3D0xe0104643a89 "%.6s", ap=
=3D...) at
/usr/src/lib/libc/stdio/vsprintf.c:67
No locals.
#2 0x00000e0188731090 in sprintf (str=3D0xe01853ae538 "select",
fmt=3D0xe0104643a89 "%.6s") at /usr/src/lib/libc/stdio/sprintf.c:55
ap =3D {__stack =3D 0xe01853ae480, __gr_top =3D 0xe01853ae410, __vr=
_top =3D
0xe01853ae3e0, __gr_offs =3D -48, __vr_offs =3D -128}
ret =3D <optimized out>
#3 0x00000e010465ba04 in format_next_process (xhandle=3D<optimized out>,
xhandle@entry=3D0xe0104681fc0 <handle>,=20
get_userid=3Dget_userid@entry=3D0xe010465fa80 <username>, flags=3D1) at
/usr/src/usr.bin/top/machine.c:1115
procbuf =3D 0xeb137040190
status =3D "select\000\000\3501\201\210\001\016\000\000=D7=B1\n7\26=
1\016"
cmdbuf =3D 0x0
ru =3D {ru_utime =3D {tv_sec =3D 0, tv_usec =3D 0}, ru_stime =3D {t=
v_sec =3D 0,
tv_usec =3D 0}, ru_maxrss =3D 0, ru_ixrss =3D 0, ru_idrss =3D 0,=20
ru_isrss =3D 0, ru_minflt =3D 0, ru_majflt =3D 0, ru_nswap =3D 0,=
ru_inblock
=3D 0, ru_oublock =3D 0, ru_msgsnd =3D 0, ru_msgrcv =3D 0,=20
ru_nsignals =3D 0, ru_nvcsw =3D -902229251797279410, ru_nivcsw =3D
15399692985712}
pp =3D 0xeb1370bc240
state =3D <optimized out>
cputime =3D <optimized out>
args =3D <optimized out>
oldp =3D <optimized out>
rup =3D <optimized out>
p_tot =3D <optimized out>
s_tot =3D <optimized out>
#4 0x00000e010465e57c in main (argc=3D1, argv=3D0xe010465fa80 <username>) =
at
/usr/src/usr.bin/top/top.c:660
tempbuf1 =3D '\000' <repeats 49 times>
tempbuf2 =3D '\000' <repeats 49 times>
system_info =3D {last_pid =3D 11520, load_avg =3D {0, 0, 0}, p_tota=
l =3D 29,
p_pactive =3D 29, procstates =3D 0xe0104681f80 <process_states>,=20
cpustates =3D 0xe0104681e34 <cpu_states>, memory =3D 0xe0104681ec0
<memory_stats>, arc =3D 0x0, carc =3D 0x0,=20
swap =3D 0xe0104681edc <swap_stats>, boottime =3D {tv_sec =3D 178=
2145905,
tv_usec =3D 604981}, battery =3D 0, ncpus =3D 1}
statics =3D {procstate_names =3D 0xe0104681538 <procstatenames>,
cpustate_names =3D 0xe0104681580 <cpustatenames>,=20
memory_names =3D 0xe01046815b0 <memorynames>, arc_names =3D 0x0,
carc_names =3D 0x0, swap_names =3D 0xe0104681640 <swapnames>,=20
order_names =3D 0x0, nbatteries =3D 0, ncpus =3D 4}
old_sigmask =3D {__bits =3D {0, 0, 0, 0}}
new_sigmask =3D {__bits =3D {131078, 0, 0, 0}}
curr_time =3D 1782415811
preset_argc =3D 0
ch =3D 96 '`'
--Type <RET> for more, q to quit, c to continue without paging--
readfds =3D {__fds_bits =3D {0 <repeats 16 times>}}
nptr =3D 0x0
sel_ret =3D <optimized out>
displays =3D -1
delay =3D {tv_sec =3D 2, tv_usec =3D 0}
topn =3D 2147483647
timeout =3D <optimized out>
sort_info =3D 0xe0104670ca8 <sortdata>
order_name =3D 0xeb137008000 " PID USERNAME THR PRI NICE SIZE=
=20=20=20
RES STATE C TIME WCPU COMMAND"
no_command =3D <optimized out>
topn_specified =3D 0 '\000'
warnings =3D <optimized out>
interactive =3D <optimized out>
do_unames =3D <optimized out>
ac =3D <optimized out>
av =3D <optimized out>
uname_field =3D 0xe010464469e "USERNAME"
get_userid =3D 0xe010465fa80 <username>
env_top =3D <optimized out>
preset_argv =3D <optimized out>
i =3D 12
header_text =3D 0xeb137008000 " PID USERNAME THR PRI NICE SIZ=
E=20=20=20
RES STATE C TIME WCPU COMMAND"
processes =3D 0xe0104681fc0 <handle>
active_procs =3D 29
restart =3D <optimized out>
(gdb)=20
(gdb) quit
root@dns2:~ #
--=20
You are receiving this mail because:
You are the assignee for the bug.=