[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#913802: marked as done (g++-8: compilation crashing on lambda capturing aliased VLA)



Your message dated Sat, 13 Feb 2021 13:07:12 +0000
with message-id <[🔎] E1lAudk-0000FN-1x@fasolo.debian.org>
and subject line Bug#954831: Removed package(s) from unstable
has caused the Debian Bug report #913802,
regarding g++-8: compilation crashing on lambda capturing aliased VLA
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
913802: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913802
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: g++-8
Version: 8.2.0-9
Severity: important

Compilation of C++ aplication crash with 'Segmentation fault' when
capturing VLA by reference and also requiring name alias. Code works
on ether g++-7 (Debian 7.3.0-30) and clang++ (6.0.1-9.2). Error is
reproducible even on gcc-snapshot.

crash.cpp
void crash_me(unsigned short sz)
{
  if (sz == 0) return;

  short iov[sz];
  auto fce = [&iv = iov](short value) { iv[0] = 0; };
  fce(1);
}

g++    -c -o crash.o crash.cpp
crash.cpp: In lambda function:
crash.cpp:6:37: internal compiler error: Segmentation fault
   auto fce = [&iv = iov](short value) { iv[0] = 0; };
                                     ^
0x7ffaf18d8fbf ???
        /build/glibc-aYuVJl/glibc-2.27/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x7ffaf18c5b16 __libc_start_main
        ../csu/libc-start.c:310
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.
make: *** [<builtin>: crash.o] Error 1


-- System Information:
Distributor ID:	Parrot
Description:	Parrot 4.3
Release:	4.3
Codename:	stable
Architecture: x86_64

Kernel: Linux 4.18.0-parrot10-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages g++-8 depends on:
ii  gcc-8            8.2.0-9
ii  gcc-8-base       8.2.0-9
ii  libc6            2.27-8
ii  libgmp10         2:6.1.2+dfsg-3
ii  libisl19         0.20-2
ii  libmpc3          1.1.0-1
ii  libmpfr6         4.0.1-1
ii  libstdc++-8-dev  8.2.0-9
ii  zlib1g           1:1.2.11.dfsg-1

g++-8 recommends no packages.

Versions of packages g++-8 suggests:
ii  g++-8-multilib    8.2.0-9
pn  gcc-8-doc         <none>
pn  libstdc++6-8-dbg  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1:8.4.0-7+rm

Dear submitter,

as the package gcc-8 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/954831

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Joerg Jaspert (the ftpmaster behind the curtain)

--- End Message ---

Reply to: