Crash with module with incompatible ABI #102

Closed
opened 2026-10-05 03:59:04 +02:00 by adam · 1 comment
Owner

On devel/git versions the version number is not changed, but ABI is changing. So if someone uses an external module and didn't recompile it, ZNC crashes.
It happens even on start, when ZNC does GetAvailMods() at the beginning to check if it's installed properly.

Need some other way to ensure the same ABI, not just version number.

On devel/git versions the version number is not changed, but ABI is changing. So if someone uses an external module and didn't recompile it, ZNC crashes. It happens even on start, when ZNC does GetAvailMods() at the beginning to check if it's installed properly. Need some other way to ensure the same ABI, not just version number. ## <!-- github-sync-id:4248550 -->
adam closed this issue 2026-10-05 03:59:04 +02:00
Author
Owner

Perhaps we can use the last commit hash instead of a version number?

In the final release we can use a version number, the configure script can have the "ABI number", so the nightly build can place it there.

Perhaps we can use the last commit hash instead of a version number? In the final release we can use a version number, the configure script can have the "ABI number", so the nightly build can place it there. <!-- github-comment-id:5301790 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#102