Bug 80434 - internal compiler error: Killed (program cc1plus)
Summary: internal compiler error: Killed (program cc1plus)
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: other (show other bugs)
Version: 5.4.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-14 22:35 UTC by Merri
Modified: 2017-04-18 11:46 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Merri 2017-04-14 22:35:27 UTC
Hi Bug Fixer People:

I really have no idea what I'm doing, but apparently something you were not expecting. Your instructions for not being an idiot when reporting bugs is quite intimidating to a non-expert but the error message asked for me to 'please submit a full bug report' so here goes:

What we need

Please include in your bug report all of the following items, the
first three of which can be obtained from the output of gcc -v:

    * the exact version of GCC;
	gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 
    * the system type;
	I don't know what of that stuff output from gcc -v tells me this so this is what I know;
		Ubuntu 16.04.4
		R version 3.2.3
		RStudio version: Version 1.0.136 – © 2009-2016 RStudio, Inc.
			
    * the options given when GCC was configured/built;
		not a clue, but I followed all the defaults cause I'm not good enough to improvise
    * the complete command line that triggers the bug;
	 > install.packages("dplyr")
    * the compiler output (error messages, warnings, etc.); and
		g++: internal compiler error: Killed (program cc1plus)
		Please submit a full bug report,
		with preprocessed source if appropriate.
		See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
		make: *** [dplyr.o] Error 4
    * the preprocessed file (*.i*) that triggers the bug, generated by
      adding -save-temps to the complete compilation command, or, in
      the case of a bug report for the GNAT front end, a complete set
      of source files (see below).
		I have no idea what you mean.



Probably altogether too much info, feel free to ingore this as well as the whole report if it is crap:

In RStudio attempting to run something with libraries:
	library("dplyr")
	library("stringr")
needed to add the packages so, 
	in R Studio pushed install button, 
	in the dialog entered the package names,
In the console	dplyr said it needed tibble, tibble couldn't find file Rcpp.h
	back to R Studio package tab, install button, Rcpp, bunch of console stuff happened, looked fine
		(ok to be honest there was a lot of no rcpp package for version...don't you mean Rcpp.. first)
	so back to the package tab, install, dplyr
In console again said it would install tibble and dplyr
	bunch of stuff in misc. colors I don't get, but then "Done (tibble)"
	bunch more stuff ending in:
		g++: internal compiler error: Killed (program cc1plus)
		Please submit a full bug report,
		with preprocessed source if appropriate.
		See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
		make: *** [dplyr.o] Error 4




Output on console:


> install.packages("dplyr") -save -temps
Installing package into ‘/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2’
(as ‘lib’ is unspecified)
--2017-04-14 14:53:29--  https://cran.rstudio.com/src/contrib/dplyr_0.5.0.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 52.84.22.49
Connecting to cran.rstudio.com (cran.rstudio.com)|52.84.22.49|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 708476 (692K) [application/x-gzip]
Saving to: ‘/tmp/RtmpZUWuWp/downloaded_packages/dplyr_0.5.0.tar.gz’

     0K .......... .......... .......... .......... ..........  7% 1.69M 0s
    50K .......... .......... .......... .......... .......... 14% 3.37M 0s
   100K .......... .......... .......... .......... .......... 21% 4.68M 0s
   150K .......... .......... .......... .......... .......... 28% 4.04M 0s
   200K .......... .......... .......... .......... .......... 36% 4.27M 0s
   250K .......... .......... .......... .......... .......... 43% 3.63M 0s
   300K .......... .......... .......... .......... .......... 50% 5.70M 0s
   350K .......... .......... .......... .......... .......... 57% 1.92M 0s
   400K .......... .......... .......... .......... .......... 65% 3.79M 0s
   450K .......... .......... .......... .......... .......... 72% 4.87M 0s
   500K .......... .......... .......... .......... .......... 79% 4.41M 0s
   550K .......... .......... .......... .......... .......... 86% 4.63M 0s
   600K .......... .......... .......... .......... .......... 93% 2.50M 0s
   650K .......... .......... .......... .......... .         100% 4.61M=0.2s

2017-04-14 14:53:29 (3.42 MB/s) - ‘/tmp/RtmpZUWuWp/downloaded_packages/dplyr_0.5.0.tar.gz’ saved [708476/708476]

* installing *source* package ‘dplyr’ ...
** package ‘dplyr’ successfully unpacked and MD5 sums checked
** libs
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -DCOMPILING_DPLYR  -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/BH/include"  -DBOOST_NO_INT64_T -DBOOST_NO_INTEGRAL_INT64_T -DBOOST_NO_LONG_LONG -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c RcppExports.cpp -o RcppExports.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -DCOMPILING_DPLYR  -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/BH/include"  -DBOOST_NO_INT64_T -DBOOST_NO_INTEGRAL_INT64_T -DBOOST_NO_LONG_LONG -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c address.cpp -o address.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -DCOMPILING_DPLYR  -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/BH/include"  -DBOOST_NO_INT64_T -DBOOST_NO_INTEGRAL_INT64_T -DBOOST_NO_LONG_LONG -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c api.cpp -o api.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -DCOMPILING_DPLYR  -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/BH/include"  -DBOOST_NO_INT64_T -DBOOST_NO_INTEGRAL_INT64_T -DBOOST_NO_LONG_LONG -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c arrange.cpp -o arrange.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -DCOMPILING_DPLYR  -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/BH/include"  -DBOOST_NO_INT64_T -DBOOST_NO_INTEGRAL_INT64_T -DBOOST_NO_LONG_LONG -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c between.cpp -o between.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -DCOMPILING_DPLYR  -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/BH/include"  -DBOOST_NO_INT64_T -DBOOST_NO_INTEGRAL_INT64_T -DBOOST_NO_LONG_LONG -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c bind.cpp -o bind.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -DCOMPILING_DPLYR  -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/BH/include"  -DBOOST_NO_INT64_T -DBOOST_NO_INTEGRAL_INT64_T -DBOOST_NO_LONG_LONG -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c combine_variables.cpp -o combine_variables.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -DCOMPILING_DPLYR  -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/BH/include"  -DBOOST_NO_INT64_T -DBOOST_NO_INTEGRAL_INT64_T -DBOOST_NO_LONG_LONG -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c distinct.cpp -o distinct.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -DCOMPILING_DPLYR  -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/BH/include"  -DBOOST_NO_INT64_T -DBOOST_NO_INTEGRAL_INT64_T -DBOOST_NO_LONG_LONG -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c dplyr.cpp -o dplyr.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
/usr/lib/R/etc/Makeconf:143: recipe for target 'dplyr.o' failed
make: *** [dplyr.o] Error 4
ERROR: compilation failed for package ‘dplyr’
* removing ‘/home/leclerc/R/x86_64-pc-linux-gnu-library/3.2/dplyr’
Warning in install.packages :
  installation of package ‘dplyr’ had non-zero exit status

The downloaded source packages are in
	‘/tmp/RtmpZUWuWp/downloaded_packages’
Error in install.packages("dplyr") - save : 
  non-numeric argument to binary operator
Comment 1 Andrew Pinski 2017-04-14 22:39:16 UTC
How much memory do you have on this machine?
Comment 2 Merri 2017-04-17 14:50:36 UTC
1024 MB
Comment 3 Merri 2017-04-17 15:05:26 UTC
I bumped up the memory and it now works. thank you
Comment 4 Marek Polacek 2017-04-18 11:46:00 UTC
Closing.