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

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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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)

I have attached a suggested patch.



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

Attach Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
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.5