Hi Ralf,
I checked the piece of code and I saw the problem. pid_file is
initialized to a non-NULL and non-strdup'ed string by us and this breaks
here in case the free(pid_file) is done. I've tried to fix this in the
latest snmp package now. Thanks for the hints.
I have tried it now and
On Fri, Feb 13, 2009, Christian Lete wrote:
Sorry for the double posting... I found more info regarding the error:
I added an extra line in snmptrapd.c to get more information on the pointer:
Breakpoint 1, free_config_pidFile () at snmptrapd.c:523
523 if (pid_file)
(gdb) n
524
Hi,
I'm having problems to run snmptrapd, I keep getting the following error:
Warning: no access control information configured.
This receiver will *NOT* accept any incoming notifications.
*** glibc detected *** snmptrapd: free(): invalid pointer:
0x00533308 ***
=== Backtrace:
Hi,
I'm having problems to run snmptrapd, I keep getting the following error:
Warning: no access control information configured.
This receiver will *NOT* accept any incoming notifications.
*** glibc detected *** snmptrapd: free(): invalid pointer:
0x00533308 ***
=== Backtrace: