Need help in solving a crash when doing ping flood

Andre Oppermann andre at freebsd.org
Tue Nov 14 13:02:57 UTC 2006


pnallimelli wrote:
> Hi,
>      When i m doing ping flood , i m getting crash after 15 mins.
>     The debug messages are like this:
> 
>     NU gdb 5.18 (FreeBSD)
> Copyright 1998 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 "i386-unknown-freebsd"...
> IdlePTD at physical address 0x00579000
> initial pcb at physical address 0x004a58a0
> panicstr: page fault
> panic messages:
> ---
> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0x50a10800
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xc1b177a9
> stack pointer           = 0x10:0xcd6ccc64
> frame pointer           = 0x10:0xcd6ccccc
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                        = DPL 0, pres 1, def32 1, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 1088 (ping)
> interrupt mask          = net tty
> trap number             = 12
> panic: page fault
> 
> syncing disks...
> done
> Uptime: 10m15s
> dumping to dev #ad/0x20011, offset 1558871
> #0  0xc023d9da in dumpsys ()
> (kgdb) where
> #0  0xc023d9da in dumpsys ()
> #1  0xc023d7ab in boot ()
> #2  0xc023dbd0 in poweroff_wait ()
> #3  0xc03addfa in trap_fatal ()
> #4  0xc03adacd in trap_pfault ()
> #5  0xc03ad68b in trap ()
> #6  0xc1b177a9 in ?? ()
> #7  0xc0283006 in ether_output_frame (ifp=0xc1b1a840, m=0xc0c03900)
>    at ../../net/if_var.h:290
> #8  0xc0282d36 in ether_output (ifp=0xc1b1a840, m=0xc0c03900, 
> dst=0xcd07ff00,
>    rt0=0xc1b1ee00) at ../../net/if_ethersubr.c:370
> #9  0xc029769d in ip_output (m0=0xc0c03900, opt=0x0, ro=0xcd07fefc, 
> flags=32,
>    imo=0x0, inp=0xcd07fec0) at ../../netinet/ip_output.c:1004
> #10 0xc0298f3a in rip_output (m=0xc0c03900, so=0xcca53340, dst=34212362)
>    at ../../netinet/raw_ip.c:299
> #11 0xc02993e3 in rip_send (so=0xcca53340, flags=0, m=0xc0c03900,
>    nam=0xc134a770, control=0x0, p=0xcc04b220) at ../../netinet/raw_ip.c:630
> #12 0xc025cc6b in sosend ()
> #13 0xc026022f in sendit ()
> #14 0xc0260332 in sendto ()
> #15 0xc03ae0a9 in syscall2 ()
> #16 0xc039f0c5 in Xint0x80_syscall ()
> #17 0x80492e1 in ?? ()
> 
> I feel my start() function is having problem.
> Could anyone tell me the reason behind this??

My magic crystall ball tells me we'd have to look at your start() function
to make any guess as to why it may be failing.

-- 
Andre



More information about the freebsd-hackers mailing list