8000 BUG:PTPD posix timer Implicit address translation for sigevent · Issue #111 · ptpd/ptpd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

BUG:PTPD posix timer Implicit address translation for sigevent #111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
WWjsnt10 opened this issue Jul 1, 2024 · 0 comments
Open

BUG:PTPD posix timer Implicit address translation for sigevent #111

WWjsnt10 opened this issue Jul 1, 2024 · 0 comments

Comments

@WWjsnt10
Copy link
WWjsnt10 commented Jul 1, 2024

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.

PTPD

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0