SIGTRAP

Hi,

What does SIGTRAP signify? Does not appear to be documented…

Thanks,
Sameer

“Krupa” <krupah@hotmail.com> wrote in news:a5fiv1$jom$1@inn.qnx.com:

What does SIGTRAP signify? Does not appear to be documented…

It’s a trace or a breakpoint trap.

\

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>

Hello,

We have worked out a data acquisition program that fetches data (Analog and
digital) from CPCI-based cards. Normally program is found working OK but
sometimes terminates with a message SIGTRAP. What can be the likely cause
for such an abnormal program exit? Please help…

Thanks,
Krupa



Adam Mallory <amallory@qnx.com> wrote in message
news:Xns91C154A3CA899amalloryqnxcom@209.226.137.4

“Krupa” <> krupah@hotmail.com> > wrote in news:a5fiv1$jom$> 1@inn.qnx.com> :

What does SIGTRAP signify? Does not appear to be documented…

It’s a trace or a breakpoint trap.

\

Cheers,
Adam

QNX Software Systems Ltd.
[ > amallory@qnx.com > ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net

“Krupa” <krupah@hotmail.com> wrote in news:a5i2jk$dln$1@inn.qnx.com:

Hello,

We have worked out a data acquisition program that fetches data (Analog
and digital) from CPCI-based cards. Normally program is found working
OK but sometimes terminates with a message SIGTRAP. What can be the
likely cause for such an abnormal program exit? Please help…

Well if you’re not inserting breakpoint instructions (int 03 if I recall),
then perhaps you’re clobering a return value somewhere, and by chance it’s
returning to an area which “looks like” an int 03 call (could be data etc).

\

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>