Re: f9 snmpd[4517]: stack overflow detected; terminated

2013-09-04 Thread alexus
so mean while, I'm thinking adding something like this to cron as @daily,
but I'm getting error(

f9# service bsnmpd status ; if [ $? != 0 ] ; then service bsnmpd start ; fi
bsnmpd is running as pid 4269.
if: Expression Syntax.
then: Command not found.
fi: Command not found.
f9#



On Tue, Sep 3, 2013 at 4:41 PM, Fernando Apesteguía 
fernando.apesteg...@gmail.com wrote:


 El 03/09/2013 21:47, alexus ale...@gmail.com escribió:

 
  I use bsnmpd w/ mrtg (have been for very long time and everything was
 ok, till recently), mrtg just monitors interface(s) as it always did,
 nothing special..
 
  any ideas how to solve it though?

 I'm really sorry. I don't use SNMP.
 I would try to configure snmpd to be as verbose as possible and see if it
 can log something interesting before it crashes.

 Maybe someone who uses it can step in and help you to debug the problem.

 
 
  On Tue, Sep 3, 2013 at 3:40 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:
 
 
 
 
  On Tue, Sep 3, 2013 at 9:22 PM, alexus ale...@gmail.com wrote:
 
  #13156 0x in ?? ()
  #13157 0x0001 in ?? ()
  #13158 0x7fffae80 in ?? ()
  #13159 0x00080063c400 in ?? ()
  #13160 0x7fffae90 in ?? ()
  #13161 0x7fffae30 in ?? ()
  #13162 0x00080063c000 in ?? ()
  #13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
  Previous frame inner to this frame (corrupt stack?)
  (gdb)
 
  http://pastebin.com/qhQGC5A4
 
 
  It was long indeed :)
 
  It seems to me you are receiving a very long query from the network and
 somehow, the snmp_input_finish() function is blowing up.
 
 
 
 
 
 
 
  On Tue, Sep 3, 2013 at 3:18 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:
 
 
  El 03/09/2013 21:11, alexus ale...@gmail.com escribió:
 
 
  
   it's _REALLY_ long, but if you want I can upload it somewhere...
  
   last couple of lines is following:
  
   #13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
   Previous frame inner to this frame (corrupt stack?)
 
  Not much there.
 
  Paste the last 10 or 20 lines please. Let's see if that throws some
 light.
 
  
  
  
   On Tue, Sep 3, 2013 at 3:08 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:
  
  
  
  
   On Tue, Sep 3, 2013 at 9:04 PM, alexus ale...@gmail.com wrote:
  
   can you guide me through to get whole backtrace please?
  
  
   After opening the core like you did, type bt and press enter.
  
  
  
  
   On Tue, Aug 27, 2013 at 5:19 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:
  
  
   El 27/08/2013 05:03, alexus ale...@gmail.com escribió:
  
  
   
f9# gdb `which bsnmpd` /bsnmpd.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public
 License, and you are
welcome to change it and/or distribute copies of it under
 certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty
 for details.
This GDB was configured as amd64-marcel-freebsd...(no
 debugging symbols
found)...
Core was generated by `bsnmpd'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libbegemot.so.4...(no debugging
 symbols
found)...done.
Loaded symbols for /lib/libbegemot.so.4
Reading symbols from /usr/lib/libbsnmp.so.6...(no debugging
 symbols
found)...done.
Loaded symbols for /usr/lib/libbsnmp.so.6
Reading symbols from /usr/lib/libwrap.so.6...(no debugging
 symbols
found)...done.
Loaded symbols for /usr/lib/libwrap.so.6
Reading symbols from /lib/libc.so.7...(no debugging symbols
 found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /lib/libcrypto.so.6...(no debugging
 symbols
found)...done.
Loaded symbols for /lib/libcrypto.so.6
Reading symbols from /usr/lib/snmp_mibII.so...(no debugging
 symbols
found)...done.
Loaded symbols for /usr/lib/snmp_mibII.so
Reading symbols from /libexec/ld-elf.so.1...(no debugging
 symbols
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x000800f54d6c in kill () from /lib/libc.so.7
(gdb)
  
   Is that the whole backtrace?
  
   
   
   
On Mon, Aug 26, 2013 at 10:42 PM, James Gosnell 
 jamesgosn...@gmail.comwrote:
   
 What's the core dump and your config file look like?


 On Mon, Aug 26, 2013 at 9:28 PM, alexus ale...@gmail.com
 wrote:

  My bsnmpd(1) keep crashing(
 
  f9# uname -a
  FreeBSD f9.alexus.org 9.1-RELEASE-p6 FreeBSD
 9.1-RELEASE-p6 #0: Wed Aug
 21
  20:40:52 UTC 2013
  r...@amd64-builder.daemonology.net:
 /usr/obj/usr/src/sys/GENERIC
   amd64
  f9# bzip2 -cd all.log.1.bz2 | grep snmpd
  Aug 24 20:59:55 f9 snmpd[4517]: stack overflow detected;
 terminated
  Aug 24 20:59:55 f9 kernel: Aug 24 20:59:55 f9 snmpd[4517]:
 stack overflow
  detected; terminated
  Aug 24 

Re: f9 snmpd[4517]: stack overflow detected; terminated

2013-09-04 Thread alexus
nevermind) I forgot I'm using csh, so right syntax is:

service bsnmpd status ; if ( $? != 0 ) service bsnmpd start ; endif


On Wed, Sep 4, 2013 at 11:52 AM, alexus ale...@gmail.com wrote:

 so mean while, I'm thinking adding something like this to cron as @daily,
 but I'm getting error(

 f9# service bsnmpd status ; if [ $? != 0 ] ; then service bsnmpd start ; fi
 bsnmpd is running as pid 4269.
 if: Expression Syntax.
 then: Command not found.
 fi: Command not found.
 f9#



 On Tue, Sep 3, 2013 at 4:41 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:


 El 03/09/2013 21:47, alexus ale...@gmail.com escribió:

 
  I use bsnmpd w/ mrtg (have been for very long time and everything was
 ok, till recently), mrtg just monitors interface(s) as it always did,
 nothing special..
 
  any ideas how to solve it though?

 I'm really sorry. I don't use SNMP.
 I would try to configure snmpd to be as verbose as possible and see if it
 can log something interesting before it crashes.

 Maybe someone who uses it can step in and help you to debug the problem.

 
 
  On Tue, Sep 3, 2013 at 3:40 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:
 
 
 
 
  On Tue, Sep 3, 2013 at 9:22 PM, alexus ale...@gmail.com wrote:
 
  #13156 0x in ?? ()
  #13157 0x0001 in ?? ()
  #13158 0x7fffae80 in ?? ()
  #13159 0x00080063c400 in ?? ()
  #13160 0x7fffae90 in ?? ()
  #13161 0x7fffae30 in ?? ()
  #13162 0x00080063c000 in ?? ()
  #13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
  Previous frame inner to this frame (corrupt stack?)
  (gdb)
 
  http://pastebin.com/qhQGC5A4
 
 
  It was long indeed :)
 
  It seems to me you are receiving a very long query from the network
 and somehow, the snmp_input_finish() function is blowing up.
 
 
 
 
 
 
 
  On Tue, Sep 3, 2013 at 3:18 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:
 
 
  El 03/09/2013 21:11, alexus ale...@gmail.com escribió:
 
 
  
   it's _REALLY_ long, but if you want I can upload it somewhere...
  
   last couple of lines is following:
  
   #13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
   Previous frame inner to this frame (corrupt stack?)
 
  Not much there.
 
  Paste the last 10 or 20 lines please. Let's see if that throws some
 light.
 
  
  
  
   On Tue, Sep 3, 2013 at 3:08 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:
  
  
  
  
   On Tue, Sep 3, 2013 at 9:04 PM, alexus ale...@gmail.com wrote:
  
   can you guide me through to get whole backtrace please?
  
  
   After opening the core like you did, type bt and press enter.
  
  
  
  
   On Tue, Aug 27, 2013 at 5:19 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:
  
  
   El 27/08/2013 05:03, alexus ale...@gmail.com escribió:
  
  
   
f9# gdb `which bsnmpd` /bsnmpd.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public
 License, and you are
welcome to change it and/or distribute copies of it under
 certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show
 warranty for details.
This GDB was configured as amd64-marcel-freebsd...(no
 debugging symbols
found)...
Core was generated by `bsnmpd'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libbegemot.so.4...(no debugging
 symbols
