Skip to content

Nested interrupts crash on Xtensa architecture #3400

@zephyrbot

Description

@zephyrbot

Reported by Andreas Lenz:

Nested interrupts cause crash when the second interrupt happens during the first few lines of "dispatch_c_isr" macro. The high level interrupt is handled fine but returning to the lower level interrupt causes crash.
Nested interrupts otherwise work fine if the second interrupt does not happen during those few lines.

This is the last working point before the crash:

Thread <span>#</span>1 <main> (Suspended : Breakpoint)	
	_xt_medint2_exit() at xtensa_vectors.S:1,092
	_xt_lowint1() at xtensa_vectors.S:989

And next thing to happen:

Thread <span>#</span>1 <main> (Suspended : Signal : SIGTRAP:Trace/breakpoint trap)	
	_DoubleExceptionVector() at xtensa_vectors.S:443
	0x4014a4c6	

(Imported from Jira ZEP-1955)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: XtensaXtensa ArchitecturebugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bug

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions