Re: Strange crashes

2013-12-11 Thread Chris Angelico
On Thu, Dec 12, 2013 at 4:47 PM, Igor Korot wrote: > So, when I find the culprit variable what do I do? > Make it a part of some class? Protect it with mutex? > > How to solve this? And most importantly, how do _I_ verify that its solved? >From the look of the error, protecting it with a mutex wo

Re: Strange crashes

2013-12-11 Thread Roy Smith
In article , Chris Angelico wrote: > On Thu, Dec 12, 2013 at 4:25 PM, Igor Korot wrote: > > ProgrammingError: SQLite objects created in a thread can only be used > > in that same thread.The object was created in thread id 14260 and this > > is thread id 9264 > > > > Where should I start looking

Re: Strange crashes

2013-12-11 Thread Igor Korot
Hi, Chris, On Wed, Dec 11, 2013 at 9:31 PM, Chris Angelico wrote: > On Thu, Dec 12, 2013 at 4:25 PM, Igor Korot wrote: >> ProgrammingError: SQLite objects created in a thread can only be used >> in that same thread.The object was created in thread id 14260 and this >> is thread id 9264 >> >> Whe

Re: Strange crashes

2013-12-11 Thread Chris Angelico
On Thu, Dec 12, 2013 at 4:25 PM, Igor Korot wrote: > ProgrammingError: SQLite objects created in a thread can only be used > in that same thread.The object was created in thread id 14260 and this > is thread id 9264 > > Where should I start looking for causes? Well, I'd look for something that cr

Strange crashes

2013-12-11 Thread Igor Korot
Hi, ALL, I'm trying to develop a software with Python. It uses multi threading. For some unknown reason the program crashes on my employer's machine but on mine it runs fine. Exception in thread Thread-3: Traceback (most recent call last): File "C:\Python27\lib\threading.py", line 552, in __boo