Open joanvyc opened 1 month ago
The application segfaults.
Dimemas 5.4.2
After running Dimemas with GDB I found that the segfault was happening in the funcitonTASK_OpenMP_Task where I discovered that the struct pointer tasks is never allocated however is dereferenced later in the function.
TASK_OpenMP_Task
tasks
https://github.com/bsc-performance-tools/dimemas/blob/508bfdd12b6850acb16a1ec18216482112001edc/Simulator/model/task.c#L569-L595
What Happened?
The application segfaults.
What version?
Dimemas 5.4.2
Insight
After running Dimemas with GDB I found that the segfault was happening in the funciton
TASK_OpenMP_Task
where I discovered that the struct pointertasks
is never allocated however is dereferenced later in the function.https://github.com/bsc-performance-tools/dimemas/blob/508bfdd12b6850acb16a1ec18216482112001edc/Simulator/model/task.c#L569-L595