MinocaOs / os

Other
0 stars 2 forks source link

Assertion Failure: KernelUsage PageFaults Mismatch #6

Closed Notoriousmb10 closed 5 days ago

Notoriousmb10 commented 5 days ago

Hello,

While we are porting mksh to Minoca OS, we found that our test suite hits an assertion inside kernel:

FAIL ./check.t:heredoc-tmpfile-5 Description: Check that heredoc temp files aren't removed too soon or too late. Backgrounded subshell command with here doc unexpected exit status 134 (signal 6), expected 0 unexpected stdout - got too little output wanted: A hi B Left overs: * got nothing unexpected stderr - got too much output wanted nothing got:

 *** Assertion Failure: KernelUsage->HardPageFaults <= KernelUsage->PageFaults
 *** File: /auto/working/14332/src/os/apps/libc/dynamic/resource.c, Line 388

�

[incomplete last line] FAIL ./check.t:heredoc-tmpfile-6 Description: Check that heredoc temp files aren't removed too soon or too late. Heredoc in pipeline. unexpected stdout - first difference: line 1, char 1 (wanted 0x48 ('H'), got 0x41 ('A') wanted: HI Left overs: got: A hLeft overs: OS version: 0.4-pc, downloaded from project home page.

MinocaOs commented 5 days ago

Thanks for reporting this. With your steps in hand I'm able to reproduce this as well. Let me see if I can figure out what's going on here.

Notoriousmb10 commented 5 days ago

Revert Back, Once This Is Solved :)

MinocaOs commented 5 days ago

i have change code base on #6

Notoriousmb10 commented 5 days ago

Thank You...:)

MinocaOs commented 5 days ago

This fixes #6