Skip site navigation (1)Skip section navigation (2)
Date:      11 Aug 1998 13:33:56 +0200
From:      Thomas Gellekum <tg@ihf.rwth-aachen.de>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        Marius Bendiksen <Marius.Bendiksen@scancall.no>, Scott <scott@SchematiX.net>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Huge Bug in FreeBSD not fixed?
Message-ID:  <87yasvsqfv.fsf@ghpc6.ihf.rwth-aachen.de>
In-Reply-To: "Jordan K. Hubbard"'s message of "Tue, 11 Aug 1998 01:32:55 -0700"
References:  <305.902824375@time.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Jordan K. Hubbard" <jkh@time.cdrom.com> writes:

> > I experienced the same thing, with someone on IRC threatening to take down
> > my box. Of course, I laughed at him, but then my box went down. He also
> > said he was going to attack freefall, and that would _certainly_ be bad
> > news. He was running Linux, as I recall.
> 
> I ran this thing 20 times, with and without the -harder option, and it
> did absolutely nothing to my box.  Just goes to show, these things

I have run this program five times and it finished once. The other
four occasions I got

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x18
fault code              = supervisor write, page ot present
instruction pointer     = 0x8:0xf0126d21
stack pointer           = 0x10:0xefbffe50
frame pointer           = 0x10:0xefbffe74
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         = 395 (crashbsd)
interrupt mask          = 
kernel: type 12 trap, code=0
Stopped at      _sosend+0x391:  movl   $0, 0x18(%ebx)

After saving the core dump and recompiling a few object files with -g:

Script started on Tue Aug 11 13:19:09 1998
p0:tibatong:TIBATONG 26# gdb -k
GDB is free software and you are welcome to 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.
GDB 4.16 (i386-unknown-freebsd), Copyright 1996 Free Software Foundation, Inc.
(kgdb) symbol-file kernel
Reading symbols from kernel...done.
(kgdb) exec-file /tmp/kernel.0
(kgdb) core-file /tmp/vmcore.0
IdlePTD 236000
current pcb at 1f762c
panic: from debugger
#0  0xf0112447 in boot ()
(kgdb) where
#0  0xf0112447 in boot ()
#1  0xf0112733 in panic ()
#2  0xf0101475 in db_panic ()
#3  0xf0101365 in db_command ()
#4  0xf01014e2 in db_command_loop ()
#5  0xf0103c38 in db_trap ()
#6  0xf01b6dab in kdb_trap ()
#7  0xf01c12db in trap_fatal (frame=0xefbffe14) at ../../i386/i386/trap.c:768
#8  0xf01c0dac in trap_pfault (frame=0xefbffe14, usermode=0)
    at ../../i386/i386/trap.c:681
#9  0xf01c0a37 in trap (frame={tf_es = -2147483632, tf_ds = -272695280, 
      tf_edi = -272630136, tf_esi = -2147483648, tf_ebp = -272630156, 
      tf_isp = -272630212, tf_ebx = 0, tf_edx = 2147483647, 
      tf_ecx = -1073277766, tf_eax = 0, tf_trapno = 12, tf_err = 2, 
      tf_eip = -267227871, tf_cs = 8, tf_eflags = 66198, tf_esp = 0, 
      tf_ss = 1}) at ../../i386/i386/trap.c:324
#10 0xf0126d21 in sosend (so=0xf0937f00, addr=0x0, uio=0xefbffeb0, top=0x0, 
    control=0xf06fff00, flags=0) at ../../kern/uipc_socket.c:432
#11 0xf0129a91 in sendit (p=0xf0921800, s=4, mp=0xefbfff38, flags=0, 
    retsize=0xefbfff84) at ../../kern/uipc_syscalls.c:488
#12 0xf0129d20 in sendmsg (p=0xf0921800, uap=0xefbfff94, retval=0xefbfff84)
    at ../../kern/uipc_syscalls.c:640
#13 0xf01c1593 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = -272639748, 
      tf_esi = -1, tf_ebp = -272639708, tf_isp = -272629788, tf_ebx = 163, 
---Type <return> to continue, or q <return> to quit---
      tf_edx = -272640728, tf_ecx = -272641804, tf_eax = 28, tf_trapno = 12, 
      tf_err = 7, tf_eip = 537128897, tf_cs = 31, tf_eflags = 646, 
      tf_esp = -272639908, tf_ss = 39}) at ../../i386/i386/trap.c:920
#14 0x2003efc1 in ?? ()
#15 0x1095 in ?? ()
(kgdb) q
p0:tibatong:TIBATONG 27# exit

Script done on Tue Aug 11 13:20:11 1998

Once, the system had the chance to send a log message:

Aug 11 13:03:10 tibatong /kernel: Out of mbuf clusters - increase maxusers!

Anything else I can do?

tg

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87yasvsqfv.fsf>