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

Seg Fault when generating saif files #453

Open
marcusnchow opened this issue Dec 22, 2020 · 0 comments
Open

Seg Fault when generating saif files #453

marcusnchow opened this issue Dec 22, 2020 · 0 comments
Assignees

Comments

@marcusnchow
Copy link
Collaborator

When enabling Saif generation, during toggle_start() a segfault occurs

--- Stack trace follows:

Dumping VCS Annotated Stack:
#0  0x00002aaab34be41c in waitpid () from /usr/lib64/libc.so.6
#1  0x00002aaab343bf12 in do_system () from /usr/lib64/libc.so.6
#2  0x00002aaaabba41fc in SNPSle_10ee25eff68cd8461c9146fa1d0b35e87067f3c8015b313e639d2928478c79b3f673f99203bcf8be64600612100082236bffb2007f1e0ef9 () from /home/socal/Synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/liberrorinf.so
#3  0x00002aaaabba5d3e in SNPSle_10ee25eff68cd8461c9146fa1d0b35e87067f3c8015b313efba706aab251478fa49e66610e453774633a6c152e7ef778f2202cda681f3d4e () from /home/socal/Synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/liberrorinf.so
#4  0x00002aaaabb9e6e3 in SNPSle_d35ca1ff70d465c2b9b1a72eee90a506fdd009d3de3db1de () from /home/socal/Synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/liberrorinf.so
#5  0x00002aaaae156abf in SNPSle_64133461705005bb725549e2e6fa1b3f () from /home/socal/Synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/libvcsnew.so
#6  0x00002aaaadf9cc89 in SNPSle_82244d58c54c18c70d63edc9becab634 () from /home/socal/Synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/libvcsnew.so
#8  0x00002aaaae02386b in SNPSle_d0c6aa4547928a076c6a7387f176b91f () from /home/socal/Synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/libvcsnew.so
#9  0x00002aaaae023c57 in SNPSle_f8189e243e06727cbc8fefa02abc477a () from /home/socal/Synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/libvcsnew.so
#10 0x00002aaaaf5660bd in SNPSle_63db3517215287601654c35b94c94056c0a5a59aee97759333960728f43023f48c1271846be83368 () from /home/socal/Synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/libvcsnew.so
#11 0x00002aaaaf575d64 in SNPSle_1996d1c57ee46f66c1457fe7153b8c81 () from /home/socal/Synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/libvcsnew.so
#12 0x00002aaaaf5785a0 in SNPSle_76e8cf87dc2172bd7d995aed3130eb7a () from /home/socal/Synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/libvcsnew.so
#13 0x00002aaaaf503ffe in SNPSle_504d78fdcb768ed3388a1d994b1d1a3e () from /home/socal/Synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/libvcsnew.so
#14 0x00002aaaae0e6fa2 in SNPSle_2e07455001bd46d39a2c7b0251118d44832a40327fd732c0 () from /home/socal/Synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/libvcsnew.so
#15 0x00002aaaae0efe80 in SNPSle_63c7abb936d47b07d29d61775f9dbe8c () from /home/socal/Synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/libvcsnew.so
#16 0x00002aaaae16a977 in SNPSle_490598bfebcc8e81efcf3d1815066cc9 () from /home/socal/Synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/libvcsnew.so
#17 0x00002aaaae180fa4 in SNPSle_490598bfebcc8e81 () from /home/socal/Synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/libvcsnew.so
#18 0x00002aaaab74f663 in main () from /home/mchow009/bsg_bladerunner/baseline/examples/group_matrix_matrix_multiply/group_matrix_matrix_multiply.daidir/_csrc0.so
#19 0x00002aaab341b505 in __libc_start_main () from /usr/lib64/libc.so.6
#20 0x000000000040654d in _start ()

Process VmPeak: 4563984 kb, VmSize: 4563980 kb
System Free Memory: 21239532 kb, System Free Swap: 2535468 kb

I'm using manycore_tb_top.network.manycore as the toggle region

$set_gate_level_monitoring("rtl_on");\n
$set_toggle_region(manycore_tb_top.network.manycore);
$toggle_start();

To repoduce...

checkout ci_saif_generation in bsg_replicant and bsg_manycore

I modified group_matrix_multiply to show of a simple test

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

3 participants