This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS v5.1: Use of symbols in Memory Browser / Graph tool crashes CCS

Other Parts Discussed in Thread: SYSBIOS, CCSTUDIO

Hi,

I ran into the problem, that CCS crashes completely when I try to enter a symbol name in the Memory Browser or in the field 'start address' of the graph tool (single time for example). When I use the address of according array both 'tools' are working fine. I figured out, that it doesn't matter if the symbol name actually exists or not. CCS crashes anyway.

The following screen shot shows the way I usually use the Memory Browser with symbol names.


System Environment:
Ubuntu 12.04 LTS (32 Bit)
CCS 5.1.1.00033
XDS560v2 STM
Target: SoC with C674x

Please find attached the CCS_workspace/.metadata/.log, the CCS install log and the java dump file.

EDIT: System Environment

LogFiles.zip
  • Hi,

    Unfortunately I couldn't reproduce this issue here - however, I am running Ubuntu 10.04 LTS (64 bits) and tested both 5.1.1.00031 and 5.2.0.00069. Another difference is that I am referencing the variable with the leading ampersand character (&) - check the picture at the end of this post. This last difference obviously shouldn't throw your CCS to the dumpster, therefore I imagine something else is going on.

    I checked the logs you sent but couldn't find anything particularly striking on them, therefore I would suggest to first check the General IDE and Debugger troubleshooting sections at the CCS troubleshooting page. Usually the tips are helpful to overcome some other issues.

    Another tip is to check which views are open at the moment of the crash (source code, breakpoints, expressions, XGconf, Outline, etc.), as I noticed a XGconf error (the SYSBIOS main configuration screen) in one of the error logs. Although it was there, the log is not clear if it was the source of the problem or one of the "victims" of the unexpected crash.

    Hope this helps,

    Rafael

  • Hi desouza,

    Thanks for these tips. I checked the CCS troubleshooting page before I posted here but unfortunately none of these tips solved the problem. Thinks that I have already tried:

    1. Reset the perspective
    2.  Use –clean argument with ccstudio
    3. Use a new workspace
    4. Delete Debug Configuration
    5. Delete target cache files at ~/.TI

    The behaviour is the same if I enter a symbol name with an ampersand (&) at the beginning.

    Yesterday I tried my luck with a C674x simulator project, as shown on your screen shot, and there the memory browser works fine. I put this simulator project in the same workspace with the other project which crashes CCS. Furthermore I noticed that something is wrong with the RTSC Product Discovery. I fixed this problem some weeks ago by changing the permissions of the install folder /opt/ti/ but now it's back again. This thread describes that problem.

    In the meantime I restored a backup of my Ubuntu installation and the problem still there.

    Regards
    Jo



  • Hi,

    some hours later and the problem still there. I tried this and that but the only new thing is, that when I enter symbols like _c_int00 or r32Accu there is not problem. In general, as long as I don't use the scope operator (::) in the memory browser it works. Any ideas?

    Regards
    Jo

  • Hi,

    my colleague and I done some further research and figured out, that the memory browser crashes with my out file but not with the out file of my colleague. Our both projects are a little bit different but my colleague also use C++, namespaces and exactly the same compiler options/flags. The Version of CSS and Ubuntu are also identical.

    Therefore the source of pain should be somewhere in the out file or in the parser that works behind the memory browser and the graph too.

  • Hi,

    Thanks for reporting this. Yesterday I was trying to reproduce this issue in my Ubuntu 12.04 without success as well.

    Although it is a corner case, do you mind sending your project or at least the .out file so I could try to reproduce this here? I can send you a friend invite.

    Regards,

    Rafael

  • Hi,

    Please invite me!

    Regards
    Jo

  • Joachim,

    Thank you for sending the testcase offline via the FAEs. I filed today the bug SDSCM00044867. Please check its status at the link SDOWP in my signature below.

    Regards,

    Rafael

  • Thank you for your support Rafael.

    The bug report states, that the bugfix is planed for CCS 5.3. Is there a rough schedule for CCS 5.3?

    Best regards,
    Jo

  • Joachim,

    CCSv5.3 is tentatively scheduled for October.

    Cheers,

    Rafael

  • Hi,

    I have done a quick test, it looks like the the bug is fixed in CCS v5.3.

    Thank you for the support.
    Jo