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

Crash on override lookup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • Qt Creator 3.0.0-rc1
    • Qt Creator 3.0.0-rc1
    • C/C++/Obj-C++ Support
    • None
    • Windows XP SP3, MSVC2010, Qt5
    • 8f0be66d3da3346ab45d957e59b167886971d859

      F2 on a (specific) virtual function crashes. Trace follows.

      I can reproduce it easily.

      0	CPlusPlus::Identifier::isEqualTo	Literals.cpp	209	0x42280b0	
      1	CppEditor::Internal::FunctionHelper::overrides	cppvirtualfunctionassistprovider.cpp	291	0x4f18dca	
      2	VirtualFunctionsAssistProcessor::perform	cppvirtualfunctionassistprovider.cpp	144	0x4f1a339	
      3	TextEditor::Internal::ProcessorRunner::run	runner.cpp	64	0x2fe66a8	
      4	QString::mid	Qt5Cored		0x6707fba5	
      5	_beginthreadex	MSVCR100D		0x1024a273	
      6	_beginthreadex	MSVCR100D		0x1024a204	
      7	BaseThreadStart	kernel32		0x7c80b729

      Locals in isEqualTo (msvc/cdb):

      this	0x1dd15800	CPlusPlus::Identifier *
      			CPlusPlus::Literal	class CPlusPlus::Literal	CPlusPlus::Literal
      				__vfptr	0x64616572	__fptr() [1]
      					[0]	<Memory	__fptr()
      				_next	0x796c6e6f	CPlusPlus::Literal *
      					__vfptr	0x0	__fptr() [1]
      						[0]	<Memory	__fptr()
      					_next	<Memory access error>	CPlusPlus::Literal *
      						__vfptr	0x0	__fptr() [1]
      						_next	<Memory access error>	CPlusPlus::Literal *
      						_chars	<Memory access error>	char *
      						_size	<Memory access error>	unsigned int
      						_hashCode	<Memory access error>	unsigned int
      						_index	<Memory access error>	unsigned int
      					_chars	<Memory access error>	char *
      						*_chars	<Memory access error>	char
      					_size	<Memory access error>	unsigned int
      					_hashCode	<Memory access error>	unsigned int
      					_index	<Memory access error>	unsigned int
      				_chars	0xfdfdfd00 "--- memory read error at address 0xfdfdfd00 ---"	char *
      					*_chars	<Memory access error>	char
      				_size	2880154621	unsigned int
      				_hashCode	2880154539	unsigned int
      				_index	4277075627	unsigned int
      			CPlusPlus::Name	class CPlusPlus::Name	CPlusPlus::Name
      				__vfptr	0x0	__fptr() [12]
      					[0]	<Memory	__fptr()
      					[1]	<Memory	__fptr()
      					[2]	<Memory	__fptr()
      					[3]	<Memory	__fptr()
      					[4]	<Memory	__fptr()
      					[5]	<Memory	__fptr()
      					[6]	<Memory	__fptr()
      					[7]	<Memory	__fptr()
      					[8]	<Memory	__fptr()
      					[9]	<Memory	__fptr()
      					[10]	<Memory	__fptr()
      					[11]	<Memory	__fptr()
      		other	0x4f18dca	CPlusPlus::Name *
      			__vfptr	0x85c8b60f	__fptr() [12]
      				[0]	<Memory	__fptr()
      				[1]	<Memory	__fptr()
      				[2]	<Memory	__fptr()
      				[3]	<Memory	__fptr()
      				[4]	<Memory	__fptr()
      				[5]	<Memory	__fptr()
      				[6]	<Memory	__fptr()
      				[7]	<Memory	__fptr()
      				[8]	<Memory	__fptr()
      				[9]	<Memory	__fptr()
      				[10]	<Memory	__fptr()
      				[11]	<Memory	__fptr()

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

            kosjar Nikolai Kosjar
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes