linuxolator: fatal trap 12 when compiling libX11

Alexander Leidinger Alexander at Leidinger.net
Tue Jan 16 07:00:46 UTC 2007


Quoting Scot Hetzel <swhetzel at gmail.com> (from Mon, 15 Jan 2007  
15:14:33 -0600):

> Trying to compile the programs and libraries required by azureus using
> emerge, and while it completed the build of binutils (w/vfork fix), it
> won't finish building libX11, instead I get the following fatal trap
> 12:
>
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; apic id = 00
> fault virtual address      = 0x0
> fault code                    = supervisor read data, page not present

> current process           = 13488 (bash)
> [thread pid 13488 tid 100104]
> Stopped at        linux_proc_exit+0xb8:   cmpq    %r14,(%rax)
> db> bt
> Tracing pid 13488 tid 100104 td 0xffffff00269e9290
> linux_proc_exit() at linux_proc_exit+0xb8
> exit1() at exit1+0x1b9
> linux_exit_group() at linux_exit_group+0xe1
> ia32_syscall() at ia32_syscall+0x190
> Xint0x80_syscall() at Xint0x80_syscall+0x60
> db>

Please compile with debug symbols ("makeoptions     DEBUG=-g" in the  
kernel config), generate a coredump and run kgdb on it. If you load  
modules, you need to run "make gdbinit" in the kernel compile  
directory (old style kernel compiling, not the make buildkernel one).  
This will allow to run "kldsyms" in kgdb which loads the debug symbols  
for the modules. A trace will show the line numbers then.

Bye,
Alexander.

-- 
The camel has a single hump;
The dromedary two;
Or else the other way around.
I'm never sure.  Are you?
		-- Ogden Nash

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-emulation mailing list