Meaning of "Assertion `!response->fail()' failed"

69 views
Skip to first unread message

asa...@ncsu.edu

unread,
Oct 5, 2021, 1:58:07 PM10/5/21
to Sniper simulator
I'm running a program that I've heavily instrumented with custom magic instructions to communicate info with SNIPER.
On most runs it seems fine. However on very large inputs I get this kind of error (attached below) as soon as it enters the ROI.

I'm assuming it means an issue with the magic instructions, but what could be causing it, and why would it be intermittent with only large inputs?

```
[SNIPER] Setting instrumentation mode to DETAILED
[SIFT_RECORDER] sift_writer.cc:747: uint64_t Sift::Writer::Magic(uint64_t, uint64_t, uint64_t): Assertion `!response->fail()' failed.
[SNIPER] End
```

Trevor E. Carlson

unread,
Oct 5, 2021, 10:53:32 PM10/5/21
to snip...@googlegroups.com, asa...@ncsu.edu
Hello,

In this case, it is difficult to know the exact root cause of the problem, but we can derive what is happening here by looking at where the error is coming from. In this case, we can see that the Sift::Writer is having issues communicating with the backend (Sniper binary) because the pipe has been closed. But, this isn’t necessarily a problem. If the Sniper backend closed because the application has ended, having a front-end that disconnects here isn’t necessarily an issue. You could look into why the backend is ending (cleanly or not) to debug this issue further.

Trevor

--
--
--
You received this message because you are subscribed to the Google
Groups "Sniper simulator" group.
To post to this group, send email to snip...@googlegroups.com
To unsubscribe from this group, send email to
snipersim+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/snipersim?hl=en

---
You received this message because you are subscribed to the Google Groups "Sniper simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to snipersim+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/snipersim/ba4812e6-9130-4adc-8fe3-d9619b633133n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages