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

关于Calloc内存问题 #392

Open
AlanCSU opened this issue Apr 26, 2023 · 1 comment
Open

关于Calloc内存问题 #392

AlanCSU opened this issue Apr 26, 2023 · 1 comment

Comments

@AlanCSU
Copy link

AlanCSU commented Apr 26, 2023

很感谢作者能够开源您的代码,在测试常规数据集后,将本人自己构建的数据集进行训练时出现了以下问题:

Fatal glibc error: malloc assertion failure in sysmalloc: (old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)
Aborted (core dumped)

问题代码:

lefHead = (INT *)calloc(entityTotal, sizeof(INT));

希望作者能够解答一下 ,再次表示感谢

@Martin1007Wang
Copy link

Same here

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

2 participants