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

[TI-64] Command 'stop' with date before current interval's start date causes segfault #69

Closed
taskwarrior opened this Issue Feb 11, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@taskwarrior

taskwarrior commented Feb 11, 2018

Thomas Lauf on 2017-02-09T08:06:19Z says:

When I call timew stop with a date that is before the current interval's start date I get a segfault:
{code}
$ timew start 20160516T100200
Tracking
Started 2016-05-16T10:02:00
Current 2017-02-09T09:03:41
Total 6456:01:41
$ timew stop 20160516T100100
timew: ***/timew/src/Range.cpp:326: time_t Range::total() const: Assertion `is_open () || end >= start' failed.
Aborted (core dumped)
{code}

@taskwarrior taskwarrior added this to the 1.1.0 milestone Feb 11, 2018

@taskwarrior

This comment has been minimized.

taskwarrior commented Feb 11, 2018

Migrated metadata:

Created: 2017-02-09T08:06:19Z
Modified: 2017-02-09T14:01:36Z
@taskwarrior

This comment has been minimized.

taskwarrior commented Feb 11, 2018

Thomas Lauf on 2017-02-09T08:20:38Z says:

Patch with test for this use case and also a fix.

@pbeckingham

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment