Hi,
A problem with system limits or a program error. A C-program in test uses many malloc calls and pointers. I have run a program in test in a loop about 1200 times and it crashes with a core file.
Is there a system limit in FreeBSD to hangup a looped process after a time period or if a malloc count has been exceeded or because of some other system resource?
How to debug the program with many loops? Where to read about these? I have tried for example sysctl(8) without any results (known limit).
br,
e.
A problem with system limits or a program error. A C-program in test uses many malloc calls and pointers. I have run a program in test in a loop about 1200 times and it crashes with a core file.
gdb -c ./test.core core
does not give a good stacktrace. The execution of the takes about exactly 1 minute. The memory usage is low. The process reads a file at the same time.Is there a system limit in FreeBSD to hangup a looped process after a time period or if a malloc count has been exceeded or because of some other system resource?
How to debug the program with many loops? Where to read about these? I have tried for example sysctl(8) without any results (known limit).
br,
e.