searchdaimon / enterprise-search

An open source search engine for corporate data and websites.
http://www.searchdaimon.com/
GNU General Public License v2.0
107 stars 43 forks source link

searchdbb segfaults for all queries if started with “make init.d.start” #3

Closed runarbu closed 11 years ago

runarbu commented 11 years ago

Starting searchdbb from the command line with make as “make init.d.start” will trigger a segmentation fault in searchdbb for all queries. However running the exact same command that are benign run from the command line will not cause this.

This fails:

This works:

runarbu commented 11 years ago

Fixed: https://github.com/searchdaimon/enterprise-search/commit/17fd63b5316dacde31c47f45674bd3aec0b5896a

Apparently the search kernel was using too much stack space in the threads responsible for generating page results. The combination of consuming to much stack size and starting the search kernel from a Makefile must have been too much.

Weird that neither Valgrind, GDB nor glibc issued any warnings about that.