Hi,

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         printf("the pid file ptr %p\n",pid_file);
(gdb) n
the pid file ptr 0x4e9508
525         free(pid_file);
(gdb) n
*** glibc detected *** /opt/openpkg/sbin/snmptrapd: free(): invalid
pointer: 0x00000000004e9508 ***
526       pid_file = "/openpkg/var/snmp/snmptrapd.pid";

Hope this brings more information.


Regards,

Christian Lete
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to