← Back to team overview

zeitgeist team mailing list archive

Re: [Bug 839740] Re: zeitgeist-daemon crashed with RuntimeError in _check_index(): basic_string::assign

 

I get the ceash report consistently. It occurs specifically after a 
restart or login into the system.


On Sat 10 Sep 2011 05:41:08 AM CDT, Mikkel Kamstrup Erlandsen 
<mikkel.kamstrup@xxxxxxxxx> wrote:

> Ok. The updated crash reports looks sensible. I am still quite in the
> dark about this, it could be a binding issue or something - do you
> guys get it consistently or only occasionally?
>
> So my guess work so far goes something like this: Consider the buggy
> expression from the fts.py Python code:
>
>    query = self._query_parser.parse_query ("zgsu:file*",
>
> self.QUERY_PARSER_FLAGS)
>
> Since this gives an error in basic_string::assign, which is a C++
> function, it's probably raising an error from the autogenerated SWIG
> bindings for libxapian marshalling that into a RuntimeError. Meaning
> that we are probably passing either a malformed string or a non-string
> where it expects a string.
>
> I tried passing weird combos of strings and ints to parse_query() just
> now, and no matter how I cut it I can only get it to raise a TypeError
> ala TypeError: in method 'QueryParser_parse_query', argument 2 of type
> 'std::string const&'. Never a RuntimeError. So it's something deeper
> than that.
>
> So still in the dark here...
>
> @joey - did you manually twiddle with the fts.py file you have
> installed (like adding debug statements or such)? Oddly enough your
> line number seems to be off by 2 compared to the 0.0.12 code.
>

-- 
You received this bug notification because you are a member of Zeitgeist
Extensions, which is the registrant for Zeitgeist Extensions.
https://bugs.launchpad.net/bugs/839740

Title:
  zeitgeist-daemon crashed with RuntimeError in _check_index():
  basic_string::assign

Status in Zeitgeist Extensions:
  Confirmed
Status in “zeitgeist-extensions” package in Ubuntu:
  Confirmed
Status in “zeitgeist-extensions” source package in Oneiric:
  Confirmed

Bug description:
  Crash occured while using Opera.

  Ubuntu 11.10 Beta 1
  Zeitgeist 0.8.1.1-1

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: zeitgeist-core 0.8.1.1-1
  ProcVersionSignature: Ubuntu 3.0.0-9.15-generic 3.0.3
  Uname: Linux 3.0.0-9-generic i686
  Architecture: i386
  Date: Fri Sep  2 18:02:19 2011
  ExecutablePath: /usr/bin/zeitgeist-daemon
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110901)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/zeitgeist-daemon
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, no user)
   LANGUAGE=en_GB:en
   LANG=en_GB.UTF-8
  PythonArgs: ['/usr/bin/zeitgeist-daemon']
  SourcePackage: zeitgeist
  Title: zeitgeist-daemon crashed with RuntimeError in _check_index(): basic_string::assign
  Traceback:
   Traceback (most recent call last):
     File "/usr/share/zeitgeist/_zeitgeist/engine/extensions/fts.py", line 283, in _check_index
       hits = self._enquire.get_mset (0, 1)
   RuntimeError: basic_string::assign
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist-extensions/+bug/839740/+subscriptions


Follow ups

References