Hello Kristian, Thanks for the patch. It fixes the problem that I described. Now onto the next problem. Try running: logxid.deadlock.py --k=1 & logxid.deadlock.py --k=2 & logxid.deadlock.py --k=3 & When one runs multiple XA clients with a debug build of my branch, we crash at log.cc line 7567. An unlocked mutex is being unlocked. I discussed this problem with Sergei and we think that the problem is caused a few lines above. I updated my branch ( lp:~prohaska7/maria/2pc-crash-with-maria10-and-tokudb) with a proposed bug fix. Rich Prohaska On Sun, Nov 18, 2012 at 6:59 AM, Kristian Nielsen <knielsen@knielsen-hq.org> wrote:
Kristian Nielsen <knielsen@knielsen-hq.org> writes:
Sorry, the patch is broken, I didn't test carefully enough.
In fact, I found *another* bug, making it 3 in total... The first two of these also exists in older MariaDB/MySQL, but may be hard/impossible to trigger without the third bug, which is something I introduced in 10.0.
Try this patch, I verified more carefully now that it fixes the problem and allows your test to run without crashing.
Thanks again for taking the time to report this. Let us know if you find more issues, and I will look into fixing them as well.
- Kristian.