Hi all,
I've build a debug version of ledger HEAD (4ee5329) and it crashes
when I try to use it with a value greater than 9 for its --trace option.

Steps to reproduce:
  * Run ledger with the --trace option, e.g.:
  % ./ledger -f test/input/sample.dat reg --trace 10

Expected result:
  Ledger shows detailed debugging log messages

Actual result:
  Ledger crashes with the following error message:
  libc++abi.dylib: terminating with uncaught exception of type
  std::logic_error: Argument to --trace must be an integer

Note that using smaller values than 10 work, even though it
seems to have no effect on the trace level as suggested by the manpage.

% for trace in {1..9}; do ./ledger -f test/input/sample.dat test--trace 
${trace} 2>/tmp/ledger_trace_${trace}.txt >/dev/null; done

Any helpful hints what needs to be changed?


Cheers,
Alexis

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to