[eq-dev] client quit too quickly + a bug

2 views
Skip to first unread message

wang...@notes.udayton.edu

unread,
Nov 25, 2009, 2:35:40 PM11/25/09
to Equalizer Developer List, nilesh...@notes.udayton.edu

Dear Stefan:

 

Thanks for your suggestion, I digged out some information from online forum on how to setup/run 2 node application.

 

 

Q1:

I tested Equalizer 0.9 on different machines (fortunately our lab has so many machines).

 

Bisically these machines are installed with WinXp , some with vista.

They all have Visual studio 2005 and 2008.

 

Yes we found that on some machines , eqPly and eVolve both work well. But not on all machines , (even just WinXP and MS studio 2005).

 

With Visual studio 2008+ equalizer 0.9, the example eVolve can work, but not eqPly. we use debug tool to track the problem, generally eqPly is stucked at 

 

plyfile.cpp, the function

PlyFile *ply_open_for_reading, on the statement,

*file_type = plyfile->file_type;

Is there anyone can fix this quickly ?

Q2:

as I will use a two-node senario, one machine is used as the server, while the other used as client.

Each time, I started with the client, type and run:

eVolve -- --eq-client --eq-listen 192.168.1.101:4242

I assume testing eVolve or eqPly is equivalent, is that correct ?

As I have trouble with eqPly, so I play with eVolve

in my perception,  then the client should keep on runing before we start the server end.

But in my test, the client quit quickly before I type any command line at the server end. 

The information on the command line (DOS window) looks like:

2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\client\ini
t.cpp:43     1 Equalizer v0.9 initializing
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\client\plu
ginregistry.cpp:96     5 Found compressor  @00F07E88 providing 5 engines
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\client\plu
ginregistry.cpp:46     8 Searching compressors in /usr/local/share/Equalizer/plu
gins
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\client\plu
ginregistry.cpp:46    11 Searching compressors in .eqPlugins
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\client\plu
ginregistry.cpp:46    15 Searching compressors in C:\Documents and Settings\user
\Desktop\Equalizer-0.9\build\VS2005\Win32\Debug
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\client\plu
ginregistry.cpp:46    26 Searching compressors in C:\Documents and Settings\user
\Desktop\Equalizer-0.9\build\VS2005\Win32\Debug\
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\net\init.c
pp:46    30 Log level INFO topics 0
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\net\node.c
pp:105    33 New Node @00F08140 312a9e62-e065-46a4-ae19-40e84401a00e
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\client\cli
ent.cpp:48    36 New client at 00F08140
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\net\node.c
pp:172    38 args: eVolve, --, --eq-client, --eq-listen, 192.168.1.101:4242,
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\net\node.c
pp:231    41 Listener data: 312a9e62-e065-46a4-ae19-40e84401a00e#1#TCPIP#0##39#1
0000#192.168.1.101#4242#
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\net\socket
connection.cpp:127    47 Address 192.168.1.101:4242
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\net\socket
connection.cpp:162    52 Could not bind socket 1832: The operation completed suc
cessfully.(0) to 192.168.1.101:4242 AF 2
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\net\node.c
pp:271    57 Can't create listener connection: RefPtr<connection tcp/ip 192.168.
1.101:4242>
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\net\node.c
pp:235    60 Can't setup listener(s)
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\examples\evolv
e\main.cpp:64    62 Can't init client
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\base\threa
d.cpp:308    65 3 thread listeners active

2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\base\threa
d.cpp:312    67     class eq::base::PerThread<class eq::base::Log>
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\base\threa
d.cpp:312    70     class eq::base::PerThread<class eq::`anonymous namespace'::R
esultImage>
2300 4144808 c:\documents and settings\user\desktop\equalizer-0.9\lib\base\threa
d.cpp:312    73     class eq::base::PerThread<class eq::`anonymous namespace'::H
andlerMap>

C:\Documents and Settings\user\Desktop\Equalizer-0.9\build\VS2005\Win32\Debug>

 

 

 

please notice the last line I marked with red, the control has been resturned to the system already !

 

If I download the 32bit VS2005 SP1 Zip from http://equalizergraphics.com/downloads/major.html , and just test with those *.exe (without my compilation), similar thing happens. the information given looks like:

 

use the exe under C:\Documents and Settings\user\Desktop\Equalizer-0.6-win32\debug>

 

4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\spinlock.c
pp:57 0.1671  New SpinLock @10507300
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\client\init.cpp
:27 6.948 Equalizer v0.6 initializing
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\net\init.cpp:33
 22.59 Log level INFO topics 0
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\lock.cpp:4
3 26.27 New Lock @00DE5258
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\spinlock.c
pp:57 28.79  New SpinLock @00DF4D8C
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\spinlock.c
pp:57 31.14  New SpinLock @00DE559C
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\net\connection.
cpp:35 33.46 New Connection @00DE5588
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\lock.cpp:4
3 35.84 New Lock @00DE55BC
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\lock.cpp:4
3 38.08 New Lock @00DF4EA0
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\lock.cpp:4
3 40.22 New Lock @00DF4EA4
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\lock.cpp:4
3 42.47 New Lock @00DE5A5C
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\lock.cpp:4
3 44.71 New Lock @00DE5B1C
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\net\node.cpp:79
 46.96 New Node @00DF4C90 35d35390-ee60-4915-8898-563e0e7e2510
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\client\client.c
pp:38  49.9 New client at 00DF4C90
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\net\node.cpp:12
1 52.22 args: eVolve, --, --eq-client, --eq-listen, 192.168.1.101:4242,
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\net\node.cpp:18
0 55.39 Listener data: 35d35390-ee60-4915-8898-563e0e7e2510#1#TCPIP#0##39#10000#
192.168.1.101#4242#
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\lock.cpp:4
3 59.11 New Lock @00DE5E10
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\spinlock.c
pp:57 61.25  New SpinLock @00DE5EA4
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\net\connection.
cpp:35 63.55 New Connection @00DE5E90
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\lock.cpp:4
3 65.91 New Lock @00DE5EC4
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\spinlock.c
pp:57 68.14  New SpinLock @00DE611C
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\net\connection.
cpp:35 70.46 New Connection @00DE6108
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\net\socketconne
ction.cpp:108 74.72 Address 192.168.1.101:4242
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\net\socketconne
ction.cpp:143 77.32 Could not bind socket 1840: The operation completed successf
ully.(0) to 192.168.1.101:4242 AF 2
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\net\node.cpp:22
0 81.26 Can't create listener connection: RefPtr<connection tcp/ip 192.168.1.101
:4242>
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\net\connection.
cpp:49 84.61 Delete Connection @00DE6108
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\net\node.cpp:18
4 87.02 Can't setup listener(s)
4024 4144712 e:\visual studio projects\equalizer\release-0.6\examples\evolve\mai
n.cpp:51 89.26 Can't init client
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\thread.cpp
:295 91.71 3 thread listeners active
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\thread.cpp
:299 94.09     class eq::base::PerThread<class eq::base::Log>
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\thread.cpp
:299 96.94     class eq::base::PerThread<class eq::`anonymous namespace'::Result
Image>
4024 4144712 e:\visual studio projects\equalizer\release-0.6\lib\base\thread.cpp
:299 100.3     class eq::base::PerThread<class eq::`anonymous namespace'::Handle
rMap>

C:\Documents and Settings\user\Desktop\Equalizer-0.6-win32\debug>

Plz notice the client quit again ! use the exe under C:\Documents and Settings\user\Desktop\Equalizer-0.6-win32\release>
 

 

 

C:\Documents and Settings\user\Desktop\Equalizer-0.6-win32\release>eVolve -- --e
q-client --eq-listen 192.168.1.101:4242
620 4139392 ..\lib\net\socketConnection.cpp:143 Could not bind socket 1848: The
requested address is not valid in its context.(0) to 192.168.1.101:4242 AF 2
620 4139392 ..\lib\net\node.cpp:220 Can't create listener connection: RefPtr<con
nection tcp/ip 192.168.1.101:4242>
620 4139392 ..\lib\net\node.cpp:184 Can't setup listener(s)
620 4139392 ..\examples\eVolve\main.cpp:51 Can't init client

C:\Documents and Settings\user\Desktop\Equalizer-0.6-win32\release>

 

 

 

Stefan Eilemann

unread,
Nov 26, 2009, 5:16:22 AM11/26/09
to Equalizer Developer List
On Wed, Nov 25, 2009 at 8:35 PM, <wang...@notes.udayton.edu> wrote:

> Q1:


>
> Yes we found that on some machines , eqPly and eVolve both work well. But
> not on all machines , (even just WinXP and MS studio 2005).
>
> With Visual studio 2008+ equalizer 0.9, the example eVolve can work, but not
> eqPly. we use debug tool to track the problem, generally eqPly is stucked
> at
>
>
>
> plyfile.cpp, the function
>
> PlyFile *ply_open_for_reading, on the statement,
>
> *file_type = plyfile->file_type;
>
> Is there anyone can fix this quickly ?