found)...done.
Loaded symbols for /lib/libbegemot.so.4
Reading symbols from /usr/lib/libbsnmp.so.6...(no debugging
 symbols
found)...done.
Loaded symbols for /usr/lib/libbsnmp.so.6
Reading symbols from /usr/lib/libwrap.so.6...(no debugging
 symbols
found)...done.
Loaded symbols for /usr/lib/libwrap.so.6
Reading symbols from /lib/libc.so.7...(no debugging symbols
 found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /lib/libcrypto.so.6...(no debugging
 symbols
found)...done.
Loaded symbols for /lib/libcrypto.so.6
Reading symbols from /usr/lib/snmp_mibII.so...(no debugging
 symbols
found)...done.
Loaded symbols for /usr/lib/snmp_mibII.so
Reading symbols from /libexec/ld-elf.so.1...(no debugging
 symbols
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x000800f54d6c in kill () from /lib/libc.so.7
(gdb)
  
   Is that the whole backtrace?
  
   
   
   
On Mon, Aug 26, 2013 at 10:42 PM, James Gosnell 
 jamesgosn...@gmail.comwrote:
   
 What's the core dump and your config file look like?


 On Mon, Aug 26, 2013 at 9:28 PM, alexus ale...@gmail.com
 wrote:

  My bsnmpd(1) keep crashing(
 
  f9# uname -a
  FreeBSD f9.alexus.org 9.1-RELEASE-p6 FreeBSD
 9.1-RELEASE-p6 #0: Wed Aug
 21
  20:40:52 UTC 2013
  r...@amd64-builder.daemonology.net:
 /usr/obj/usr/src/sys/GENERIC
   amd64
  f9# bzip2 -cd all.log.1.bz2 | grep 

Re: f9 snmpd[4517]: stack overflow detected; terminated

2013-09-03 Thread alexus
can you guide me through to get whole backtrace please?


On Tue, Aug 27, 2013 at 5:19 PM, Fernando Apesteguía 
fernando.apesteg...@gmail.com wrote:


 El 27/08/2013 05:03, alexus ale...@gmail.com escribió:

 
  f9# gdb `which bsnmpd` /bsnmpd.core
  GNU gdb 6.1.1 [FreeBSD]
  Copyright 2004 Free Software Foundation, Inc.
  GDB is free software, covered by the GNU General Public License, and you
 are
  welcome to change it and/or distribute copies of it under certain
  conditions.
  Type show copying to see the conditions.
  There is absolutely no warranty for GDB.  Type show warranty for
 details.
  This GDB was configured as amd64-marcel-freebsd...(no debugging symbols
  found)...
  Core was generated by `bsnmpd'.
  Program terminated with signal 6, Aborted.
  Reading symbols from /lib/libbegemot.so.4...(no debugging symbols
  found)...done.
  Loaded symbols for /lib/libbegemot.so.4
  Reading symbols from /usr/lib/libbsnmp.so.6...(no debugging symbols
  found)...done.
  Loaded symbols for /usr/lib/libbsnmp.so.6
  Reading symbols from /usr/lib/libwrap.so.6...(no debugging symbols
  found)...done.
  Loaded symbols for /usr/lib/libwrap.so.6
  Reading symbols from /lib/libc.so.7...(no debugging symbols
 found)...done.
  Loaded symbols for /lib/libc.so.7
  Reading symbols from /lib/libcrypto.so.6...(no debugging symbols
  found)...done.
  Loaded symbols for /lib/libcrypto.so.6
  Reading symbols from /usr/lib/snmp_mibII.so...(no debugging symbols
  found)...done.
  Loaded symbols for /usr/lib/snmp_mibII.so
  Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
  found)...done.
  Loaded symbols for /libexec/ld-elf.so.1
  #0  0x000800f54d6c in kill () from /lib/libc.so.7
  (gdb)

 Is that the whole backtrace?

 
 
 
  On Mon, Aug 26, 2013 at 10:42 PM, James Gosnell jamesgosn...@gmail.com
 wrote:
 
   What's the core dump and your config file look like?
  
  
   On Mon, Aug 26, 2013 at 9:28 PM, alexus ale...@gmail.com wrote:
  
My bsnmpd(1) keep crashing(
   
f9# uname -a
FreeBSD f9.alexus.org 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed
 Aug
   21
20:40:52 UTC 2013
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
 amd64
f9# bzip2 -cd all.log.1.bz2 | grep snmpd
Aug 24 20:59:55 f9 snmpd[4517]: stack overflow detected; terminated
Aug 24 20:59:55 f9 kernel: Aug 24 20:59:55 f9 snmpd[4517]: stack
 overflow
detected; terminated
Aug 24 20:59:56 f9 kernel: pid 4517 (bsnmpd), uid 0: exited on
 signal 6
(core dumped)
f9# head -1 /etc/snmpd.config
# $FreeBSD: release/9.1.0/etc/snmpd.config 216595 2010-12-20
 17:28:15Z
syrinx $
f9#
   
What can I do to resolve it?
   
--
http://alexus.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
   
  
  
  
   --
   James Gosnell, ACP
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
   freebsd-questions-unsubscr...@freebsd.org
  
 
 
 
  --
  http://alexus.org/
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




-- 
http://alexus.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: f9 snmpd[4517]: stack overflow detected; terminated

2013-09-03 Thread Fernando Apesteguía
On Tue, Sep 3, 2013 at 9:04 PM, alexus ale...@gmail.com wrote:

 can you guide me through to get whole backtrace please?


After opening the core like you did, type bt and press enter.




 On Tue, Aug 27, 2013 at 5:19 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:


 El 27/08/2013 05:03, alexus ale...@gmail.com escribió:

 
  f9# gdb `which bsnmpd` /bsnmpd.core
  GNU gdb 6.1.1 [FreeBSD]
  Copyright 2004 Free Software Foundation, Inc.
  GDB is free software, covered by the GNU General Public License, and
 you are
  welcome to change it and/or distribute copies of it under certain
  conditions.
  Type show copying to see the conditions.
  There is absolutely no warranty for GDB.  Type show warranty for
 details.
  This GDB was configured as amd64-marcel-freebsd...(no debugging
 symbols
  found)...
  Core was generated by `bsnmpd'.
  Program terminated with signal 6, Aborted.
  Reading symbols from /lib/libbegemot.so.4...(no debugging symbols
  found)...done.
  Loaded symbols for /lib/libbegemot.so.4
  Reading symbols from /usr/lib/libbsnmp.so.6...(no debugging symbols
  found)...done.
  Loaded symbols for /usr/lib/libbsnmp.so.6
  Reading symbols from /usr/lib/libwrap.so.6...(no debugging symbols
  found)...done.
  Loaded symbols for /usr/lib/libwrap.so.6
  Reading symbols from /lib/libc.so.7...(no debugging symbols
 found)...done.
  Loaded symbols for /lib/libc.so.7
  Reading symbols from /lib/libcrypto.so.6...(no debugging symbols
  found)...done.
  Loaded symbols for /lib/libcrypto.so.6
  Reading symbols from /usr/lib/snmp_mibII.so...(no debugging symbols
  found)...done.
  Loaded symbols for /usr/lib/snmp_mibII.so
  Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
  found)...done.
  Loaded symbols for /libexec/ld-elf.so.1
  #0  0x000800f54d6c in kill () from /lib/libc.so.7
  (gdb)

 Is that the whole backtrace?

 
 
 
  On Mon, Aug 26, 2013 at 10:42 PM, James Gosnell jamesgosn...@gmail.com
 wrote:
 
   What's the core dump and your config file look like?
  
  
   On Mon, Aug 26, 2013 at 9:28 PM, alexus ale...@gmail.com wrote:
  
My bsnmpd(1) keep crashing(
   
f9# uname -a
FreeBSD f9.alexus.org 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0:
 Wed Aug
   21
20:40:52 UTC 2013
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
 amd64
f9# bzip2 -cd all.log.1.bz2 | grep snmpd
Aug 24 20:59:55 f9 snmpd[4517]: stack overflow detected; terminated
Aug 24 20:59:55 f9 kernel: Aug 24 20:59:55 f9 snmpd[4517]: stack
 overflow
detected; terminated
Aug 24 20:59:56 f9 kernel: pid 4517 (bsnmpd), uid 0: exited on
 signal 6
(core dumped)
f9# head -1 /etc/snmpd.config
# $FreeBSD: release/9.1.0/etc/snmpd.config 216595 2010-12-20
 17:28:15Z
syrinx $
f9#
   
What can I do to resolve it?
   
--
http://alexus.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
   
  
  
  
   --
   James Gosnell, ACP
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
   freebsd-questions-unsubscr...@freebsd.org
  
 
 
 
  --
  http://alexus.org/
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




 --
 http://alexus.org/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: f9 snmpd[4517]: stack overflow detected; terminated

2013-09-03 Thread alexus
it's _REALLY_ long, but if you want I can upload it somewhere...

last couple of lines is following:

#13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
Previous frame inner to this frame (corrupt stack?)



On Tue, Sep 3, 2013 at 3:08 PM, Fernando Apesteguía 
fernando.apesteg...@gmail.com wrote:




 On Tue, Sep 3, 2013 at 9:04 PM, alexus ale...@gmail.com wrote:

 can you guide me through to get whole backtrace please?


 After opening the core like you did, type bt and press enter.




 On Tue, Aug 27, 2013 at 5:19 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:


 El 27/08/2013 05:03, alexus ale...@gmail.com escribió:

 
  f9# gdb `which bsnmpd` /bsnmpd.core
  GNU gdb 6.1.1 [FreeBSD]
  Copyright 2004 Free Software Foundation, Inc.
  GDB is free software, covered by the GNU General Public License, and
 you are
  welcome to change it and/or distribute copies of it under certain
  conditions.
  Type show copying to see the conditions.
  There is absolutely no warranty for GDB.  Type show warranty for
 details.
  This GDB was configured as amd64-marcel-freebsd...(no debugging
 symbols
  found)...
  Core was generated by `bsnmpd'.
  Program terminated with signal 6, Aborted.
  Reading symbols from /lib/libbegemot.so.4...(no debugging symbols
  found)...done.
  Loaded symbols for /lib/libbegemot.so.4
  Reading symbols from /usr/lib/libbsnmp.so.6...(no debugging symbols
  found)...done.
  Loaded symbols for /usr/lib/libbsnmp.so.6
  Reading symbols from /usr/lib/libwrap.so.6...(no debugging symbols
  found)...done.
  Loaded symbols for /usr/lib/libwrap.so.6
  Reading symbols from /lib/libc.so.7...(no debugging symbols
 found)...done.
  Loaded symbols for /lib/libc.so.7
  Reading symbols from /lib/libcrypto.so.6...(no debugging symbols
  found)...done.
  Loaded symbols for /lib/libcrypto.so.6
  Reading symbols from /usr/lib/snmp_mibII.so...(no debugging symbols
  found)...done.
  Loaded symbols for /usr/lib/snmp_mibII.so
  Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
  found)...done.
  Loaded symbols for /libexec/ld-elf.so.1
  #0  0x000800f54d6c in kill () from /lib/libc.so.7
  (gdb)

 Is that the whole backtrace?

 
 
 
  On Mon, Aug 26, 2013 at 10:42 PM, James Gosnell 
 jamesgosn...@gmail.comwrote:
 
   What's the core dump and your config file look like?
  
  
   On Mon, Aug 26, 2013 at 9:28 PM, alexus ale...@gmail.com wrote:
  
My bsnmpd(1) keep crashing(
   
f9# uname -a
FreeBSD f9.alexus.org 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0:
 Wed Aug
   21
20:40:52 UTC 2013
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
 amd64
f9# bzip2 -cd all.log.1.bz2 | grep snmpd
Aug 24 20:59:55 f9 snmpd[4517]: stack overflow detected; terminated
Aug 24 20:59:55 f9 kernel: Aug 24 20:59:55 f9 snmpd[4517]: stack
 overflow
detected; terminated
Aug 24 20:59:56 f9 kernel: pid 4517 (bsnmpd), uid 0: exited on
 signal 6
(core dumped)
f9# head -1 /etc/snmpd.config
# $FreeBSD: release/9.1.0/etc/snmpd.config 216595 2010-12-20
 17:28:15Z
syrinx $
f9#
   
What can I do to resolve it?
   
--
http://alexus.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
   
  
  
  
   --
   James Gosnell, ACP
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
   freebsd-questions-unsubscr...@freebsd.org
  
 
 
 
  --
  http://alexus.org/
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




 --
 http://alexus.org/





-- 
http://alexus.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: f9 snmpd[4517]: stack overflow detected; terminated

2013-09-03 Thread Fernando Apesteguía
El 03/09/2013 21:11, alexus ale...@gmail.com escribió:

 it's _REALLY_ long, but if you want I can upload it somewhere...

 last couple of lines is following:

 #13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
 Previous frame inner to this frame (corrupt stack?)

Not much there.

Paste the last 10 or 20 lines please. Let's see if that throws some light.




 On Tue, Sep 3, 2013 at 3:08 PM, Fernando Apesteguía 
fernando.apesteg...@gmail.com wrote:




 On Tue, Sep 3, 2013 at 9:04 PM, alexus ale...@gmail.com wrote:

 can you guide me through to get whole backtrace please?


 After opening the core like you did, type bt and press enter.




 On Tue, Aug 27, 2013 at 5:19 PM, Fernando Apesteguía 
fernando.apesteg...@gmail.com wrote:


 El 27/08/2013 05:03, alexus ale...@gmail.com escribió:


 
  f9# gdb `which bsnmpd` /bsnmpd.core
  GNU gdb 6.1.1 [FreeBSD]
  Copyright 2004 Free Software Foundation, Inc.
  GDB is free software, covered by the GNU General Public License, and
you are
  welcome to change it and/or distribute copies of it under certain
  conditions.
  Type show copying to see the conditions.
  There is absolutely no warranty for GDB.  Type show warranty for
details.
  This GDB was configured as amd64-marcel-freebsd...(no debugging
symbols
  found)...
  Core was generated by `bsnmpd'.
  Program terminated with signal 6, Aborted.
  Reading symbols from /lib/libbegemot.so.4...(no debugging symbols
  found)...done.
  Loaded symbols for /lib/libbegemot.so.4
  Reading symbols from /usr/lib/libbsnmp.so.6...(no debugging symbols
  found)...done.
  Loaded symbols for /usr/lib/libbsnmp.so.6
  Reading symbols from /usr/lib/libwrap.so.6...(no debugging symbols
  found)...done.
  Loaded symbols for /usr/lib/libwrap.so.6
  Reading symbols from /lib/libc.so.7...(no debugging symbols
found)...done.
  Loaded symbols for /lib/libc.so.7
  Reading symbols from /lib/libcrypto.so.6...(no debugging symbols
  found)...done.
  Loaded symbols for /lib/libcrypto.so.6
  Reading symbols from /usr/lib/snmp_mibII.so...(no debugging symbols
  found)...done.
  Loaded symbols for /usr/lib/snmp_mibII.so
  Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
  found)...done.
  Loaded symbols for /libexec/ld-elf.so.1
  #0  0x000800f54d6c in kill () from /lib/libc.so.7
  (gdb)

 Is that the whole backtrace?

 
 
 
  On Mon, Aug 26, 2013 at 10:42 PM, James Gosnell 
jamesgosn...@gmail.comwrote:
 
   What's the core dump and your config file look like?
  
  
   On Mon, Aug 26, 2013 at 9:28 PM, alexus ale...@gmail.com wrote:
  
My bsnmpd(1) keep crashing(
   
f9# uname -a
FreeBSD f9.alexus.org 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0:
Wed Aug
   21
20:40:52 UTC 2013
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
 amd64
f9# bzip2 -cd all.log.1.bz2 | grep snmpd
Aug 24 20:59:55 f9 snmpd[4517]: stack overflow detected;
terminated
Aug 24 20:59:55 f9 kernel: Aug 24 20:59:55 f9 snmpd[4517]: stack
overflow
detected; terminated
Aug 24 20:59:56 f9 kernel: pid 4517 (bsnmpd), uid 0: exited on
signal 6
(core dumped)
f9# head -1 /etc/snmpd.config
# $FreeBSD: release/9.1.0/etc/snmpd.config 216595 2010-12-20
17:28:15Z
syrinx $
f9#
   
What can I do to resolve it?
   
--
http://alexus.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
   
  
  
  
   --
   James Gosnell, ACP
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
   freebsd-questions-unsubscr...@freebsd.org
  
 
 
 
  --
  http://alexus.org/
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org




 --
 http://alexus.org/





 --
 http://alexus.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: f9 snmpd[4517]: stack overflow detected; terminated

2013-09-03 Thread alexus
#13156 0x in ?? ()
#13157 0x0001 in ?? ()
#13158 0x7fffae80 in ?? ()
#13159 0x00080063c400 in ?? ()
#13160 0x7fffae90 in ?? ()
#13161 0x7fffae30 in ?? ()
#13162 0x00080063c000 in ?? ()
#13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
Previous frame inner to this frame (corrupt stack?)
(gdb)

http://pastebin.com/qhQGC5A4



On Tue, Sep 3, 2013 at 3:18 PM, Fernando Apesteguía 
fernando.apesteg...@gmail.com wrote:


 El 03/09/2013 21:11, alexus ale...@gmail.com escribió:

 
  it's _REALLY_ long, but if you want I can upload it somewhere...
 
  last couple of lines is following:
 
  #13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
  Previous frame inner to this frame (corrupt stack?)

 Not much there.

 Paste the last 10 or 20 lines please. Let's see if that throws some light.

 
 
 
  On Tue, Sep 3, 2013 at 3:08 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:
 
 
 
 
  On Tue, Sep 3, 2013 at 9:04 PM, alexus ale...@gmail.com wrote:
 
  can you guide me through to get whole backtrace please?
 
 
  After opening the core like you did, type bt and press enter.
 
 
 
 
  On Tue, Aug 27, 2013 at 5:19 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:
 
 
  El 27/08/2013 05:03, alexus ale...@gmail.com escribió:
 
 
  
   f9# gdb `which bsnmpd` /bsnmpd.core
   GNU gdb 6.1.1 [FreeBSD]
   Copyright 2004 Free Software Foundation, Inc.
   GDB is free software, covered by the GNU General Public License,
 and you are
   welcome to change it and/or distribute copies of it under certain
   conditions.
   Type show copying to see the conditions.
   There is absolutely no warranty for GDB.  Type show warranty for
 details.
   This GDB was configured as amd64-marcel-freebsd...(no debugging
 symbols
   found)...
   Core was generated by `bsnmpd'.
   Program terminated with signal 6, Aborted.
   Reading symbols from /lib/libbegemot.so.4...(no debugging symbols
   found)...done.
   Loaded symbols for /lib/libbegemot.so.4
   Reading symbols from /usr/lib/libbsnmp.so.6...(no debugging symbols
   found)...done.
   Loaded symbols for /usr/lib/libbsnmp.so.6
   Reading symbols from /usr/lib/libwrap.so.6...(no debugging symbols
   found)...done.
   Loaded symbols for /usr/lib/libwrap.so.6
   Reading symbols from /lib/libc.so.7...(no debugging symbols
 found)...done.
   Loaded symbols for /lib/libc.so.7
   Reading symbols from /lib/libcrypto.so.6...(no debugging symbols
   found)...done.
   Loaded symbols for /lib/libcrypto.so.6
   Reading symbols from /usr/lib/snmp_mibII.so...(no debugging symbols
   found)...done.
   Loaded symbols for /usr/lib/snmp_mibII.so
   Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
   found)...done.
   Loaded symbols for /libexec/ld-elf.so.1
   #0  0x000800f54d6c in kill () from /lib/libc.so.7
   (gdb)
 
  Is that the whole backtrace?
 
  
  
  
   On Mon, Aug 26, 2013 at 10:42 PM, James Gosnell 
 jamesgosn...@gmail.comwrote:
  
What's the core dump and your config file look like?
   
   
On Mon, Aug 26, 2013 at 9:28 PM, alexus ale...@gmail.com wrote:
   
 My bsnmpd(1) keep crashing(

 f9# uname -a
 FreeBSD f9.alexus.org 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6
 #0: Wed Aug
21
 20:40:52 UTC 2013
 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
  amd64
 f9# bzip2 -cd all.log.1.bz2 | grep snmpd
 Aug 24 20:59:55 f9 snmpd[4517]: stack overflow detected;
 terminated
 Aug 24 20:59:55 f9 kernel: Aug 24 20:59:55 f9 snmpd[4517]:
 stack overflow
 detected; terminated
 Aug 24 20:59:56 f9 kernel: pid 4517 (bsnmpd), uid 0: exited on
 signal 6
 (core dumped)
 f9# head -1 /etc/snmpd.config
 # $FreeBSD: release/9.1.0/etc/snmpd.config 216595 2010-12-20
 17:28:15Z
 syrinx $
 f9#

 What can I do to resolve it?

 --
 http://alexus.org/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

   
   
   
--
James Gosnell, ACP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
   
  
  
  
   --
   http://alexus.org/
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 
 
 
 
  --
  http://alexus.org/
 
 
 
 
 
  --
  http://alexus.org/




-- 
http://alexus.org/
___
freebsd-questions@freebsd.org mailing list

Re: f9 snmpd[4517]: stack overflow detected; terminated

2013-09-03 Thread Fernando Apesteguía
On Tue, Sep 3, 2013 at 9:22 PM, alexus ale...@gmail.com wrote:

 #13156 0x in ?? ()
 #13157 0x0001 in ?? ()
 #13158 0x7fffae80 in ?? ()
 #13159 0x00080063c400 in ?? ()
 #13160 0x7fffae90 in ?? ()
 #13161 0x7fffae30 in ?? ()
 #13162 0x00080063c000 in ?? ()
 #13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
 Previous frame inner to this frame (corrupt stack?)
 (gdb)

 http://pastebin.com/qhQGC5A4


It was long indeed :)

It seems to me you are receiving a very long query from the network and
somehow, the snmp_input_finish() function is blowing up.







 On Tue, Sep 3, 2013 at 3:18 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:


 El 03/09/2013 21:11, alexus ale...@gmail.com escribió:

 
  it's _REALLY_ long, but if you want I can upload it somewhere...
 
  last couple of lines is following:
 
  #13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
  Previous frame inner to this frame (corrupt stack?)

 Not much there.

 Paste the last 10 or 20 lines please. Let's see if that throws some light.

 
 
 
  On Tue, Sep 3, 2013 at 3:08 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:
 
 
 
 
  On Tue, Sep 3, 2013 at 9:04 PM, alexus ale...@gmail.com wrote:
 
  can you guide me through to get whole backtrace please?
 
 
  After opening the core like you did, type bt and press enter.
 
 
 
 
  On Tue, Aug 27, 2013 at 5:19 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:
 
 
  El 27/08/2013 05:03, alexus ale...@gmail.com escribió:
 
 
  
   f9# gdb `which bsnmpd` /bsnmpd.core
   GNU gdb 6.1.1 [FreeBSD]
   Copyright 2004 Free Software Foundation, Inc.
   GDB is free software, covered by the GNU General Public License,
 and you are
   welcome to change it and/or distribute copies of it under certain
   conditions.
   Type show copying to see the conditions.
   There is absolutely no warranty for GDB.  Type show warranty for
 details.
   This GDB was configured as amd64-marcel-freebsd...(no debugging
 symbols
   found)...
   Core was generated by `bsnmpd'.
   Program terminated with signal 6, Aborted.
   Reading symbols from /lib/libbegemot.so.4...(no debugging symbols
   found)...done.
   Loaded symbols for /lib/libbegemot.so.4
   Reading symbols from /usr/lib/libbsnmp.so.6...(no debugging symbols
   found)...done.
   Loaded symbols for /usr/lib/libbsnmp.so.6
   Reading symbols from /usr/lib/libwrap.so.6...(no debugging symbols
   found)...done.
   Loaded symbols for /usr/lib/libwrap.so.6
   Reading symbols from /lib/libc.so.7...(no debugging symbols
 found)...done.
   Loaded symbols for /lib/libc.so.7
   Reading symbols from /lib/libcrypto.so.6...(no debugging symbols
   found)...done.
   Loaded symbols for /lib/libcrypto.so.6
   Reading symbols from /usr/lib/snmp_mibII.so...(no debugging symbols
   found)...done.
   Loaded symbols for /usr/lib/snmp_mibII.so
   Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
   found)...done.
   Loaded symbols for /libexec/ld-elf.so.1
   #0  0x000800f54d6c in kill () from /lib/libc.so.7
   (gdb)
 
  Is that the whole backtrace?
 
  
  
  
   On Mon, Aug 26, 2013 at 10:42 PM, James Gosnell 
 jamesgosn...@gmail.comwrote:
  
What's the core dump and your config file look like?
   
   
On Mon, Aug 26, 2013 at 9:28 PM, alexus ale...@gmail.com
 wrote:
   
 My bsnmpd(1) keep crashing(

 f9# uname -a
 FreeBSD f9.alexus.org 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6
 #0: Wed Aug
21
 20:40:52 UTC 2013
 r...@amd64-builder.daemonology.net:
 /usr/obj/usr/src/sys/GENERIC
  amd64
 f9# bzip2 -cd all.log.1.bz2 | grep snmpd
 Aug 24 20:59:55 f9 snmpd[4517]: stack overflow detected;
 terminated
 Aug 24 20:59:55 f9 kernel: Aug 24 20:59:55 f9 snmpd[4517]:
 stack overflow
 detected; terminated
 Aug 24 20:59:56 f9 kernel: pid 4517 (bsnmpd), uid 0: exited on
 signal 6
 (core dumped)
 f9# head -1 /etc/snmpd.config
 # $FreeBSD: release/9.1.0/etc/snmpd.config 216595 2010-12-20
 17:28:15Z
 syrinx $
 f9#

 What can I do to resolve it?

 --
 http://alexus.org/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

   
   
   
--
James Gosnell, ACP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
   
  
  
  
   --
   http://alexus.org/
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
 

Re: f9 snmpd[4517]: stack overflow detected; terminated

2013-09-03 Thread alexus
I use bsnmpd w/ mrtg (have been for very long time and everything was ok,
till recently), mrtg just monitors interface(s) as it always did, nothing
special..

any ideas how to solve it though?


On Tue, Sep 3, 2013 at 3:40 PM, Fernando Apesteguía 
fernando.apesteg...@gmail.com wrote:




 On Tue, Sep 3, 2013 at 9:22 PM, alexus ale...@gmail.com wrote:

 #13156 0x in ?? ()
 #13157 0x0001 in ?? ()
 #13158 0x7fffae80 in ?? ()
 #13159 0x00080063c400 in ?? ()
 #13160 0x7fffae90 in ?? ()
 #13161 0x7fffae30 in ?? ()
 #13162 0x00080063c000 in ?? ()
 #13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
 Previous frame inner to this frame (corrupt stack?)
 (gdb)

 http://pastebin.com/qhQGC5A4


 It was long indeed :)

 It seems to me you are receiving a very long query from the network and
 somehow, the snmp_input_finish() function is blowing up.







 On Tue, Sep 3, 2013 at 3:18 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:


 El 03/09/2013 21:11, alexus ale...@gmail.com escribió:

 
  it's _REALLY_ long, but if you want I can upload it somewhere...
 
  last couple of lines is following:
 
  #13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
  Previous frame inner to this frame (corrupt stack?)

 Not much there.

 Paste the last 10 or 20 lines please. Let's see if that throws some
 light.

 
 
 
  On Tue, Sep 3, 2013 at 3:08 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:
 
 
 
 
  On Tue, Sep 3, 2013 at 9:04 PM, alexus ale...@gmail.com wrote:
 
  can you guide me through to get whole backtrace please?
 
 
  After opening the core like you did, type bt and press enter.
 
 
 
 
  On Tue, Aug 27, 2013 at 5:19 PM, Fernando Apesteguía 
 fernando.apesteg...@gmail.com wrote:
 
 
  El 27/08/2013 05:03, alexus ale...@gmail.com escribió:
 
 
  
   f9# gdb `which bsnmpd` /bsnmpd.core
   GNU gdb 6.1.1 [FreeBSD]
   Copyright 2004 Free Software Foundation, Inc.
   GDB is free software, covered by the GNU General Public License,
 and you are
   welcome to change it and/or distribute copies of it under certain
   conditions.
   Type show copying to see the conditions.
   There is absolutely no warranty for GDB.  Type show warranty
 for details.
   This GDB was configured as amd64-marcel-freebsd...(no debugging
 symbols
   found)...
   Core was generated by `bsnmpd'.
   Program terminated with signal 6, Aborted.
   Reading symbols from /lib/libbegemot.so.4...(no debugging symbols
   found)...done.
   Loaded symbols for /lib/libbegemot.so.4
   Reading symbols from /usr/lib/libbsnmp.so.6...(no debugging
 symbols
   found)...done.
   Loaded symbols for /usr/lib/libbsnmp.so.6
   Reading symbols from /usr/lib/libwrap.so.6...(no debugging symbols
   found)...done.
   Loaded symbols for /usr/lib/libwrap.so.6
   Reading symbols from /lib/libc.so.7...(no debugging symbols
 found)...done.
   Loaded symbols for /lib/libc.so.7
   Reading symbols from /lib/libcrypto.so.6...(no debugging symbols
   found)...done.
   Loaded symbols for /lib/libcrypto.so.6
   Reading symbols from /usr/lib/snmp_mibII.so...(no debugging
 symbols
   found)...done.
   Loaded symbols for /usr/lib/snmp_mibII.so
   Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
   found)...done.
   Loaded symbols for /libexec/ld-elf.so.1
   #0  0x000800f54d6c in kill () from /lib/libc.so.7
   (gdb)
 
  Is that the whole backtrace?
 
  
  
  
   On Mon, Aug 26, 2013 at 10:42 PM, James Gosnell 
 jamesgosn...@gmail.comwrote:
  
What's the core dump and your config file look like?
   
   
On Mon, Aug 26, 2013 at 9:28 PM, alexus ale...@gmail.com
 wrote:
   
 My bsnmpd(1) keep crashing(

 f9# uname -a
 FreeBSD f9.alexus.org 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6
 #0: Wed Aug
21
 20:40:52 UTC 2013
 r...@amd64-builder.daemonology.net:
 /usr/obj/usr/src/sys/GENERIC
  amd64
 f9# bzip2 -cd all.log.1.bz2 | grep snmpd
 Aug 24 20:59:55 f9 snmpd[4517]: stack overflow detected;
 terminated
 Aug 24 20:59:55 f9 kernel: Aug 24 20:59:55 f9 snmpd[4517]:
 stack overflow
 detected; terminated
 Aug 24 20:59:56 f9 kernel: pid 4517 (bsnmpd), uid 0: exited
 on signal 6
 (core dumped)
 f9# head -1 /etc/snmpd.config
 # $FreeBSD: release/9.1.0/etc/snmpd.config 216595 2010-12-20
 17:28:15Z
 syrinx $
 f9#

 What can I do to resolve it?

 --
 http://alexus.org/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

   
   
   
--
James Gosnell, ACP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 

Re: f9 snmpd[4517]: stack overflow detected; terminated

2013-09-03 Thread Fernando Apesteguía
El 03/09/2013 21:47, alexus ale...@gmail.com escribió:

 I use bsnmpd w/ mrtg (have been for very long time and everything was ok,
till recently), mrtg just monitors interface(s) as it always did, nothing
special..

 any ideas how to solve it though?

I'm really sorry. I don't use SNMP.
I would try to configure snmpd to be as verbose as possible and see if it
can log something interesting before it crashes.

Maybe someone who uses it can step in and help you to debug the problem.



 On Tue, Sep 3, 2013 at 3:40 PM, Fernando Apesteguía 
fernando.apesteg...@gmail.com wrote:




 On Tue, Sep 3, 2013 at 9:22 PM, alexus ale...@gmail.com wrote:

 #13156 0x in ?? ()
 #13157 0x0001 in ?? ()
 #13158 0x7fffae80 in ?? ()
 #13159 0x00080063c400 in ?? ()
 #13160 0x7fffae90 in ?? ()
 #13161 0x7fffae30 in ?? ()
 #13162 0x00080063c000 in ?? ()
 #13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
 Previous frame inner to this frame (corrupt stack?)
 (gdb)

 http://pastebin.com/qhQGC5A4


 It was long indeed :)

 It seems to me you are receiving a very long query from the network and
somehow, the snmp_input_finish() function is blowing up.







 On Tue, Sep 3, 2013 at 3:18 PM, Fernando Apesteguía 
fernando.apesteg...@gmail.com wrote:


 El 03/09/2013 21:11, alexus ale...@gmail.com escribió:


 
  it's _REALLY_ long, but if you want I can upload it somewhere...
 
  last couple of lines is following:
 
  #13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
  Previous frame inner to this frame (corrupt stack?)

 Not much there.

 Paste the last 10 or 20 lines please. Let's see if that throws some
light.

 
 
 
  On Tue, Sep 3, 2013 at 3:08 PM, Fernando Apesteguía 
fernando.apesteg...@gmail.com wrote:
 
 
 
 
  On Tue, Sep 3, 2013 at 9:04 PM, alexus ale...@gmail.com wrote:
 
  can you guide me through to get whole backtrace please?
 
 
  After opening the core like you did, type bt and press enter.
 
 
 
 
  On Tue, Aug 27, 2013 at 5:19 PM, Fernando Apesteguía 
fernando.apesteg...@gmail.com wrote:
 
 
  El 27/08/2013 05:03, alexus ale...@gmail.com escribió:
 
 
  
   f9# gdb `which bsnmpd` /bsnmpd.core
   GNU gdb 6.1.1 [FreeBSD]
   Copyright 2004 Free Software Foundation, Inc.
   GDB is free software, covered by the GNU General Public
License, and you are
   welcome to change it and/or distribute copies of it under
certain
   conditions.
   Type show copying to see the conditions.
   There is absolutely no warranty for GDB.  Type show warranty
for details.
   This GDB was configured as amd64-marcel-freebsd...(no
debugging symbols
   found)...
   Core was generated by `bsnmpd'.
   Program terminated with signal 6, Aborted.
   Reading symbols from /lib/libbegemot.so.4...(no debugging
symbols
   found)...done.
   Loaded symbols for /lib/libbegemot.so.4
   Reading symbols from /usr/lib/libbsnmp.so.6...(no debugging
symbols
   found)...done.
   Loaded symbols for /usr/lib/libbsnmp.so.6
   Reading symbols from /usr/lib/libwrap.so.6...(no debugging
symbols
   found)...done.
   Loaded symbols for /usr/lib/libwrap.so.6
   Reading symbols from /lib/libc.so.7...(no debugging symbols
found)...done.
   Loaded symbols for /lib/libc.so.7
   Reading symbols from /lib/libcrypto.so.6...(no debugging symbols
   found)...done.
   Loaded symbols for /lib/libcrypto.so.6
   Reading symbols from /usr/lib/snmp_mibII.so...(no debugging
symbols
   found)...done.
   Loaded symbols for /usr/lib/snmp_mibII.so
   Reading symbols from /libexec/ld-elf.so.1...(no debugging
symbols
   found)...done.
   Loaded symbols for /libexec/ld-elf.so.1
   #0  0x000800f54d6c in kill () from /lib/libc.so.7
   (gdb)
 
  Is that the whole backtrace?
 
  
  
  
   On Mon, Aug 26, 2013 at 10:42 PM, James Gosnell 
jamesgosn...@gmail.comwrote:
  
What's the core dump and your config file look like?
   
   
On Mon, Aug 26, 2013 at 9:28 PM, alexus ale...@gmail.com
wrote:
   
 My bsnmpd(1) keep crashing(

 f9# uname -a
 FreeBSD f9.alexus.org 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6
#0: Wed Aug
21
 20:40:52 UTC 2013
 r...@amd64-builder.daemonology.net:
/usr/obj/usr/src/sys/GENERIC
  amd64
 f9# bzip2 -cd all.log.1.bz2 | grep snmpd
 Aug 24 20:59:55 f9 snmpd[4517]: stack overflow detected;
terminated
 Aug 24 20:59:55 f9 kernel: Aug 24 20:59:55 f9 snmpd[4517]:
stack overflow
 detected; terminated
 Aug 24 20:59:56 f9 kernel: pid 4517 (bsnmpd), uid 0: exited
on signal 6
 (core dumped)
 f9# head -1 /etc/snmpd.config
 # $FreeBSD: release/9.1.0/etc/snmpd.config 216595
2010-12-20 17:28:15Z
 syrinx $
 f9#

 What can I do to resolve it?

 --
 http://alexus.org/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 

Re: f9 snmpd[4517]: stack overflow detected; terminated

2013-08-27 Thread alexus
snmpd.config is standard

[alexus@f9 ~]$ head -1 /etc/snmpd.config
# $FreeBSD: release/9.1.0/etc/snmpd.config 216595 2010-12-20 17:28:15Z
syrinx $
[alexus@f9 ~]$



On Mon, Aug 26, 2013 at 11:03 PM, alexus ale...@gmail.com wrote:

 f9# gdb `which bsnmpd` /bsnmpd.core
 GNU gdb 6.1.1 [FreeBSD]
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type show copying to see the conditions.
 There is absolutely no warranty for GDB.  Type show warranty for details.
 This GDB was configured as amd64-marcel-freebsd...(no debugging symbols
 found)...
 Core was generated by `bsnmpd'.
 Program terminated with signal 6, Aborted.
 Reading symbols from /lib/libbegemot.so.4...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libbegemot.so.4
 Reading symbols from /usr/lib/libbsnmp.so.6...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libbsnmp.so.6
 Reading symbols from /usr/lib/libwrap.so.6...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libwrap.so.6
 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
 Loaded symbols for /lib/libc.so.7
 Reading symbols from /lib/libcrypto.so.6...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libcrypto.so.6
 Reading symbols from /usr/lib/snmp_mibII.so...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/snmp_mibII.so
 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
 found)...done.
 Loaded symbols for /libexec/ld-elf.so.1
 #0  0x000800f54d6c in kill () from /lib/libc.so.7
 (gdb)



 On Mon, Aug 26, 2013 at 10:42 PM, James Gosnell jamesgosn...@gmail.comwrote:

 What's the core dump and your config file look like?


 On Mon, Aug 26, 2013 at 9:28 PM, alexus ale...@gmail.com wrote:

  My bsnmpd(1) keep crashing(
 
  f9# uname -a
  FreeBSD f9.alexus.org 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed
 Aug 21
  20:40:52 UTC 2013
  r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
   amd64
  f9# bzip2 -cd all.log.1.bz2 | grep snmpd
  Aug 24 20:59:55 f9 snmpd[4517]: stack overflow detected; terminated
  Aug 24 20:59:55 f9 kernel: Aug 24 20:59:55 f9 snmpd[4517]: stack
 overflow
  detected; terminated
  Aug 24 20:59:56 f9 kernel: pid 4517 (bsnmpd), uid 0: exited on signal 6
  (core dumped)
  f9# head -1 /etc/snmpd.config
  # $FreeBSD: release/9.1.0/etc/snmpd.config 216595 2010-12-20 17:28:15Z
  syrinx $
  f9#
 
  What can I do to resolve it?
 
  --
  http://alexus.org/
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 



 --
 James Gosnell, ACP
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




 --
 http://alexus.org/




-- 
http://alexus.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: f9 snmpd[4517]: stack overflow detected; terminated

2013-08-27 Thread Fernando Apesteguía
El 27/08/2013 05:03, alexus ale...@gmail.com escribió:

 f9# gdb `which bsnmpd` /bsnmpd.core
 GNU gdb 6.1.1 [FreeBSD]
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type show copying to see the conditions.
 There is absolutely no warranty for GDB.  Type show warranty for
details.
 This GDB was configured as amd64-marcel-freebsd...(no debugging symbols
 found)...
 Core was generated by `bsnmpd'.
 Program terminated with signal 6, Aborted.
 Reading symbols from /lib/libbegemot.so.4...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libbegemot.so.4
 Reading symbols from /usr/lib/libbsnmp.so.6...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libbsnmp.so.6
 Reading symbols from /usr/lib/libwrap.so.6...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libwrap.so.6
 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
 Loaded symbols for /lib/libc.so.7
 Reading symbols from /lib/libcrypto.so.6...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libcrypto.so.6
 Reading symbols from /usr/lib/snmp_mibII.so...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/snmp_mibII.so
 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
 found)...done.
 Loaded symbols for /libexec/ld-elf.so.1
 #0  0x000800f54d6c in kill () from /lib/libc.so.7
 (gdb)

Is that the whole backtrace?




 On Mon, Aug 26, 2013 at 10:42 PM, James Gosnell jamesgosn...@gmail.com
wrote:

  What's the core dump and your config file look like?
 
 
  On Mon, Aug 26, 2013 at 9:28 PM, alexus ale...@gmail.com wrote:
 
   My bsnmpd(1) keep crashing(
  
   f9# uname -a
   FreeBSD f9.alexus.org 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed
Aug
  21
   20:40:52 UTC 2013
   r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
amd64
   f9# bzip2 -cd all.log.1.bz2 | grep snmpd
   Aug 24 20:59:55 f9 snmpd[4517]: stack overflow detected; terminated
   Aug 24 20:59:55 f9 kernel: Aug 24 20:59:55 f9 snmpd[4517]: stack
overflow
   detected; terminated
   Aug 24 20:59:56 f9 kernel: pid 4517 (bsnmpd), uid 0: exited on signal
6
   (core dumped)
   f9# head -1 /etc/snmpd.config
   # $FreeBSD: release/9.1.0/etc/snmpd.config 216595 2010-12-20 17:28:15Z
   syrinx $
   f9#
  
   What can I do to resolve it?
  
   --
   http://alexus.org/
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
   freebsd-questions-unsubscr...@freebsd.org
  
 
 
 
  --
  James Gosnell, ACP
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 



 --
 http://alexus.org/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: f9 snmpd[4517]: stack overflow detected; terminated

2013-08-26 Thread James Gosnell
What's the core dump and your config file look like?


On Mon, Aug 26, 2013 at 9:28 PM, alexus ale...@gmail.com wrote:

 My bsnmpd(1) keep crashing(

 f9# uname -a
 FreeBSD f9.alexus.org 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21
 20:40:52 UTC 2013
 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
  amd64
 f9# bzip2 -cd all.log.1.bz2 | grep snmpd
 Aug 24 20:59:55 f9 snmpd[4517]: stack overflow detected; terminated
 Aug 24 20:59:55 f9 kernel: Aug 24 20:59:55 f9 snmpd[4517]: stack overflow
 detected; terminated
 Aug 24 20:59:56 f9 kernel: pid 4517 (bsnmpd), uid 0: exited on signal 6
 (core dumped)
 f9# head -1 /etc/snmpd.config
 # $FreeBSD: release/9.1.0/etc/snmpd.config 216595 2010-12-20 17:28:15Z
 syrinx $
 f9#

 What can I do to resolve it?

 --
 http://alexus.org/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




-- 
James Gosnell, ACP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: f9 snmpd[4517]: stack overflow detected; terminated

2013-08-26 Thread alexus
f9# gdb `which bsnmpd` /bsnmpd.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as amd64-marcel-freebsd...(no debugging symbols
found)...
Core was generated by `bsnmpd'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libbegemot.so.4...(no debugging symbols
found)...done.
Loaded symbols for /lib/libbegemot.so.4
Reading symbols from /usr/lib/libbsnmp.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libbsnmp.so.6
Reading symbols from /usr/lib/libwrap.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libwrap.so.6
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /lib/libcrypto.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libcrypto.so.6
Reading symbols from /usr/lib/snmp_mibII.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/snmp_mibII.so
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x000800f54d6c in kill () from /lib/libc.so.7
(gdb)



On Mon, Aug 26, 2013 at 10:42 PM, James Gosnell jamesgosn...@gmail.comwrote:

 What's the core dump and your config file look like?


 On Mon, Aug 26, 2013 at 9:28 PM, alexus ale...@gmail.com wrote:

  My bsnmpd(1) keep crashing(
 
  f9# uname -a
  FreeBSD f9.alexus.org 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug
 21
  20:40:52 UTC 2013
  r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
   amd64
  f9# bzip2 -cd all.log.1.bz2 | grep snmpd
  Aug 24 20:59:55 f9 snmpd[4517]: stack overflow detected; terminated
  Aug 24 20:59:55 f9 kernel: Aug 24 20:59:55 f9 snmpd[4517]: stack overflow
  detected; terminated
  Aug 24 20:59:56 f9 kernel: pid 4517 (bsnmpd), uid 0: exited on signal 6
  (core dumped)
  f9# head -1 /etc/snmpd.config
  # $FreeBSD: release/9.1.0/etc/snmpd.config 216595 2010-12-20 17:28:15Z
  syrinx $
  f9#
 
  What can I do to resolve it?
 
  --
  http://alexus.org/
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 



 --
 James Gosnell, ACP
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




-- 
http://alexus.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org