Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6670917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:19:31+00:00 2026-05-26T03:19:31+00:00

I am getting an exception Invalid Program Counter Address in Vxworks + PPC 603.

  • 0

I am getting an exception “Invalid Program Counter Address” in Vxworks + PPC 603.

Application is linking to multiple ‘C’ libraries. Am not able to place, what could cause this problem?

Is there a possibility that incorrect compilation options could be causing this?

Any directions or pointers will be helpful.

Thanks

UPDATE:

I am having a structure whose members are function pointers. The structure itself is static and it’s address is passed around and through the structure different functions are being invoked.

During one of the test rounds, I found that in the function pointer, the function address value is reduced by 1. If the function address is 0x009a3730, the PC is having 0x00913729.

Also, if I change the compiler options, the place of crash or the number of runs after which the crash happens changes.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:19:31+00:00Added an answer on May 26, 2026 at 3:19 am

    @All, Thanks for your suggestions.

    It turned out that the location containing the address was incorrectly getting pointed to a reference member of another structure and that reference member was getting decremented by one in each call to free that structure.

    The memory for that structure should have been allocated by a call to one of our functions. But, instead it was left to refer to some garbade memory without any initalization or memory allocation and it ended up referring to this static memory where the global structure is stored. This led to the static structure getting corrupted and which inturn led to the crash.

    A thorough line-by-line analysis of our logs helped in putting all pieces together.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm getting an exception from Cruise Control about not being able to connect to
In one of our application im getting an exception that i can not seem
I'm getting an invalid cast exception but I'm not sure why, here is the
I'm getting an 'UnauthorizedAccesExpection - Invalid cross-thread access' exception when I try to raise
i'm getting exception on Transformer transformer = tFactory.newTransformer(StreamXSL); but the error below is not
in my application I am getting an exception: MyApp(38431,0xa004ffa0) malloc: *** error for object
I m getting the following exception. and not sure what s causing it. any
I'm getting an 'invalid json' exception for a set of json. I tested the
I'm getting an Exception while trying to insert a row in oracle table. I'm
I am getting this exception while accessing the jax-ws web service from my client.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.