Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Arduino Problem ***stack smashing detected***

Arduino Problem ***stack smashing detected*** 4 years 4 months ago #10439

  • brew
  • brew's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 108
  • Karma: 0
Hello All,

I have an Arduino problem, that seems to be outside of the proview program.

Current setup is 5.4 proview, and 14.04 ubuntu and 1.05 arduino.

Am upgrading to 5.6, 18.04, and 1.8 arduino

The Proview 5.6 upgrade went fine, ubuntu 18.04 seems fine, but the Arduino 1.8 seems to be a problem.

Symptoms:

when i load the 5.4 , 14.04 and 1.05 onto my system--- (of one MEGA 2560 and one UNO) and all the switches, temp sensors, relays, etc
everything works flawlessly for months on end. and has for 3 years

When i load the MEGA and UNO with the sketches, using the 1.05 arduino program, the system runs fine with 5.6 and 18.04 . lights on the MEGA and UNO flash every one second

when i load the MEGA and UNO with the SAME sketches, but use the arduino 1.8 program, then the lights on the MEGA and UNO only flash ever 3 seconds, and the SystemStatus light on Proview goes RED.
ERROR message says :
***stack smashing detected***

and rt_emon says -- IO stalled : cyclesup delay detected cyclesup delayed with action stop I/O

It will actually do this same error message when i use the arduino program 1.8 to load the sketches in the old system of 14.04 and 5.4

I would like to use the upgraded arduino 1.8--
BUT
it seems to be a problem

Is there a setting in 1.8 that i have not done correctly?
Anybody else have this problem?
Help!

Thanks folks!

bill
The administrator has disabled public write access.

Arduino Problem ***stack smashing detected*** 4 years 4 months ago #10440

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 710
  • Thank you received: 70
  • Karma: 24
Hi Bill,

I am not sure.
But..... I can't see a reason why you should switch to 1.8 Arduino and upload the sketches again when it runs
perfect for years when you used 1.05.
Do I miss something?


/Marc
Please, use the Wiki if you succeeded your project or solved your problem. Share your work, so we can learn from each other.
The administrator has disabled public write access.

Arduino Problem ***stack smashing detected*** 4 years 3 months ago #10441

  • brew
  • brew's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 108
  • Karma: 0
Hello Marc,

Well, True.
It has worked for years flawlessly.

I was just upgrading EVERYTHING.
14.04 to 18.04, 5.4 to 5.6
and Arduino too

It is just the weirdest problem!
The arduino program just uploads the EXACT SAME sketch
That is all.
and somehow it is screwing up everything.
I thought maybe it was my fault somehow.
that i had some setting incorrect on the arduino 1.8 program

I can down-grade back to 1.05 and use that
Just trying to get everything working with the most up-to-date software .
For the next 5 years.

Thanks for the reply!

bill

PS any idea what "***stack smashing detected*** " means ?
The administrator has disabled public write access.

Arduino Problem ***stack smashing detected*** 4 years 3 weeks ago #10532

  • brew
  • brew's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 108
  • Karma: 0
Okay, i fixed it
apparently if you do
" sudo apt-get update && sudo apt-get install arduino arduino-core"
the program from ubuntu repository does not work right -- its outdated.

and you need to install JAVA for arduino to work -- i used openJDK , and it works fine.

download arduino from the arduino website,
64 bit. 1.0.5
untar, then move into /opt folder

to run
CD to /opt/xxxarduino folder,
and type
./arduino
to open 1.05

To make a desktop icon

gedit ~/Desktop/arduino.desktop
then paste in-->

[Desktop Entry]
Name=Arduino
Comment=Launcher for Arduino
Exec=/opt/arduino-1.0.5/arduino
Icon=/home/arduino-1.0.5/reference/img/logo.png
Categories=Application;Development;IDE;
Version=1.0.5
Type=Application
Terminal=true


save -- and you should be good to go
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 8.353 seconds