RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account
Forums → Bugs →

Obscure bug in FileCore

Subscribe to Obscure bug in FileCore 1 post, 1 voice

 
2 days ago
Avatar Jon Abbott (1421) 2461 posts

I spotted this serendipitously when mistakenly trying to create a directory on a drive that was reporting “Bad free space in Map”.

An Abort is triggered in FindErrBlock line 943 with R0=FFFFFFFE. R14 indicates it was called by OsFunEntry line 144 and that in turn was jumped too from line 70 when OSFunEntry was called with a bad Function number (FFFFFFFF it would seem.)

I believe the issue is OSFunBack not setting R0 to a valid FileCore error number or valid error pointer before calling FindErrBlock.

I’m not entirely sure how OSFunEntry was called with R0=-1 in the first place, so there’s possibly a further underlying issue.

Reply

To post replies, please first log in.

Forums → Bugs →

Search forums

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Description

Bug discussions that aren’t covered by the bugs database.

Voices

  • Jon Abbott (1421)

Options

  • Forums
  • Login
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Beast theme is based on Beast's default layout

Valid XHTML 1.0  |  Valid CSS

Powered by Beast © 2006 Josh Goebel and Rick Olson
This site runs on Rails

Hosted by Arachsys