Git Product home page Git Product logo

Comments (4)

jgoz avatar jgoz commented on May 22, 2024

Hmm, Context.Create is pretty simple. All it does is call xs_init.

Is your application threaded / are you sharing the context between threads? Regardless, if you can provide a bit of sample code, I'd appreciate it.

Also, the current version of crossroads-net targets a stale version of libxs - I've been meaning to update it to support 1.2.0. Hopefully I'll get some time to do that ASAP.

from crossroads-net.

calvindevries avatar calvindevries commented on May 22, 2024

It is multithreaded, but not at this point.

There's basically just this code:

static void Main(string[] args)
{
RepServer server = new RepServer();
server.Init();
}

private readonly Context _ctx;
public RepServer()
{
_ctx = Context.Create(); //breaks here
}

It goes on to do a lot of work afterwards involving many threads, etc, but it doesn't always get to that point. It seems like the only reliable way to make this error go away when it happens is to either log off and log back into Windows or reboot the machine entirely.

from crossroads-net.

tjrobinson avatar tjrobinson commented on May 22, 2024

Does it make any difference which user account you run the application as?

from crossroads-net.

calvindevries avatar calvindevries commented on May 22, 2024

No, I don't believe so. I'm not sure if it's permissions related because it
doesn't happen everytime. One thing I noticed yesterday was that I had an
assertion failure on one of 2 applications using XS, I couldn't restart
either of them until I logged out and logged back into the box.

On Tue, Jun 26, 2012 at 4:15 AM, Tom Robinson <
[email protected]

wrote:

Does it make any difference which user account you run the application as?


Reply to this email directly or view it on GitHub:
#3 (comment)

from crossroads-net.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.