Board.KolibriOS.org

Official KolibriOS board
It is currently Wed May 22, 2019 10:05 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Jun 03, 2016 2:16 am 
Offline

Joined: Tue Dec 06, 2011 7:24 pm
Posts: 11
just a simple question. when programming for KolibriOS, what exactly happens if, for example, i cause a page fault? does the kernel simply terminate my application, or is there some way to catch the error? (kinda like a SIGSEGV signal in POSIX systems).


Top
   
PostPosted: Fri Jun 03, 2016 3:18 pm 
Offline
User avatar

Joined: Mon Nov 19, 2012 5:22 pm
Posts: 455
See f68.24

_________________
Чем больше сыра, тем больше в нём дыр. Чем больше дыр, тем меньше в нём собственно сыра. Значит, чем больше сыра, тем меньше сыра!


Top
   
PostPosted: Fri Jun 03, 2016 11:47 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
Or use MTDBG application debugger :)

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
PostPosted: Sat Jun 04, 2016 12:30 pm 
Offline
Kernel Developer
User avatar

Joined: Fri Aug 14, 2009 1:46 am
Posts: 1328
The kernel normally uses PF exception for "lazy" page allocation


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited