Comments (2)
I got a backtrace:
(gdb) b Datetime.cpp:92
(gdb) r
Breakpoint 1, Datetime::Datetime (this=0x7fffffffc420, input=..., format=...) at /usr/src/debug/taskwarrior-2.6.2-0.x86_64/src/libshared/src/Datetime.cpp:92
92 throw ::format ("'{1}' is not a valid date in the '{2}' format.", input, format);
(gdb) bt
#0 Datetime::Datetime (this=0x7fffffffc420, input=..., format=...) at /usr/src/debug/taskwarrior-2.6.2-0.x86_64/src/libshared/src/Datetime.cpp:92
#1 0x0000555555584778 in Task::composeJSON[abi:cxx11](bool) const (this=0x5555559e4c30, decorate=false) at /usr/src/debug/taskwarrior-2.6.2-0.x86_64/src/Task.cpp:1065
#2 0x0000555555571675 in TDB2::update (this=0x7fffffffdb28, task=..., add_to_backlog=true, addition=false) at /usr/src/debug/taskwarrior-2.6.2-0.x86_64/src/TDB2.cpp:725
#3 0x0000555555570e2a in TDB2::modify (this=0x7fffffffdb28, task=..., add_to_backlog=true) at /usr/src/debug/taskwarrior-2.6.2-0.x86_64/src/TDB2.cpp:655
#4 0x00005555555d7d03 in CmdAnnotate::execute (this=0x5555559c6450) at /usr/src/debug/taskwarrior-2.6.2-0.x86_64/src/commands/CmdAnnotate.cpp:89
#5 0x00005555555407ab in Context::dispatch (this=0x7fffffffd8c0, out=...) at /usr/src/debug/taskwarrior-2.6.2-0.x86_64/src/Context.cpp:886
#6 0x000055555553f840 in Context::run (this=0x7fffffffd8c0) at /usr/src/debug/taskwarrior-2.6.2-0.x86_64/src/Context.cpp:736
#7 0x0000555555539b4b in main (argc=10, argv=0x7fffffffe4f8) at /usr/src/debug/taskwarrior-2.6.2-0.x86_64/src/main.cpp:53
(gdb) p i.first
$4 = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x555555982730 "annotation_-2146368945"}, _M_string_length = 22, {_M_local_buf = "\026", '\000' <repeats 14 times>, _M_allocated_capacity = 22}}
from taskwarrior.
I found a nice fix. #3052 has a 2nd commit with more fixes that are not strictly needed to solve this issue.
from taskwarrior.
Related Issues (20)
- I can't build 3.0 on ubuntu (pop_os) HOT 7
- how do I re-install 2.6.2? HOT 2
- Remove F4 support from src/Task.cpp HOT 2
- [bug] Colour missing from `task rc._forcecolor:on calendar`
- `project.not:side-quest or urgency>5` no longer working in 3.0.2 for context definition HOT 20
- Include `storage.objects.delete` permission for GCP
- Bare integers are accepted for due: and wait:, but cause issues later HOT 9
- Change test runner to ctest
- TDB2 test cases fails nondeterministic HOT 1
- Rejecting a task in a on-add hook in TW3 HOT 1
- feature request: auto complete plugin for micro editor
- Guidance requested: Recurring task import behavior HOT 4
- Feature request : option to return GUID for task add command HOT 5
- data loss/corruption in database (possible concurrency issue?) HOT 1
- Color themes not working HOT 6
- Custom commands blocking usage of different build file generators HOT 1
- Conflict name with go-task's task runner executable. HOT 6
- Value limit=page not recognized. HOT 7
- Clarify, in the tools list, the status of Inthe.am sync tool, as the server is now defunct HOT 2
- SDK access (tasklib or equivalent?)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taskwarrior.