Re: Bug in awk script...

2022-12-25 Thread Crystal Kolipe
On Mon, Dec 26, 2022 at 06:03:42AM +0800, wuwow...@gmail.com wrote: > Sad... Not working... > OpenBSD 7.1 > > #!/usr/bin/awk -f > BEGIN { >     d = "/tmp/test/"; >     system("mkdir -p " d); >     i = -1; >     while (++i < 1000) { > f = d i; > printf("") > f; > } > } > >

Bug in awk script...

2022-12-25 Thread wuwow...@gmail.com
Sad... Not working... OpenBSD 7.1 #!/usr/bin/awk -f BEGIN {     d = "/tmp/test/";     system("mkdir -p " d);     i = -1;     while (++i < 1000) { f = d i; printf("") > f; } } awk: can't open file /tmp/wow/125 It' seems that "one true awk" is buggy...

Re: Bug in awk script...

2022-12-25 Thread Theo Buehler
On Mon, Dec 26, 2022 at 06:03:42AM +0800, wuwow...@gmail.com wrote: > Sad... Not working... > OpenBSD 7.1 > > #!/usr/bin/awk -f > BEGIN { >     d = "/tmp/test/"; >     system("mkdir -p " d); >     i = -1; >     while (++i < 1000) { > f = d i; > printf("") > f; This opens f and

Re: pf_state_export crash

2022-12-25 Thread Csillag Tamas
My colleague also collected this: db{2}> trace pf_state_export(fd805a50dbd4,fd9511799e70) at pf_state_export+0x38 pfsync_sendout() at pfsync_sendout+0x5e4 pfsync_update_state(fd950ef406b0) at pfsync_update_state+0x15b pf_test(2,1,81ecd800,800022592408) at pf_test+0x117a

Re: pf_state_export crash

2022-12-25 Thread Csillag Tamas
hi, the crash repeated again uvm_fault(0x823ed470, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip 81e4c208 cs 8 rflags 10246 cr2 0 cpl 0 rsp 8000225a4060 gsbase 0x80001e119ff0 kgsbase 0x0 panic: trap type 6, code=0, pc=81e4c208

Re: pf_state_export crash

2022-12-25 Thread Hrvoje Popovski
On 26.12.2022. 5:06, Csillag Tamas wrote: > hi, > > the crash repeated again > > uvm_fault(0x823ed470, 0x0, 0, 1) -> e > fatal page fault in supervisor mode > trap type 6 code 0 rip 81e4c208 cs 8 rflags 10246 cr2 0 cpl 0 rsp > 8000225a4060 > gsbase 0x80001e119ff0