Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream Port Validation Check Segmentation Fault #32

Open
mhezarei opened this issue May 16, 2024 · 0 comments
Open

Stream Port Validation Check Segmentation Fault #32

mhezarei opened this issue May 16, 2024 · 0 comments

Comments

@mhezarei
Copy link

I hope you are doing well.

With specific accelerator cluster configurations (notably with 128 and more accelerators), I get this weird segmentation fault in the StreamRequestPort::streamValid(size_t len, bool isRead) (Codebase Link) function.

Using gdb, this is the error stack:

Program received signal SIGSEGV, Segmentation fault.
0x00000000026ec0d9 in StreamRequestPort::streamValid (this=0x70c8620, len=1, isRead=true) at build/ARM/hwacc/stream_port.hh:178
178	        return _stream_slave->tvalid(len, isRead);
(gdb) bt 3
#0  0x00000000026ec0d9 in StreamRequestPort::streamValid (this=0x70c8620, len=1, isRead=true) at build/ARM/hwacc/stream_port.hh:178
#1  0x00000000026e0ffb in CommInterface::getValidStreamPort (this=0x67a0880, add=268567040, len=1, read=true) at build/ARM/hwacc/comm_interface.cc:317
#2  0x00000000026e1946 in CommInterface::processMemoryRequests (this=0x67a0880) at build/ARM/hwacc/comm_interface.cc:364

I don't understand how this variable is not null (which makes it pass the previous if statement) but has an invalid value. I also don't get why this issue arises with specific configurations.

Please comment if you need more information. Thanks in advance!

@mhezarei mhezarei changed the title StreamRequestPort::streamValid(size_t len, bool isRead) Segmentation Fault Stream Port Validation Check Segmentation Fault May 16, 2024
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

No branches or pull requests

1 participant