Skip to content

Conversation

@am009
Copy link
Contributor

@am009 am009 commented Feb 7, 2026

When fuzzing, it frequently reports that proj.db is not found:

proj_create: Cannot find proj.db

The proj.db is generated under build/data, not data/.

When fuzzing, it constantly reports that proj.db is not found. The proj.db is generated under build/data, not data/
@rouault
Copy link
Member

rouault commented Feb 7, 2026

@am009 Your fix looks plausible, but can you explain how you detected the issue and how you verified your PR fixes it ? Looking at a run of ci-fuzz on another pull request (https://github.com/OSGeo/PROJ/actions/runs/20169922244/job/57902633665?pr=4603), I don't see a "Cannot find proj.db" trace (but I'm aware the run might not be long enough to trigger it)

@am009
Copy link
Contributor Author

am009 commented Feb 7, 2026

This script was copied verbatim into FuzzBench, and I encountered this issue there. In FuzzBench, the build environment and the execution environment are separated, and only the $OUT directory is copied into the isolated runtime environment; as a result, proj.db cannot be found.

I am not very familiar with the OSS-Fuzz architecture, but it seems that its build and runtime environments may be the same. The preceding make install command in the script installs proj.db into the system, so proj.db can be located correctly.

sorry for opening this pull request without a thorough analysis. Based on the logs you provided, the issue indeed does not appear to exist. In that case, whether this fix is applied does not seem to matter much.

@rouault rouault merged commit ed34fbd into OSGeo:master Feb 7, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants