Program terminated with signal 11, Segmentation fault!

#1
web server with pid=18432 received unexpected signal=11, a core file has been created.

Environment: CHROOT
Server: LiteSpeed/5.0 Enterprise
OS: Linux
Release: 3.10.0-229.1.2.el7.x86_64
Version: #1 SMP Fri Mar 27 03:04:26 UTC 2015
Machine: x86_64

Code:
$ gdb /home/chroot/lsws/bin/litespeed /home/chroot/var/log/cores/core.litespeed.36504.main.company.lan.1429698565
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-64.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/chroot/lsws/bin/lshttpd.5.0...done.

warning: core file may not match specified executable file.
[New LWP 36504]
[New LWP 36506]
[New LWP 36505]

warning: .dynamic section for "/lib64/libfreebl3.so" is not at the expected address (wrong library or version mismatch?)

warning: Could not load shared library symbols for  for thread-local storage.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `litespeed'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000052d4f6 in SSLConnection::getVersion (this=0x0) at /home/gwang/release/litespeed/src/sslpp/sslconnection.cpp:357
357    /home/gwang/release/litespeed/src/sslpp/sslconnection.cpp: No such file or directory.
Missing separate debuginfos, use: debuginfo-install glibc-2.17-78.el7.x86_64 nss-softokn-freebl-3.16.2.3-9.el7.x86_64
(gdb) bt
#0  0x000000000052d4f6 in SSLConnection::getVersion (this=0x0) at /home/gwang/release/litespeed/src/sslpp/sslconnection.cpp:357
#1  0x000000000045cccc in HttpCgiTool::buildCommonEnv (pEnv=0x7fff29ab4350, pSession=0x19082d0) at /home/gwang/release/litespeed/src/http/httpcgitool.cpp:702
#2  0x000000000050dacf in LsapiReq::appendEnv (this=0x190cac8, pEnv=0x7fff29ab4350, pSession=0x19082d0) at /home/gwang/release/litespeed/src/extensions/lsapi/lsapireq.cpp:102
#3  0x000000000050e515 in LsapiReq::buildReq (this=0x190cac8, pSession=0x19082d0, totalLen=0x190caa8, suEXEC_Sec=0x0, uid=0, gid=0, phprc=...) at /home/gwang/release/litespeed/src/extensions/lsapi/lsapireq.cpp:273
#4  0x000000000050f50a in LsapiConn::sendReqHeader (this=0x190c930) at /home/gwang/release/litespeed/src/extensions/lsapi/lsapiconn.cpp:174
#5  0x000000000047a62d in HttpExtConnector::sendReqHeader (this=0x18fbe80) at /home/gwang/release/litespeed/src/http/httpextconnector.cpp:689
#6  0x000000000047976d in HttpExtConnector::extOutputReady (this=0x18fbe80) at /home/gwang/release/litespeed/src/http/httpextconnector.cpp:432
#7  0x000000000050f315 in LsapiConn::doWrite (this=0x190c930) at /home/gwang/release/litespeed/src/extensions/lsapi/lsapiconn.cpp:144
#8  0x0000000000520530 in ExtConn::assignReq (this=0x190c930, pReq=0x18fbe90) at /home/gwang/release/litespeed/src/extensions/extconn.cpp:134
#9  0x000000000051df52 in ExtWorker::processRequest (this=0x18f6840, pReq=0x18fbe90, retry=0) at /home/gwang/release/litespeed/src/extensions/extworker.cpp:263
#10 0x0000000000479fd5 in HttpExtConnector::process (this=0x18fbe80, pSession=0x19082d0, pHandler=0x18f6840) at /home/gwang/release/litespeed/src/http/httpextconnector.cpp:577
#11 0x000000000046372f in HttpSession::handlerProcess (this=0x19082d0, pHandler=0x18f6840) at /home/gwang/release/litespeed/src/http/httpsession.cpp:2191
#12 0x00000000004628ee in HttpSession::processURI (this=0x19082d0, resume=0) at /home/gwang/release/litespeed/src/http/httpsession.cpp:1914
#13 0x0000000000461654 in HttpSession::redirect (this=0x19082d0, pNewURL=0x18ce924 "/error.html", len=11, alloc=1) at /home/gwang/release/litespeed/src/http/httpsession.cpp:1504
#14 0x00000000004654c1 in HttpSession::sendHttpError (this=0x19082d0, pAdditional=0x0) at /home/gwang/release/litespeed/src/http/httpsession.cpp:2885
#15 0x000000000046f029 in HttpSession::httpError (this=0x19082d0, code=25, pAdditional=0x0) at /home/gwang/release/litespeed/src/http/httpsession.h:437
#16 0x0000000000465b20 in HttpSession::onReadEx (this=0x19082d0) at /home/gwang/release/litespeed/src/http/httpsession.cpp:3040
#17 0x00000000004ab9af in NtwkIOLink::doReadT (this=0x183c600) at /home/gwang/release/litespeed/src/http/ntwkiolink.cpp:126
#18 0x00000000004a980c in NtwkIOLink::onReadT (pThis=0x183c600) at /home/gwang/release/litespeed/src/http/ntwkiolink.cpp:1039
#19 0x00000000004a7c42 in NtwkIOLink::handleEvents (this=0x183c600, evt=1) at /home/gwang/release/litespeed/src/http/ntwkiolink.cpp:309
#20 0x000000000052bcfc in epoll::waitAndProcessEvents (this=0x1857b70, iTimeoutMilliSec=100) at /home/gwang/release/litespeed/src/edio/epoll.cpp:271
#21 0x00000000004570ce in EventDispatcher::run (this=0x183d068) at /home/gwang/release/litespeed/src/http/eventdispatcher.cpp:229
#22 0x00000000004112e7 in HttpServerImpl::start (this=0x183d040) at /home/gwang/release/litespeed/src/main/httpserver.cpp:513
#23 0x00000000004149ec in HttpServer::start (this=0xb88490 <TSingleton<HttpServer>::getInstance()::s_instance>) at /home/gwang/release/litespeed/src/main/httpserver.cpp:2074
#24 0x000000000040a9d7 in LshttpdMain::main (this=0x183cc70, argc=1, argv=0x7fff29ab4ac8) at /home/gwang/release/litespeed/src/main/lshttpdmain.cpp:1828
#25 0x0000000000406816 in main (argc=1, argv=0x7fff29ab4ac8) at /home/gwang/release/litespeed/src/main.cpp:140

and one more thing what about the compilation php
Code:
rm: cannot remove `./suhosin-0.9.37.1': Is a directory
make: *** [clean] Error 123
 
Last edited:

wanah

Well-Known Member
#3
We reverted to LS 4 because we got quite a few coredumps with LS 5 build 1. Have forwarded email to your supbug e-mail.
 
Top