Hello kirill,

DEBUG isn't an option that's generally enabled for the whole kernel...
see below.

I'd recommend to not report such bugs, if you have fixes why not, but it's
not supported.

On 15/11/25(Sat) 23:08, Kirill A. Korinsky wrote:
> [...]
> panic: kernel diagnostic assertion "pg->uobject == NULL" failed: file 
> "/usr/src

That's because uvm/uvm_page.c set pg->uobject to 0xdeadbeef when DEBUG
is set and uvm/uvm_pmemrange.c has never been tested against that.

> /sys/uvm/uvm_pmemrange.c", line 1306
> Stopped at      panic+0xfe:     addi    a0,zero,256    TID    PID    UID     
> PR
> FLAGS     PFLAGS  CPU  COMMAND
> *     0      0      0     0x10000      0x200    0K swapper
> panic() at panic+0xfe
> panic() at panic
> uvm_wakeup_pla() at uvm_wakeup_pla
> uvm_uarea_alloc() at uvm_uarea_alloc+0x98
> fork1() at fork1+0x158
> main() at main+0x42c
> get_physmem() at get_physmem
> end trace frame: 0x0, count: 8
> https://www.openbsd.org/ddb.html describes the minimum info required in bug
> reports.  Insufficient info makes it difficult to find and fix bugs.
> ddb{0}>  
> 
> 
> -- 
> wbr, Kirill
> 


Reply via email to