← Back to team overview

ubuntu-sdk-bugs team mailing list archive

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

 

There has been a fix released by upstream already.

** Changed in: qtcreator (Ubuntu)
       Status: New => Fix Released

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

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

Status in “qtcreator” package in Ubuntu:
  Fix Released

Bug description:
  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)

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