kendling / pinot-search

Automatically exported from code.google.com/p/pinot-search
GNU General Public License v2.0
2 stars 0 forks source link

pinot-dbus-daemon segfaulting after short time of indexing #15

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am using pinot 1.0 on an ArchLinux 64bit box. 

When pinot-dbus-daemon is started, it begins to index files (I guess from the 
CPU usage) and after like 20 seconds, it segfaults. For an strace of this case 
see pinot-dbus-daemon.strace.

I thought it might be a problem with my pinot config, so I deleted ~/.pinot and 
configured pinot (using pinot-prefs) to scan my home folder (/home/martin). 
Restarting pinot-dbus-daemon, it segfaulted again after some seconds (see 
pinot-dbus-daemon.new.strace).

After a downgrade to pinot 0.98, the dbus-daemon seems to not crash anymore 
(even with the old config in place).

The attached file pinot-deps-versions contains all dependencies of pinot with 
their installed version. 

Original issue reported on code.google.com by martin.schumann on 11 Sep 2012 at 2:54

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the bug report.
Would you be able to compile in debug mode (./configure --enable-debug=yes 
...), reinstall and attach gdb to the daemon until it crashes ? We could then 
get a backtrace with gdb's "thread apply all bt" command.

Original comment by fabrice....@gmail.com on 12 Sep 2012 at 5:48

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Here you go. Hope this helps you track down the issue.

Original comment by martin.schumann on 12 Sep 2012 at 7:03

Attachments:

GoogleCodeExporter commented 8 years ago
I've just noticed that v1.01 is already released and tried it. But the result 
stayed the same. I've also done a backtrace (which looks quite similar I guess).

Original comment by martin.schumann on 12 Sep 2012 at 7:29

Attachments:

GoogleCodeExporter commented 8 years ago
What version of boost do you have ?
Could you try rebuilding with "./configure ... --enable-mempool=no" ?

Original comment by fabrice....@gmail.com on 12 Sep 2012 at 7:41

GoogleCodeExporter commented 8 years ago
I've got boost 1.50.0.

The mempool option seems to have done the trick. At least pinot-dbus-daemon 
does not crash after creating the 3rd thread anymore. I'll have pinot index my 
files and report if it segfaulted again.

Original comment by martin.schumann on 12 Sep 2012 at 8:02

GoogleCodeExporter commented 8 years ago
Looks good so far. No crash in the last 30 minutes indexing. Should I suggest 
the ArchLinux pacakage maintainer adding --enable-mempool=no ?

Original comment by martin.schumann on 12 Sep 2012 at 8:53

GoogleCodeExporter commented 8 years ago
Yes, good idea. With boost >= 1.48, that's what I would recommend.

Original comment by fabrice....@gmail.com on 12 Sep 2012 at 8:55

GoogleCodeExporter commented 8 years ago
Done reporting. https://bugs.archlinux.org/task/31510

Original comment by martin.schumann on 12 Sep 2012 at 9:06

GoogleCodeExporter commented 8 years ago
Thanks for that.

Original comment by fabrice....@gmail.com on 12 Sep 2012 at 12:39