unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* segmentation fault
@ 2019-10-26 16:56 Marko Bauhardt
  2019-10-27  0:07 ` David Bremner
  0 siblings, 1 reply; 2+ messages in thread
From: Marko Bauhardt @ 2019-10-26 16:56 UTC (permalink / raw)
  To: notmuch

Hi,
I'm using notmuch since a while to index my mail.
Since a few days I'm getting a segmentation fault when search my mails.
This happened to my when tagging my mails based on a search query.
I believe this happened when I upgraded my osx before some days.

I removed already my whole index and index my mails only with 'notmuch
new' without any other tags.


I used valgrind to get a stack where or how the segmentation fault occurs. Not sure if this is a good way....
Anyway here is the output.
Maybe you can help me to find a way to fix that to get my index up and
running.

Versions about notmuch and xapian can be found in the stack below.

thx
Marko


18:26:20 % valgrind notmuch count to:mb@datameer.com and not foobar
==35130== Memcheck, a memory error detector
==35130== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==35130== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==35130== Command: notmuch count to:mb@datameer.com and not foobar
==35130==
--35130-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option
--35130-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2 times)
--35130-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 4 times)
--35130-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 8 times)
==35130== Invalid read of size 8
==35130==    at 0x10069E802: AndNotPostList::get_weight() const (in /usr/local/Cellar/xapian/1.4.13/lib/libxapian.30.dylib)
==35130==    by 0x1006B06C0: SelectPostList::get_weight() const (in /usr/local/Cellar/xapian/1.4.13/lib/libxapian.30.dylib)
==35130==    by 0x1006A6C72: MultiMatch::get_mset(unsigned int, unsigned int, unsigned int, Xapian::MSet&, Xapian::Weight::Internal&, Xapian::MatchDecider const*, Xapian::KeyMaker const*) (in /usr/local/Cellar/xapian/1.4.13/lib/libxapian.30.dylib)
==35130==    by 0x1005CC982: Xapian::Enquire::Internal::get_mset(unsigned int, unsigned int, unsigned int, Xapian::RSet const*, Xapian::MatchDecider const*) const (in /usr/local/Cellar/xapian/1.4.13/lib/libxapian.30.dylib)
==35130==    by 0x1005CDE66: Xapian::Enquire::get_mset(unsigned int, unsigned int, unsigned int, Xapian::RSet const*, Xapian::MatchDecider const*) const (in /usr/local/Cellar/xapian/1.4.13/lib/libxapian.30.dylib)
==35130==    by 0x1000F2B83: _notmuch_query_count_documents (in /usr/local/Cellar/notmuch/0.29.2/lib/libnotmuch.5.2.0.dylib)
==35130==    by 0x100007375: print_count (in /usr/local/bin/notmuch)
==35130==    by 0x100007284: notmuch_count_command (in /usr/local/bin/notmuch)
==35130==    by 0x100004F06: main (in /usr/local/bin/notmuch)
==35130==  Address 0x0 is not stack'd, malloc'd or (recently) free'd


---
Marko Bauhardt
https://keybase.io/mbauhardt

GPG Key ID: 53192101
GPG Fingerprint: DC0F E851 82A3 72E3 7FE1  ACDB 970C FD47 5319 2101

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: segmentation fault
  2019-10-26 16:56 segmentation fault Marko Bauhardt
@ 2019-10-27  0:07 ` David Bremner
  0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2019-10-27  0:07 UTC (permalink / raw)
  To: Marko Bauhardt, notmuch

Marko Bauhardt <marko.bauhardt@mailbox.org> writes:

> Hi,
> I'm using notmuch since a while to index my mail.
> Since a few days I'm getting a segmentation fault when search my mails.
> This happened to my when tagging my mails based on a search query.
> I believe this happened when I upgraded my osx before some days.
>
> I removed already my whole index and index my mails only with 'notmuch
> new' without any other tags.
>
>
At a guess, it's this xapian bug

https://trac.xapian.org/ticket/796

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-27  0:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-26 16:56 segmentation fault Marko Bauhardt
2019-10-27  0:07 ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).