Closed andreasbaumann closed 6 years ago
2017-10-21 12:03:14; strusWebService, debug: query_request(wwwandreasbaumanncc): {"query":{"exclude":[],"features":[{"name":"feat","value":{"term":{"type":"word","value":"the"}},"weight":1},{"name":"sel","value":{"expression":{"cardinality":0,"operator":"union","range":0,"terms":[{"term":{"type":"word","value":"the"}}]}},"weight":1}],"first_rank":0,"metadata":[],"nof_ranks":100,"restrict":[],"select":["sel"],"summarizer":[{"attribute":"docid","name":"attribute","params":[{"key":"name","value":"docid"}],"resultnames":[]},{"attribute":"title_attribute","name":"attribute","params":[{"key":"name","value":"title"}],"resultnames":[{"key":"resultname","value":"title_attribute"}]},{"attribute":"title","name":"test","params":[{"key":"type","value":"title"},{"key":"match","value":"feat"},{"key":"N","value":50},{"key":"add_dots","value":0},{"key":"start_first_match","value":0},{"key":"mark","value":"#SMARK#%1%#EMARK#"}],"resultnames":[{"key":"resultname","value":"title"}]},{"attribute":"abstract","name":"test","params":[{"key":"type","value":"text"},{"key":"match","value":"feat"},{"key":"N","value":50},{"key":"add_dots","value":1},{"key":"start_first_match","value":1},{"key":"mark","value":"#SMARK#%1%#EMARK#"}],"resultnames":[{"key":"resultname","value":"text"}]}],"weighting":[{"name":"bm25","params":[{"key":"match","value":"feat"}]}]}} (query.cpp:98)
2017-10-21 12:03:14; strusWebService, debug: Simple storage config string: path=/srv/strusWebService/storage/wwwandreasbaumanncc (strusWebService.cpp:424)
*** stack smashing detected ***: <unknown> terminated
Aborted (core dumped)
We need some static analysis here, the gdb dump is not telling much:
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) info thread
Id Target Id Frame
* 1 Thread 0x729c5430 (LWP 29041) 0x766d9448 in raise () from /usr/lib/libc.so.6
2 Thread 0x74229010 (LWP 29037) 0x76781f18 in epoll_pwait () from /usr/lib/libc.so.6
3 Thread 0x741c5430 (LWP 29038) 0x76801e98 in pthread_cond_wait@@GLIBC_2.4 ()
from /usr/lib/libpthread.so.0
4 Thread 0x739c5430 (LWP 29039) 0x76801e98 in pthread_cond_wait@@GLIBC_2.4 ()
from /usr/lib/libpthread.so.0
5 Thread 0x731c5430 (LWP 29040) 0x76801e98 in pthread_cond_wait@@GLIBC_2.4 ()
from /usr/lib/libpthread.so.0
(gdb) bt
#0 0x766d9448 in raise () from /usr/lib/libc.so.6
#1 0x766daac4 in abort () from /usr/lib/libc.so.6
#2 0x00000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Not reproducible anymore.
on ARMv6: