bugSimulavr: an AVR simulator - Bugs: bug #55269, simulavr crashes when trace file...

 
 

bug #55269: simulavr crashes when trace file name does not contain a dot

Submitter:  None
Submitted:  Sun 23 Dec 2018 12:07:10 PM UTC
   
 
Category:  Simulation Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  tomk
Originator Email:  * -email is unavailable- Open/Closed:  Closed
Component Version:  * simulavr
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 04 Dec 2019 03:35:05 PM UTC, comment #1: 

Solved with upcoming release

Thomas K. <tomk>
Group administrator
Sun 23 Dec 2018 12:07:10 PM UTC, original submission:  

How to reproduce:

$ src/simulavr -d at90s8515 -f examples/simple_ex1/fred.elf -R 0x22,/dev/zero -W 0x20,/dev/null -t out -l 1
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 18446744073709551615) > this->size() (which is 3)
Aborted

I have attached a suggested patch.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tomk (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-12-04 tomk StatusNone Fixed
        Assigned toNone tomk
        Open/ClosedOpen Closed
    2018-12-23 None Attached File- Added 0001-avoid-crash-if-no-dot-in-trace-file-name.patch, #45725

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code