You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to compile and run PTPD, environment as below:
1.hardware: TDA4
2.OS: QNX 7.1.0
3.Compiler: QCC 710
Issue:
timerSignalHandler Function argument info provide an invalid information about info->si_value.sival_ptr.
It causes crash.
Root cause:
In the function setupEventTimer Function, "sev.sigev_value.sigval_ptr = timer" is not correct. Because timer is a pointer(64bits) and the data type of sigval_ptr is unit32.
Hi,
I am trying to compile and run PTPD, environment as below:
1.hardware: TDA4
2.OS: QNX 7.1.0
3.Compiler: QCC 710
Issue:
timerSignalHandler Function argument info provide an invalid information about info->si_value.sival_ptr.
It causes crash.
Root cause:
In the function setupEventTimer Function, "sev.sigev_value.sigval_ptr = timer" is not correct. Because timer is a pointer(64bits) and the data type of sigval_ptr is unit32.
here is the reference:
https://www.qnx.com/developers/docs/7.1/index.html#com.qnx.doc.neutrino.getting_started/topic/s1_timer_how_sigev.html
The text was updated successfully, but these errors were encountered: