crashes when starting linuxcnc, but not always

More
4 years 6 months ago #239284 by depronman
Hi all,
I was running the buster iso and Lcnc 2.8.2 as downloaded from the main linuxcnc site, this ran perfectly and was very stable. however in getting my tool changer to intergrate to linuxcnc I needed to run halcompile. I cannot for the life of me get this to run on the above.

I then installed Mint and linuxcnc in it with the RT kernal, then allowed the halcompile and the toolchanger is now all operational
however I have a problem in that 9 times out of 10 when I start up the PC and try to open linuxcnc it will crash. sometimes if you re try linuxcnc several times it will open gmoccapy and all then works perfectly until you exit linuxcnc and try to start it again, at which point it will almost certain crash on every attemp.
The only cure is then to shut down, restart in the none RT kernal, shut down again and restart in the RT kernal, then it may open gmocappy or it may crash - all a bit random
I've tried 2.82 and the 2.9xxxx - both do exactly the same thing

I've attched the crash report and the hal and ini files

if someone can explain in simple steps how to get halcompile to run in Buster I will more than happily dump mint and revert to debian buster and 2.8.2

many thanks
Paul 

Attachment not found

Please Log in to join the conversation.

More
4 years 6 months ago #239592 by andypugh

if someone can explain in simple steps how to get halcompile to run in Buster 
It ought to just work. Was there any sort of error message? 

Please Log in to join the conversation.

More
4 years 6 months ago #239602 by andypugh

if someone can explain in simple steps how to get halcompile to run in Buster 
It ought to just work. Was there any sort of error message? 
Ironically, I just now found a problem. 

sudo halcompile --install .... -> "halcompile, command not found"
halcompile --install ..... -> success 

Was this what you found? 

Some sort of explanation here:
stackoverflow.com/questions/54026213/com...t-works-without-sudo
 

Please Log in to join the conversation.

More
4 years 6 months ago #239913 by depronman
No. See attached image 

Please Log in to join the conversation.

More
4 years 6 months ago #239914 by tommylight
It needs the path to the file, it is not located in your home directory.
Something like, replace your user name with your user name
-
sudo halcompile --install /home/your_user_name/linuxcnc/configs/name_of_the_config_folder/deproman_toolchanger.comp
-

Please Log in to join the conversation.

Time to create page: 0.210 seconds
Powered by Kunena Forum