Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2007 08:00:15 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Scot Hetzel <swhetzel@gmail.com>
Cc:        emulation@freebsd.org
Subject:   Re: linuxolator: fatal trap 12 when compiling libX11
Message-ID:  <20070116080015.8dus0vamssso0sww@webmail.leidinger.net>
In-Reply-To: <790a9fff0701151314x6dd48ecbg90a54729813e84e@mail.gmail.com>
References:  <790a9fff0701151314x6dd48ecbg90a54729813e84e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Scot Hetzel <swhetzel@gmail.com> (from Mon, 15 Jan 2007 =20
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 =3D 0; apic id =3D 00
> fault virtual address      =3D 0x0
> fault code                    =3D supervisor read data, page not present

> current process           =3D 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=3D-g" in the =20
kernel config), generate a coredump and run kgdb on it. If you load =20
modules, you need to run "make gdbinit" in the kernel compile =20
directory (old style kernel compiling, not the make buildkernel one). =20
This will allow to run "kldsyms" in kgdb which loads the debug symbols =20
for the modules. A trace will show the line numbers then.

Bye,
Alexander.

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

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



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