[Vortex] [BUG] Race condition around ctx->profiles_list

Francis Brosnan Blázquez francis at aspl.es
Fri Sep 24 12:01:49 CEST 2010

> Hello,

Hi Benoit,

> I am trying to reproduce the bug on my side.
> However,


> On Wed, Sep 8, 2010 at 8:04 PM, Francis Brosnan Blazquez
> <francis at aspl.es> wrote:
> > - The code required to update vortex_ctx_private.h to include the mutex
> > profiles_list_mutex and the code to initialize and destroy it is missing
> > in the patch. I've implemented it.
> Now profiles_list_mutex is initialized and destroyed two times
> resulting into a crash at exit.
> Attached patch fixes the issue.

Right. Thanks for the path Benoit. It is now applied.

> I never realized they were regressions tests. 

Ok. I suspect you already got it. Just to be sure: regression test used
to check vortex distribution is implemented by
test/vortex-regression-client.c and test/vortex-regression-listener.c. 

This is what we use to ensure proper execution on every change. Some of
the reg tests requires an HTTP proxy to execute, but you can skip those

The simplest way to run reg tests is to start the listener:

>> ./vortex-regression-listener

And then run all the tests with:

>> ./vortex-regression-client

..or a single test:

>> ./vortex-regression-client --run-test="test_02"

> I'll try to make them
> run, however, msvc projects doesn't work out-of-box for me.

Those files aren't maintained. They were included as an example that can
be used. After that we found people used to VS are able to build a msvc
projects without problems...

Thanks Benoit. Cheers!

> Thanks,
> Benoît Amiaux
Francis Brosnan Blázquez <francis at aspl.es>

More information about the Vortex mailing list