I'm in the process of writing an equalizer app and i've got the basic
skeleton code hierarchy in place (basically node, window, pipe, etc
subclasses with stub overrides that pass everything to the superclass). 

I'm running into an EXC_BAD_ACCESS error when running in OSX Lion, in the
co::Connection::recvSync function on the Rcv thread right as the application
tries to connect to the server. I'm posting the first few lines of the
disassembly:

0x001c3076  <+0000>  push   %ebp
0x001c3077  <+0001>  mov    %esp,%ebp
0x001c3079  <+0003>  push   %ebx
0x001c307a  <+0004>  push   %edi
0x001c307b  <+0005>  push   %esi
0x001c307c  <+0006>  sub    $0x2c,%esp
0x001c307f  <+0009>  call   0x1c3084 <_ZN2co10Connection8recvSyncEPPvPyb+14>
0x001c3084  <+0014>  pop    %eax
0x001c3085  <+0015>  mov    %eax,-0x1c(%ebp)
0x001c3088  <+0018>  mov    0xc(%ebp),%eax
0x001c308b  <+0021>  test   %eax,%eax
0x001c308d  <+0023>  je     0x1c3097 <_ZN2co10Connection8recvSyncEPPvPyb+33>
0x001c308f  <+0025>  mov    0x8(%ebp),%ecx
*0x001c3092  <+0028>  mov    0x18(%ecx),%ecx   <<<< BAD_ACCESS here*
0x001c3095  <+0031>  mov    %ecx,(%eax)
0x001c3097  <+0033>  cmpl   $0x0,0x10(%ebp)
0x001c309b  <+0037>  je     0x1c30ac <_ZN2co10Connection8recvSyncEPPvPyb+54>

This happens when I pass the following cmd line argument : "--eq-listen
127.0.0.1:4743" to specify the listening port listed in my cfg file. If I
take the argument away, the code seems to run.

Any ideas on this?

--
View this message in context: 
http://software.1713.n2.nabble.com/Access-violation-in-co-Connection-recvSync-tp7073993p7073993.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to