Meshbuilder crashes when opening 2D mesh when using Qt < 4.7

Bug #792313 reported by Benjamin Kehlet
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
meshbuilder
New
Undecided
Unassigned

Bug Description

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

Benjamin: Either the dependencies of Qt 4.7 should be removed completely or a separate "Lucid" branch should be created.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.