Stefan Eilemann wrote:
>
>
> Hi,
>
> On 11. Jan 2010, at 17:54, Stephen Furlani wrote:
>
>> Hello,
>>
>> I've gone ahead and edited some files to try and fix these issues. After
>> searching the internet, I found the define __OBJC__ for XCode which I
>> used.
> [...]
>
> We can also rename the parameter to 'identifier' or 'objectID', whatever
> fits best in the situation. It shouldn't be in 900 places, since most of
> them will be re-includes of the same file.
>
> If you send me diff of these changes, I'll apply them to trunk.
>
>> It goes fine until it gives me a 'config init successful' and then a
>> 'receiver thread not waiting' and then later a 'config exit 1'. I've
>> bolded what I think is the source of the error.
>
> [...]
>
> Apparently the config initialized successfully, but for some reason
> eqHello exits it immediately. The 'Receiver thread not waiting' is
> harmless, and config exit result 1 means true, aka. 'successful'.
>
> I would set a breakpoint after config->init in eqHello and see why he
> doesn't enter the main loop.
>
>
config->init returns _running which is true, but then
while(config->isRunning) returns false on the first pass, so I put a bunch
of breaks in and came up with this:
//Breakpoint on config->isRunning()
(gdb) display _running
1: this->_running = true
// step to execute return _running;
Program received signal: “EXC_BAD_ACCESS”.
1: this->_running = false
Cannot access memory at address 0x74bffffc
Cannot access memory at address 0x74bffffc
So I hunted around for some (gdb) commands and I found print &_running
and...
config->init(0) and config->isRunning() aren't referencing the same
_running.
I feel like maybe it's a problem with includes, libraries, and referencing
the wrong config.h (equalizer/build/XCode/lib/include/ as opposed to
equalizer/lib/)
help?
-Stephen
--
View this message in context:
http://n2.nabble.com/Objective-C-tp4263157p4349031.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