bugSimulavr: an AVR simulator - Bugs: bug #8457, simulavr-disp displays garbage...

 
 

bug #8457: simulavr-disp displays garbage characters after "Reserverd"

Submitter:  Eric Weddington <arcanum>
Submitted:  Mon 05 Apr 2004 05:21:13 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Component Version:  * None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 10 Feb 2005 11:54:22 AM UTC, comment #3: 

I actually clean up the project bug tracking. As there is
no new info in the thread I will close this entry.

If the problem still exist please create new entry.

Best regards,

  Klaus


Klaus Rudolph <zfrdh>
Group administrator
Fri 09 Apr 2004 05:54:20 PM UTC, comment #2: 

More info:

1. If I run simulavr-disp (with args) it does not display any garbage characters after "Reserved".

2. If I redirect stderr to /dev/null (when running inside Cygwin), I still get the garbage characters after "Reserved".

3. It's always the same exact 3 characters displayed after "Reserved", the ASCII codes: 0x28 0x89 0x22.

Could it be something to do with the piping from simulavr and Cygwin?

I was thinking, could it help to use libiberty (from GCC) to do all the piping? As a side benefit, using libiberty should in theory help to make SimulAVR cross-platform and able to build with host=mingw32, i.e. a fully native Win32 app.

Eric Weddington <arcanum>
Group administrator
Wed 07 Apr 2004 06:13:56 PM UTC, comment #1: 

The problem is you are mixing terminal output with stdout/stderr. The -X option was really added to allow a display program to be run without an xterm under the assumption that it wouldn't need to output to a terminal (e.g. it used a GUI).

One possible solution would be to add a --logfile option to send all of stdout/stderr to a file instead of to the screen.

Theodore A. Roth <troth>
Mon 05 Apr 2004 05:21:13 PM UTC, original submission:  

Version: 0.1.2.1
Using: simulavr -X -P simulavr-disp.exe -d atmega128 -g, from a Cygwin build of simulavr.

The "IO Registers" portion of simulavr-disp will show some trailing garbage characters after the word "Reserved". This is seen in both Cygwin's bash shell, and the Windows command-line shell.

Eric Weddington <arcanum>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2005-02-10 zfrdh Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-caa5.
Corresponding source code