[#6530] i get an Unhandled exception and Illegal instruction error when run in simulator

Document created by Aaronwu Employee on Oct 17, 2013
Version 1Show Document
  • View in full screen mode

[#6530] i get an Unhandled exception and Illegal instruction error when run in simulator

Submitted By: Anton Shokurov

Open Date

2011-04-06 14:01:48     Close Date

2011-04-06 14:04:52

Priority:

Medium     Assignee:

Nobody

Board:

N/A     Silicon Revision:

Resolution:

Rejected     Fixed In Release:

N/A

Processor:

BF561     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Closed     Found In Release:

2011R1

Is this bug repeatable?:

yes     

Summary: i get an Unhandled exception and Illegal instruction error when run in simulator

Details:

 

I've written a standalone program that contains ffmpeg code. When i run it on a simulator a get an error:

 

>bfin-elf-run  ./run

 

Unhandled exception 0x24 at 0x002adff6 (Unaligned data access)

program stopped with signal 4 (Illegal instruction)

 

 

Did i do something incorrectly or is this indeed a bug?

 

Follow-ups

 

--- Mike Frysinger                                           2011-04-06 14:04:32

you're using the sim incorrectly.  default env is virtual which does not work

with userspace code.  please read the documentation and post questions to the

forums.

 

--- Anton Shokurov                                           2011-04-06 16:14:44

BTW, does the simulator support the DISALGNEXCPT instruction?

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes