Re: Bfill in memset



Thx for the info provided . Looks very helpful.

1) does the target hang or crash?
It Hangs. It goes to standstill. It does not reboot.

2) if crash, what exception occurs, and supply all information you
know about the exception.
Ok.

3) if hang, how do you know what the program counter is?
Whenever i reboot my application once it goes in to deadlock or
unknown state, i print the corresponding
Program Counter values, Stack , Heap Memory details in a log
file .
I was able to get the Program Counter by downloading the log
from the external Flash Memory of my device.
After that, i searched for the same Program Counter value in
MAP file and identified the API or place at which my
application breaks.

4) as always, what version of vxworks are you using?
5.2

5) your target is obviously a PPC, which one?
Yes , It is PPC 862

What debug tools do you have available?
Just Tornado?
Yes.

WRICE or other JTAG based debugger?
Due to various technical reasons, Currently, I cannot JTAG .
So, Lets forget JTAG for this activity.

Do you understand your target memory map well enough to recognize an
invalid pointer if you see one?
Yes

If so, you could write your own memset function and check all incoming
pointers.
If you find a bad one, branch to some code where you've planted a
breakpoint or force a stack trace to be printed to the terminal.
This sounds interesting. Maybe, I can give a try in this
direction.
Ok, I will start writing my own memset function and check all
incoming pointers .

Thx for the info provided . Looks very helpful.
Any other ideas /links /pdfs /docs w.r.t this bfill in memset ?

Thx in advans,
Karthik Balaguru


.



Relevant Pages

  • Re: add boot entry to dual boot with existing XP primary partition
    ... thx for replying ... after exec the 3 BCDEDIT cmd, ... I was able to reboot and choose earlier version... ... I than press ctl-alt-del and boot into vista Ult 64, ...
    (microsoft.public.windows.vista.general)
  • Re: Add a new SAN disk to a win2k3 cluster
    ... to the host depending on HBA firmware/driver/vendor...sometimes, a reboot is ... needed to force the proper rescan. ... Thx for the tip. ... Is it mandatory to take the resources down to add the dependency? ...
    (microsoft.public.windows.server.clustering)
  • Re: DVD burner recognizing problem
    ... the system was reboot. ... > next startup the same happened again and again. ... Thx ... Prev by Date: ...
    (microsoft.public.windowsxp.hardware)
  • [kde] k3b under fc4 crashes
    ... first k3b complained about an illegal file name, ... locked, after reboot, any subsequent attempt to get k3b to write ... thx in advance ...
    (KDE)
  • how to - imac os 8.6 - wireless setup
    ... older macs, so can some kind person give me some pointers as to how to do ... Prev by Date: ...
    (comp.sys.mac.system)