Bug 1290682

Summary: [abrt] qt-creator: CPlusPlus::LiteralTable<CPlusPlus::Identifier>::findOrInsertLiteral(): qtcreator killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Vitaliy Gribko <vitaliy69>
Component: qt-creatorAssignee: Itamar Reis Peixoto <itamar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: davejohansen, helio, itamar, jreznik, ltinkl, manisandro, rdieter, vitaliy69
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/e5fcdd48e5e06f1d4ed4475fe531d143e70bcbe7
Whiteboard: abrt_hash:9f7f49a1a209b759ce62e5f3a593948110117627;VARIANT_ID=workstation;
Fixed In Version: qt-creator-3.6.0-1.fc22 qt-creator-3.6.0-2.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-28 23:52:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: mountinfo
none
File: namespaces
none
File: open_fds
none
File: proc_pid_status
none
File: exploitable none

Description Vitaliy Gribko 2015-12-11 07:04:11 UTC
Description of problem:
Just writing c++ code (with STL - std::string, std::map with itarators).

Standart qt-creator installation + todo plugin activated.

Version-Release number of selected component:
qt-creator-3.5.1-1.fc23

Additional info:
reporter:       libreport-2.6.3
backtrace_rating: 4
cmdline:        qtcreator
crash_function: CPlusPlus::LiteralTable<CPlusPlus::Identifier>::findOrInsertLiteral
executable:     /usr/bin/qtcreator
global_pid:     21456
kernel:         4.2.6-301.fc23.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 CPlusPlus::LiteralTable<CPlusPlus::Identifier>::findOrInsertLiteral at ../3rdparty/cplusplus/LiteralTable.h:102
 #1 CPlusPlus::Control::identifier at ../3rdparty/cplusplus/Control.cpp:589
 #2 CPlusPlus::CloneName::visit at ../3rdparty/cplusplus/Templates.cpp:443
 #3 CPlusPlus::Name::accept at ../3rdparty/cplusplus/Name.cpp:64
 #5 CPlusPlus::NameVisitor::accept at ../3rdparty/cplusplus/NameVisitor.cpp:33
 #6 CPlusPlus::CloneName::cloneName at ../3rdparty/cplusplus/Templates.cpp:433
 #7 CPlusPlus::CloneName::operator() at ../3rdparty/cplusplus/Templates.h:113
 #8 CPlusPlus::Clone::name at ../3rdparty/cplusplus/Templates.cpp:524
 #9 CPlusPlus::CloneName::visit at ../3rdparty/cplusplus/Templates.cpp:480
 #10 CPlusPlus::Name::accept at ../3rdparty/cplusplus/Name.cpp:64

Comment 1 Vitaliy Gribko 2015-12-11 07:04:23 UTC
Created attachment 1104573 [details]
File: backtrace

Comment 2 Vitaliy Gribko 2015-12-11 07:04:25 UTC
Created attachment 1104574 [details]
File: cgroup

Comment 3 Vitaliy Gribko 2015-12-11 07:04:28 UTC
Created attachment 1104575 [details]
File: core_backtrace

Comment 4 Vitaliy Gribko 2015-12-11 07:04:30 UTC
Created attachment 1104576 [details]
File: dso_list

Comment 5 Vitaliy Gribko 2015-12-11 07:04:32 UTC
Created attachment 1104577 [details]
File: environ

Comment 6 Vitaliy Gribko 2015-12-11 07:04:34 UTC
Created attachment 1104578 [details]
File: limits

Comment 7 Vitaliy Gribko 2015-12-11 07:04:36 UTC
Created attachment 1104579 [details]
File: maps

Comment 8 Vitaliy Gribko 2015-12-11 07:04:38 UTC
Created attachment 1104580 [details]
File: mountinfo

Comment 9 Vitaliy Gribko 2015-12-11 07:04:40 UTC
Created attachment 1104581 [details]
File: namespaces

Comment 10 Vitaliy Gribko 2015-12-11 07:04:42 UTC
Created attachment 1104582 [details]
File: open_fds

Comment 11 Vitaliy Gribko 2015-12-11 07:04:43 UTC
Created attachment 1104583 [details]
File: proc_pid_status

Comment 12 Vitaliy Gribko 2015-12-11 07:04:45 UTC
Created attachment 1104584 [details]
File: exploitable

Comment 13 Vitaliy Gribko 2015-12-11 10:00:52 UTC
I gotten several segfault with this error for four hours.

It reproduced after 15-30 minutes of hard work with c++ code with Ctrl + Backspace hot keys.

Comment 14 Sandro Mani 2015-12-11 10:22:57 UTC
Looks like memory corruption...
- Can you try with the latest 3.6rc1? Scratch build building here [1].
- If it still occurs, could you try running qt-creator through valgrind, hoping performance isn't too unbearable? Be sure to directly redirect all valgrind output to a file (i.e valgrind qtcreator 2>&1 | tee output.log) to ensure that the interesting information isn't lost in the terminal scrollback.

[1] http://koji.fedoraproject.org/koji/taskinfo?taskID=12150196

Comment 15 Vitaliy Gribko 2015-12-11 12:35:47 UTC
I tried qt-creator-3.6.0-0.2.rc1.fc23.x86_64 from your link.

But I see version 3.5.82 in "About Qt Creator". Anyway I can't reproduced bug on this version!

Thanks!

Also STL data types debugging more сonveniently with this version.

Thanks!

Where this version will appear in Fedora repository?

P.S. With valgrind Qt Creator works very slow and log file is too long.

Comment 16 Sandro Mani 2015-12-11 16:40:28 UTC
Yes, 3.5.82 corresponds to 3.6.0rc1.

I'll build qt-creator 3.6.0 for F22+ as soon as it is released, according to the upstream schedule this should be around December 14th.

Comment 17 Fedora Update System 2015-12-16 13:26:29 UTC
qt-creator-3.6.0-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-48ca1f1ecf

Comment 18 Fedora Update System 2015-12-16 13:26:29 UTC
qt-creator-3.6.0-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-cce2eff86d

Comment 19 Vitaliy Gribko 2015-12-17 06:12:52 UTC
Waiting for mirror update for testing.

Comment 20 Fedora Update System 2015-12-17 10:28:46 UTC
qt-creator-3.6.0-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update qt-creator'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-cce2eff86d

Comment 21 Fedora Update System 2015-12-17 10:28:51 UTC
qt-creator-3.6.0-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update qt-creator'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-48ca1f1ecf

Comment 22 Fedora Update System 2015-12-24 15:42:41 UTC
qt-creator-3.6.0-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-44dcd8cd5d

Comment 23 Fedora Update System 2015-12-25 01:57:01 UTC
qt-creator-3.6.0-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-44dcd8cd5d

Comment 24 Fedora Update System 2015-12-28 23:52:48 UTC
qt-creator-3.6.0-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 25 Fedora Update System 2016-01-02 22:20:14 UTC
qt-creator-3.6.0-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.