Opened 13 years ago

Closed 13 years ago

#137 closed defect (fixed)

Encoder crashs on faulty command line input parameter

Reported by: tung.nguyen Owned by: davidf
Priority: minor Milestone:
Component: HM Version:
Keywords: Cc: fbossen, ksuehring, davidf, jct-vc@…


-c encoder_intra.cfg -c per-sequence\BQSquare.cfg -q 22 - f 10

Change History (6)

comment:1 Changed 13 years ago by ksuehring

Note: there is space between the dash and the "f" at the end.

The command line reader should give an error message instead of crashing.

comment:2 Changed 13 years ago by davidf

  • Owner set to davidf
  • Status changed from new to accepted
$ ./jctvc-tmuc-enc -

HM software: Encoder Version [2.2][Linux][GCC 4.4.5][64 bit] 
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr

Two fixes required:

  • report cases where there are no characters after /-+/
  • report any arguments not consumed by cli parser

Report with a helpful error message, rather than unhandled exception.

comment:3 Changed 13 years ago by davidf

  • Resolution set to fixed
  • Status changed from accepted to closed

This has been resolved in r784.

comment:4 Changed 12 years ago by davidf

  • Component set to HM

Updating component after adding WD (Text) tickets

comment:5 Changed 12 years ago by davidf

  • Cc fbossen ksuehring davidf added

comment:6 Changed 12 years ago by davidf

  • Cc jct-vc@… added
Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Owner, Subscriber, Participant

  • David Flynn(Owner, Subscriber, Participant)
  • Frank Bossen(Subscriber)
  • jct-vc@…(Subscriber)
  • karl.sharman@…(Always)
  • Karsten Suehring(Subscriber, Participant, Always)
  • Tung Nguyen(Reporter)