Meshbuilder crashing

Asked by Susanne Støle-Hentschel on 2011-05-31

I installed the meshbuilder available from Ubuntu. When I want to load a mesh, it crashes. I think I installed qt4 as required, but it seems something is missing there. Here is the error message when loading a dolfin mesh.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

DolfinObject::initialize: Mesh has 430 vertices.
DolfinObject::initialize: Mesh has 1031 edges.
DolfinObject::initialize: Mesh has 602 faces.
DolfinObject::initialize: Mesh topology dimension = 2
DolfinObject::initialize: Mesh geometry dimension = 2
DolfinObject::initialize: Creating boundary mesh from dolfin mesh
DolfinObject::initialize: Mesh is 2D, mapping surface and mesh 1:1
DolfinObject::initialize: Surface mesh has 430 vertices.
DolfinObject::initialize: Surface mesh has 1031 edges.
DolfinObject::initialize: Surface mesh has 602 faces.
DolfinObject::initialize: Boundary mesh mapping: vertices 430 edges 1031 cells 602
DolfinObject::initialize: Init vertex meshfunction: Vertex meshfunction dim = 0 size = 430
DolfinObject::initialize: Init edge meshfunction: Edge meshfunction dim = 1 size = 1031
DolfinObject::initialize: Init face meshfunction: Face meshfunction dim = 2 size = 602
DolfinObject::addViewer
[ubuntu:32658] *** Process received signal ***
[ubuntu:32658] Signal: Segmentation fault (11)
[ubuntu:32658] Signal code: Address not mapped (1)
[ubuntu:32658] Failing at address: 0x1a9
[ubuntu:32658] [ 0] /lib/libpthread.so.0(+0xf8f0) [0x7f9cb9bd38f0]
[ubuntu:32658] [ 1] /usr/lib/libQtGui.so.4(_ZNK15QAbstractButton9isCheckedEv+0) [0x7f9cbacc8d60]
[ubuntu:32658] [ 2] meshbuilder() [0x45e569]
[ubuntu:32658] [ 3] meshbuilder() [0x44ea11]
[ubuntu:32658] [ 4] /usr/lib/libQtGui.so.4(_ZN14QGraphicsScene5eventEP6QEvent+0x28b) [0x7f9cbaf39fab]
[ubuntu:32658] [ 5] /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xac) [0x7f9cba91422c]
[ubuntu:32658] [ 6] /usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x14b) [0x7f9cba91a6fb]
[ubuntu:32658] [ 7] /usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8c) [0x7f9cba44106c]
[ubuntu:32658] [ 8] /usr/lib/libQtGui.so.4(+0x7ff287) [0x7f9cbaf55287]
[ubuntu:32658] [ 9] /usr/lib/libQtGui.so.4(_ZN13QGraphicsView14mouseMoveEventEP11QMouseEvent+0x4e) [0x7f9cbaf5547e]
[ubuntu:32658] [10] /usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x64f) [0x7f9cba96a1df]
[ubuntu:32658] [11] /usr/lib/libQtGui.so.4(_ZN6QFrame5eventEP6QEvent+0x26) [0x7f9cbad114e6]
[ubuntu:32658] [12] /usr/lib/libQtGui.so.4(_ZN13QGraphicsView13viewportEventEP6QEvent+0x8b) [0x7f9cbaf52f0b]
[ubuntu:32658] [13] /usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent+0x87) [0x7f9cba440487]
[ubuntu:32658] [14] /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x7c) [0x7f9cba9141fc]
[ubuntu:32658] [15] /usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x91b) [0x7f9cba91aecb]
[ubuntu:32658] [16] /usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8c) [0x7f9cba44106c]
[ubuntu:32658] [17] /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb+0x19e) [0x7f9cba91a0ae]
[ubuntu:32658] [18] /usr/lib/libQtGui.so.4(+0x243f65) [0x7f9cba999f65]
[ubuntu:32658] [19] /usr/lib/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x80c) [0x7f9cba9988ac]
[ubuntu:32658] [20] /usr/lib/libQtGui.so.4(+0x26e882) [0x7f9cba9c4882]
[ubuntu:32658] [21] /lib/libglib-2.0.so.0(g_main_context_dispatch+0x1f2) [0x7f9cb66538c2]
[ubuntu:32658] [22] /lib/libglib-2.0.so.0(+0x42748) [0x7f9cb6657748]
[ubuntu:32658] [23] /lib/libglib-2.0.so.0(g_main_context_iteration+0x6c) [0x7f9cb66578fc]
[ubuntu:32658] [24] /usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x73) [0x7f9cba46a513]
[ubuntu:32658] [25] /usr/lib/libQtGui.so.4(+0x26e46e) [0x7f9cba9c446e]
[ubuntu:32658] [26] /usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32) [0x7f9cba43f992]
[ubuntu:32658] [27] /usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xdc) [0x7f9cba43fd6c]
[ubuntu:32658] [28] /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xbb) [0x7f9cba443aab]
[ubuntu:32658] [29] meshbuilder() [0x465219]
[ubuntu:32658] *** End of error message ***
Segmentation fault

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Thank you for your help,

Susanne

Question information

Language:
English Edit question
Status:
Answered
For:
meshbuilder Edit question
Assignee:
No assignee Edit question
Last query:
2011-06-03
Last reply:
2011-06-03
Benjamin Kehlet (benjamik) said : #1

Hello!

This is likely to be caused by a too old version of Qt4. You need Qt 4.7.0 at least, which unfortunately means that the standard Qt version in Ubuntu Lucid is too old. Introducing code which depends on 4.7 was not intended, so the build system was not aware of this until very recently. I'm looking into this now, to see if a workaround is possible.

Can you check your Qt4 version, eg. by doing "apt-cache show libqt4-core" just to verify that this is the problem?

Benjamin, thank you for your reply,

> -----Original Message-----
> From: <email address hidden> [mailto:<email address hidden>] On
> Behalf Of Benjamin Kehlet
> Sent: Wednesday, June 01, 2011 3:31 PM
> To: Støle-Hentschel, Susanne
> Subject: Re: [Question #159709]: Meshbuilder crashing
>
> Your question #159709 on meshbuilder changed:
> https://answers.launchpad.net/meshbuilder/+question/159709
>
> Status: Open => Needs information
>
> Benjamin Kehlet requested more information:
> Hello!
>
> This is likely to be caused by a too old version of Qt4. You need Qt
> 4.7.0 at least, which unfortunately means that the standard Qt version
> in Ubuntu Lucid is too old. Introducing code which depends on 4.7 was
> not intended, so the build system was not aware of this until very
> recently. I'm looking into this now, to see if a workaround
> is possible.
>
> Can you check your Qt4 version, eg. by doing "apt-cache show
> libqt4-core" just to verify that this is the problem?

you are right, my version is 4:4.6.2.
I appreciate your help.

Susanne

>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/meshbuilder/+question/159709
>
> You received this question notification because you asked the
> question.
>
>

**************************************************************************************
The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. If you have received this transmission in error, please immediately notify the sender by return e-mail and delete this message and its attachments. Any unauthorized use, copying or dissemination of this transmission is prohibited. Neither the confidentiality nor the integrity of this message can be vouched for following transmission on the Internet.
**************************************************************************************

Benjamin Kehlet (benjamik) said : #3

Ok, I'll install Qt 4.6.2 now in the weekend and see if there is an easy fix.

Can you help with this problem?

Provide an answer of your own, or ask Susanne Støle-Hentschel for more information if necessary.

To post a message you must log in.