Skip to content

Instantly share code, notes, and snippets.

@aristidb
Created November 20, 2009 22:42
Show Gist options
  • Select an option

  • Save aristidb/239848 to your computer and use it in GitHub Desktop.

Select an option

Save aristidb/239848 to your computer and use it in GitHub Desktop.
(gdb) run -f doc/sample.dat bal
Starting program: /home/aristid/Code/ledger/build/ledger/debug/ledger -f doc/sample.dat bal
[Thread debugging using libthread_db enabled]
Catchpoint 1 (exception thrown), 0x00e27525 in __cxa_throw () from /usr/lib/libstdc++.so.6
(gdb) bt
#0 0x00e27525 in __cxa_throw () from /usr/lib/libstdc++.so.6
#1 0x082882e5 in ledger::throw_func<ledger::date_error> (message=...) at /home/aristid/Code/ledger/src/error.h:55
#2 0x08280a83 in ledger::date_parser_t::lexer_t::token_t::expected (wanted=0 '\000', c=77 'M') at /home/aristid/Code/ledger/src/times.cc:1440
#3 0x082804ad in ledger::date_parser_t::lexer_t::next_token (this=0xbfffbfb8) at /home/aristid/Code/ledger/src/times.cc:1411
#4 0x0827820a in ledger::date_parser_t::parse (this=0xbfffbfb4) at /home/aristid/Code/ledger/src/times.cc:676
#5 0x0827b282 in ledger::date_interval_t::parse (this=0x89c93dc, str=...) at /home/aristid/Code/ledger/src/times.cc:972
#6 0x0806db05 in date_interval_t (this=0x89c93dc, str=...) at /home/aristid/Code/ledger/src/times.h:547
#7 0x081382bb in period_xact_t (this=0x89c9360, _period=...) at /home/aristid/Code/ledger/src/xact.h:201
#8 0x08130cb9 in period_xact_directive (this=0xbfffc2a4, line=0xbfffc2e8 "~ Monthly") at /home/aristid/Code/ledger/src/textual.cc:598
#9 0x0812f1ab in read_next_directive (this=0xbfffc2a4) at /home/aristid/Code/ledger/src/textual.cc:372
#10 0x0812e3d5 in parse (this=0xbfffc2a4) at /home/aristid/Code/ledger/src/textual.cc:260
#11 0x08137144 in ledger::journal_t::parse (this=0x89c3d90, in=..., scope=..., master=0x89c4220, original_file=0xbfffc800, strict=false)
at /home/aristid/Code/ledger/src/textual.cc:1327
#12 0x0813ee71 in ledger::journal_t::read (this=0x89c3d90, in=..., pathname=..., master_alt=0x89c4220, scope=0x89c4ad8)
at /home/aristid/Code/ledger/src/journal.cc:166
#13 0x0813f0af in ledger::journal_t::read (this=0x89c3d90, pathname=..., master=0x89c4220, scope=0x0) at /home/aristid/Code/ledger/src/journal.cc:192
#14 0x080bc3c4 in ledger::session_t::read_data (this=0x89c3c18, master_account=...) at /home/aristid/Code/ledger/src/session.cc:138
#15 0x080bc8ce in ledger::session_t::read_journal_files (this=0x89c3c18) at /home/aristid/Code/ledger/src/session.cc:166
#16 0x0806a72b in ledger::global_scope_t::execute_command (this=0x89c3938, args=..., at_repl=false) at /home/aristid/Code/ledger/src/global.cc:195
#17 0x0806acf0 in ledger::global_scope_t::execute_command_wrapper (this=0x89c3938, args=..., at_repl=false) at /home/aristid/Code/ledger/src/global.cc:240
#18 0x0805dbde in main (argc=4, argv=0xbffff3c4, envp=0xbffff3d8) at /home/aristid/Code/ledger/src/main.cc:117
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment