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
Drivers shipped by Kyocera gets segfault due thread conflict in 2.4.2 #619
Comments
|
Interesting because |
|
I am not sure if this is related, but if I am trying to add a Kyocera printer using the cups web-UI it says "Unable to get list of printer drivers: Internal Server Error" I am on Alpine Linux edge. It broke after I updated it today (I probably last updated a week ago). I don't have time to investigate this further currently, but if I find some more information, I'll add it later. |
|
Hi @LorenzISR , thank you for the info! It looks like a different issue - the one crashing here in this issue is Kyocera filter during printing. Once you get to the issue again, please open a new issue, upload a full backtrace of the crash and more detailed steps how to got the issue (detailed steps+your cups version+if it happens everytime). |
|
@michaelrsweet I was wrong - it happens because I was able to track that it the new array in _cups_globals_t (pw_buf) was causing this - moving the buffer to a local variable does the trick. |
|
3257232 fixes the issue, thank you, Mike! |
Describe the bug
Reported in Fedora as bug - to sum it up - install your Kyocera printer with the driver from the link and try to print
To Reproduce
Expected behavior
No crash.
System Information:
Additional context
More debugging information are provided in Fedora bugzilla - I was able to found out it happens because
_cupsGlobals()returns NULL in_cupsRasterClearError()and then dereferences it and I've tracked the issue had started to happen after our commit for multithreaded glibc functions.The text was updated successfully, but these errors were encountered: