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
Crash in Calculator constructor on strdup #4
Comments
I am not able to reproduce the crash using the latest arch packages. |
Interesting. Having the same problem. Arch fully updated. Pulled libqalculate source and compiled separately. Same issue, crash when executing "qalc". |
Does it still crash if you run |
@hanna-kn eade7b7#diff-2920795eb5a84823e79c2cfaf6fd7d71R299 commit fixed it for me i think.... |
Fixed, thanks |
The cause of this problem is that the locale (specifically LC_NUMERIC) is incorrectly set on the users system. With the commit mentioned above this does not cause a crash with Qalculate! anymore, but the user (or KDE) should still make sure that a valid system locale is set (or at least is left empty). |
I got this downstream KDE bugreport in the KRunner ("Run Command") calculator plugin which uses libqalculate: https://bugs.kde.org/show_bug.cgi?id=365117
The text was updated successfully, but these errors were encountered: