Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2007 11:51:59 +0100
From:      Eric Masson <emss@free.fr>
To:        Mailing List FreeBSD Stable <freebsd-stable@FreeBSD.org>
Subject:   kernel crash while using /usr/ports/net/ssltunnel-server
Message-ID:  <86zm8ojz5c.fsf@srvbsdnanssv.interne.kisoft-services.com>

next in thread | raw e-mail | index | archive | help
Hello,

I'm getting a crash from times to times while pppserver is running on a
6.1 box :

$ uname -a
FreeBSD rtrbsdchaint.interne.kisoft-services.com 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Mon Oct 30 19:23:27 CET 2006     emss@rtrbsdchaint.interne.kisoft-services.com:/usr/obj/usr/src/sys/FIREWALL  i386
$ cat kgdb.output
Script started on Fri Jan 12 11:41:32 2007
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
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 "i386-marcel-freebsd".

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x14
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc065985e
stack pointer	        = 0x28:0xdeafbb24
frame pointer	        = 0x28:0xdeafbb50
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		= 605 (pppserver)
trap number		= 12
panic: page fault
Uptime: 1d3h14m3s
Dumping 510 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 510MB (130544 pages) 494 478 462 446 430 414 398 382 366 350 334 318 302 286 270 254 238 222 206 190 174 158 142 126 110 94 78 62 46 30 14

#0  doadump () at pcpu.h:165
165		__asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) list *0xc065985e
0xc065985e is at /usr/src/sys/i386/i386/support.s:490.
485		cmpl	%ecx,%eax			/* overlapping && src < dst? */
486		jb	1f
487	
488		shrl	$2,%ecx				/* copy by 32-bit words */
489		cld					/* nope, copy forwards */
490		rep
491		movsl
492		movl	20(%esp),%ecx
493		andl	$3,%ecx				/* any bytes left? */
494		rep
(kgdb) backtrace
#0  doadump () at pcpu.h:165
#1  0xc04c2d81 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:402
#2  0xc04c30b5 in panic (fmt=0xc0680783 "%s") at /usr/src/sys/kern/kern_shutdown.c:558
#3  0xc065bad3 in trap_fatal (frame=0xdeafbae4, eva=0) at /usr/src/sys/i386/i386/trap.c:836
#4  0xc065b7b8 in trap_pfault (frame=0xdeafbae4, usermode=0, eva=20) at /usr/src/sys/i386/i386/trap.c:744
#5  0xc065b346 in trap (frame=
      {tf_fs = -1014300664, tf_es = 40, tf_ds = -1020657624, tf_edi = -558908468, tf_esi = 20, tf_ebp = -558908592, tf_isp = -558908656, tf_ebx = 4, tf_edx = 0, tf_ecx = 1, tf_eax = -558908488, tf_trapno = 12, tf_err = 0, tf_eip = -1067083682, tf_cs = 32, tf_eflags = 66050, tf_esp = -1019749320, tf_ss = 128}) at /usr/src/sys/i386/i386/trap.c:434
#6  0xc064960a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc065985e in generic_bcopy () at /usr/src/sys/i386/i386/support.s:489
Previous frame inner to this frame (corrupt stack?)
(kgdb) quit

Script done on Fri Jan 12 11:41:54 2007

Kernel & core available on request.

Tia.

Éric Masson

-- 
 personne n'a un zipper suffisament puissant pour comprimer un con en 4
 ligne pour le GNU ?
 parce que celui la, pour ses oeuvres complétes faut un forum dédié !
 -+- JFP in neuneu.ctw.cc - Si le con presse, zippé des prunes-+-



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