--===============1610978359==
Content-Type: multipart/alternative;
boundary="_6d6651b9-c654-428b-825d-4d582fb2c010_"

--_6d6651b9-c654-428b-825d-4d582fb2c010_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable


I'm scratching my head trying to figure this out. Version 5.4 works fine f=
or me but I can easily make 5.4.1 crash. I encountered the same thing in t=
he pre-releases and was hoping it would be cleared up in the final 5.4.1 bu=
ild. The crash doesn't happen in the same spot. One way to cause it is to=
simply do a "snmpwalk" of the whole tree. That almost always produces a c=
rash the first time. I can also do an "snmpwalk" on just "IF". That will =
cause a crash after two or three times usually. My compiler is arm-linux-gc=
c."uname -a" output:Linux 2.4.31-uc0 #4 Thu Jul 26 15:13:31 EDT 2007 armv5b=
unknown+++++++++++++++++++++++++++++++++++++++++++ +++++strace output: gett=
imeofday({1185816815, 921486}, NULL) =3D 0socket(PF_INET, SOCK_DGRAM, IPPRO=
TO_IP) =3D 6ioctl(6, 0x8912, 0xbffff93c) =3D 0ioctl(6, 0x8912, 0=
xbffff93c) =3D 0ioctl(6, 0x8933, 0xbffff8e4) =3D 0 io=
ctl(6, 0x891b, 0x1fed10) =3D 0ioctl(6, 0x8913, 0x1fed10) =
=3D 0ioctl(6, 0x8933, 0xbffff8e4) =3D 0ioctl(6, 0x891b, =
0x1fed30) =3D 0ioctl(6, 0x8913, 0x1fed30) =3D 0 i=
octl(6, 0x8933, 0xbffff8e4) =3D 0ioctl(6, 0x891b, 0x1fed50) =
=3D 0ioctl(6, 0x8913, 0x1fed50) =3D 0ioctl(6, 0x8933,=
0xbffff8e4) =3D 0ioctl(6, 0x891b, 0x1fed70) =3D 0 =
ioctl(6, 0x8913, 0x1fed70) =3D 0ioctl(6, 0x8933, 0xbffff8e4) =
=3D 0ioctl(6, 0x891b, 0x1fed90) =3D 0ioctl(6, 0x8913=
, 0x1fed90) =3D 0ioctl(6, 0x8933, 0xbffff8e4) =3D 0=
ioctl(6, 0x891b, 0x1fedb0) =3D 0ioctl(6, 0x8913, 0x1fedb0) =
=3D 0close(6) =3D 0brk(0x225000) =
=3D 0x225000brk(0x237000) =
=3D 0x237000 brk(0x25b000) =3D 0x25b000old_mma=
p(NULL, 299008, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) =3D =
0x4015e000brk(0x215000) =3D 0x215000--- SIGSEGV (=
Segmentation fault) --- +++ killed by SIGSEGV +++++++++++++++++++++++++++++=
++++++++++++++++++++dmesg output:snmpd[17214] killed because of sig - 11STA=
CK DUMP:0xbffff854: bffff858 39323634 39353237 382e0000 001fef18 0013430c 0=
013431c 0xbffff870: 00000100 00000100 4015d380 00000108 bffff8fc 00000020 4=
01467d40xbffff88c: 00000001 00000100 bffff904 00000001 bffff908 bffff904 bf=
fff9000xbffff8a8: bffff8fc 00000001 001e72d0 001ef308 000b2e24 bffff8d4 000=
00001 0xbffff8c4: bffff8d0 00050000 4015e008 00000000 0004e001 0013430c 001=
3431c0xbffff8e0: 001ed7a0 001ef308 001ebd08 000df038 bffff908 001eda40 001e=
c8e80xbffff8fc: 00000000 00000000 00000000 00000000 0013430c 000fb81c 0016a=
098 0xbffff918: 00000000 00000002 00000001 00000000 00000000 000fbe40 00000=
0010xbffff934: 001ebd08 001e72d0 00000000 001ef308 001c11d8 0011f114 001e6f=
880xbffff950: 001ef308 000fbfa0 001e72d0 001ef308 0011ef40 001efa88 000fc25=
4 pc : [<000b4c68>] lr : [<000df624>] Tainted: Psp : bffff854 ip : 0=
0141094 fp : 00000001r10: bffff8d4 r9 : bffff8c8 r8 : bffff8d0r7 : bffff=
8cc r6 : bffff858 r5 : 002197c8 r4 : 001e1985 r3 : 001e1986 r2 : 2e0000=
00 r1 : 401ac00c r0 : 00000001Flags: nzCv IRQs on FIQs on Mode USER_32=
Segment userControl: 39FF Table: 02850000 DAC: 0000001500008000-0013500=
0 r-xp 00000000 1f:01 187 /bin/snmpd 0013c000-00142000 rw-p 0012c000 1f:01 =
187 /bin/snmpd00142000-00211000 rwxp 00000000 1f:01 18740000000-40005000 r-=
xp 00000000 1f:01 72 /lib/ld-uClibc-0.9.27.so40005000-40006000 rw-p 0000000=
0 1f:01 72 4000c000-4000d000 rw-p 00004000 1f:01 72 /lib/ld-uClibc-0.9.27.s=
o4000d000-4000f000 r-xp 00000000 1f:01 54 /lib/libdl-0.9.27.so4000f000-4001=
6000 ---p 00002000 1f:01 54 40016000-40017000 rw-p 00001000 1f:01 54 /lib/l=
ibdl-0.9.27.so40017000-400f2000 r-xp 00000000 1f:01 74 /lib/libcrypto.so.0.=
9.8400f2000-400f9000 ---p 000db000 1f:01 74400f9000-4010b000 rw-p 000da000 =
1f:01 74 /lib/libcrypto.so.0.9.8 4010b000-4010d000 rw-p 00000000 1f:01 7440=
10d000-40152000 r-xp 00000000 1f:01 60 /lib/libuClibc-0.9.27.so40152000-401=
59000 ---p 00045000 1f:01 6040159000-4015c000 rw-p 00044000 1f:01 60 /lib/l=
ibuClibc- 0.9.27.so4015c000-401af000 rw-p 00000000 1f:01 60bfffa000-c000000=
0 rwxp ffffb000 1f:01 60=20
__________________________________________________ _______________
See what you=92re getting into=85before you go there.
http://newlivehotmail.com=

