[Bug 1220148] [NEW] Crash on Autocompleting static_cast<std::weak_ptr<T> >(T).

Simon K 1220148 at bugs.launchpad.net
Tue Sep 3 09:36:01 UTC 2013


Public bug reported:

QTCreator crashes on trying to autcompletion.
(Upstream Bugreport: https://bugreports.qt-project.org/browse/QTCREATORBUG-10090 )

I'm using the Version provided via Ubuntu-Saucy repositorys.

Steps to reproduce:
1. Create a (Non-QT-) C++ Project (Give it a name and just click "Next" over and over)
2. Activate std=gnu++0x by pasting:
"QMAKE_CXXFLAGS += -std=gnu++0x" somewhere in the generated "pro" file.
3. Close and reopen the Project, so QTCreator knows about the "QMAKE_CXXFLAGS" and loads those autocompletions.
4. Open the generated C++ file with the "main" function.
5. Replace it's content with the code at http://paste.ubuntu.com/6058289/
6. at line 11 ("static_cast<std::weak_ptr<T> >(test);") insert a "." before the semicolon (";")

You can find the backtrace provided by gdb at
http://paste.ubuntu.com/6058300/

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: qtcreator 2.7.1-0ubuntu9
ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
Uname: Linux 3.11.0-4-generic x86_64
ApportVersion: 2.12.1-0ubuntu3
Architecture: amd64
Date: Tue Sep  3 11:34:28 2013
EcryptfsInUse: Yes
MarkForUpload: True
SourcePackage: qtcreator
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: qtcreator (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug saucy

** Description changed:

  QTCreator crashes on trying to autcompletion.
+ (Upstream Bugreport: https://bugreports.qt-project.org/browse/QTCREATORBUG-10090 )
  
  I'm using the Version provided via Ubuntu-Saucy repositorys.
  
  Steps to reproduce:
  1. Create a (Non-QT-) C++ Project (Give it a name and just click "Next" over and over)
  2. Activate std=gnu++0x by pasting:
  "QMAKE_CXXFLAGS += -std=gnu++0x" somewhere in the generated "pro" file.
  3. Close and reopen the Project, so QTCreator knows about the "QMAKE_CXXFLAGS" and loads those autocompletions.
  4. Open the generated C++ file with the "main" function.
  5. Replace it's content with the code at http://paste.ubuntu.com/6058289/
  6. at line 11 ("static_cast<std::weak_ptr<T> >(test);") insert a "." before the semicolon (";")
  
  You can find the backtrace provided by gdb at
  http://paste.ubuntu.com/6058300/
  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: qtcreator 2.7.1-0ubuntu9
  ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
  Uname: Linux 3.11.0-4-generic x86_64
  ApportVersion: 2.12.1-0ubuntu3
  Architecture: amd64
  Date: Tue Sep  3 11:34:28 2013
  EcryptfsInUse: Yes
  MarkForUpload: True
  SourcePackage: qtcreator
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qtcreator in Ubuntu.
https://bugs.launchpad.net/bugs/1220148

Title:
  Crash on Autocompleting static_cast<std::weak_ptr<T> >(T).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1220148/+subscriptions




More information about the kubuntu-bugs mailing list