Dragon crash......

More
4 years 11 months ago #226252 by Roguish
Dragon crash...... was created by Roguish
I'm working on using qtdragon.  slightly modified to fit my screen, and added a few hal pin displays.  nothing to wild.

well, using it today.   CRASH,  twice.   same thing. 
Segmentation faults.
see the pics.
Loaded a simple, short file.  Edited it an external editor (pluma).   Touched the 'reload' button, and wam.  crash.
did this twice.
not sure what's up...........
any clues.??????
 

Please Log in to join the conversation.

More
4 years 11 months ago #226258 by cmorley
Replied by cmorley on topic Dragon crash......
I wonder if it's because your filename uses spaces?
Or try a different external editor ( adds bad line endings?)

Otherwise there is not enough info to draw any more troubleshooting idea.

Chris

Please Log in to join the conversation.

More
4 years 11 months ago #226266 by phillc54
Replied by phillc54 on topic Dragon crash......
I have noticed the same in QtPlasmaC on GUI shutdown with python 3.9

forum.linuxcnc.org/plasmac/43880-qtplasm...ntation-fault#226178

Please Log in to join the conversation.

More
4 years 11 months ago #226325 by Roguish
Replied by Roguish on topic Dragon crash......
cmorley,
thanks for the quick look over.
what additional info is needed?
also, a seg fault has always been pretty serious to me.... usually causes a BSD.
and seriously, spaces in a file name as a cause? thought that went away back in the '90s.
I've been using pluma for a couple of years and never had an issue with axis. before that it was gedit, which is unfortunately pretty much gone.
I think i'll try the linux install of notepad++ (yeah, it exists)

by the way, my velocity and ferror display works fine.....thanks.

Please Log in to join the conversation.

More
4 years 11 months ago #226459 by cmorley
Replied by cmorley on topic Dragon crash......
you could run qtvcp with the -d or -v switches for more degug detail.
Toy could try to find someway to make the error consistant and repeatable.
ie a particular program loaded does it - then upload that program.
You could try my suggestion about spaces in the file because it's easy to test.
You could see if it crashes on the sim config too.

If you have been using pluma for a while then it's probably not that.
If the problem is intermittent then it's the hardest type to fix.

Chris

Please Log in to join the conversation.

More
4 years 11 months ago #226528 by phillc54
Replied by phillc54 on topic Dragon crash......
Following are what I see with python3.9, there are no issues with python 3.7

This is the terminal messages during shutdown using -d:
Warning: Spoiler!



Using -d gives the following error on startup:
Warning: Spoiler!

Please Log in to join the conversation.

More
4 years 11 months ago #226533 by phillc54
Replied by phillc54 on topic Dragon crash......
It looks to be above my paygrade, it is happening somewhere between:
qtvcp.py Line #384 sys.exit(0)
and:
linuxcnc.in Line #958 result=$?
 

Please Log in to join the conversation.

More
4 years 11 months ago #226534 by cmorley
Replied by cmorley on topic Dragon crash......
The shutdown error and what Roguish is describing is most likely different problems.

And looks like python3 has broken verbose logging.. :(

Please Log in to join the conversation.

More
4 years 11 months ago #226535 by phillc54
Replied by phillc54 on topic Dragon crash......

The shutdown error and what Roguish is describing is most likely different problems.
Aha, I saw the seg fault and assumed...

And looks like python3 has broken verbose logging.. :(

The fun never ends. :)

Please Log in to join the conversation.

More
4 years 11 months ago #226587 by Roguish
Replied by Roguish on topic Dragon crash......
Not sure which python version I'm on. 3.7 I think. I will check. if 3.7 I will use the -d option and keep a close eye for errors.
The crash error I described earlier is easy to spot, as the whole screen/code just flashes away......

Please Log in to join the conversation.

Time to create page: 0.249 seconds
Powered by Kunena Forum