--_6d6651b9-c654-428b-825d-4d582fb2c010_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable






I'm scratching my head trying to figure this out.  Version 5.4 works f=
ine for me but I can easily make 5.4.1 crash.  I encountered the same =
thing in the pre-releases and was hoping it would be cleared up in the fina=
l 5.4.1 build.  The crash doesn't happen in the same spot.  One w=
ay to cause it is to simply do a "snmpwalk" of the whole tree.  That a=
lmost always produces a crash the first time.  I can also do an "snmpw=
alk" on just "IF".  That will cause a crash after two or three times u=
sually.

My compiler is arm-linux-gcc.

"uname -a" output:
=
Linux 2.4.31-uc0 #4 Thu Jul 26 15:13:31 EDT 2007 armv5b unknown


=
++++++++++++++++++++++++++++++++++++++++++++++++

strace output:=


gettimeofday({1185816815, 921486}, NULL) =3D 0
socket(PF_INET, =
SOCK_DGRAM, IPPROTO_IP) =3D 6
ioctl(6, 0x8912, 0xbffff93c)  &n=
bsp;         =3D 0
ioctl(6, 0x89=
12, 0xbffff93c)          =
  =3D 0
ioctl(6, 0x8933, 0xbffff8e4)     &=
nbsp;      =3D 0
ioctl(6, 0x891b, 0x1fed10)&nb=
sp;            =
=3D 0
ioctl(6, 0x8913, 0x1fed10)      &nb=
sp;       =3D 0
ioctl(6, 0x8933, 0xbffff8e=
4)            =3D 0<=
BR>ioctl(6, 0x891b, 0x1fed30)       &nbs=
p;      =3D 0
ioctl(6, 0x8913, 0x1fed30) &=
nbsp;            =3D=
0
ioctl(6, 0x8933, 0xbffff8e4)      &nbs=
p;     =3D 0
ioctl(6, 0x891b, 0x1fed50)  &=
nbsp;           =3D 0
=
ioctl(6, 0x8913, 0x1fed50)        &=
nbsp;     =3D 0
ioctl(6, 0x8933, 0xbffff8e4) &n=
bsp;          =3D 0
ioctl(6=
, 0x891b, 0x1fed70)         &n=
bsp;    =3D 0
ioctl(6, 0x8913, 0x1fed70)  &nbs=
p;           =3D 0
ioc=
tl(6, 0x8933, 0xbffff8e4)        &n=
bsp;   =3D 0
ioctl(6, 0x891b, 0x1fed90)   &nbsp=
;          =3D 0
ioctl(6, 0=
x8913, 0x1fed90)         &nbsp=
;    =3D 0
ioctl(6, 0x8933, 0xbffff8e4)   =
         =3D 0
ioctl(6, 0x891b,=
0x1fedb0)          &nbsp=
;   =3D 0
ioctl(6, 0x8913, 0x1fedb0)    &n=
bsp;         =3D 0
close(6)&nbsp=
;            &n=
bsp;           =
       =3D 0
brk(0x225000)  &nbs=
p;            &=
nbsp;           =3D =
0x225000
brk(0x237000)        &n=
bsp;           =
       =3D 0x237000
