zeitgeist-daemon crashed with RuntimeError in _check_index(): basic_string::assign
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Zeitgeist Extensions |
High
|
Mikkel Kamstrup Erlandsen | ||
| zeitgeist-extensions (Ubuntu) |
High
|
Mikkel Kamstrup Erlandsen | ||
| Oneiric |
High
|
Mikkel Kamstrup Erlandsen |
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
ProcVersionSign
Uname: Linux 3.0.0-9-generic i686
Architecture: i386
Date: Fri Sep 2 18:02:19 2011
ExecutablePath: /usr/bin/
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110901)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, no user)
LANGUAGE=en_GB:en
LANG=en_GB.UTF-8
PythonArgs: ['/usr/
SourcePackage: zeitgeist
Title: zeitgeist-daemon crashed with RuntimeError in _check_index(): basic_string:
Traceback:
Traceback (most recent call last):
File "/usr/share/
hits = self._enquire.
RuntimeError: basic_string:
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
Related branches
- Mikkel Kamstrup Erlandsen: Approve on 2011-09-30
-
Diff: 85 lines (+17/-22)1 file modifiedfts/fts.py (+17/-22)
tags: | removed: need-duplicate-check |
Changed in zeitgeist (Ubuntu): | |
status: | New → Confirmed |
affects: | zeitgeist (Ubuntu) → zeitgeist-extensions (Ubuntu) |
tags: | added: bugpattern-needed |
Changed in zeitgeist-extensions (Ubuntu): | |
assignee: | nobody → Canonical Desktop Team (canonical-desktop-team) |
importance: | Undecided → High |
status: | Confirmed → Triaged |
tags: |
added: bugpattern-written removed: bugpattern-needed |
Changed in zeitgeist-extensions (Ubuntu Oneiric): | |
assignee: | Canonical Desktop Team (canonical-desktop-team) → Mikkel Kamstrup Erlandsen (kamstrup) |
Changed in zeitgeist-extensions: | |
assignee: | nobody → Mikkel Kamstrup Erlandsen (kamstrup) |
importance: | Undecided → High |
status: | New → Triaged |
Despite a persevering effort by your humble correspondent I've not been able to reproduce this. I just fixed a handful other bugs in zeitgeist-
So I am putting my money on that this bug is fixed - if you still get this after upgrading to zeitgeist-
Changed in zeitgeist-extensions: | |
milestone: | none → fts-0.0.12 |
status: | Triaged → Fix Released |
Launchpad Janitor (janitor) wrote : | #4 |
This bug was fixed in the package zeitgeist-
---------------
zeitgeist-
* New upstream release:
- fts can SIGSEGV ZG during reindex (LP: #617309)
- zeitgeist-daemon crashed with RuntimeError in _check_index():
basic_
- Blowing Xapian max term length corrupts index (LP: #843668)
- Can't recover from FTS index corruption (LP: #705944)
-- Didier Roche <email address hidden> Thu, 08 Sep 2011 11:25:16 +0200
Changed in zeitgeist-extensions (Ubuntu Oneiric): | |
status: | Triaged → Fix Released |
Jason Warner (jasoncwarner) wrote : | #5 |
I just updated, rebooted and am still getting this (sorry!).
I attached my latest crash log so you can take a look.
joey.blacksmith (joey-blacksmith) wrote : | #6 |
Hello,
I also still get this bug after rebooting. My problem is that I do not know where to find the crash log so unfortunately, I cannot not attach it.
joey.blacksmith (joey-blacksmith) wrote : | #7 |
Hello again, there is my log from crash. This should replace my last comment.
Carl Ansell (afccarl1994) wrote : | #8 |
I haven't experienced this since the update. Is there any reliable way to reproduce this?
Ben Slone (benslone) wrote : Re: [Bug 839740] Re: zeitgeist-daemon crashed with RuntimeError in _check_index(): basic_string::assign | #9 |
I just updated about 30min ago. All I have to do is boot, log in, do
nothing else and it will crash in about 1-2 minutes.
On Fri, 09 Sep 2011 12:15:29 -0400, Carl Ansell
<email address hidden> wrote:
> I haven't experienced this since the update. Is there any reliable way
> to reproduce this?
>
--
Using Opera's revolutionary email client: http://
sebastian-s (sebastian-s) wrote : | #10 |
me to, still happening after logging in
Carl Ansell (afccarl1994) wrote : | #11 |
I'm still unable to reproduce, but then it seemed to occur randomly for me so I could have been lucky so far.
Setting status to confirmed as per the comments above.
Changed in zeitgeist-extensions (Ubuntu Oneiric): | |
status: | Fix Released → Confirmed |
Changed in zeitgeist-extensions: | |
status: | Fix Released → Confirmed |
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_
self.QUERY_
Since this gives an error in basic_string:
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_
'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.
Jigar Shah (jigar-shah1984) wrote : | #13 |
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
<email address hidden> 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_
>
> self.QUERY_
>
> Since this gives an error in basic_string:
> 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_
> '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.
>
haug (josefa4) wrote : | #14 |
... the same by me...
Am Samstag, den 10.09.2011, 15:00 +0000 schrieb Jigar Shah:
> 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
> <email address hidden> 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_
> >
> > self.QUERY_
> >
> > Since this gives an error in basic_string:
> > 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_
> > '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.
> >
>
Jason Warner (jasoncwarner) wrote : | #15 |
still getting this...attached log.
tags: | added: rls-mgr-o-tracking |
Ben Slone (benslone) wrote : | #18 |
I just updated today and I get it.
On Tue, 27 Sep 2011 03:04:17 +0800, Carl Ansell
<email address hidden> wrote:
> Its been a while since any updates and there are no new duplicate bugs,
> are people still experiencing this?
>
--
Using Opera's revolutionary email client: http://
Carl Ansell (afccarl1994) wrote : | #16 |
Its been a while since any updates and there are no new duplicate bugs, are people still experiencing this?
Jigar Shah (jigar-shah1984) wrote : | #17 |
Yes, everytime I restart the PC, or log-out and log back into the system....
On Mon 26 Sep 2011 02:04:17 PM CDT, Carl Ansell
<email address hidden> wrote:
> Its been a while since any updates and there are no new duplicate bugs,
> are people still experiencing this?
>
sebastian-s (sebastian-s) wrote : | #19 |
yes, just restarted after 170 updated packages and the bug is still there (0.0.12-0ubuntu1)
Where is the log so I can attach it?
Manish Sinha (मनीष सिन्हा) (manishsinha) wrote : Re: [Zeitgeist] [Bug 839740] Re: zeitgeist-daemon crashed with RuntimeError in _check_index(): basic_string::assign | #20 |
Mikkel, yes correct me if I am wrong.
AFAIK for many zeitgeist bugs the crash was happening during logout which
was getting reported next time the user logged in.
After the user updated zeitgeist to 0.8.2 and fts to 0.0.12 then is the
daemon restarting after update?
If the daemon is not restarting then I can put forward a guess - the user
updates to the latest version but is still running the previous version of
zeitgeist daemon and fts. The now he logs out or shuts down. Crash. Next
time he logs in the bug is reported and it looks that the update didn't fix
it.
People who are still experiencing this after update: please restart again
and check if the crash is still reproducible?
On Sep 27, 2011 4:47 PM, "sebastian-s" <email address hidden> wrote:
> yes, just restarted after 170 updated packages and the bug is still there
(0.0.12-0ubuntu1)
> Where is the log so I can attach it?
>
> --
> You received this bug notification because you are a member of Zeitgeist
> Extensions, which is the registrant for Zeitgeist Extensions.
> https:/
>
> Title:
> zeitgeist-daemon crashed with RuntimeError in _check_index():
> basic_string:
>
> Status in Zeitgeist Extensions:
> Confirmed
> Status in “zeitgeist-
> Confirmed
> Status in “zeitgeist-
> 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
> ProcVersionSign
> Uname: Linux 3.0.0-9-generic i686
> Architecture: i386
> Date: Fri Sep 2 18:02:19 2011
> ExecutablePath: /usr/bin/
> InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110901)
> InterpreterPath: /usr/bin/python2.7
> PackageArchitec
> ProcCmdline: /usr/bin/python /usr/bin/
> ProcEnviron:
> SHELL=/bin/bash
> PATH=(custom, no user)
> LANGUAGE=en_GB:en
> LANG=en_GB.UTF-8
> PythonArgs: ['/usr/
> SourcePackage: zeitgeist
> Title: zeitgeist-daemon crashed with RuntimeError in _check_index():
basic_string:
> Traceback:
> Traceback (most recent call last):
> File "/usr/share/
in _check_index
> hits = self._enquire.
> RuntimeError: basic_string:
> 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:/
>
> _______
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/
The attached branch, lp:~mhr3/zeitgeist-extensions/scheme-detection Remove , by Michal stands a good chance of fixing this issue:
* It fixes a potential race, where we might end up trying to put data in a corrupt index
* It removes the code branch where exception happens with some simpler logic
* It forces a rebuild of existing indexes, meaning that anyone out there stuck with a buggy index will have it cleaned up
Ok. The Desktop team is pushing this to a PPA https:/
Mark Russell (marrusl) wrote : | #23 |
Works for me! Thanks.
Changed in zeitgeist-extensions: | |
milestone: | fts-0.0.12 → fts-0.0.13 |
status: | Confirmed → Fix Released |
Launchpad Janitor (janitor) wrote : | #24 |
This bug was fixed in the package zeitgeist-
---------------
zeitgeist-
* New upstream release
- zeitgeist-daemon crashed with RuntimeError in _check_index():
basic_
- FTS doesn't index paths correctly (LP: #860362)
- Add version metadata to FTS index (LP: #862333)
-- Didier Roche <email address hidden> Mon, 03 Oct 2011 10:00:21 +0200
Changed in zeitgeist-extensions (Ubuntu Oneiric): | |
status: | Confirmed → Fix Released |
Note: The stack trace on this bug is for With zeitgeist- extension- fts v 0.0.10 while for 0.0.11,which is currently in Oneiric, we should look at something like bug 839849.