[Xapian-tickets] [Xapian] #796: Segmentation fault

Xapian nobody at xapian.org
Thu Oct 24 20:37:44 BST 2019


#796: Segmentation fault
-----------------------------+--------------------
        Reporter:  zangetsu  |      Owner:  olly
            Type:  defect    |     Status:  new
        Priority:  normal    |  Milestone:  1.4.x
       Component:  Other     |    Version:  1.4.13
        Severity:  normal    |   Keywords:
      Blocked By:            |   Blocking:
Operating System:  All       |
-----------------------------+--------------------
 I use xapian indirectly through "notmuch" and recently I observed
 segmentation faults for certain search queries using xapian 1.4.13, macOS
 10.14.6.

 After I edited the brew formula to reinstall 1.4.12 it didn't happen
 anymore.

 I'm not sure how to provide a lot of information. I've added a little
 function to print the stack trace in notmuch, maybe it's a start:
 {{{
 % ./notmuch search from:foobar@
 Error: signal 11:
 0   notmuch                             0x000000010025d593 handler + 35
 1   libsystem_platform.dylib            0x00007fff760d0b5d _sigtramp + 29
 2   ???                                 0x00000000000007e0 0x0 + 2016
 3   libxapian.30.dylib                  0x00000001008851d3
 _ZNK14SelectPostList10get_weightEv + 33
 4   libxapian.30.dylib                  0x000000010088b42f
 _ZN10MultiMatch8get_msetEjjjRN6Xapian4MSetERNS0_6Weight8InternalEPKNS0_12MatchDeciderEPKNS0_8KeyMakerE
 + 2393
 5   libxapian.30.dylib                  0x00000001007c4083
 _ZNK6Xapian7Enquire8Internal8get_msetEjjjPKNS_4RSetEPKNS_12MatchDeciderE +
 615
 6   libxapian.30.dylib                  0x00000001007c53ab
 _ZNK6Xapian7Enquire8get_msetEjjjPKNS_4RSetEPKNS_12MatchDeciderE + 25
 7   notmuch                             0x000000010028f771
 _notmuch_query_search_documents + 2673
 8   notmuch                             0x000000010028ecf4
 notmuch_query_search_messages + 36
 9   notmuch                             0x000000010029034a
 notmuch_query_search_threads + 138
 }}}

 Else let me know what I can do to get more useful debug data.

 I also uninstalled it via brew and got cloned the github mirror, then ran
 git bisect: cba0c1f11338c99721882089ab98541f0e375b43 was the
 first commit to introduce this segfault.

--
Ticket URL: <https://trac.xapian.org/ticket/796>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list