-
-
Notifications
You must be signed in to change notification settings - Fork 216
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
Date Function Causes Segmentation Fault Crash #868
Comments
@GitarMan confirmed. will take a look at it. |
@GitarMan Could you please update to latest commit on dev branch and retry? Thanks. |
@andmarti1424 That fixed the segfault, thanks!! Now when I run: It successfully outputs the date. I tested some of the other date functions though, and and I'm still getting the All these date functions are throwing that error: However, this function works as expected: |
@GitarMan hello. will check those commands. thank you. |
Version
I'm running version 0.8.4 built from source (because the latest version is not available yet in the apt-get repository, and I need multi-sheet functionality).
Segmentation Fault Crash
Specifically, I am experiencing the Segmentation Fault crash when I try to run the example date function from the documentation:
\"@date(@now, "%d/%m/%Y")
I get the error:
Segmentation fault (core dumped)
I ran sc-im with GNU Debugger to try to get a clue as to what could be causing the error. To be honest, I'm not too familiar with C programming / debugging, just thought it might help with the diagnosis.
Here was the output from gdb when I recreated the bug in an empty spreadsheet and then ran a backtrace:
General Date Functions Not Working
Less severe (because it doesn't cause a crash) is that when I try to run date functions in general, like:
\"@hour("1708588800")
Or if I run:
\"@now
I get the following error (without a crash):
error in slet - exprerr
Thanks!
As a vim user, I am constantly frustrated when using any other spreadsheet program. I super appreciate this project.
There are just a few things missing for me to be able to completely replace programs like LibreOffice Calc. (Maybe I need to become more familiar with Lua to extend.) Would love better support for conditional formatting (I know about the CELL_NEGATIVE style). Worried about the crashes, so I have to save manually often.
But this is an awesome project! Thanks for all the effort you've put into it.
The text was updated successfully, but these errors were encountered: