Menu

#1600 'Enter' on a specific line crashes desktop environment

Undefined
open
nobody
Bug_Report
2026-05-07
2026-05-07
---
No

Ubuntu 25.04
Code::Blocks 25.03

I have a cursed .cpp file. If you press enter to make a newline

    void resize((size_t w, size_t h){ <- here
    }

It crashes the desktop environment!

(file attached)

1 Attachments

Discussion

  • Miguel Gimenez

    Miguel Gimenez - 2026-05-07

    It fails also on Windows with the current trunk, but here it is recoverable just clicking on the editor.

    The legacy code completion plugin is the culprit, it works if I remove this code:

                    iterator& operator++(){
                        ptr += step;
                        return *this;
                    }
    
                    iterator  operator++(int){
                        iterator old = *this;
                        ptr += step;
                        return old;
                    }
    
     
  • Miguel Gimenez

    Miguel Gimenez - 2026-05-07
    • labels: --> CodeCompletion
    • Type: Undefined --> Bug_Report
     

Log in to post a comment.

MongoDB Logo MongoDB