Bug#893057: python3-notmuch: random aborts on exit

2018-03-24 Thread Brian May
David Bremner writes: > For what it's worth, I can't replicate that with the given script (I ran > it 1000 times without any aborts). I am not surprised, initially it worked fine for me too. No idea what changed. I ended up changing my script to use Python2. >> Curiously, changes to tags don't

Bug#893057: python3-notmuch: random aborts on exit

2018-03-24 Thread David Bremner
Brian May writes: > On 2018-03-16 11:28, David Bremner wrote: > >> I suspect it has to do with changes in memory management in python3. >> >> You hide the problem by adding >> >> del(db) >> >> at the end of your script. > > Unfortunately, I still seem to be getting this abort error, although n

Bug#893057: python3-notmuch: random aborts on exit

2018-03-20 Thread Brian May
On 2018-03-16 11:28, David Bremner wrote: > I suspect it has to do with changes in memory management in python3. > > You hide the problem by adding > > del(db) > > at the end of your script. Unfortunately, I still seem to be getting this abort error, although not as often. Curiously, changes

Bug#893057: python3-notmuch: random aborts on exit

2018-03-15 Thread Brian May
David Bremner writes: > You hide the problem by adding > > del(db) > > at the end of your script. > > You can read some discussion at > > https://notmuchmail.org/pipermail/notmuch/2016/021622.html Thanks for this, and the work around. The workaround works fine. -- Brian May

Bug#893057: python3-notmuch: random aborts on exit

2018-03-15 Thread David Bremner
Brian May writes: > === cut === > > I get the following output: > > brian@wspdigital:~$ /usr/bin/python3 ./tagmail > Aborted > > If I comment/remove any of the lines out (including the function that isn't > even referenced anywhere) or switch to Python2, then it works without any > problems. > > A

Bug#893057: python3-notmuch: random aborts on exit

2018-03-15 Thread Jameson Graef Rollins
On Fri, Mar 16 2018, Brian May wrote: > If I try to run the following program on Debian Stretch: > > === cut === > #!/usr/bin/python3 > import notmuch > db = notmuch.Database(mode=notmuch.Database.MODE.READ_WRITE) > > def abcdef(): > pass > > q_new = notmuch.Query(db, 'tag:new') > === cut ===

Bug#893057: python3-notmuch: random aborts on exit

2018-03-15 Thread Brian May
Package: python3-notmuch Version: 0.23.7-3 Severity: important If I try to run the following program on Debian Stretch: === cut === #!/usr/bin/python3 import notmuch db = notmuch.Database(mode=notmuch.Database.MODE.READ_WRITE) def abcdef(): pass q_new = notmuch.Query(db, 'tag:new') === cut