[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-05-23 Thread LocutusOfBorg
** Description changed:

- This happens in a rather big project when simply running cmake, I will
- try to debug it a bit and come up with a better description if I can.
+ [Impact]
+ 
+  * Some cmake based projects can crash cmake
+ 
+ [Test Case]
+ 
+ * Create a cmake project that has a lot of Aliases
+ 
+ [Regression Potential]
+ 
+ * None
+ 
+ [Other Info]
  
  ProblemType: Crash
  DistroRelease: Ubuntu 16.04
  Package: cmake 3.5.1-1ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-16.32-generic 4.4.6
  Uname: Linux 4.4.0-16-generic x86_64
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  CrashCounter: 1
  CurrentDesktop: GNOME
  Date: Thu Mar 31 13:30:49 2016
  ExecutablePath: /usr/bin/cmake
  ProcCmdline: cmake -GEclipse\ CDT4\ -\ Unix\ Makefiles 
-DCMAKE_ECLIPSE_VERSION=4.4 -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE 
-DCOMSYSTEM_TFTP_PATH=/tftpboot -GEclipse\ CDT4\ -\ Ninja 
-DCOMSYSTEM_VARIANT:STRING=comsystem3 
-DCMAKE_INSTALL_PREFIX:PATH=/home/username/workspace/builds/comsystem3-native/development/staging/
 -DCMAKE_INSTALL_LIBEXECDIR:PATH=usr/libexec 
-DCMAKE_SYSTEM_PREFIX_PATH=/home/username/workspace/builds/comsystem3-native/development/staging
 -DCMAKE_BUILD_TYPE:STRING=development /home/username/comsystem/applications
  SegvAnalysis:
-  Segfault happened at: 0x54afca 
<_ZNK8cmTarget11GetPropertyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP10cmMakefile+42>:
  mov0x228(%rdi),%eax
-  PC (0x0054afca) ok
-  source "0x228(%rdi)" (0x0250) not located in a known VMA region (needed 
readable region)!
-  destination "%eax" ok
+  Segfault happened at: 0x54afca 
<_ZNK8cmTarget11GetPropertyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP10cmMakefile+42>:
  mov0x228(%rdi),%eax
+  PC (0x0054afca) ok
+  source "0x228(%rdi)" (0x0250) not located in a known VMA region (needed 
readable region)!
+  destination "%eax" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: cmake
  StacktraceTop:
-  cmTarget::GetProperty(std::__cxx11::basic_string const&, cmMakefile*) const ()
-  
cmGetTargetPropertyCommand::InitialPass(std::vector, 
std::allocator > > const&, cmExecutionStatus&) ()
-  cmMakefile::ExecuteCommand(cmListFileFunction const&, cmExecutionStatus&) ()
-  cmForEachFunctionBlocker::IsFunctionBlocked(cmListFileFunction const&, 
cmMakefile&, cmExecutionStatus&) ()
-  cmMakefile::IsFunctionBlocked(cmListFileFunction const&, cmExecutionStatus&) 
()
+  cmTarget::GetProperty(std::__cxx11::basic_string const&, cmMakefile*) const ()
+  
cmGetTargetPropertyCommand::InitialPass(std::vector, 
std::allocator > > const&, cmExecutionStatus&) ()
+  cmMakefile::ExecuteCommand(cmListFileFunction const&, cmExecutionStatus&) ()
+  cmForEachFunctionBlocker::IsFunctionBlocked(cmListFileFunction const&, 
cmMakefile&, cmExecutionStatus&) ()
+  cmMakefile::IsFunctionBlocked(cmListFileFunction const&, cmExecutionStatus&) 
()
  Title: cmake crashed with SIGSEGV in cmTarget::GetProperty()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin nopasswdlogin plugdev sambashare 
sudo vboxsf wireshark

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-05-23 Thread LocutusOfBorg
lets ask for a sponsor then!

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

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-05-22 Thread Christian Fetzer
@LocutusOfBorg: Mind backporting this fix also to xenial?
The diff between 3.5.1 and 3.5.2 looks small enough to not cause any 
regressions: https://cmake.org/Bug/view_all_bug_page.php?filter=161388

I'm working on porting kodi's build system to cmake and we're and
affected by this.

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-04-27 Thread LocutusOfBorg
thanks, I'm going to ask to merge it soon. marking as fix released for
yakkety for now

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

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-04-27 Thread Brad King
This issue is fixed by upstream patch release 3.5.2.

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-04-05 Thread Matteo Settenvini
Thanks Gianfranco, the package you provided does not crash anymore for
me.

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-04-04 Thread LocutusOfBorg
@Matteo can you please check the above debdiff and the build ongoing on 
ppa:costamagnagianfranco/costamagnagianfranco-ppa?
thanks

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-04-04 Thread LocutusOfBorg
** Attachment added: "debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1564741/+attachment/4622761/+files/debdiff

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-04-02 Thread LocutusOfBorg
@Matteo do you plan to propose a debdiff?

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-04-02 Thread Bug Watch Updater
** Changed in: cmake
   Status: New => Fix Released

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-04-01 Thread LocutusOfBorg
debdiff updated

** Attachment added: "debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1564741/+attachment/4619475/+files/debdiff

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-04-01 Thread LocutusOfBorg
please test the build on ppa:costamagnagianfranco/locutusofborg-ppa

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-04-01 Thread LocutusOfBorg
** Attachment added: "debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1564741/+attachment/4619433/+files/debdiff

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-04-01 Thread Ubuntu Foundations Team Bug Bot
The attachment "Patch to fix the problem" seems to be a patch.  If it
isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-04-01 Thread Matteo Settenvini
I produced a patch to fix the issue, complete with test-case. I am
attaching it here, but I will also submit it upstream. It would help, in
the meantime, if it was applied downstream too.

** Patch added: "Patch to fix the problem"
   
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1564741/+attachment/4619374/+files/0001-Prevent-SIGSEGV-when-ALIASing-a-target-defined-in-an.patch

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-04-01 Thread Bug Watch Updater
** Changed in: cmake
   Status: Unknown => New

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-04-01 Thread LocutusOfBorg
** Bug watch added: cmake.org/Bug/ #16044
   http://cmake.org/Bug/view.php?id=16044

** Also affects: cmake via
   http://cmake.org/Bug/view.php?id=16044
   Importance: Unknown
   Status: Unknown

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cmake/+bug/1564741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1564741] Re: cmake crashed with SIGSEGV in cmTarget::GetProperty()

2016-04-01 Thread Matteo Settenvini
I bisected this down to CMake commit
a67231ac114235f0af4673235c4c07fa896c8ab6.

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

Title:
  cmake crashed with SIGSEGV in cmTarget::GetProperty()

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

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs