notmuch 0.6: notmuch new dies with std::terminate

2011-07-04 Thread Pieter Praet
On Mon, 04 Jul 2011 09:20:25 -0300, David Bremner  wrote:
> On Mon, 04 Jul 2011 11:58:24 +0100, Robin Green  
> wrote:
> > Some time after upgrading to notmuch 0.6, notmuch new suddenly started
> > failing, with this backtrace: (this is on DragonFly BSD)
> > 
> > Program terminated with signal 6, Aborted.
> [...]
> > #3  0x00080150c9c1 in __gnu_cxx::__verbose_terminate_handler() () from 
> > /usr/lib/gcc44/libstdc++.so.9
> > #4  0x000801511047 in __cxxabiv1::__terminate(void (*)()) () from 
> > /usr/lib/gcc44/libstdc++.so.9
> > #5  0x00080151107c in std::terminate() () from 
> > /usr/lib/gcc44/libstdc++.so.9
> > #6  0x000801510fe4 in __cxa_throw () from /usr/lib/gcc44/libstdc++.so.9
> 
> This might be related to commit cdf1c70. You could try reverting it, and
> your patch to it, and see if that helps. [...]

That, or you've caught a virus.

Seriously though, this has happened before [1].

> [...] Does the test suite pass on
> your machine? There is two tests in particular under "symbol-hiding"
> that might be relevant.
> 
> David
> ___
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch

Peace

-- 
Pieter

[1] id:"871vhwei6n.fsf at 59A2.org"


notmuch 0.6: notmuch new dies with std::terminate

2011-07-04 Thread David Bremner
On Mon, 04 Jul 2011 11:58:24 +0100, Robin Green  wrote:
> Some time after upgrading to notmuch 0.6, notmuch new suddenly started
> failing, with this backtrace: (this is on DragonFly BSD)
> 
> Program terminated with signal 6, Aborted.
[...]
> #3  0x00080150c9c1 in __gnu_cxx::__verbose_terminate_handler() () from 
> /usr/lib/gcc44/libstdc++.so.9
> #4  0x000801511047 in __cxxabiv1::__terminate(void (*)()) () from 
> /usr/lib/gcc44/libstdc++.so.9
> #5  0x00080151107c in std::terminate() () from 
> /usr/lib/gcc44/libstdc++.so.9
> #6  0x000801510fe4 in __cxa_throw () from /usr/lib/gcc44/libstdc++.so.9

This might be related to commit cdf1c70. You could try reverting it, and
your patch to it, and see if that helps. Does the test suite pass on
your machine? There is two tests in particular under "symbol-hiding"
that might be relevant.

David


notmuch 0.6: notmuch new dies with std::terminate

2011-07-04 Thread Robin Green
Some time after upgrading to notmuch 0.6, notmuch new suddenly started
failing, with this backtrace: (this is on DragonFly BSD)

Program terminated with signal 6, Aborted.
#0  0x0008017bde18 in kill () from /usr/lib/libc.so.7
(gdb) bt
#0  0x0008017bde18 in kill () from /usr/lib/libc.so.7
#1  0x00080183779d in raise () from /usr/lib/libc.so.7
#2  0x000801837195 in abort () from /usr/lib/libc.so.7
#3  0x00080150c9c1 in __gnu_cxx::__verbose_terminate_handler() () from 
/usr/lib/gcc44/libstdc++.so.9
#4  0x000801511047 in __cxxabiv1::__terminate(void (*)()) () from 
/usr/lib/gcc44/libstdc++.so.9
#5  0x00080151107c in std::terminate() () from /usr/lib/gcc44/libstdc++.so.9
#6  0x000801510fe4 in __cxa_throw () from /usr/lib/gcc44/libstdc++.so.9
#7  0x000801adac99 in Xapian::Document::Internal::remove_term (this=value 
optimized out, tname=value optimized out)
at api/omdocument.cc:404
#8  0x00080086d020 in _notmuch_message_remove_term (message=0x8007719d0, 
prefix_name=0x800871cc9 tag, 
value=0x800871be0 draft) at lib/message.cc:915
#9  0x00080086d239 in notmuch_message_remove_tag (message=0x8007719d0, 
tag=0x800871be0 draft) at lib/message.cc:974
#10 0x00080086d421 in notmuch_message_maildir_flags_to_tags 
(message=0x8007719d0) at lib/message.cc:1030
#11 0x0040976d in add_files_recursive (notmuch=0x8007a02f0, 
path=0x8008003a8 /home/greenrd/Mail/sent/cur, 
state=0x7800) at notmuch-new.c:459
#12 0x00409236 in add_files_recursive (notmuch=0x8007a02f0, 
path=0x8007f0650 /home/greenrd/Mail/sent, 
state=0x7800) at notmuch-new.c:330
#13 0x00409236 in add_files_recursive (notmuch=0x8007a02f0, 
path=0x8007f0378 /home/greenrd/Mail, 
state=0x7800) at notmuch-new.c:330
#14 0x00409cb7 in add_files (notmuch=0x8007a02f0, path=0x8007f0378 
/home/greenrd/Mail, state=0x7800)
at notmuch-new.c:625
#15 0x0040a61c in notmuch_new_command (ctx=0x8006c02e8, argc=0, 
argv=0x7988) at notmuch-new.c:866
#16 0x00407038 in main (argc=2, argv=0x7978) at notmuch.c:632

