segmentation fault (core dumped)

Asked by ozge

Hi,

I have already install yade on my laptop (ubuntu 18.04) but not from the source code, I just typed "sudo apt-get install yade".
 When I launch my script, ı I received this error "segmentation fault (core dumped) ". Is there anyone who can help me on this issue ?

thanks a lot,

ozge

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
ozge
Solved:
Last query:
Last reply:
Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#1

Hi,
Please note that "segmentation fault (core dumped)" is a very common yet hardly informative error message.
So basically what we know is that you have ubuntu 18.04 on a computer and a problem with "a" script. Obviously a bit short to guess anything.
Please read [1], especially point 6.
Also, you may have better luck with the yadedaily package since "yade" is stable package and is usually a bit old.
Bruno

[1] https://yade-dem.org/wiki/Howtoask

Revision history for this message
Anton Gladky (gladky-anton) said :
#2

My 2 cts. "core dumped" just means that Yade-process crashed and the
operating system has recorded the state of the memory before the crash,
which can be helpful for Post-Mortem analyze.

If you used the Yade, shipped with the Ubuntu, and you can provide this
core file it is possible to try to understand the reason of the crash, using
the gdb.

Regards

Anton

2018-06-21 18:27 GMT+02:00 Bruno Chareyre
<email address hidden>:
> Question #670374 on Yade changed:
> https://answers.launchpad.net/yade/+question/670374
>
> Status: Open => Answered
>
> Bruno Chareyre proposed the following answer:
> Hi,
> Please note that "segmentation fault (core dumped)" is a very common yet hardly informative error message.
> So basically what we know is that you have ubuntu 18.04 on a computer and a problem with "a" script. Obviously a bit short to guess anything.
> Please read [1], especially point 6.
> Also, you may have better luck with the yadedaily package since "yade" is stable package and is usually a bit old.
> Bruno
>
> [1] https://yade-dem.org/wiki/Howtoask
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp

Revision history for this message
Jan Stránský (honzik) said :
#4

Hi,
as pointed by others, segmentation fault may have several reasons you can try
catchsegv yade yourScript.py
the output can show where the problem is
cheers
Jan