CrossWorks crashes when right-clicking

Comments

25 comments

  • Avatar
    Ash

    I am having the same problem. Editing a source file and right-clicking was causing a crash 100% of the time.

    However I have tracked it down to the Code Completion option. Turning it off stops the crashes. I assume the feature is not fully implemented?

    Pretty bad timing as the company I work for was considering purchasing a couple of licenses.

    (Also: Win7 x64, Crossworks for ARM 2.2.0)

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    This has been a Known Problem for some time, and it's been addressed on and off the forum and on tickets and 2.3 removes the Code Completion feature and 3.0 has a completely reimplemented parallel indexer for multicore processors and a new Code Completion and template engine.

    0
    Comment actions Permalink
  • Avatar
    Alexander Miks

    Disabling code-completion "solves" the issue.

    I have reverted to using Eclipse for development and the IDE only for debugging. Too bad they didn't make the entire Crossworks as a plug-in for Eclipse,

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    > Too bad they didn't make the entire Crossworks as a plug-in for Eclipse

    How on earth can CrossWorks be made an Eclipse plug-in?  If you want something that uses Eclipse, choose Mentor CodeBench or CodeRed Red Suite or Atollic TrueSTUDIO or Freescale CodeWarrior which take Eclipse and sprinkle over whatever they do for their value-add.

    CrossWorks is meant to be an alternative to Eclipse, and I have to say, I absolutely detest Eclipse.

    0
    Comment actions Permalink
  • Avatar
    Alexander Miks

    I have used quite a few IDE's and I'll have to sat Crossworks is not among the worst, it is quite good actually but still lacks a lot of functionality.

    The command-line based compiler interface already allows you to use Eclipse for development. The only thing left is the debugger interface.

    > How on earth can CrossWorks be made an Eclipse plug-in?

    Well, IAR could do it. I don't see why it would be a problem.

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    > Well, IAR could do it. I don't see why it would be a problem.

    IAR do not host Embedded Workbench under Eclipse, the compilation toolset and debugger is plugged into Eclipse. Whilst we could do the same, I see no real benefit (to us) in doing this.

    0
    Comment actions Permalink
  • Avatar
    Mike Sharkey

    It appears that a similar code completion bug is back in 3.6.2 (Linux x64). Only it's even worse than the right-click one. Finally the code completion feature is almost useful, yet the IDE crashes randomly while simply entering text with code completion enabled.

    0
    Comment actions Permalink
  • Avatar
    Clark Leach

    I too have had Crossworks crash twice lately while doing relatively benign tasks, like right clicking in the editor.  I grabbed a screen snip of this latest crash, which happened within an hour or so of installing my newly purchased license...

     

    0
    Comment actions Permalink
  • Avatar
    Clark Leach

    I forgot to mention this is happening with Crossworks 3.5 on Windoze 8.1.  I haven't experienced it yet on Linux (Debian Jessie 64)...

    0
    Comment actions Permalink
  • Avatar
    Mike Sharkey

    Clark, I experience CrossWorks for ARM crashes constantly doing benign tasks such as typing code (go figure), at least 4-6 times per day, about every two hours on average. My last several edits are usually lost, and the open-files-list state reverts to some earlier state.

    Version Release 3.6.2.2015120115.26456 on Linux 64-bit, multiple stations, same thing. And heaven forbid your USB debugger should inadvertently disconnect, pret

    0
    Comment actions Permalink
  • Avatar
    Clark Leach

    Funny thing is, I don't recall it ever crashing on me (maybe once) until I installed a paid license...

     

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Give 3.6 a try. I suspect the problem still lies in the code completion and as such is source code specific. If you can narrow it down that would be appreciated.

    0
    Comment actions Permalink
  • Avatar
    Mike Sharkey

    Release 3.6.3.2016022201.27078 Linux x86 is crashing continuously while simply typing code. About every hour on average. Autocomplete enabled or disabled does not seem to make a difference. If I where not in the middle of a product release, I would be ditching CrossWorks right now, I'm about at my rope's end with CrossWorks. At the VERY LEAST CrossWorks should be able to handle ANY code input situation without puking it's guts!

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    If you start with the -noclang command line option does this make a difference?

    0
    Comment actions Permalink
  • Avatar
    Mike Sharkey

    I tried that, and it was going well for about 30 minutes, and I believe it was the first time I did right-click->Go-To-Definition (which I don't even know why I still bother because %95 of the time it does not find anything anyway), and application immediately crashed. I got a dialog this time however that asked if I wanted to submit a bug report, I acknowledged that dialog. Sorry I didn't get a screen snap of it, bit it didn't really offer any further information.

    0
    Comment actions Permalink
  • Avatar
    Mike Sharkey

    I will do "ulimit -c unlimited" and launch crossworks from the command line  try to get a core dump next time it crashes (without -noclang). Maybe that will help to debug this.

     
    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    That sounds like an easy bug i.e. we're not handling the -noclang case on goto definition. I'll fix this one.

    0
    Comment actions Permalink
  • Avatar
    Mike Sharkey

    Typing crash with auto completion enabled: *** Error in `/usr/share/crossworks_for_arm_3.6/bin/crossstudio': malloc(): memory corruption: 0xe5e98c50 ***

    The core file is too big to attach, it is here: http://www.pikeaero.com/dumps/core.tar.gz

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Got it thanks.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    If you select "Create Support Report" does this show anything?

    0
    Comment actions Permalink
  • Avatar
    Mike Sharkey

    Do you mean on the website? I see "Submit A Request". I no longer have support, I annoyingly get reminded of that every time I restart CrossStudio after every crash. 

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Yes that one.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Looks like a crash report just came in - thanks.

    0
    Comment actions Permalink
  • Avatar
    Mike Sharkey

    Okay. It said on the side-bare that my support is expired. However, it did seem to accept the submission #10253

    0
    Comment actions Permalink
  • Avatar
    Clark Leach

    FWIW, CrossStudio hasn't crashed on me in a long time.  I'm currently running 3.6.3.  But... I also have not been using the context menu within the editor very much.  I actually try not to even use the editor when possible since it has many shortcomings and all "help" does is pull up random, unrelated topics.

     

    1
    Comment actions Permalink

Please sign in to leave a comment.