python-notmuch crash with threads

2011-12-01 Thread James Westby
Hi, I've been seeing a race with python-notmuch, where it will crash due to pointers being invalidated when threads are used. I've attached a script which shows the problem some of the time. It's about the smallest script I can make, but it's hampered by the fact that making it simpler seems to

python-notmuch crash with threads

2011-12-01 Thread James Westby
Hi, I've been seeing a race with python-notmuch, where it will crash due to pointers being invalidated when threads are used. I've attached a script which shows the problem some of the time. It's about the smallest script I can make, but it's hampered by the fact that making it simpler seems to