Ask Your Question
0

catkin_make causes hard shutdown [closed]

asked 2015-07-23 15:49:39 -0500

jpws gravatar image

Hi all,

I have encountered a very strange problem and can't seem to find any other instance of the problem. I have a catkin workspace that I tried to perform catkin_make on. For some reason, when I execute catkin_make, it runs for a while and then my computer blacks out completely. I believe that is a hard shutdown of the computer.

So, I have no idea why executing catkin_make should cause a hard shutdown and was wondering if anyone had any ideas as to why that would be happening. I don't believe my CPU is overheating and I have done a SMART self-test and it comes back ok.

Thanks!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by jpws
close date 2015-07-25 12:17:48.378145

3 Answers

Sort by ยป oldest newest most voted
0

answered 2015-07-25 12:17:26 -0500

jpws gravatar image

Turns out the solution was what gvdhoorn recommended; Running

catkin_make -j1

seems to fix the problem. Still don't really know the root cause but it does suggest that overheating might have been occurring. Thanks for the help! Really appreciate it!

edit flag offensive delete link more

Comments

1

That is not really a solution, but more of a work-around. Does your computer ever show these symptoms if you run other CPU/GPU intensive applications? Do you have a swap partition setup? CPU temp is easily monitored: SensorInstallHowto.

gvdhoorn gravatar image gvdhoorn  ( 2015-07-26 01:07:23 -0500 )edit
1

answered 2015-07-24 02:34:22 -0500

gvdhoorn gravatar image

updated 2015-07-24 02:34:52 -0500

Please add some more info: version of ROS, how you installed it, your OS, and most importantly: the layout of your workspace (nr of pkgs, are you overlaying, etc). Also: quick test: do you observe the same when running catkin_make -j1?

edit flag offensive delete link more
1

answered 2015-07-24 09:36:13 -0500

updated 2015-07-24 09:37:49 -0500

Do you see an error like "c++: internal compiler error: Killed (program cc1plus)" when you catkin_make? This is usually due to insufficient memory while compiling a number of packages at a time. I suggest you to try and build one package at a time with catkin_make --pkg package_name .

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-07-23 15:49:39 -0500

Seen: 449 times

Last updated: Jul 25 '15