vusec / trrespass

TRRespass
Apache License 2.0
121 stars 26 forks source link

Segmentation fault #5

Open tajiaodavid opened 3 years ago

tajiaodavid commented 3 years ago

When I run the program, like this: sudo ./obj/tester -v -V ff -T 00 --no-overwrite. a segmentation fault is displayed. My system is Ubuntu20.04. Why is this?

tajiaodavid commented 3 years ago

[LOG] - Hammer session! access pattern: %i_sided data pattern: random [LOG] - File: /data/DIMM00.2_sided.00000704.1024.1000000.stdrefi.csv segmentation fault

HxJi commented 3 years ago

same issue. Any ideas?

tajiaodavid commented 3 years ago

Keep allocating hugepages

HxJi commented 3 years ago

@tajiaodavid I have enabled the hugepages with 1G size. Could you please give more details? thanks

TheSilentDawn commented 1 year ago

Hi @erikvdk @van-ema @tajiaodavid, I got the same error as @HxJi and also enable the hugepages with 1G size following https://github.com/comsec-group/blacksmith/issues/2#issuecomment-971810211. The DRAM layout is below. Based on my understanding, it may be caused by the value ROW_SIZE -1. Could you please give more details? Thanks

DRAMLayout      g_mem_layout = {{{0x2000,0x200040,0x440000,0x880000,0x1100000}, 5}, 0xffff000000, ROW_SIZE-1};
bsm1244 commented 12 months ago

Hi @TheSilentDawn, Have you resolved the issue? I'm experiencing a similar error with my CPU's DRAM function which is the same as yours, just like @HxJi. Any help would be appreciated. Thanks.