Hmbown/CodeWhale · error
no /proc/self/maps row contains the updater marker
Error message
no /proc/self/maps row contains the updater marker
What it means
parse_android_image_mapping scans /proc/self/maps text for the row containing a known updater marker address to prove which executable image is loaded on Android. If no row matches the marker, this error is thrown — the loaded image does not correspond to the updater that wrote the marker. It is used by android_loaded_executable_proof_report.
Solutions
- Verify the updater was actually executed and re-exec'd into the current process (check the update flow logs).
- Dump /proc/self/maps manually and confirm the expected binary path appears.
- Re-run the update to regenerate the marker and mapping.
- If the platform legitimately cannot expose the mapping, treat the proof report as unavailable rather than forcing it.
Defensive patterns
Strategy: fallback
Validate before calling
// pre-check that the marker address maps into some region
const mapped = maps.split('\n').some(row => {
const [range] = row.split(' ');
const [lo, hi] = range.split('-').map(x => parseInt(x, 16));
return marker >= lo && marker < hi;
}); Try / catch
match parse_android_image_mapping(maps, marker) {
Ok(report) => report,
Err(e) if e.to_string().contains("no /proc/self/maps row") => {
// treat as proof-unavailable, log and continue
}
Err(e) => return Err(e),
} Prevention
- Confirm the updater actually re-exec'd into the expected binary.
- Capture /proc/self/maps close in time to the check.
- Handle Android SELinux restrictions that can alter mappings.
- Treat the proof report as best-effort on hardened platforms.
When it happens
Trigger: The marker address does not fall inside any mapped memory region in /proc/self/maps: the updater binary was not actually loaded, the process was re-exec'd into a different image, or the maps content was read from the wrong process.
Common situations: Running on a non-Android or hardened Android environment where the updater path is missing; SELinux/registry restrictions altering mappings; a self-update flow where the old binary was replaced and re-exec skipped.
Understand the failure class
Background: 'Could not be found', 'does not exist', 'not found in database': the resource-not-found family when an ID, slug, key, or URI lookup comes back empty — this error's family across 20 libraries.
Related errors
- loaded-image mapping for updater marker has no file inode
- loaded-image mapping for updater marker has no pathname
- loaded-image mapping for updater marker is not executable
- Android identifies runtime linker ` `; refusing to use the…
- Android reported deleted loaded image
AI-assisted analysis of Hmbown/CodeWhale@73e0f67d83 (2026-09-22).
Data as JSON: /api/errors/3e1557602abb5208.
Report an issue: GitHub.
Appendix: source
Thrown at crates/cli/src/update.rs:414
.context("loaded-image mapping has an invalid device minor number")?;
if path.is_empty() {
bail!("loaded-image mapping for updater marker has no pathname");
}
let mapping = AndroidImageMapping {
start,
end,
device_major,
device_minor,
inode,
path: PathBuf::from(path),
};
if matching.replace(mapping).is_some() {
bail!("multiple /proc/self/maps rows contain the updater marker");
}
}
matching.ok_or_else(|| anyhow!("no /proc/self/maps row contains the updater marker"))
}
#[cfg(all(test, unix))]
fn resolve_android_loaded_executable_report(
maps: &str,
marker: u64,
dladdr_path: &Path,
) -> Result<PathBuf> {
Ok(android_loaded_executable_proof_report(maps, marker, dladdr_path)?.path)
}
#[cfg(any(target_os = "android", all(test, unix)))]
fn android_loaded_executable_proof_report(
maps: &str,
marker: u64,
dladdr_path: &Path,
) -> Result<AndroidExecutableProof> {
let mapping = parse_android_image_mapping(maps, marker)?;View on GitHub (pinned to 73e0f67d83)