I'm not a C++ programmer, but what I notice that's odd about this is
that the exception *should* be caught by a catch, but isn't being.

Because I couldn't figure out what is going wrong here, I switched back
to notmuch 0.5, which worked.

This may have to do with some errors I saw from notmuch search about a
temporary draft file created by emacs no longer existing. Or that may be
unrelated - I have no idea.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: notmuch 0.6: notmuch new dies with std::terminate

2011-07-04 Thread David Bremner
On Mon, 04 Jul 2011 11:58:24 +0100, Robin Green gree...@greenrd.org wrote:
 Some time after upgrading to notmuch 0.6, notmuch new suddenly started
 failing, with this backtrace: (this is on DragonFly BSD)
 
 Program terminated with signal 6, Aborted.
[...]
 #3  0x00080150c9c1 in __gnu_cxx::__verbose_terminate_handler() () from 
 /usr/lib/gcc44/libstdc++.so.9
 #4  0x000801511047 in __cxxabiv1::__terminate(void (*)()) () from 
 /usr/lib/gcc44/libstdc++.so.9
 #5  0x00080151107c in std::terminate() () from 
 /usr/lib/gcc44/libstdc++.so.9
 #6  0x000801510fe4 in __cxa_throw () from /usr/lib/gcc44/libstdc++.so.9

This might be related to commit cdf1c70. You could try reverting it, and
your patch to it, and see if that helps. Does the test suite pass on
your machine? There is two tests in particular under symbol-hiding
that might be relevant.

David
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: notmuch 0.6: notmuch new dies with std::terminate

2011-07-04 Thread Pieter Praet
On Mon, 04 Jul 2011 09:20:25 -0300, David Bremner da...@tethera.net wrote:
 On Mon, 04 Jul 2011 11:58:24 +0100, Robin Green gree...@greenrd.org wrote:
  Some time after upgrading to notmuch 0.6, notmuch new suddenly started
  failing, with this backtrace: (this is on DragonFly BSD)
  
  Program terminated with signal 6, Aborted.
 [...]
  #3  0x00080150c9c1 in __gnu_cxx::__verbose_terminate_handler() () from 
  /usr/lib/gcc44/libstdc++.so.9
  #4  0x000801511047 in __cxxabiv1::__terminate(void (*)()) () from 
  /usr/lib/gcc44/libstdc++.so.9
  #5  0x00080151107c in std::terminate() () from 
  /usr/lib/gcc44/libstdc++.so.9
  #6  0x000801510fe4 in __cxa_throw () from /usr/lib/gcc44/libstdc++.so.9
 
 This might be related to commit cdf1c70. You could try reverting it, and
 your patch to it, and see if that helps. [...]

That, or you've caught a virus.

Seriously though, this has happened before [1].

 [...] Does the test suite pass on
 your machine? There is two tests in particular under symbol-hiding
 that might be relevant.
 
 David
 ___
 notmuch mailing list
 notmuch@notmuchmail.org
 http://notmuchmail.org/mailman/listinfo/notmuch

Peace

-- 
Pieter

[1] id:871vhwei6n@59a2.org
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch