segmentation fault (core dumped)
Hi everyone,
After compiling my own version of Yade, when I try to run the binaries I get a "segmentation fault (core dumped)" error.
I'm running Ubuntu 14.04, the same source was running smoothly on my old machine (ubuntu 12.04), is there a way to identify the problem here ?
Cheers,
Hicham
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Related bugs
Related FAQ:
None Link to a FAQ
This question was reopened
- by Hicham BENNIOU
- by Hicham BENNIOU
Revision history for this message
|
#1 |
Hello Hicham,
Compiling a debug version (-DDEBUG flag) should give you more info that could help locate the problem. https:/
Jérôme
Revision history for this message
|
#2 |
Thanks Jérome,
at first sight, it seems that there is a problem with vtk
-- The imported target "vtkParseJava" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkWrapJava" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkCommonJava" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkFilteringJava" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkImagingJava" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkGraphicsJava" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkGenericFilt
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkIOJava" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkRenderingJava" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkVolumeRende
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkHybridJava" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkWidgetsJava" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkParallelJava" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkInfovisJava" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkGeovisJava" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkViewsJava" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkQtChart" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "QVTK" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtkChartsJava" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
but at the same time I can see :
-- Found VTK
any fix ?
Cheers
Hicham
Revision history for this message
|
#3 |
There is no problem with VTK.
Anton
2014-04-28 14:02 GMT+02:00 Hicham BENNIOU
<email address hidden>:
> at first sight, it seems that there is a problem with vtk
>
> -- The imported target "vtkParseJava" references the file
> "/usr/bin/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkWrapJava" references the file
> "/usr/bin/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkCommonJava" references the file
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkFilteringJava" references the file
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkImagingJava" references the file
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkGraphicsJava" references the file
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkGenericFilt
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkIOJava" references the file
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkRenderingJava" references the file
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkVolumeRende
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkHybridJava" references the file
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkWidgetsJava" references the file
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkParallelJava" references the file
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkInfovisJava" references the file
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkGeovisJava" references the file
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkViewsJava" references the file
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkQtChart" references the file
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "QVTK" references the file
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
> -- The imported target "vtkChartsJava" references the file
> "/usr/lib/
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/
> but not all the files it references.
>
>
> but at the same time I can see :
>
> -- Found VTK
>
> any fix ?
>
> Cheers
> Hicham
>
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/
Revision history for this message
|
#4 |
Debug build isn't helping, it shows the same error message, no other info.
Revision history for this message
|
#5 |
Try yadedaily or simply "yade" from packages.
Anton
2014-04-28 17:21 GMT+02:00 Hicham BENNIOU
<email address hidden>:
> Question #247823 on Yade changed:
> https:/
>
> Status: Answered => Open
>
> Hicham BENNIOU is still having a problem:
> Debug build isn't helping, it shows the same error message, no other
> info.
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/
Revision history for this message
|
#6 |
Ok guys,
It worked but I can't give a clear explanation.
On my old machine I was using an older version of the source code and I added my own contact law. On this new machine I'm using the latest source and I added my contact law. It wasn't working till I deleted :
/pkg/lbm
/pkg/pfv
odd, but it seems like it solved the problem
Revision history for this message
|
#7 |
Hi,
did you try to disable LBMFLOW and PFVflow when compiling instead of deleting the folders, i.e. use
cmake -DLBMFLOW=0 -DPFVflow=0 etc.
Revision history for this message
|
#8 |
Hi Klaus,
No, I just deleted them from my fork, and compiled again.
cheers
Revision history for this message
|
#9 |
Hello everyone,
sorry for bringing this back but none of the other topics gives real solutions.
I keep getting the error message "segmentation fault (core dumped)" when running Yade after compilation.
I am actually using Yade 1.10.0. Same problem with newer versions. didn't try all earlier ones but I didn't experience any trouble with 0.9.
cheers
Revision history for this message
|
#10 |
Hello Hicham,
Does yade-daily work?
What if you compile fresh source code without adding your contact law?
Revision history for this message
|
#11 |
Hi Bruno,
Yes, yadedaily works fine (version 1.11.0-
I actually compiled the source 1.10.0 without any modification
Revision history for this message
|
#12 |
Why do you checkout sources in version 1.10.0? This is unusual - though
not wrong.
Could you try master?
Revision history for this message
|
#13 |
For a simple reason. Latest one is not working either.
I'll try to check this with Remy
Thanks !
Revision history for this message
|
#14 |
If yadedaily is working for you, so there is a problem either
with the changes, which you done on the code, or you are
using some libraries (self-ćompiled?), which are segfauliting
somehow.
Cheers
Anton
Revision history for this message
|
#15 |
Hi, just updated my computer to Kubuntu 14.04 and came across the same problem during cmake. There seems to be a inconsistency in vtk. I am not using any self-compiled libraries.
In order to get rid of the warnings I installed libvtk-java and libvtk5-qt4-dev.
I think anyone using 14.04 will run into this. So not sure if we should add the packages to our list. Let me know.
Klaus
Revision history for this message
|
#16 |
Hi Klaus,
The problem I had lately came from a self compiled library (not vtk) so I'm not sure my answer would be helpful.
Let's wait and see if others run into this problem.
Cheers,
Hicham
Revision history for this message
|
#17 |
Hi Hicham,
forgot to mention, I didn't get a seg fault but the same cmake output warnings. Anyway, my solution gets rid of the warnings which seem to be harmless but it is always good to look into it :-)
Cheers
Klaus
Revision history for this message
|
#18 |
Hi Hicham,
I am just wondeirng that did you figure out your problem (seg. fault) ?
thanks,
ozge
Revision history for this message
|
#19 |
Hi Ozge,
this is very old thread and if there was a solution, it is likely it will not work now..
If you have a problem with segmentation fault (it may have many reasons), please open a new question/bug.
cheers
Jan
Can you help with this problem?
Provide an answer of your own, or ask Hicham BENNIOU for more information if necessary.