Fatal trap 12: page fault while in kernel mode

Jonathan Bond-Caron jbondc at openmv.com
Sat Sep 13 19:26:20 UTC 2008


Hi everyone, 

 

After cvsup to the latest freebsd 7 STABLE,  I did a make buildkernel,
installkernel. no issues so far

7.0-STABLE FreeBSD 7.0-STABLE #1: Sat Sep 13 14:08:08 EDT 2008     ..
:/usr/obj/usr/src/sys/WWW  i386

 

I can reboot with no crash using:

shutdown -r now

 

But when : 

 

bacula-fd

shutdown -r now

 

As it's shutting down, I always get a crash that looks like:

http://www.freebsd.org/cgi/query-pr.cgi?pr=126089

 

It's seems to be related to threads, rebuilding the kernel with makeoptions
DEBUG=-g

 

[root at martini] $ cd /usr/obj/usr/src/sys/WWW

[root at martini] $ kgdb kernel.debug /var/crash/vmcore.10

[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".

kgdb: kvm_read: invalid address (0x0)

Attempt to extract a component of a value that is not a structure pointer.

 

I am building the kernel wrong? I've never had to use kgdb before. 

 

 

This is a dell 1750 (poweredge). I'm 99% sure it's not hardware related
since putting the drive into other stable machines (other dell 1750's) makes
them crash as well using:

bacula-fd

shutdown -r now

 

Note: I also get the same crash when trying to install python from the ports
(crash at: configure: checking for pthreads..)

cd /usr/ports/lang/python24; make install

 



More information about the freebsd-bugs mailing list