[vtkusers] libvtkRendering.5.4.dylib crashes in VirtualBox

mitja_mreza at indiana.edu mitja_mreza at indiana.edu
Fri Dec 2 13:36:21 EST 2011


Dear VTK list,

I'm trying to test our VTK-based application (CompuCell3D) within VirtualBox, to try its working on various OS versions and releases.
In this specific case, I'm running Mac OS X both as VirtualBox guest as well as host (on reasonably capable Mac Pro hardware).

It seems that the libvtkRendering.5.4.dylib crashes right after two quick notices:

---- SimpleTabView.py:   addVTKWindowToWorkspace =========
2011-12-02 13:26:29.740 Python[293:60f] invalid pixel format
2011-12-02 13:26:29.740 Python[293:60f] invalid context
/Applications/AAA_applications/CC3D_3.6.0_MacOSX106/compucell3d.command: line 72:   293 Segmentation fault      python ${PREFIX_CC3D}/player/compucell3d.pyw $* --currentDir=${current_directory}

I include the full thread crash report below.


Does anyone have any experience with running VTK-based code within VirtualBox (Mac guest), and are there any specific settings to make it work?

(I've tried enabling/disabling 3D acceleration for the VirtualBox machine, increasing/decrasing its video memory settings, etc. but it didn't seem to make much difference - libvtkRendering.5.4.dylib crashes just the same.)

Any help would be much appreciated!

