View Single Post
Old 07-03-06, 10:46 PM   #1
Chromoskope
Registered User
 
Join Date: Jul 2006
Posts: 6
Default Fatal trap 12 while exiting any OpenGL app (1.0.8762)

Hello!

I use this graphic adapter
nvidia0: <GeForce4 MX 440 with AGP8X> mem 0xe0000000-0xe0ffffff,0xd8000000-0xdfffffff irq 19 at device 0.0 on pci2

Arch - i386, AthlonXP/256MB RAM

Drivers v. 1.0.8762 installed from ports.
FreeBSD 6.1-RELEASE

X.org (6.9.0 compiled from ports) starts normally, I can start OpenGL applications (e.g. glxgears), but when I finish the application the system crashes with Fatal trap 12.
This appears every time. With drivers v. 1.0-8178 this did not appear.

I've got the dump after crash here is the information from it:
Quote:
root@home# kgdb kernel.debug /usr/crash/vmcore.0
[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 = 0x7
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc0b4993a
stack pointer = 0x28:0xd67e0740
frame pointer = 0x28:0xd67e0740
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 = 686 (glxgears)
trap number = 12
panic: page fault
Uptime: 2m17s
Dumping 255 MB (2 chunks)
chunk 0: 1MB (159 pages) ... ok
chunk 1: 255MB (65264 pages) 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15

#0 doadump () at pcpu.h:165
165 __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) list *0xc0b4993a
No source file for address 0xc0b4993a.
kldstat says

Quote:
Id Refs Address Size Name
1 15 0xc0400000 670ff8 kernel
2 2 0xc0a71000 1aff0 linux.ko
3 1 0xc0a8c000 5f60 snd_ich.ko
4 2 0xc0a92000 22b88 sound.ko
5 1 0xc0ab5000 4a4d28 nvidia.ko
6 1 0xc0f5a000 58554 acpi.ko
7 1 0xc2931000 2000 green_saver.ko
Can anybody help me?
I can give any other debug information if anybody need it.
Chromoskope is offline   Reply With Quote