Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 2005 06:37:08 -0800 (PST)
From:      kamal kc <kamal_ckk@yahoo.com>
To:        delphij@delphij.net
Cc:        freebsd <freebsd-hackers@freebsd.org>
Subject:   Re: Fatal trap 12: page fault while in kernel mode
Message-ID:  <20051225143708.29773.qmail@web35708.mail.mud.yahoo.com>
In-Reply-To: <a78074950512250409w51af4d74p94a981e1bcd9ca44@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
thanks,
 i will try INVARIANTS and WITNESS options and will try to get 
 freebsd 6.0. it will be only tomorrow when i'll be able to do this
 because it is already evening and i will go to my office tomorrow 
 only.
 
 in the mean time if the memory corruption is the problem then is there
 any option/configuration or possible thing i could do to 
 make sure that the kernel quits or throws some messages or panics 
 on the moment the corruption takes place rather than some 
 time later when other program is affected by it. 
 
 that way i could locate any bug in my code if present.
 
 thanks, 
 kamal
 

Xin LI <delphij@gmail.com> wrote: Hi,

On 12/25/05, kamal kc  wrote:
[...]
> Is the problem related to memory leaks or sleeping
> on mutexes or some other causes.

>From the backtrace you have provided, it looks like a memory
corruption.  In order to aid your debugging, you will want INVARIANTS
and WITESS, etc. to be enabled.  Also, if feasible, please consider
using code from -CURRENT or at least RELENG_6_0, as there are more
debugging aids that is likely to catch bugs early.

Cheers,
--
Xin LI  http://www.delphij.net
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"



		
---------------------------------
 Yahoo! DSL Something to write home about. Just $16.99/mo. or less



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