Opened 7 years ago

Closed 7 years ago

#8709 closed bug (fixed)

Debugger reliably crashes while stepping through instantiating Deskbar add-ons

Reported by: anevilyak Owned by: anevilyak
Priority: normal Milestone: R1
Component: Applications/Debugger Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

If one steps into instantiate_object() and then attempts to step into the actual call to the instantiation function, Debugger reliably crashes in the thread handler where the top frame of the stack appears to have a NULL image pointer. Needs investigation.

Change History (3)

comment:1 by anevilyak, 7 years ago

After some brief digging, what appears to happen is:

  • We single step until we're inside the instantiation function.
  • The thread handler asks for the topmost frame to determine if it needs to continue stepping.
  • The instruction pointer is at this point within the image of the add-on in question based on a listimage of the team being debugged.
  • However, resolving that instruction pointer to an image fails, which is odd since that image has long since been loaded at this point. This suggests a problem adding the image to the list when notified of it being loaded, or an error while loading its debug information. Will dig further later.

comment:2 by anevilyak, 7 years ago

Status: newin-progress

comment:3 by anevilyak, 7 years ago

Resolution: fixed
Status: in-progressclosed

Fixed in hrev44304.

Note: See TracTickets for help on using tickets.