We don't have a Vista/VS2008 setup. It's quite likely that we will
never work on Vista, but I'm happy to take any eventual patches.
Windows 7/VS2008 is on the roadmap and will happen eventually.

> Q2:
>
> as I will use a two-node senario, one machine is used as the server, while
> the other used as client.
>
> Each time, I started with the client, type and run:
>
> eVolve -- --eq-client --eq-listen 192.168.1.101:4242
>
> I assume testing eVolve or eqPly is equivalent, is that correct ?

Correct.

> As I have trouble with eqPly, so I play with eVolve
>
> in my perception,  then the client should keep on runing before we start the
> server end.

Correct.

> 2300 4144808 c:\documents and
> settings\user\desktop\equalizer-0.9\lib\net\socket
> connection.cpp:162    52 Could not bind socket 1832: The operation completed
> suc
> cessfully.(0) to 192.168.1.101:4242 AF 2

This is the cause of your troubles. The render client can't create
it's listening connection on 192.168.1.101:4242. Blissfully, Windows
tells us no error reason.

Are you sure you have the correct IP? Is there anything else running
on the port? Any firewall installed? Any dead eqPly instance running?


HTH,

Stefan.

_______________________________________________
eq-dev mailing list
eq-...@equalizergraphics.com
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Christian Kehl

unread,
Nov 26, 2009, 6:18:22 AM11/26/09
to Equalizer Developer List
I am working now with Equalizer since 3 weeks. I, of course, also build the eqPly-example both on my mainframe at home, running on Win7, and on my Laptop, running with Windows Vista. I was troubeling around with some specific problems concerning MGPUs in Win7, because my SinglePCB-DualGPU ATI card was not recognized by Equalizer as a DualGPU-card. This is because either a graphics adapter Update of Catalyst or an OS-Update switched the configuration from 2 independent devices to 1 device with different memory adresses. Havn't found a solution for that until now (that's why also running the single pipe config on my Multi-GPU card). But, apart from that, the eqPly was running fine with both Vista and Seven for me. If you, Wang, could write your configuration of the machines (Hardware+Drivers+installed libraries), then I can compare it with my settings and perhaps I find the cause of your troubles.

Greets,

Christian

-------- Original-Nachricht --------
> Datum: Thu, 26 Nov 2009 11:16:22 +0100
> Von: Stefan Eilemann <eile...@gmail.com>
> An: Equalizer Developer List <eq-...@equalizergraphics.com>
> Betreff: Re: [eq-dev] client quit too quickly + a bug

--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser

wang...@notes.udayton.edu

unread,
Nov 26, 2009, 10:01:11 PM11/26/09
to Equalizer Developer List, Eilemann

Dear Chiristian:

I appreciate your time to discuss with me.

You let me list the followings:

(Hardware+Drivers+installed libraries),

I use GPU NVidia GTX260 + Visual sTUDIO 2008, the demo eVolve works, but the demo eqPly does not work. Can we then say the GPU is not the problem ?

but when I run : eVolve -- --eq-client --eq-listen 10.110.1.35:4200

the client quit quickly befor I start the server.

Drivers : I do not understand what you mean. Driver for GPU?

installed library: I do not understand what you mean, libraries for Equalizer ?

I test Equalizer 0.9 downloaded from

http://sourceforge.net/projects/equalizer/

 

I also test Equalizer 0.6 downloaded from http://sourceforge.net/projects/equalizer/files/Equalizer/0.6/

 

 

 

Where did you download your Equalizer 0.6 or Equalizer 0.9 ?

 

At this web, we can also get Equalizer-0.6-win32.zip

(so we can use .exe directly, but I did not succeed as I report in last mail)

 

And then just using Visual studio 2005 or 2008 to compile them.  Using Visual Studio 2008, I convert the Equalizer.sln (solution) from 2005 version to 2008 version atomatically.

 

We can just limit out discussion to WinXP 32bits, forget about Vista at this moment.

 

Could you tell me the version number of your Visual studio 2005 or Visual Studio 2008 ? YOu are using what kind of service pack ?

I also have single PCB ATI GPU + WinXP 64bits + Visual studio 2008, both the eqPly and eVolve do not work.

 

 

 

Reply all
Reply to author
Forward
0 new messages