according to my map that is looping in function _mouse_open … part of the
services to allow for mouse cursor movement.
i would think that somewhere you are jumping into that code from some other
routine.
without a debugger i don’t know how you could trap on this and see the
backtrace to where it came from.
Dean Douthat <ddouthat@faac.com> wrote:
The version on the development system is 4.24B dated 1997Aug12 and the fielded
systems are at least that high or higher.
I can’t throw it in the debugger to trace asm because it doesn’t happen all the
time. I works correctly for dozens of times, then goes into the loop.
I’ll check automatic variables, etc. to see if I’m corrupting the stack. Knowing
what shared library function is looping might help (or not). > 
TIA
Dean
Randy Martin wrote:
tell me the version of slib32 and i can point to a function in slib.
but if you attach to it with wd or start it from wd then you can step thru
the assembly (+function name) that is being called.
my thoughts are that you are returning off the stack/registers and popping an
incorrect return value. rather than jumping to where you’d get a segv, you are
jumping into some valid code.
if the app isn’;t too big i would recommend checking all the function arguments
and returns first…
Dean Douthat <> ddouthat@faac.com> > wrote:
Ping!
Any QSSL people? Would somebody look at this problem, please? It seems
to be in a shared library routine.
TIA
Dean Douthat wrote:
I have an agent process (forever send loop, report for duty, tasked by
Reply) which is handling a serial port with a modem attached. It
handles dialing and delivering data. Most of the time it works fine.
Once in a while, the process goes into a tight loop and runs Ready.
By doing a number of sin -Pprogram_name reg, I was able to determine
that the IP is looping is between ~6973 and ~69DE which is before
_main. Can anybody give me a clue as to what is down there and why it
might get caught in a loop?
–
Randy Martin > randy@qnx.com
Manager of FAE Group, North America
QNX Software Systems > www.qnx.com
175 Terence Matthews Crescent, Kanata, Ontario, Canada K2M 1W8
Tel: 613-591-0931 Fax: 613-591-3579
–
Randy Martin randy@qnx.com
Manager of FAE Group, North America
QNX Software Systems www.qnx.com
175 Terence Matthews Crescent, Kanata, Ontario, Canada K2M 1W8
Tel: 613-591-0931 Fax: 613-591-3579