Segment Core Dump when run qt.View()

Asked by Hien Nguyen

Hello everybody,

I've just compiled Yade-1.0.5 on my Ubuntu 64bit 12.04, I encounter this strange error: I cannot call the 3D window. (Sometimes I need to view this window when I debug my simulation)

from yade import qt
yade.qt.View()

And Yade returns Segment Core Dump then exits immediately. I had compiled Yade-1.0.7 earlier and have the same error.
The 'cmake' and 'make'process ran very smoothly anyway, and there isn't any feature being turned off, no warning except for some error with the FLOW Engine,but it's not quite the problem here.
I did notice the warning in the installation guide [1]: **If you have Ubuntu 12.10 or older, you need to install libqglviewer-qt4-dev package instead of libqglviewer-dev.** and installed package libqglviewer-qt4-dev instead of libqglviewer-dev before compiling yade.

It's stranger when with Yade Daily installed at the same time it works like a charm (sudo apt-get install yade-daily, it was an old version). In another laptop I compiled with the same tricks with the same package and it works too, (also same ubuntu 64bit 12.04). So is this problem of YADE or a problem of the QT package? And how to fix it then?

Waiting for your help.
Thanks in advance.

More info:
I found the same problem here: https://answers.launchpad.net/yade/+question/164881
 and when I tried to install that package I have this error:
The following packages have unmet dependencies:
 libglu1-mesa-dev : Depends: libgl1-mesa-dev or
                             libgl1-mesa-dev-lts-quantal but it is not going to be installed or
                             libgl1-mesa-dev-lts-raring but it is not going to be installed or
                             libgl1-mesa-dev-lts-saucy but it is not going to be installed or
                             libgl1-mesa-dev-lts-trusty but it is not installable or
                             libgl-dev
 libqglviewer-qt3-dev : Depends: libgl1-mesa-dev or
                                 libgl-dev
 libqt3-mt-dev : Depends: libgl1-mesa-dev or
                          libgl-dev
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

[1] https://yade-dem.org/doc/installation.html

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Hien Nguyen
Solved:
Last query:
Last reply:
Revision history for this message
Hien Nguyen (giahien) said :
#1

Is this question too mediocre? So then I close it.

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

2014-04-16 13:41 GMT+02:00 Hien Nguyen <<email address hidden>
>:
>
> More info:
> I found the same problem here and when I installed that package I have
> this error:
> The following packages have unmet dependencies:
> libglu1-mesa-dev : Depends: libgl1-mesa-dev or
> libgl1-mesa-dev-lts-quantal but it is not
> going to be installed or
> libgl1-mesa-dev-lts-raring but it is not
> going to be installed or
> libgl1-mesa-dev-lts-saucy but it is not going
> to be installed or
> libgl1-mesa-dev-lts-trusty but it is not
> installable or
> libgl-dev
> libqglviewer-qt3-dev : Depends: libgl1-mesa-dev or
> libgl-dev
> libqt3-mt-dev : Depends: libgl1-mesa-dev or
> libgl-dev
> E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused
> by held packages.
>
> It seems you have a mess in /etc/apt/sources.list (can be due to upgrade).

Anton

Revision history for this message
Hien Nguyen (giahien) said :
#3

Thanks Anton,
I have no idea to say when a sources.list is messy or neat, here is mine: http://pastebin.com/MU6K80HB

Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#4

>Is this question too mediocre?

Or, maybe, there is among the readers no omniscient linux consultant who can do telepathy with your hard drive and find the fix in less than two days for free?
No answer does not mean no wish to answer. :)

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

I am not sure, whether "ftp.free.org" server is the official
Ubuntus server. Also you have some PPAs, which can cause
package conflicts.

We will probably drop 12.04 support soon after discussing it
in yade-dev. It is too old already.

Cheers

Anton

2014-04-18 10:11 GMT+02:00 Hien Nguyen <email address hidden>:
>
> Question #247083 on Yade changed:
> https://answers.launchpad.net/yade/+question/247083
>
> Hien Nguyen posted a new comment:
> Thanks Anton,
> I have no idea to say when a sources.list is messy or neat, here is mine: http://pastebin.com/MU6K80HB
>
> --
> You received this question notification because you are a member of
> yade-users, which 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
Hien Nguyen (giahien) said :
#6

The ftp.free.org ppa is chosen when I chose from list for France when configure the Software Update System.
In fact I tried with Synaptic and remove the conflict packages + trying to install required one from scratch, but by doing that my display of my system is totally ruined (black screen). Being furious, I formatted all and reinstalled Ubuntu + compile Yade once again, that should work.
And thanks for informing the next big update of support for Ubuntu version, I'll consider upgrading my system.