bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libdiskfs assertion failed


From: Joshua Branson
Subject: Re: libdiskfs assertion failed
Date: Thu, 14 Sep 2023 11:24:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu)

Sergey Bugaev <bugaevc@gmail.com> writes:

> On Wed, Jun 14, 2023, 20:38 Joshua Branson <jbranso@dismail.de> wrote:
>> Then I added this line above line 107 in extfs:
>> ../../libdiskfs/disk-pager.c
>>
>> if (scp->sc_error != EKERN_MEMORY_ERROR)
>>     fprintf(stderr, "error %d\n", scp->sc_error);
>>
>> Then I build the hurd via
>> cd hurd-09.git<NUMBERS>/
>> dpkg-buildpackage -us -uc -nc -b -rfakeroot
>> sudo dpkg -i ../*deb
>>
>> Then I rebooted.  Then I shut down the hurd, and I got the same error
>> message:
>>
>>
>> error 2
>> extfs: ../../libdiskfs/disk-pager.c:112: fault_handler: Assertion
>> 'scp->sc_error = 10' failed.
>> startup: halting Hurd...
>
> Error code 2 is KERN_PROTECTION_FAILURE, most likely writing to
> read-only memory. You should also print the faulting instruction
> address (scp->sc_eip) and the faulting address (sigcode). See how it's
> done in the error () call above.
>
> It would be easier for you to debug if you add an infinite loop after
> the fprintf, so the system would just hang at that point. Then you
> could attach GDB and inspect things.
>
> Sergey
>

I have not seen this error message for perhaps two or three weeks.  I'm
guessing someone fixed this tiny bug.  Thanks!

-- 

Joshua Branson
Sent from the Hurd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]