Hi guys,
Upgraded my OLS to the 1.4.22 version that was added to github, and just noticed this error in my logs:
[NOTICE] [AutoRestarter] child process with pid=24152 received signal=6, a core file is created!
Core dump:
(gdb) bt
#0 0x00007a06a4a03067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007a06a4a04448 in __GI_abort () at abort.c:89
#2 0x00007a06a49fc266 in __assert_fail_base (fmt=0x7a06a4b35238 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x6d64ee "m_fd != -1", file=file@entry=0x6d64aa "staticfilecachedata.cpp", line=line@entry=251,
function=function@entry=0x6d65c0 <FileCacheDataEx::getCacheData(long, long&, char*, long)::__PRETTY_FUNCTION__> "const char* FileCacheDataEx::getCacheData(off_t, off_t&, char*, long int)") at assert.c:92
#3 0x00007a06a49fc312 in __GI___assert_fail (assertion=0x6d64ee "m_fd != -1", file=0x6d64aa "staticfilecachedata.cpp", line=251,
function=0x6d65c0 <FileCacheDataEx::getCacheData(long, long&, char*, long)::__PRETTY_FUNCTION__> "const char* FileCacheDataEx::getCacheData(off_t, off_t&, char*, long int)") at assert.c:101
#4 0x00000000004c297a in FileCacheDataEx::getCacheData (this=0x48b8ff0, offset=0, wanted=wanted@entry=@0x7c74ac8ed178: 3420,
pBuf=0xa03500 <HttpResourceManager::g_aBuf> "/home/www/REDACTED/public/data/taigachat/messagesmini.html", len=len@entry=3420)
at staticfilecachedata.cpp:251
#5 0x00000000004e994f in HttpSession::sendStaticFileEx (this=this@entry=0x4844e90, pData=pData@entry=0x4845398) at httpsession.cpp:3701
#6 0x00000000004e9d1a in HttpSession::sendStaticFile (this=0x4844e90, pData=0x4845398) at httpsession.cpp:3736
#7 0x00000000004ea0e9 in HttpSession::flushBody (this=this@entry=0x4844e90) at httpsession.cpp:3072
#8 0x00000000004eaaf8 in HttpSession::flush (this=0x4844e90) at httpsession.cpp:3154
#9 0x00000000004cca93 in StaticFileHandler::process (this=0x5e58, pSession=0x4844e90, pHandler=0x6) at staticfilehandler.cpp:598
#10 0x00000000004e62c9 in HttpSession::handlerProcess (this=this@entry=0x4844e90, pHandler=<optimized out>) at httpsession.cpp:1658
#11 0x00000000004ec2f9 in HttpSession::smProcessReq (this=this@entry=0x4844e90) at httpsession.cpp:4155
#12 0x00000000004ed5d3 in HttpSession::onReadEx (this=0x4844e90) at httpsession.cpp:1970
#13 0x00000000004d7855 in NtwkIOLink::handleEvents (this=0x4849d10, evt=<optimized out>) at ntwkiolink.cpp:390
#14 0x0000000000537da8 in processAllEvents (this=0x4768be0) at ../../src/edio/pollfdreactor.h:150
#15 Poller::waitAndProcessEvents (this=0x4768bd0, iTimeoutMilliSec=<optimized out>) at poller.cpp:77
---Type <return> to continue, or q <return> to quit---
#16 0x00000000004cb701 in EventDispatcher::run (this=this@entry=0x4732ad8) at eventdispatcher.cpp:235
#17 0x00000000004ad370 in HttpServerImpl::start (this=0x4732ab0) at httpserver.cpp:472
#18 0x00000000004b6279 in HttpServer::start (this=<optimized out>) at httpserver.cpp:3693
#19 0x000000000048b860 in LshttpdMain::main (this=this@entry=0x4732860, argc=argc@entry=1, argv=argv@entry=0x7c74ac8ed598) at lshttpdmain.cpp:936
#20 0x000000000048b7b2 in main (argc=1, argv=0x7c74ac8ed598) at main.cpp:109
Also had bunch of errors about real time reports, but I solved that by doing chown nobody:nogroup /dev/shm/ols
Casey