Re: dump(8) SEGVs in searchdir() on 7.4-stable

2023-12-17 Thread Otto Moerbeek
On Sun, Dec 17, 2023 at 10:02:49PM +0100, Alexander Klimov wrote: > Actually backup runs the whole script via doas as root. > > tower# su -ls /bin/ksh backup > tower$ ulimit -a > time(cpu-seconds)unlimited > file(blocks) unlimited > coredump(blocks) unlimited > data(kbytes)

Re: repeated NTP peers in OpenNTPD

2023-12-17 Thread Otto Moerbeek
On Sun, Dec 17, 2023 at 05:37:50PM +0100, Otto Moerbeek wrote: > On Fri, Dec 15, 2023 at 02:54:19PM +0100, Otto Moerbeek wrote: > > > On Sun, Dec 10, 2023 at 09:57:08AM +0100, Otto Moerbeek wrote: > > > > > On Fri, Dec 01, 2023 at 09:18:32PM +, guilherme.janc...@yandex.com > > > wrote: > >

Re: dump(8) SEGVs in searchdir() on 7.4-stable

2023-12-17 Thread Alexander Klimov
Actually backup runs the whole script via doas as root. tower# su -ls /bin/ksh backup tower$ ulimit -a time(cpu-seconds)unlimited file(blocks) unlimited coredump(blocks) unlimited data(kbytes) 3149824 stack(kbytes)4096 lockedmem(kbytes)87381 memory(kbytes)

Re: dump(8) SEGVs in searchdir() on 7.4-stable

2023-12-17 Thread Todd C . Miller
On Sun, 17 Dec 2023 21:32:05 +0100, Otto Moerbeek wrote: > This diff checks the allocations if a few pretty big tables. OK millert@ - todd

Re: dump(8) SEGVs in searchdir() on 7.4-stable

2023-12-17 Thread Alexander Klimov
On 17.12.23 19:19, Otto Moerbeek wrote: On Sun, Dec 17, 2023 at 07:07:40PM +0100, Otto Moerbeek wrote: On Sun, Dec 17, 2023 at 06:55:27PM +0100, Alexander Klimov wrote: Much better! Program terminated with signal 11, Segmentation fault. #0 0x08e920ed287f in searchdir (ino=7946491,

Re: dump(8) SEGVs in searchdir() on 7.4-stable

2023-12-17 Thread Otto Moerbeek
This diff checks the allocations if a few pretty big tables. -Otto Index: main.c === RCS file: /home/cvs/src/sbin/dump/main.c,v diff -u -p -r1.63 main.c --- main.c 2 Jun 2022 15:35:55 - 1.63 +++ main.c

Re: dump(8) SEGVs in searchdir() on 7.4-stable

2023-12-17 Thread Otto Moerbeek
On Sun, Dec 17, 2023 at 08:23:53PM +0100, Alexander Klimov wrote: > > > On 17.12.23 19:19, Otto Moerbeek wrote: > > On Sun, Dec 17, 2023 at 07:07:40PM +0100, Otto Moerbeek wrote: > > > > > On Sun, Dec 17, 2023 at 06:55:27PM +0100, Alexander Klimov wrote: > > > > > > > Much better! > > > > >

Re: dump(8) SEGVs in searchdir() on 7.4-stable

2023-12-17 Thread Alexander Klimov
Much better! Program terminated with signal 11, Segmentation fault. #0 0x08e920ed287f in searchdir (ino=7946491, blkno=Unhandled dwarf expression opcode 0xa3 ) at /usr/src/sbin/dump/traverse.c:474 474 if (TSTINO(dp->d_ino, dumpinomap)) { (gdb) info locals

Re: dump(8) SEGVs in searchdir() on 7.4-stable

2023-12-17 Thread Otto Moerbeek
On Sun, Dec 17, 2023 at 07:07:40PM +0100, Otto Moerbeek wrote: > On Sun, Dec 17, 2023 at 06:55:27PM +0100, Alexander Klimov wrote: > > > Much better! > > > > Program terminated with signal 11, Segmentation fault. > > #0 0x08e920ed287f in searchdir (ino=7946491, blkno=Unhandled dwarf > >

Re: dump(8) SEGVs in searchdir() on 7.4-stable

2023-12-17 Thread Otto Moerbeek
On Sun, Dec 17, 2023 at 06:55:27PM +0100, Alexander Klimov wrote: > Much better! > > Program terminated with signal 11, Segmentation fault. > #0 0x08e920ed287f in searchdir (ino=7946491, blkno=Unhandled dwarf > expression opcode 0xa3 > ) > at /usr/src/sbin/dump/traverse.c:474 > 474

Re: repeated NTP peers in OpenNTPD

2023-12-17 Thread Otto Moerbeek
On Fri, Dec 15, 2023 at 02:54:19PM +0100, Otto Moerbeek wrote: > On Sun, Dec 10, 2023 at 09:57:08AM +0100, Otto Moerbeek wrote: > > > On Fri, Dec 01, 2023 at 09:18:32PM +, guilherme.janc...@yandex.com > > wrote: > > > > > >Synopsis:Repeated NTP peers in OpenNTPD > > > >Category:

Re: dump(8) SEGVs in searchdir() on 7.4-stable

2023-12-17 Thread Otto Moerbeek
On Sun, Dec 17, 2023 at 02:33:18PM +0100, Alexander Klimov wrote: > Hello devs! > > This year dump(8) already crashed three times. > Fortunately that produced core dumps. > But unfortunately debugging symbols are missing: > > tower# find /raid1/backups/tower -name dump.core >

dump(8) SEGVs in searchdir() on 7.4-stable

2023-12-17 Thread Alexander Klimov
Hello devs! This year dump(8) already crashed three times. Fortunately that produced core dumps. But unfortunately debugging symbols are missing: tower# find /raid1/backups/tower -name dump.core /raid1/backups/tower/2023/05/26/dump.core /raid1/backups/tower/2023/09/21/dump.core