stderr.log filled with cannot stat `/tmp/lshttp/core*' error

#1
stderr.log under usr/local/lsws/logs getting filled up with:

warning: core file may not match specified executable file.


warning: core file may not match specified executable file.


warning: core file may not match specified executable file.


warning: core file may not match specified executable file.

Excess command line arguments ignored. (/tmp/lshttpd/core.17893)


warning: core file may not match specified executable file.

/tmp/lshttpd/core*: No such file or directory.

No stack.

mv: cannot stat `/tmp/lshttpd/core*': No such file or directory


warning: core file may not match specified executable file.


warning: core file may not match specified executable file.


warning: core file may not match specified executable file.


warning: core file may not match specified executable file.


warning: core file may not match specified executable file.
 

Pong

Administrator
Staff member
#2
Code:
"core file may not match specified executable file."
normally shows up when you run gdb to debug the core file and there is a mismatch between specified executable file and core file.

Did you run such debug? Any core dump file generated?
 
#3
Some more info:
To solve another issue I upgraded from 1.3.5 to 1.3.10. I'm still getting the core file errors above in stderr.log just like before.
I ran 'ls' inside /tmp/lshttpd to see what was inside
bak_core lshttpd.pid lsphp5.sock lsphp5.sock.108 lsphp5.sock.172 lsphp5.sock.540 lsphp5.sock.730 lsphp5.sock.983 swap

not seeing any core files.

also, since the upgrade. I'm getting emails about once a minute with this message at the top:
web server with pid=10691 received unexpected signal=11, a core file is created. A new instance of web server will be started automatically!

followed by:

Server: LiteSpeed/1.3.10 Open

OS: Linux

Release: 2.6.32-431.23.3.el6.x86_64

Version: #1 SMP Thu Jul 31 17:20:51 UTC 2014

Machine: x86_64


If the call stack information does not show up here, please compress and forward the core file located in /tmp/lshttpd/.


[New Thread 10691]

[Thread debugging using libthread_db enabled]

Core was generated by `openlitesp'.

Program terminated with signal 11, Segmentation fault.

#0 0x00000039b848365b in memchr () from /lib64/libc.so.6

#0 0x00000039b848365b in memchr () from /lib64/libc.so.6

#1 0x00000000004b053c in memchr (this=0xafe4d0, pCur=0x0, pBEnd=<value optimized out>) at /usr/include/string.h:90

#2 HttpReq::parseURL (this=0xafe4d0, pCur=0x0, pBEnd=<value optimized out>) at httpreq.cpp:376

#3 0x00000000004b0737 in HttpReq::processRequestLine (this=0xafe4d0) at httpreq.cpp:321

#4 0x00000000004b08a2 in HttpReq::processHeader (this=0xafe4d0) at httpreq.cpp:209

#5 0x00000000004b4445 in HttpSession::readToHeaderBuf (this=0xafe4b0) at httpsession.cpp:614

#6 0x00000000004b9ee8 in HttpSession::eek:nReadEx (this=0xafe4b0) at httpsession.cpp:1645

#7 0x00000000004aa915 in NtwkIOLink::handleEvents (this=0xb048c0, evt=1) at ntwkiolink.cpp:310


Do I need to recompile PHP since the upgrade?
 
#4
forgot the rest of the trace from the email

#8 0x00000000004fd052 in epoll::waitAndProcessEvents (this=0xb161d0, iTimeoutMilliSec=<value optimized out>) at epoll.cpp:190

#9 0x000000000049f546 in EventDispatcher::run (this=<value optimized out>) at eventdispatcher.cpp:219

#10 0x00000000004872bc in HttpServerImpl::start (this=0xb05820) at httpserver.cpp:406

#11 0x00000000004835b9 in LshttpdMain::main (this=0xb055d0, argc=<value optimized out>, argv=0x7fffb7c8f618) at lshttpdmain.cpp:930

#12 0x0000000000480578 in main (argc=1, argv=0x7fffb7c8f618) at main.cpp:109
 
Top