Closed cskeeters closed 4 months ago
@cskeeters thanks for reporting this. will take a look at it. it certainly shouldnt break as its happening now.
@cskeeters please update to latest commit and retry. thank you
The segfault is fixed but the label is lost. Is that intended behaviour?
@marrs yes indeed.
The fix in the dev branch fixed the issue. No segfault and removed label.
Pressing
\<Enter>
after loading the following file results in segfault.segf.sc
I suspect there is something I don't understand about how this is working. I thought that the
label
was converted to the number of seconds since the epoch when<C-d>
was pressed, andfmt
(set with:format
) formats the number for display in the cell to the user. It seems that entering a new label with\
will automatically convert the text to the epoch, and an empty string will not result in -1 and display as "1/1/1970" but will crash the application.