Thanks,
-Mitja




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

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x0000000100177c00 strlen + 16
1   libSystem.B.dylib             	0x00000001001c2842 sscanf + 160
2   libvtkRendering.5.4.dylib     	0x000000011108fd44 vtkOpenGLExtensionManager::ReadOpenGLExtensions() + 1314
3   libvtkRendering.5.4.dylib     	0x0000000111090dfd vtkOpenGLExtensionManager::Update() + 383
4   libvtkRendering.5.4.dylib     	0x0000000111090b1c vtkOpenGLExtensionManager::ExtensionSupported(char const*) + 38
5   libvtkRendering.5.4.dylib     	0x00000001110b9267 vtkOpenGLRenderWindow::OpenGLInit() + 151
6   libvtkRendering.5.4.dylib     	0x00000001110fb9e9 vtkCocoaRenderWindow::CreateAWindow() + 2047
7   libvtkRendering.5.4.dylib     	0x00000001110f9e8d vtkCocoaRenderWindow::Initialize() + 303
8   libvtkRendering.5.4.dylib     	0x00000001110f816e vtkCocoaRenderWindow::Start() + 34
9   libvtkRendering.5.4.dylib     	0x0000000111004118 vtkRenderWindow::DoStereoRender() + 34
10  libvtkRendering.5.4.dylib     	0x0000000111004795 vtkRenderWindow::DoFDRender() + 1267
11  libvtkRendering.5.4.dylib     	0x0000000111004f40 vtkRenderWindow::DoAARender() + 1960
12  libvtkRendering.5.4.dylib     	0x000000011100574d vtkRenderWindow::Render() + 2059
13  libvtkRendering.5.4.dylib     	0x000000011100f426 vtkRenderWindowInteractor::Render() + 78
14  libvtkRendering.5.4.dylib     	0x000000011100dbb1 vtkRenderWindowInteractor::Initialize() + 67
15  ...kRenderingPythonD.5.4.dylib	0x0000000110c34b55 PyvtkRenderWindowInteractor_Initialize(_object*, _object*) + 103
16  org.python.python             	0x0000000100089187 PyEval_EvalFrameEx + 15317
17  org.python.python             	0x000000010008acce PyEval_EvalCodeEx + 1803
18  org.python.python             	0x000000010002c8e1 PyClassMethod_New + 1748
19  org.python.python             	0x000000010000aff3 PyObject_Call + 112
20  org.python.python             	0x000000010001a9df PyClass_New + 1575
21  org.python.python             	0x000000010000aff3 PyObject_Call + 112
22  org.python.python             	0x0000000100051b80 _PyType_Lookup + 5185
23  org.python.python             	0x0000000100053b7c PyType_GenericAlloc + 3332
24  org.python.python             	0x000000010000aff3 PyObject_Call + 112
25  org.python.python             	0x000000010008a51a PyEval_EvalFrameEx + 20328
26  org.python.python             	0x00000001000892e1 PyEval_EvalFrameEx + 15663
27  org.python.python             	0x00000001000892e1 PyEval_EvalFrameEx + 15663
28  org.python.python             	0x00000001000892e1 PyEval_EvalFrameEx + 15663
29  org.python.python             	0x00000001000892e1 PyEval_EvalFrameEx + 15663
30  org.python.python             	0x00000001000892e1 PyEval_EvalFrameEx + 15663
31  org.python.python             	0x000000010008acce PyEval_EvalCodeEx + 1803
32  org.python.python             	0x000000010002c8e1 PyClassMethod_New + 1748
33  org.python.python             	0x000000010000aff3 PyObject_Call + 112
34  org.python.python             	0x000000010001a9df PyClass_New + 1575
35  org.python.python             	0x000000010000aff3 PyObject_Call + 112
36  org.python.python             	0x00000001000849db PyEval_CallObjectWithKeywords + 175
37  sip.so                        	0x00000001054c3ad5 sip_api_invoke_slot + 503
38  QtCore.so                     	0x0000000101917fff PyQtProxy::invokeSlot(qpycore_slot const&, void**) + 207
39  QtCore.so                     	0x0000000101918173 PyQtProxy::unislot(void**) + 211
40  QtCore.so                     	0x0000000101918217 PyQtProxy::qt_metacall(QMetaObject::Call, int, void**) + 119
41  QtCore                        	0x0000000101beb479 QObject::event(QEvent*) + 1081
42  QtGui                         	0x0000000105e307cd QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
43  QtGui                         	0x0000000105e3790e QApplication::notify(QObject*, QEvent*) + 2094
44  QtGui.so                      	0x0000000105807c8e sipQApplication::notify(QObject*, QEvent*) + 142
45  QtCore                        	0x0000000101b0197c QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
46  QtCore                        	0x0000000101bde5ab QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 731
47  com.apple.CoreFoundation      	0x00000001004153d1 __CFRunLoopDoSources0 + 1361
48  com.apple.CoreFoundation      	0x00000001004135c9 __CFRunLoopRun + 873
49  com.apple.CoreFoundation      	0x0000000100412d8f CFRunLoopRunSpecific + 575
50  com.apple.HIToolbox           	0x0000000107a687ee RunCurrentEventLoopInMode + 333
51  com.apple.HIToolbox           	0x0000000107a685f3 ReceiveNextEventCommon + 310
52  com.apple.HIToolbox           	0x0000000107a684ac BlockUntilNextEventMatchingListInMode + 59
53  com.apple.AppKit              	0x0000000106a75eb2 _DPSNextEvent + 708
54  com.apple.AppKit              	0x0000000106a75801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
55  com.apple.AppKit              	0x0000000106a3b68f -[NSApplication run] + 395
56  QtGui                         	0x0000000105debc94 QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1588
57  QtCore                        	0x0000000101bdcf14 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
58  QtCore                        	0x0000000101bdd234 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 180
59  QtCore                        	0x0000000101bde85c QCoreApplication::exec() + 188
60  QtGui.so                      	0x000000010580898c meth_QApplication_exec_ + 92
61  org.python.python             	0x0000000100089187 PyEval_EvalFrameEx + 15317
62  org.python.python             	0x00000001000892e1 PyEval_EvalFrameEx + 15663
63  org.python.python             	0x000000010008acce PyEval_EvalCodeEx + 1803
64  org.python.python             	0x000000010008ad61 PyEval_EvalCode + 54
65  org.python.python             	0x00000001000a265a Py_CompileString + 78
66  org.python.python             	0x00000001000a2723 PyRun_FileExFlags + 150
67  org.python.python             	0x00000001000a423d PyRun_SimpleFileExFlags + 704
68  org.python.python             	0x00000001000b0286 Py_Main + 2718
69  org.python.python.app         	0x0000000100000e6c start + 52

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




More information about the vtkusers mailing list