As far as getting VTK changes into ParaView the easiest way is to follow the VTK Gerrit workflow (<a href="http://www.vtk.org/Wiki/VTK/Git/Develop">http://www.vtk.org/Wiki/VTK/Git/Develop</a>) and then just wait for ParaView to absorb those changes when we update ParaView's VTK branch. This works well for non critical changes as we merge VTK master into the ParaView's VTK branch every couple of weeks.<div>
<br></div><div><br><br><div class="gmail_quote">On Tue, Feb 21, 2012 at 1:18 PM, Burlen Loring <span dir="ltr"><<a href="mailto:bloring@lbl.gov">bloring@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Goodwin,<br>
<br>
There is a bug in vtkSocket::Receive, where the error condition is not tested for in return from recv socket call on *nix systems. It may or may not be the source of/related to the issue that you are having but it's certainly could cause ParaView to hang silently. Sorry that I didn't submit the patch sooner, am way behind on the "new" git work flow. I've filed the bug report <a href="http://www.paraview.org/Bug/view.php?id=12955" target="_blank">http://www.paraview.org/Bug/<u></u>view.php?id=12955</a>, hope it can make it into 3.14.<span class="HOEnZb"><font color="#888888"><br>
<br>
Burlen</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 02/21/2012 09:18 AM, Goodwin Lawlor wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Following up on this.<br>
<br>
I built a debug 32bit version of ParaView 3.14.0-RC2 client on Win7<br>
<br>
It hangs on connecting to a remote server (linux 64bit) too.<br>
<br>
Here's the backtrace:<br>
<br>
ntdll.dll!7714f8c1()<br>
mswsock.dll!73be6f0f()<br>
mswsock.dll!73be76a6()<br>
ws2_32.dll!763170fa()<br>
wsock32.dll!73fe17db()<br>
> paraview.exe!vtkSocket::<u></u>Receive(void * data, int length, int readFully) Line 607 + 0x1c bytes C++<br>
paraview.exe!<u></u>vtkSocketCommunicator::<u></u>ReceivePartialTagged(void * data, int wordSize, int numWords, int tag, const char * logName) Line 907 + 0x19 bytes C++<br>
paraview.exe!<u></u>vtkSocketCommunicator::<u></u>ReceiveTagged(void * data, int wordSize, int numWords, int tag, const char * logName) Line 897 C++<br>
paraview.exe!<u></u>vtkSocketCommunicator::<u></u>ReceiveVoidArray(void * data, int length, int type, int remoteProcessId, int tag) Line 367 + 0x34 bytes C++<br>
paraview.exe!vtkCommunicator::<u></u>Receive(unsigned char * data, int maxlength, int remoteHandle, int tag) Line 214 + 0x21 bytes C++<br>
paraview.exe!vtkCommunicator::<u></u>Receive(vtkMultiProcessStream & stream, int remoteId, int tag) Line 1658 + 0x1f bytes C++<br>
<br>
paraview.exe!<u></u>vtkMultiProcessController::<u></u>Receive(vtkMultiProcessStream & stream, int remoteId, int tag) Line 1329 + 0x17 bytes C++<br>
<br>
paraview.exe!<u></u>vtkSMSessionClient::PullState(<u></u>paraview_protobuf::Message * message) Line 590 C++<br>
<br>
paraview.exe!<u></u>vtkSMRemoteObject::PullState(<u></u>paraview_protobuf::Message * msg) Line 158 + 0x2f bytes C++<br>
paraview.exe!<u></u>vtkSMProxyDefinitionManager::<u></u>SynchronizeDefinitions() Line 87 + 0xc bytes C++<br>
<br>
paraview.exe!<u></u>vtkSMPluginManager::<u></u>LoadPluginConfigurationXMLFrom<u></u>String(const char * xmlcontents, vtkSMSession * session, bool remote) Line 179 C++<br>
paraview.exe!pqPluginManager::<u></u>loadPluginsFromSettings(<u></u>pqServer * server) Line 163 + 0x7b bytes C++<br>
paraview.exe!pqPluginManager::<u></u>qt_static_metacall(QObject * _o, QMetaObject::Call _c, int _id, void * * _a) Line 63 + 0x11 bytes C++<br>
QtCored4.dll!QMetaObject::<u></u>activate(QObject * sender, const QMetaObject * m, int local_signal_index, void * * argv) Line 3547 + 0x2e bytes C++<br>
paraview.exe!<u></u>pqServerManagerModel::<u></u>preServerAdded(pqServer * _t1) Line 210 + 0x17 bytes C++<br>
paraview.exe!<u></u>pqServerManagerModel::<u></u>onConnectionCreated(int id) Line 472 C++<br>
paraview.exe!<u></u>pqServerManagerModel::qt_<u></u>static_metacall(QObject * _o, QMetaObject::Call _c, int _id, void * * _a) Line 159 + 0x18 bytes C++<br>
QtCored4.dll!QMetaObject::<u></u>activate(QObject * sender, const QMetaObject * m, int local_signal_index, void * * argv) Line 3547 + 0x2e bytes C++<br>
paraview.exe!<u></u>pqServerManagerObserver::<u></u>connectionCreated(int _t1) Line 171 + 0x17 bytes C++<br>
paraview.exe!<u></u>pqServerManagerObserver::<u></u>connectionCreated(vtkObject * __formal, vtkObject * __formal, vtkObject * __formal, void * callData) Line 113 C++<br>
paraview.exe!<u></u>pqServerManagerObserver::qt_<u></u>static_metacall(QObject * _o, QMetaObject::Call _c, int _id, void * * _a) Line 91 + 0x2c bytes C++<br>
QtCored4.dll!QMetaObject::<u></u>activate(QObject * sender, const QMetaObject * m, int local_signal_index, void * * argv) Line 3547 + 0x2e bytes C++<br>
paraview.exe!vtkQtConnection::<u></u>EmitExecute(vtkObject * _t1, unsigned long _t2, void * _t3, void * _t4, vtkCommand * _t5) Line 104 + 0x17 bytes C++<br>
paraview.exe!vtkQtConnection::<u></u>Execute(vtkObject * caller, unsigned long e, void * call_data) Line 75 C++<br>
paraview.exe!vtkQtConnection::<u></u>DoCallback(vtkObject * vtk_obj, unsigned long event, void * client_data, void * call_data) Line 63 C++<br>
paraview.exe!<u></u>vtkCallbackCommand::Execute(<u></u>vtkObject * caller, unsigned long event, void * callData) Line 42 + 0x1d bytes C++<br>
paraview.exe!vtkSubjectHelper:<u></u>:InvokeEvent(unsigned long event, void * callData, vtkObject * self) Line 602 + 0x1f bytes C++<br>
paraview.exe!vtkObject::<u></u>InvokeEvent(unsigned long event, void * callData) Line 770 + 0x17 bytes C++<br>
paraview.exe!vtkProcessModule:<u></u>:RegisterSession(vtkSession * session) Line 279 C++<br>
paraview.exe!vtkSMSession::<u></u>ConnectToRemote(const char * hostname, int port, bool allowRemoteRendering) Line 262 + 0x12 bytes C++<br>
paraview.exe!vtkSMSession::<u></u>ConnectToRemote(const char * hostname, int port) Line 247 + 0xf bytes C++<br>
paraview.exe!pqObjectBuilder::<u></u>createServer(const pqServerResource & resource) Line 930 + 0x7a bytes C++<br>
paraview.exe!pqServerLauncher:<u></u>:connectToPrelaunchedServer() Line 520 + 0xc bytes C++<br>
paraview.exe!pqServerLauncher:<u></u>:connectToServer() Line 488 + 0x17 bytes C++<br>
<br>
paraview.exe!<u></u>pqServerConnectReaction::<u></u>connectToServerUsingConfigurat<u></u>ion(const pqServerConfiguration & config) Line 114 + 0x8 bytes C++<br>
paraview.exe!<u></u>pqServerConnectReaction::<u></u>connectToServer() Line 92 + 0xe bytes C++<br>
paraview.exe!<u></u>pqServerConnectReaction::<u></u>connectToServerWithWarning() Line 83 C++<br>
paraview.exe!<u></u>pqServerConnectReaction::<u></u>onTriggered() Line 66 + 0x13 bytes C++<br>
paraview.exe!pqReaction::qt_<u></u>static_metacall(QObject * _o, QMetaObject::Call _c, int _id, void * * _a) Line 52 + 0xf bytes C++<br>
QtCored4.dll!QMetaObject::<u></u>activate(QObject * sender, const QMetaObject * m, int local_signal_index, void * * argv) Line 3547 + 0x2e bytes C++<br>
QtGuid4.dll!QAction::<u></u>triggered(bool _t1) Line 277 + 0x15 bytes C++<br>
QtGuid4.dll!QAction::activate(<u></u>QAction::ActionEvent event) Line 1259 C++<br>
QtGuid4.dll!QAction::trigger() Line 218 + 0x11 bytes C++<br>
QtGuid4.dll!QToolButton::<u></u>nextCheckState() Line 1145 C++<br>
QtGuid4.dll!<u></u>QAbstractButtonPrivate::click(<u></u>) Line 529 C++<br>
QtGuid4.dll!QAbstractButton::<u></u>mouseReleaseEvent(QMouseEvent * e) Line 1122 C++<br>
QtGuid4.dll!QToolButton::<u></u>mouseReleaseEvent(QMouseEvent * e) Line 719 C++<br>
QtGuid4.dll!QWidget::event(<u></u>QEvent * event) Line 8362 C++<br>
QtGuid4.dll!QAbstractButton::<u></u>event(QEvent * e) Line 1081 C++<br>
QtGuid4.dll!QToolButton::<u></u>event(QEvent * event) Line 1161 C++<br>
QtGuid4.dll!<u></u>QApplicationPrivate::notify_<u></u>helper(QObject * receiver, QEvent * e) Line 4550 + 0x11 bytes C++<br>
QtGuid4.dll!QApplication::<u></u>notify(QObject * receiver, QEvent * e) Line 4093 + 0x2f bytes C++<br>
QtCored4.dll!QCoreApplication:<u></u>:notifyInternal(QObject * receiver, QEvent * event) Line 876 + 0x15 bytes C++<br>
QtCored4.dll!QCoreApplication:<u></u>:sendSpontaneousEvent(QObject * receiver, QEvent * event) Line 234 + 0x38 bytes C++<br>
QtGuid4.dll!<u></u>QApplicationPrivate::<u></u>sendMouseEvent(QWidget * receiver, QMouseEvent * event, QWidget * alienWidget, QWidget * nativeWidget, QWidget * * buttonDown, QPointer<QWidget> & lastMouseReceiver, bool spontaneous) Line 3159 + 0xe bytes C++<br>
QtGuid4.dll!QETWidget::<u></u>translateMouseEvent(const tagMSG & msg) Line 3363 + 0x2a bytes C++<br>
QtGuid4.dll!QtWndProc(HWND__ * hwnd, unsigned int message, unsigned int wParam, long lParam) Line 1696 + 0xc bytes C++<br>
user32.dll!767862fa()<br>
user32.dll!76786d3a()<br>
user32.dll!76786ce9()<br>
user32.dll!767877c4()<br>
user32.dll!7678788a()<br>
QtCored4.dll!<u></u>QEventDispatcherWin32::<u></u>processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 809 C++<br>
QtGuid4.dll!<u></u>QGuiEventDispatcherWin32::<u></u>processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 1202 + 0x15 bytes C++<br>
QtCored4.dll!QEventLoop::<u></u>processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 150 C++<br>
QtCored4.dll!QEventLoop::exec(<u></u>QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 204 + 0x2d bytes C++<br>
QtCored4.dll!QCoreApplication:<u></u>:exec() Line 1148 + 0x15 bytes<br>
QtGuid4.dll!QApplication::<u></u>exec() Line 3812 C++<br>
paraview.exe!main(int argc, char * * argv) Line 81 + 0x8 bytes<br>
paraview.exe!WinMain(<u></u>HINSTANCE__ * instance, HINSTANCE__ * prevInstance, char * __formal, int cmdShow) Line 131 + 0x12 bytes<br>
paraview.exe!__<u></u>tmainCRTStartup() Line 547 + 0x2c bytes C<br>
paraview.exe!<u></u>WinMainCRTStartup() Line 371 C<br>
<br>
<br>
<br>
On 31/01/2012 08:11, Goodwin Lawlor wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Utkarsh & John,<br>
<br>
Thanks for the tips! I'll investigate further.<br>
<br>
FWIW, this is how I checked out the source code:<br>
<br>
$ git checkout -b release-3.12.0 tags/v3.12.0<br>
$ git submodule update<br>
<br>
Initially, I hadn't updated the submodule and did hit the version<br>
incompatibility thing.<br>
<br>
Goodwin<br>
<br>
On 31/01/2012 03:44, Biddiscombe, John A. wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've had the hanging problem a lot. Last time I found that my VTK ref<br>
was not quite the same as the ref that the paraview repo was asking<br>
for. When I corrected it, all was well, but it seems very sensitive to<br>
changes which (in my opinion) shouldn't have made any difference.<br>
Make sure git submodule update/status doesn't show any grotesque<br>
incompatibilities. It might help ...<br>
<br>
JB<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a><br>
[mailto:<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@<u></u>paraview.org</a>] On Behalf Of Utkarsh Ayachit<br>
Sent: 30 January 2012 14:38<br>
To: Goodwin Lawlor<br>
Cc: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
Subject: Re: [Paraview] ParaView 3.12.0 hanging<br>
<br>
The server is expected to complain once the client is killed. The real<br>
issue is the hanging part. Are these debug builds? Is it possible to<br>
produce a backtrace?<br>
<br>
Utkarsh<br>
<br>
On Mon, Jan 30, 2012 at 7:13 AM, Goodwin Lawlor<<a href="mailto:goodwin.lawlor@ucd.ie" target="_blank">goodwin.lawlor@ucd.ie</a>><br>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All,<br>
<br>
We upgraded pvserver from 3.10 to 3.12<br>
<br>
Now when the client (Win7 64bit) connects remotely to the pvserver<br>
(linux 64it), it hangs.<br>
<br>
When you kill the client, the server complains:<br>
<br>
Waiting for client<br>
Connection URL: cs://localhost:11111<br>
Client connected.<br>
ERROR: In<br>
/home/ec2-user/vol_30GB/codes/<u></u>ParaView-3.12.0/VTK/Common/<u></u>vtkSocket.cxx<br>
, line<br>
572<br>
vtkClientSocket (0x1208010): Socket error in call to send. Connection<br>
reset by peer.<br>
<br>
ERROR: In<br>
/home/ec2-user/vol_30GB/codes/<u></u>ParaView-3.12.0/VTK/Parallel/<u></u>vtkSocketCo<br>
mmunicator.cxx,<br>
line 737<br>
vtkSocketCommunicator (0x10f6da0): Could not send message.<br>
<br>
ERROR: In<br>
/home/ec2-user/vol_30GB/codes/<u></u>ParaView-3.12.0/VTK/Parallel/<u></u>vtkSocketCo<br>
mmunicator.cxx,<br>
line 766<br>
vtkSocketCommunicator (0x10f6da0): Could not receive tag. 1<br>
<br>
GetIsConnected 1<br>
Exiting...<br>
<br>
<br>
Any ideas?<br>
<br>
Thanks,<br>
<br>
Goodwin<br>
</blockquote></blockquote></blockquote>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/<u></u>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/<u></u>mailman/listinfo/paraview</a><br>
</blockquote>
<br>
</div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Robert Maynard<br>
</div>