Skip to content

Segfault on error s in configuration or runtime errors while parsing the configuration #70

@andreasbaumann

Description

@andreasbaumann

There is no standard configuration config.js when calling make install.
There are no examples in the test.
using config.js.in and adapting the STRUS_MODULE_PATH leads me to:

strusWebService -c config.js
Segmentation fault

(gdb) p m_errhnd
No symbol "m_errhnd" in current context.
(gdb) p m_errorhnd 
$1 = (strus::ErrorBufferInterface *) 0x0
(gdb) bt
#0  strus::webservice::ServiceClosure::init (this=0x7fffffffe7f0, config=..., verbose=<optimized out>)
    at /data/work/strus/strusWebService/src/serviceClosure.cpp:111
#1  0x000055555555d679 in strus::webservice::ServiceClosure::ServiceClosure (verbose=false, config=..., 
    configdir_="", this=0x7fffffffe7f0) at /data/work/strus/strusWebService/src/serviceClosure.hpp:39
#2  main () at /data/work/strus/strusWebService/src/strusWebService.cpp:259
#3  0x00007ffff7591223 in __libc_start_main () from /usr/lib/libc.so.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions