Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - SIGSEGV in InterruptUnlock / __inline_InterruptEnable : (1 Item)
   
SIGSEGV in InterruptUnlock / __inline_InterruptEnable  
Hi,

I am getting SIGSEGV during InterruptUnlock / __inline_InterruptEnable

The piece of code that causes this fault is as follows:

InterruptLock(&_intr_lock);
/* couple of pci config writes */
InterruptUnlock(&_intr_lock);


I/O privileges have been obtained for this thread with:

ThreadCtl(_NTO_TCTL_IO, 0);

Can a Threads I/O privileges be lost at runtime? If so, what can cause it?
Are there any other reasons for a SIGSEGV to be generated during Interrupt Enable/Disable?

The code is running on a BCM1250 (MIPS) based H/W running ONX 6.3

Regards
Chaitanya