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

Crash in Calculator constructor on strdup #4

Closed
kbroulik opened this issue Jul 12, 2016 · 6 comments
Closed

Crash in Calculator constructor on strdup #4

kbroulik opened this issue Jul 12, 2016 · 6 comments

Comments

@kbroulik
Copy link

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

@hanna-kn
Copy link
Contributor

I am not able to reproduce the crash using the latest arch packages.

@hanscomps
Copy link

Interesting. Having the same problem. Arch fully updated. Pulled libqalculate source and compiled separately. Same issue, crash when executing "qalc".

@hanna-kn
Copy link
Contributor

Does it still crash if you run LC_ALL=C qalc

@saidinesh5
Copy link

@hanna-kn eade7b7#diff-2920795eb5a84823e79c2cfaf6fd7d71R299 commit fixed it for me i think....

@hanscomps
Copy link

Fixed, thanks

@hanna-kn
Copy link
Contributor

hanna-kn commented Jul 16, 2016

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).

@hanna-kn hanna-kn closed this as completed Sep 1, 2016
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

No branches or pull requests

4 participants