Skip to content

Resolve symbol collision causing crashes on Linux#5

Merged
husker-dev merged 4 commits intohusker-dev:mainfrom
Lorg0n:fix/linux-integrated
Jan 10, 2026
Merged

Resolve symbol collision causing crashes on Linux#5
husker-dev merged 4 commits intohusker-dev:mainfrom
Lorg0n:fix/linux-integrated

Conversation

@Lorg0n
Copy link
Contributor

@Lorg0n Lorg0n commented Jan 6, 2026

Сlosed the previous PR because I got confused about what I was testing, what wasn't there, and generally created it incorrectly from the main branch.

This PR fixes a critical SIGSEGV crash on Linux. The issue was caused by a symbol collision where global pointer variables shared the exact same names as system OpenGL functions (e.g., glGetIntegerv). The Linux dynamic linker would resolve to our variable instead of the real function, causing a crash.

@husker-dev
Copy link
Owner

It looks better :)
I will keep this PR open until tomorrow as a reminder, and then going to release a new version.
I hope my scripts in Github Actions are not broken...

@husker-dev
Copy link
Owner

I think we have big time zone differences, so for me tomorrow is in about 8 hours :)

@Lorg0n
Copy link
Contributor Author

Lorg0n commented Jan 6, 2026

No worries, I'm in no rush. It's better to double-check the code carefully, otherwise it won't turn out very well. As for GitHub Actions, some api tokens can become outdated there, which seems to be the most common thing that breaks

@husker-dev
Copy link
Owner

@Lorg0n
Unfortunately, I didn't have any free time, but I'll try to get everything done in the next 1-2 days.

@husker-dev husker-dev merged commit 1a980d5 into husker-dev:main Jan 10, 2026
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