[Bug 930442] Re: python2.7 crashed with SIGSEGV in Xapian_MSetIterator_get_docid()

Olly Betts olly at survex.com
Wed Apr 4 14:19:14 UTC 2012


It's a bug in that example script, but that script is shipped in the
documentation in the python-xapian package, so it is still a bug in the
package.

I've applied a fix upstream - here it is if you want to backport it:

http://trac.xapian.org/changeset/16480/branches/1.2/xapian-
bindings/python/docs/examples/simpleexpand.py

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to xapian-bindings in Ubuntu.
https://bugs.launchpad.net/bugs/930442

Title:
  python2.7 crashed with SIGSEGV in Xapian_MSetIterator_get_docid()

Status in “xapian-bindings” package in Ubuntu:
  New

Bug description:
  By running the file available at the link below was generated a
  segmentation fault.

  http://xapian.org/docs/bindings/python/examples/simpleexpand.py

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: python2.7-minimal 2.7.2-13ubuntu4
  ProcVersionSignature: Ubuntu 3.2.0-15.24-generic-pae 3.2.5
  Uname: Linux 3.2.0-15-generic-pae i686
  ApportVersion: 1.91-0ubuntu1
  Architecture: i386
  Date: Fri Feb 10 19:00:54 2012
  ExecutablePath: /usr/bin/python2.7
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120130)
  ProcCmdline: python simpleexpand.py /tmp teste
  SegvAnalysis:
   Segfault happened at: 0xb6d4a632 <_ZNK6Xapian12MSetIteratordeEv+18>:	mov    0x8(%eax),%eax
   PC (0xb6d4a632) ok
   source "0x8(%eax)" (0x00000008) not located in a known VMA region (needed readable region)!
   destination "%eax" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: python2.7
  StacktraceTop:
   Xapian::MSetIterator::operator*() const () from /usr/lib/sse2/libxapian.so.22
   ?? () from /usr/lib/python2.7/dist-packages/xapian/_xapian.so
   PyEval_EvalFrameEx ()
   PyEval_EvalCodeEx ()
   PyEval_EvalCode ()
  Title: python2.7 crashed with SIGSEGV in Xapian::MSetIterator::operator*()
  UpgradeStatus: Upgraded to precise on 2012-02-04 (6 days ago)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xapian-bindings/+bug/930442/+subscriptions




More information about the foundations-bugs mailing list