pmatos
Posts: 11
Joined: Wed Mar 30, 2016 7:18 am

Crash during compilation

Mon Jun 06, 2016 12:20 pm

Hello,

I am trying to determine why my rpi3 keeps crashing (literally I need to unplug it and plug it again) while compiling gcc on it.
Is there a way to understand if this was:
  • Power : doubtful, this is connected to a pretty powerful electrical extension and using this raspberry pi charger:
    https://www.amazon.de/3000mAh-Netzteil- ... B01E75SB2C
  • Temperature ; make -j1 works, make -j2 fails so it could be temperature but I would find it quite strange since I am not even using all of the cores
  • any other possibilities?

User avatar
RaTTuS
Posts: 10563
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Crash during compilation

Mon Jun 06, 2016 12:27 pm

OOME ?
what is displayed on the screen when it dies ?
tail -f /var/log/syslog
on another terminal when compiling and what does it say when it dies.

do you get brown outs ?
flickering red LED ?
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

pmatos
Posts: 11
Joined: Wed Mar 30, 2016 7:18 am

Re: Crash during compilation

Mon Jun 06, 2016 1:03 pm

RaTTuS wrote:OOME ?
what is displayed on the screen when it dies ?
tail -f /var/log/syslog
on another terminal when compiling and what does it say when it dies.

do you get brown outs ?
flickering red LED ?
The problem is the temperature. It easily reaches 90C. That's not good.
The screen just stalls from whatever was being displayed. In my case, the compilation log. I probably need some heatsinks and an open case.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5551
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Crash during compilation

Mon Jun 06, 2016 1:40 pm

What does:

Code: Select all

vcgencmd version
vcgencmd get_config int
uname -a
report?

stderr
Posts: 2178
Joined: Sat Dec 01, 2012 11:29 pm

Re: Crash during compilation

Mon Jun 06, 2016 2:08 pm

pmatos wrote:I am trying to determine why my rpi3 keeps crashing (literally I need to unplug it and plug it again) while compiling gcc on it.
any other possibilities?
Do you have swap enabled on it? When you have to use flash for this, I'd get a separate thumb drive and just put swap on it if possible.

User avatar
RaTTuS
Posts: 10563
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Crash during compilation

Mon Jun 06, 2016 2:11 pm

put a heak sink on it and give it some airflow space
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

Return to “Raspberry Pi OS”