Bug 1035624

Summary: [abrt] cmake-2.8.11-1.fc18: operator new: Process /usr/bin/cmake was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: g.scheikl
Component: cmakeAssignee: Orion Poplawski <orion>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: jreznik, ltinkl, orion, pertusus, pmachata, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:0cce62ac62af0413e65f1edadf12acaceb8f117d
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-05 23:15:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: exploitable
none
File: limits
none
File: maps
none
File: proc_pid_status none

Description g.scheikl 2013-11-28 08:39:16 UTC
Description of problem:
It seems like overriding add_executable twice crashes CMake.
Of course, this is an user error. But it should not crash CMake.

Version-Release number of selected component:
cmake-2.8.11-1.fc18

Additional info:
reporter:       libreport-2.1.6
backtrace_rating: 4
cmdline:        cmake ..
crash_function: operator new
environ:        
executable:     /usr/bin/cmake
kernel:         3.10.11-100.fc18.i686.PAE
runlevel:       N 5

Truncated backtrace:
Thread no. 1 (10 frames)
 #2 operator new at ../../../../libstdc++-v3/libsupc++/new_op.cc:52
 #3 allocate at /usr/src/debug/gcc-4.7.2-20121109/obj-i686-redhat-linux/i686-redhat-linux/libstdc++-v3/include/ext/new_allocator.h:94
 #4 std::string::_Rep::_S_create at /usr/src/debug/gcc-4.7.2-20121109/obj-i686-redhat-linux/i686-redhat-linux/libstdc++-v3/include/bits/basic_string.tcc:609
 #5 std::string::_S_construct<char const*> at /usr/src/debug/gcc-4.7.2-20121109/obj-i686-redhat-linux/i686-redhat-linux/libstdc++-v3/include/bits/basic_string.tcc:140
 #6 _S_construct_aux<char const*> at /usr/src/debug/gcc-4.7.2-20121109/obj-i686-redhat-linux/i686-redhat-linux/libstdc++-v3/include/bits/basic_string.h:1722
 #7 _S_construct<char const*> at /usr/src/debug/gcc-4.7.2-20121109/obj-i686-redhat-linux/i686-redhat-linux/libstdc++-v3/include/bits/basic_string.h:1743
 #8 std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string at /usr/src/debug/gcc-4.7.2-20121109/obj-i686-redhat-linux/i686-redhat-linux/libstdc++-v3/include/bits/basic_string.tcc:217
 #9 String at /usr/src/debug/cmake-2.8.11/build/Source/cmsys/String.hxx:49
 #10 cmDefinitions::GetInternal at /usr/src/debug/cmake-2.8.11/Source/cmDefinitions.cxx:33
 #11 cmDefinitions::Get at /usr/src/debug/cmake-2.8.11/Source/cmDefinitions.cxx:76

Comment 1 g.scheikl 2013-11-28 08:39:40 UTC
Created attachment 830088 [details]
File: backtrace

Comment 2 g.scheikl 2013-11-28 08:39:44 UTC
Created attachment 830089 [details]
File: cgroup

Comment 3 g.scheikl 2013-11-28 08:39:50 UTC
Created attachment 830090 [details]
File: core_backtrace

Comment 4 g.scheikl 2013-11-28 08:39:54 UTC
Created attachment 830091 [details]
File: dso_list

Comment 5 g.scheikl 2013-11-28 08:39:58 UTC
Created attachment 830092 [details]
File: exploitable

Comment 6 g.scheikl 2013-11-28 08:40:02 UTC
Created attachment 830093 [details]
File: limits

Comment 7 g.scheikl 2013-11-28 08:40:06 UTC
Created attachment 830094 [details]
File: maps

Comment 8 g.scheikl 2013-11-28 08:40:11 UTC
Created attachment 830096 [details]
File: proc_pid_status

Comment 9 Orion Poplawski 2013-12-02 23:14:47 UTC
Can you attach a simple CMakeLists.txt that reproduces the problem?

Comment 10 Fedora End Of Life 2013-12-21 15:38:07 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 11 Fedora End Of Life 2014-02-05 23:15:18 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.