Details
-
Bug
-
Resolution: Done
-
P0: Blocker
-
Qt Creator 2.0.1, Qt Creator 2.1.0, Qt Creator 2.2.0
-
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
Issue Links
- replaces
-
QTCREATORBUG-2558 QtCreator crash when browsing selected text
- Closed
-
QTCREATORBUG-2761 Crash when working in an area with Find selection
- Closed