Bug 1115013

Summary: [abrt] cmake: cmCommandArgument_yyalloc(): cmake killed by SIGSEGV
Product: [Fedora] Fedora Reporter: g.scheikl
Component: cmakeAssignee: Orion Poplawski <orion>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: g.scheikl, jreznik, ltinkl, mnewsome, orion, pertusus, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/6b51cdc73b6f93efa2d4816b7853359f7c16b82e
Whiteboard: abrt_hash:1b0549b2104dd8022c44b5aacb773fd5a0c84d22
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-30 01:04:15 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: exploitable
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description g.scheikl 2014-07-01 12:30:39 UTC
Description of problem:
Happens on every CMake run.
Can't find any obvious error in the CMake code.

Version-Release number of selected component:
cmake-2.8.12.2-2.fc20

Additional info:
reporter:       libreport-2.2.2
backtrace_rating: 4
cmdline:        cmake ..
crash_function: cmCommandArgument_yyalloc
executable:     /usr/bin/cmake
kernel:         3.14.3-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1056

Truncated backtrace:
Thread no. 1 (10 frames)
 #2 cmCommandArgument_yyalloc at cmCommandArgumentLexer.cxx:2040
 #3 cmCommandArgument_yyensure_buffer_stack at cmCommandArgumentLexer.cxx:1598
 #4 cmCommandArgument_yylex at cmCommandArgumentLexer.cxx:751
 #5 cmCommandArgument_yyparse at cmCommandArgumentParser.cxx:1358
 #6 cmCommandArgumentParserHelper::ParseString at /usr/src/debug/cmake-2.8.12.2/Source/cmCommandArgumentParserHelper.cxx:284
 #7 cmMakefile::ExpandVariablesInString at /usr/src/debug/cmake-2.8.12.2/Source/cmMakefile.cxx:2615
 #8 cmMakefile::ExpandArguments at /usr/src/debug/cmake-2.8.12.2/Source/cmMakefile.cxx:2888
 #9 cmFunctionHelperCommand::InvokeInitialPass at /usr/src/debug/cmake-2.8.12.2/Source/cmFunctionCommand.cxx:101
 #10 cmMakefile::ExecuteCommand at /usr/src/debug/cmake-2.8.12.2/Source/cmMakefile.cxx:417
 #11 cmFunctionHelperCommand::InvokeInitialPass at /usr/src/debug/cmake-2.8.12.2/Source/cmFunctionCommand.cxx:178

Comment 1 g.scheikl 2014-07-01 12:30:44 UTC
Created attachment 913740 [details]
File: backtrace

Comment 2 g.scheikl 2014-07-01 12:30:45 UTC
Created attachment 913741 [details]
File: cgroup

Comment 3 g.scheikl 2014-07-01 12:30:49 UTC
Created attachment 913742 [details]
File: core_backtrace

Comment 4 g.scheikl 2014-07-01 12:30:52 UTC
Created attachment 913743 [details]
File: dso_list

Comment 5 g.scheikl 2014-07-01 12:30:54 UTC
Created attachment 913744 [details]
File: environ

Comment 6 g.scheikl 2014-07-01 12:30:56 UTC
Created attachment 913745 [details]
File: exploitable

Comment 7 g.scheikl 2014-07-01 12:30:58 UTC
Created attachment 913746 [details]
File: limits

Comment 8 g.scheikl 2014-07-01 12:31:01 UTC
Created attachment 913747 [details]
File: maps

Comment 9 g.scheikl 2014-07-01 12:31:03 UTC
Created attachment 913748 [details]
File: open_fds

Comment 10 g.scheikl 2014-07-01 12:31:05 UTC
Created attachment 913749 [details]
File: proc_pid_status

Comment 11 g.scheikl 2014-07-01 12:31:07 UTC
Created attachment 913750 [details]
File: var_log_messages

Comment 12 Orion Poplawski 2014-08-20 15:26:34 UTC
Can you still reproduce this?  Can you give explicit steps?  What project are you building?

Comment 13 g.scheikl 2014-08-21 07:43:24 UTC
Yes, it is still reproducable.
The problem was that I accidently created 2 overrides for add_executable.
I would expect that the second override just hides the first one.
But it seems, that it crashes CMake somehow.

Comment 14 Orion Poplawski 2014-08-21 15:27:07 UTC
Can you attach a small reproducer CMakeLists.txt?

Comment 15 Fedora End Of Life 2015-05-29 12:16:27 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. 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 EOL if it remains open with a Fedora  'version'
of '20'.

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.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 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 this bug is closed as described in the policy above.

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 16 Fedora End Of Life 2015-06-30 01:04:15 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 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.