Saul A
|
Re: QNX 6.5 OCB Extension Bug
|
Saul A
10/22/2012 7:50 PM
post96532
|
Re: QNX 6.5 OCB Extension Bug
Hi Dante,
have you found solution to this?
thanks,
Saul
|
|
|
Timothy Fisher
|
Re: QNX 6.5 OCB Extension Bug
|
Timothy Fisher
11/02/2012 9:14 AM
post96791
|
Re: QNX 6.5 OCB Extension Bug
Hi Dante,
I was interested in your post because we seem to have some similar issues in our application.
After working with your code for a while, I found a solution to your problem. The problem with your code seems to be
where you call the iofunc_attr_init function. When I run your original code, I get a core dump error after loading the
server and then running the client. If I move the call to iofunc_attr_init down a few lines after the attr.mount
variable has been set, then the program works correctly. I modified your code to accept a command line option. If you
run the new code with option 1 (serverRM 1 &), it runs just like your original code. If you run the new code with
option 2 (serverRM 2 &), then it calls the iofunc_attr_init function after the attr.mount variable has been set.
I can't explain why your code seemed to work on the older version of QNX.
I hope this helps.
-Tim Fisher
|
|
|