Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16606 Discussions

Thread 284 #1 stopped on signal 20 : Cyclone V development kit, OpenCL on ARM-Linux

Altera_Forum
Honored Contributor II
1,060 Views

Hello ! 

This message appears in debugger DS-5 in progress of stepping through OpenCL function "clCreateProgramWithBinary()" with .aocx-file from Linux-application. 

If I press F8 7 times in DS-5, then all these "strange" stop-situations is passed and application runs successful. 

Is any method to disable this "signal 20" for getting good working debugger-independent program ? 

I use "pthread_sigmask()" with SIG_BLOCK to signal 20 (SIGTSTP, keyboard stop, Ctrl-Z), calls "sigignore(20)" -- test call of "raise(20)" is good, and original call of "clCreateProgramWithBinary()" leaved bad. 

Also I try to hold this signal with my callback function through "sigaction()" -- it is not called, only DS-5 see this signal. 

Anybody see similar problem ?
0 Kudos
0 Replies
Reply