I'm an upstream maintainer of XaoS. There is a known issue where user-defined formulas cause a crash if multiple threads are enabled. On the other hand, multiple threads work fine with the built-in formulas and deliver a nice speed boost on multi- core processors. XaoS only uses multiple threads if the user selects more than one thread via the command line via the -threads switch. The default is to use one thread even if thread support is compiled in, so I suppose it wouldn't hurt to enable it at compile time and give the users the option of using multiple threads if they aren't going to use user- defined formulas.
The user defined formulas crash because the evaluation code is not re- entrant. I have asked the original author of the user-defined formulas to fix this but I don't think he's interested in maintaining the code. I have started looking into a fix but it will probably require a pretty major overhaul to the parser. Currently the parser is creating a stack- based notation for the formula, which it evaluates iteratively and with side-effects in a global data structure. It needs to be modified to parse the formula into an AST which is recursively evaluated without any side-effects. Reference: http://code.google.com/p/gnuxaos/issues/detail?id=31 ** Bug watch added: code.google.com/p/gnuxaos/issues #31 http://code.google.com/p/gnuxaos/issues/detail?id=31 -- Thread support not compiled in https://bugs.launchpad.net/bugs/112927 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
