Project

General

Profile

Bug #1373

Unable to attach to an application it launched

Added by Eric Bohm over 2 years ago. Updated over 2 years ago.

Status:
Merged
Priority:
Normal
Assignee:
Target version:
-
Start date:
01/20/2017
Due date:
% Done:

0%


Description

Created launch configuration using the built in gui. When "start" is triggered, it was capable of launching the application and capturing stdout. However, it was unable to display any application details, such as entry methods, or messages. It crashed when "attach" was triggered with the error message "CcsServer FATAL ERROR: Couldn't parse port number"

Charm 6.8.0, netlrts-linux-x86_64 compiled with --enable-error-checking -O0 _g
OpenAtom built using that charm, also -O0 -g.

History

#1 Updated by Eric Bohm over 2 years ago

  • Assignee changed from Laxmikant "Sanjay" Kale to Bilge Acun

#2 Updated by Sam White over 2 years ago

  • Subject changed from unable to attach to an application it launched to Unable to attach to an application it launched

git bisect showed this commit to be at fault: https://charm.cs.illinois.edu/gerrit/#/c/1903/

CharmDebug is probably just assuming that chare, group, nodegroup, or readonly's size is an int rather than a size_t...

#3 Updated by Sam White over 2 years ago

Actually it should be as easy as grep'ing for "ReadonlyInfo" and "ChareInfo" inside charmdebug, changing the size fields passed to them. Those are the only 2 interfaces changed in that commit which are relevant to charmdebug I think.

#4 Updated by Bilge Acun over 2 years ago

I've replaced ReadonlyInfo's and ChareTypeInfo's sizes from int to long, but simply doing that hasn't solved the problem. I'm inspecting more on where the size is used. Also, I'm not sure replacing it to long is the best idea but I'm not sure what would be the equivalent of size_t in Java.

#5 Updated by Bilge Acun over 2 years ago

  • Status changed from New to Implemented

#6 Updated by Sam White over 2 years ago

  • Status changed from Implemented to Merged

#7 Updated by Bilge Acun over 2 years ago

  • Status changed from Merged to In Progress

There are more problems with CharmDebug, with this commit being fault: https://charm.cs.illinois.edu/gerrit/#/c/1873/6
The problem is size changes similar to the previous one.

#8 Updated by Bilge Acun over 2 years ago

Fix to solve the second commit that breaks CharmDebug is implemented here: https://charm.cs.illinois.edu/gerrit/#/c/2362

#9 Updated by Bilge Acun over 2 years ago

  • Status changed from In Progress to Merged

Also available in: Atom PDF