Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-2471

Crash in painting selection overlay

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • Qt Creator 2.1.0
    • Qt Creator 2.0.1, Qt Creator 2.1.0, Qt Creator 2.2.0
    • Editors
    • None
    • Debian Squeeze
      Qt Creator 2.0.1 from revision 97d831e3de
    • 5c6cfdf848364bd5f3c2fa46438a890ae13e3673

    Description

      Qt Creator crashes, when find&replace on a selected text

      Steps to Reproduce:
      1) Open attached file "qtcreator segfault.txt"
      2) Select a text, where "test pop" appears. E.g. the whole "StartTestCreateStackTrace_String" function.
      3) Press CTRL+F, type in search field "test pop" and in replace field "STRING: test pop" and press the REPLACE-RIGHT button.
      -> my qtcreator crashes after pressing the button 4 times

      If you don't select a text, it does not crash - but sometimes it crashes when you press CTRL+Z afterwards (hold the key).

      (gdb) r segfault.txt
      Starting program: /opt/qtcreator-2.0.1/bin/qtcreator segfault.txt
      [Thread debugging using libthread_db enabled]
      [New Thread 0xb4eccb70 (LWP 26229)]
      [Thread 0xb4eccb70 (LWP 26229) exited]
      [New Thread 0xb4eccb70 (LWP 26230)]
      [New Thread 0xb0dffb70 (LWP 26237)]
      [New Thread 0xb05feb70 (LWP 26238)]
      [New Thread 0xafdfdb70 (LWP 26240)]
      [New Thread 0xaf5b2b70 (LWP 26241)]

      Program received signal SIGSEGV, Segmentation fault.
      0xb78a124f in QTextLine::naturalTextRect() const () from /opt/qtcreator-2.0.1/bin/../lib/libQtGui.so.4
      (gdb)

      Attachments

        1. backtrace.txt
          6 kB
        2. segfault.png
          segfault.png
          120 kB
        3. segfault.txt
          14 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              erikv Erik Verbruggen
              bluespirit Karl Krach
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes