I have a strange situation here, I have a Timer, it runs every second, if
certain condition is met, it calls other functiion A to
process something. Everything works fine except when a PtAskQuestion()
modal dialog box rasied in a Button’s callback,
before that PtAskQuestion is destroyed by user selecting a choice, if the
Timer runs function A, my photon app
sigsegv…
I commented out everything in function A, then it is fine
As soon as i put a line of code in function A, or declare a variable, it
sigsegv…
can anyone give me hint on what’s going on? and how to fix it?
ran zhang <rzhang@vamcointernational.com> wrote:
I have a strange situation here, I have a Timer, it runs every second, if
certain condition is met, it calls other functiion A to
process something.
How does your timer notify your process? Does it use a signal or a
proxy?
-David
Everything works fine except when a PtAskQuestion()
modal dialog box rasied in a Button’s callback,
before that PtAskQuestion is destroyed by user selecting a choice, if the
Timer runs function A, my photon app
sigsegv…
I commented out everything in function A, then it is fine
As soon as i put a line of code in function A, or declare a variable, it
sigsegv…
can anyone give me hint on what’s going on? and how to fix it?
–
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.