Opened 5 years ago

Last modified 3 years ago

#5869 new discussion

NULL-Pointer Exception caused by pool_malloc

Reported by: trista.arinomo@… Owned by: Lennart Ochel
Priority: critical Milestone:
Component: FMI Version: v1.14.0
Keywords: Cc: Martin Sjölund

Description

Background:
Integrating FMU from OM in a real-time simulation for Hardware in the Loop test using dSPACE HW & SW. After 3 hours of test the simulation is stopped due to NULL-Pointer exception.

dSPACE support report that exception caused by pool_malloc. I try to defined the OMC_NO_THREADS when compiling the rt-app in case the pthread was the problem to no avail.

I check the FMU with FMUChecker for -s 11000 -h 1e-3 and it doesn't seem to have any problem.

Questions:
Since the problem is reproducible and alway happend after around 10700s - 11000s (~3h)simulation time, could it be a memory leak issue?

Any idea on how to debugg it further? or the underlying problem is another thing?

Change History (4)

comment:1 by Francesco Casella, 5 years ago

Component: BackendFMI
Milestone: NeedsInput1.16.0
Priority: normalcritical

comment:2 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:3 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:4 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.