Page 1 of 1

is it possible to catch exceptions in kolibrios?

Posted: Fri Jun 03, 2016 2:16 am
by mariuszp
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).

Re: is it possible to catch exceptions in kolibrios?

Posted: Fri Jun 03, 2016 3:18 pm
by GerdtR
See f68.24

Re: is it possible to catch exceptions in kolibrios?

Posted: Fri Jun 03, 2016 11:47 pm
by hidnplayr
Or use MTDBG application debugger :)

Re: is it possible to catch exceptions in kolibrios?

Posted: Sat Jun 04, 2016 12:30 pm
by art_zh
The kernel normally uses PF exception for "lazy" page allocation