[Paraview] 64Bit Experiment

Michael Jackson mike.jackson at bluequartz.net
Sun Mar 8 16:56:51 EDT 2009


I got everything to compile (32 bit Cocoa Qt 4.5) and then tried to  
launch ParaView  3.5 (CVS Head + patches) but I get an  
KERN_PROTECTION_FAULT in the pqpluginManager.cxx @ line 256. Here is a  
stack dump:

QObject::setParent: Cannot set parent, new parent is in a different  
thread
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xe845c76b
0x24448932 in keymapper () at kernel/qkeymapper.cpp:100
100	Q_GLOBAL_STATIC(QKeyMapper, keymapper)
(gdb) bt
#0  0x24448932 in keymapper () at kernel/qkeymapper.cpp:100
#1  0x00cc7999 in pqPluginManager::loadClientExtension  
(this=0x1cadad00, lib=@0xbfffe8c4, error=@0xbfffe874) at /Users/Shared/ 
Kitware-CVS/ParaView3/Qt/Core/pqPluginManager.cxx:256
#2  0x00cc84db in pqPluginManager::loadExtension (this=0x1cadad00,  
server=0x0, lib=@0xbfffe8c4, errorReturn=0xbfffe8c0) at /Users/Shared/ 
Kitware-CVS/ParaView3/Qt/Core/pqPluginManager.cxx:365
#3  0x00cc8646 in pqPluginManager::loadExtensions (this=0x1cadad00,  
path=@0xbfffe914, server=0x0) at /Users/Shared/Kitware-CVS/ParaView3/ 
Qt/Core/pqPluginManager.cxx:335
#4  0x00cc87b5 in pqPluginManager::loadExtensions (this=0x1cadad00,  
server=0x0) at /Users/Shared/Kitware-CVS/ParaView3/Qt/Core/ 
pqPluginManager.cxx:324
#5  0x00cc9d6c in pqProcessModuleGUIHelper::preAppExec  
(this=0x8324ef0, argc=1, argv=0x83b6290) at /Users/Shared/Kitware-CVS/ 
ParaView3/Qt/Core/pqProcessModuleGUIHelper.cxx:218
#6  0x0001a3d3 in pqClientProcessModuleGUIHelper::preAppExec  
(this=0x8324ef0, argc=1, argv=0x83b6290, numServerProcs=0, myId=0) at  
pqClientProcessModuleGUIHelper.h:67
#7  0x0001a1d1 in ProcessModuleGUIHelper::RunGUIStart (this=0x8324ef0,  
argc=1, argv=0x83b6290) at /Users/Shared/Kitware-CVS/ParaView3/ 
Applications/Client/ProcessModuleGUIHelper.cxx:66
#8  0x02edd89c in vtkProcessModule::StartClient (this=0x83b6610,  
argc=1, argv=0x83b6290) at /Users/Shared/Kitware-CVS/ParaView3/Servers/ 
Common/vtkProcessModule.cxx:406
#9  0x02edc81e in vtkProcessModule::Start (this=0x83b6610, argc=1,  
argv=0x83b6290) at /Users/Shared/Kitware-CVS/ParaView3/Servers/Common/ 
vtkProcessModule.cxx:338
#10 0x02ee83cc in vtkProcessModuleGUIHelper::Run (this=0x8324ef0,  
options=0x83b53b0) at /Users/Shared/Kitware-CVS/ParaView3/Servers/ 
Common/vtkProcessModuleGUIHelper.cxx:38
#11 0x00c933c7 in pqMain::Run (options=0x83b53b0) at /Users/Shared/ 
Kitware-CVS/ParaView3/Qt/Core/pqMain.cxx:93
#12 0x000199a2 in main (argc=1, argv=0xbfffec80) at /Users/Shared/ 
Kitware-CVS/ParaView3/Applications/Client/main.cxx:68
(gdb) up
#1  0x00cc7999 in pqPluginManager::loadClientExtension  
(this=0x1cadad00, lib=@0xbfffe8c4, error=@0xbfffe874) at /Users/Shared/ 
Kitware-CVS/ParaView3/Qt/Core/pqPluginManager.cxx:256
256	      pqPlugin* pqplugin = qobject_cast<pqPlugin*>(pqpluginObject);

At least it compiled. I am going to have to sharpen up my gdb skills  
to get through this I guess. Eclipse doesn't want to launch gdb for  
some reason at the moment and I won't even attempt Xcode at this point.

_________________________________________________________
Mike Jackson                  mike.jackson at bluequartz.net
             www.bluequartz.net

On Mar 4, 2009, at 9:51 AM, Clinton Stimpson wrote:

>
> Attached is a patch if you wanted to build it too.
> It also needs cmake 2.6.3 if you want to build with Qt/Cocoa.
> And when you configure Qt 4.5, add the "-cocoa" and "-arch x86_64"  
> flags to configure.
> The progress bar code in the patch isn't perfect yet.  I didn't have  
> any more time to debug it.
> Other than that, I didn't see any other issues.
>
> Clint
>
> Michael Jackson wrote:
>> <said with a _lot_ of jest>
>>   Who wants to try out the just released Qt 4.5 with Cocoa 64 bit  
>> and ParaView 64 bit? Or maybe some already are trying it out? Any  
>> complaints or other issues building ParaView CVS against Qt 4.5?
>>
>> _________________________________________________________
>> Mike Jackson                  mike.jackson at bluequartz.net
>>



More information about the ParaView mailing list