Tracegenerator has segment fault when the number of unique object too large
sunnyszy opened this issue · comments
I got segment fault when using following cmd (seems not so big):
./basic_trace 3000000 50000 1.8 1 5000000000 test.tr
If I reduce the unique object size by a factor of 10, the program will be fine:
./basic_trace 300000 50000 1.8 1 5000000000 test.tr
change line 37 will be fine
auto * size = new long[no_objs];
Thank you, Zhenyu. This seems like a good fix.
Would you like to fork and send a pull request, or would you rather have
me fix this?
Daniel
…On 12/18/2017 12:58 AM, Zhenyu Song wrote:
change line 37 will be fine
|auto * size = new long[no_objs];|
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJf5XORVuwf8SoP3X8KhumUvZEp16Auzks5tBf8UgaJpZM4RE_9V>.
You can directly fix that~ Not a big change.
fixed by commit 1cf0e00