brk(0x25b000) &n=
bsp;           &nbsp=
;           &nb=
sp; =3D 0x25b000
old_mmap(NULL, 299008, PROT_READ|PROT_WRITE, MAP_PRIVAT=
E|MAP_ANONYMOUS, 0, 0) =3D 0x4015e000
brk(0x215000)   &nb=
sp;            =
           =3D 0x215=
000
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++ R>

++++++++++++++++++++++++++++++++++++++++++++++

dmesg =
output:
snmpd[17214] killed =
because of sig - 11
STACK DUMP:
0xbffff854: bffff858 39323634 3935323=
7 382e0000 001fef18 0013430c 0013431c
0xbffff870: 00000100 00000100 401=
5d380 00000108 bffff8fc 00000020 401467d4
0xbffff88c: 00000001 00000100 =
bffff904 00000001 bffff908 bffff904 bffff900
0xbffff8a8: bffff8fc 000000=
01 001e72d0 001ef308 000b2e24 bffff8d4 00000001
0xbffff8c4: bffff8d0 00=
050000 4015e008 00000000 0004e001 0013430c 0013431c
0xbffff8e0: 001ed7a0=
001ef308 001ebd08 000df038 bffff908 001eda40 001ec8e8
0xbffff8fc: 00000=
000 00000000 00000000 00000000 0013430c 000fb81c 0016a098
0xbffff918: 0=
0000000 00000002 00000001 00000000 00000000 000fbe40 00000001
0xbffff934=
: 001ebd08 001e72d0 00000000 001ef308 001c11d8 0011f114 001e6f88
0xbffff=
950: 001ef308 000fbfa0 001e72d0 001ef308 0011ef40 001efa88 000fc254
pc =
: [<000b4c68>]    lr : [<000df624>]  &=
nbsp; Tainted: P
sp : bffff854  ip : 00141094  fp : 00000001 R>r10: bffff8d4  r9 : bffff8c8  r8 : bffff8d0
r7 : bffff8cc&nb=
sp; r6 : bffff858  r5 : 002197c8  r4 : 001e1985
r3 : 001e1986=
  r2 : 2e000000  r1 : 401ac00c  r0 : 00000001
Flags: nzCv=
  IRQs on  FIQs on  Mode USER_32  Segment user
Contr=
ol: 39FF  Table: 02850000  DAC: 00000015
00008000-00135000 r-x=
p 00000000 1f:01 187 /bin/snmpd=

0013c000-00142000 rw-p 0012c000 1f:01 187 /bin/ t name=3D"st">snmpd
00142000-00211000 rwxp 00000000 1f:01 187
=
40000000-40005000 r-xp 00000000 1f:01 72 /lib/ld- s.OpenExtLink(window,event,this)" href=3D"http://uclibc-0.9.27.so/" target=
=3D_blank>uClibc-0.9.27.so

40005=
000-40006000 rw-p 00000000 1f:01 72
4000c000-4000d000 rw-p 00004000 1f:=
01 72 /lib/ld- ref=3D"http://uclibc-0.9.27.so/" target=3D_blank>u=
Clibc-0.9.27.so

4000d000-4000f000 r-xp 00000000 1f:01 54 =
/lib/libdl- =3D"http://0.9.27.so/" target=3D_blank>0.9.27.so FONT>
4000f000-40016000 ---p 00002000 1f:01 54
40016000-4001=
7000 rw-p 00001000 1f:01 54 /lib/libdl- ink(window,event,this)" href=3D"http://0.9.27.so/" target=3D_blank> color=3D#0000ff>0.9.27.so

40017000-400f2000 r-xp 0000000=
0 1f:01 74 /lib/libcrypto.so.0.9.8
400f2000-400f9000 ---p 000db000 1f:01=
74
400f9000-4010b000 rw-p 000da000 1f:01 74 /lib/libcrypto.so.0.9.8
>4010b000-4010d000 rw-p 00000000 1f:01 74
4010d000-40152000 r-xp 0000000=
0 1f:01 60 /lib/libuClibc- ent,this)" href=3D"http://0.9.27.so/" target=3D_blank> 0ff>0.9.27.so
40152000-40159000 ---p 00045000 1f:01 60
>40159000-4015c000 rw-p 00044000 1f:01 60 /lib/libuClibc-
urn top.js.OpenExtLink(window,event,this)" href=3D"http://0.9.27.so/" targe=
t=3D_blank>0.9.27.so

4015c000-40=
1af000 rw-p 00000000 1f:01 60
bfffa000-c0000000 rwxp ffffb000 1f:01 60 <=
br />
See what you=92re getting into=85before you go there. 'http://newlivehotmail.com' target=3D'_new'>Check it out!
=

--_6d6651b9-c654-428b-825d-4d582fb2c010_--


--===============1610978359==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--===============1610978359==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users

--===============1610978359==--