Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libimagequant] Segmentation fault #23316

Open
2 of 6 tasks
radarhere opened this issue Feb 7, 2025 · 0 comments
Open
2 of 6 tasks

[libimagequant] Segmentation fault #23316

radarhere opened this issue Feb 7, 2025 · 0 comments
Labels

Comments

@radarhere
Copy link
Contributor

Description / Steps to reproduce the issue

Over at https://github.com/python-pillow/Pillow, our MinGW GitHub Actions job recently showed a segfault when libimagequant is used. The job passed with mingw-w64-x86_64-libimagequant-4.3.3-1, but started failing when mingw-w64-x86_64-libimagequant-4.3.3-2 was released. That change came from 2d14aef, so perhaps this is related to cargo-c?

For good measure, I updated to libimagequant 4.3.4 in #23245, but the problem continued to occur.

I've created a minimal reproduction at https://github.com/radarhere/mingw_libimagequant. The segfault occurs in https://github.com/radarhere/mingw_libimagequant/actions/runs/13198684016/job/36845578278, but without the call to libimagequant's liq_version(), it passes in https://github.com/radarhere/mingw_libimagequant/actions/runs/13198259889

Expected behavior

No segmentation fault.

Actual behavior

Segmentation fault.

Verification

Windows Version

MINGW64_NT-10.0-20348

MINGW environments affected

  • MINGW64
  • MINGW32
  • UCRT64
  • CLANG64
  • CLANGARM64

Are you willing to submit a PR?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant