Re: ktrace on NFSroot failing?

2022-03-25 Thread Rick Macklem
Rick Macklem wrote: > John Baldwin wrote: > > On 3/10/22 8:14 AM, Mateusz Guzik wrote: > > > On 3/10/22, Bjoern A. Zeeb wrote: > > >> Hi, > > >> > > >> I am having a weird issue with ktrace on an nfsroot machine: > > >> > > >> root:/tmp # ktrace sleep 1 > > >> root:/tmp # kdump > > >>

Re: ktrace on NFSroot failing?

2022-03-25 Thread Rick Macklem
John Baldwin wrote: > On 3/10/22 8:14 AM, Mateusz Guzik wrote: > > On 3/10/22, Bjoern A. Zeeb wrote: > >> Hi, > >> > >> I am having a weird issue with ktrace on an nfsroot machine: > >> > >> root:/tmp # ktrace sleep 1 > >> root:/tmp # kdump > >> -559038242 Events dropped. > >> kdump: bogus

Re: ktrace on NFSroot failing?

2022-03-25 Thread John Baldwin
On 3/10/22 8:14 AM, Mateusz Guzik wrote: On 3/10/22, Bjoern A. Zeeb wrote: Hi, I am having a weird issue with ktrace on an nfsroot machine: root:/tmp # ktrace sleep 1 root:/tmp # kdump -559038242 Events dropped. kdump: bogus length 0xdeadc0de Anyone seen something like this before? I

Re: Interrupted fputc followed by fprintf in _IOLBF mode causes core dump

2022-03-25 Thread Guy Yur
On Fri, Mar 25, 2022 at 5:50 PM Mark Johnston wrote: > > On Fri, Mar 25, 2022 at 03:18:40PM +0300, Guy Yur wrote: > > Hi, > > > > dhcpcd on head (Mar 24) and 13.1-BETA2 crashes in fprintf/__sfvwrite. > > It doesn't crash if If I revert the __sflush/__sfvwrite commits: > >

Re: Interrupted fputc followed by fprintf in _IOLBF mode causes core dump

2022-03-25 Thread Mark Johnston
On Fri, Mar 25, 2022 at 03:18:40PM +0300, Guy Yur wrote: > Hi, > > dhcpcd on head (Mar 24) and 13.1-BETA2 crashes in fprintf/__sfvwrite. > It doesn't crash if If I revert the __sflush/__sfvwrite commits: > 86a16ada1ea608408cec370171d9f59353e97c77 and > bafaa70b6f9098d83d074968c8e6747ecec1e118. >

Interrupted fputc followed by fprintf in _IOLBF mode causes core dump

2022-03-25 Thread Guy Yur
Hi, dhcpcd on head (Mar 24) and 13.1-BETA2 crashes in fprintf/__sfvwrite. It doesn't crash if If I revert the __sflush/__sfvwrite commits: 86a16ada1ea608408cec370171d9f59353e97c77 and bafaa70b6f9098d83d074968c8e6747ecec1e118. Stack trace: 0 memcpy () at