Skip to content

PerformanceEstimatorPlugin.cpp: comment out destructor to avoid segfault as sim exit#2

Open
PhilippvK wants to merge 1 commit into
mainfrom
fix-destructor-segfault
Open

PerformanceEstimatorPlugin.cpp: comment out destructor to avoid segfault as sim exit#2
PhilippvK wants to merge 1 commit into
mainfrom
fix-destructor-segfault

Conversation

@PhilippvK
Copy link
Copy Markdown
Member

@PhilippvK PhilippvK commented Apr 24, 2026

The following segfault at the end of the simulation (leading to a non-zero exit code) seems to be caused by the destructor.

CPU0 exited with exception: 0x80000000: Finished cpu execution. This is the proper way to exit from etiss::CPUCore::execute.
[1]    3523153 segmentation fault (core dumped)  ./build_dir/installed/bin/bare_etiss_processor

This is more like a workaround for the actual problem, but ignoring the exit code of etiss is also not acceptable...

@danielschloms

…ult as sim exit

Co-authored-by: Daniel Schloms <daniel.schloms@gmail.com>

The following segfault at the end of the simulation (leading to a non-zero exit code) seems to be caused by the destructor.

```
CPU0 exited with exception: 0x80000000: Finished cpu execution. This is the proper way to exit from etiss::CPUCore::execute.
[1]    3523153 segmentation fault (core dumped)  ./build_dir/installed/bin/bare_etiss_processor
```
@PhilippvK PhilippvK requested a review from CFoik April 24, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants