Coredump Error - ols crash in version 1.8.2

#1
i have an update for ols v.1.8.2 , but seem have an random error with coredump generated in random time.
server using almalinux 8 with directadmin

here a coredump debug log :

[root@hercules ~]# coredumpctl debug
PID: 496694 (litespeed)
UID: 991 (apache)
GID: 987 (apache)
Signal: 11 (SEGV)
Timestamp: Sun 2024-11-03 09:56:11 WIB (45min ago)
Command Line: openlitespeed (lshttpd - #02)
Executable: /usr/local/lsws/bin/openlitespeed
Control Group: /system.slice/litespeed.service
Unit: litespeed.service
Slice: system.slice
Boot ID: 8bede16e2b2d492bae0eb907d61ab358
Machine ID: 94ec86214b6d4f709d03069668011c21
Hostname: hercules.com
Storage: /var/lib/systemd/coredump/core.litespeed.991.8bede16e2b2d492bae0eb907d61ab358.496694.1730602571000000.lz4
Message: Process 496694 (litespeed) of user 991 dumped core.

Stack trace of thread 496694:
#0 0x00000000004ed25d _ZN10RefCounter6incRefEv (openlitespeed)
#1 0x00000000004e1fa7 _ZN17StaticFileHandler7processEP11HttpSessionPK11HttpHandler (openlitespeed)
#2 0x000000000050f171 _ZN11HttpSession14handlerProcessEPK11HttpHandler (openlitespeed)
#3 0x000000000051337d _ZN11HttpSession12smProcessReqEv (openlitespeed)
#4 0x0000000000514850 _ZN11HttpSession8onReadExEv (openlitespeed)
#5 0x00000000004f367b _ZN10NtwkIOLink6doReadEv (openlitespeed)
#6 0x00000000004f0fb8 _ZN10NtwkIOLink12handleEventsEs (openlitespeed)
#7 0x000000000064add9 _ZN5epoll20waitAndProcessEventsEi (openlitespeed)
#8 0x00000000004e07ea _ZN15EventDispatcher3runEv (openlitespeed)
#9 0x00000000004bdf4e _ZN14HttpServerImpl5startEv (openlitespeed)
#10 0x0000000000492ddb _ZN11LshttpdMain4mainEiPPc (openlitespeed)
#11 0x0000000000492cc2 main (openlitespeed)
#12 0x00007eff8cc9e7e5 __libc_start_main (libc.so.6)
#13 0x00000000004937c1 _start (openlitespeed)

GNU gdb (GDB) Red Hat Enterprise Linux 8.2-20.el8
Copyright (C) 2018 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/lsws/bin/openlitespeed...done.

warning: Can't open file (null) during file-backed mapping note processing

warning: Can't open file (null) during file-backed mapping note processing

warning: Can't open file (null) during file-backed mapping note processing

warning: Can't open file (null) during file-backed mapping note processing

warning: Can't open file (null) during file-backed mapping note processing

warning: Can't open file (null) during file-backed mapping note processing

warning: Can't open file (null) during file-backed mapping note processing

warning: Can't open file (null) during file-backed mapping note processing

warning: Can't open file (null) during file-backed mapping note processing

warning: core file may not match specified executable file.
[New LWP 496694]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `openlitespee'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00000000004ed25d in RefCounter::incRef (this=<optimized out>)
at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/http/httpvhost.cpp:3928
3928 /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/http/httpvhost.cpp: No such file or directory.
Missing separate debuginfos, use: yum debuginfo-install glibc-2.28-251.el8_10.5.x86_64 libblkid-2.32.1-46.el8.x86_64 libcap-2.48-6.el8_9.x86_64 libmount-2.32.1-46.el8.x86_64 libselinux-2.9-8.el8.x86_64 libuuid-2.32.1-46.el8.x86_64 libxcrypt-4.1.1-6.el8.x86_64 pcre2-10.32-3.el8_6.x86_64 sssd-client-2.9.4-4.el8_10.x86_64 systemd-libs-239-82.el8_10.2.x86_64
(gdb) q

[root@hercules ~]# id 991
uid=991(apache) gid=987(apache) groups=987(apache),1001(access)
[root@hercules ~]#

thank you
 
#2
(gdb) bt full

#0 0x00000000004ed25d in RefCounter::incRef (this=<optimized out>)
at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/http/httpvhost.cpp:3928
No locals.
#1 HttpVHost::addUrlStaticFileMatch (this=0x0, pData=0x0, url=0x6aa10c0 "", urlLen=0)
at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/http/httpvhost.cpp:3930
data = <optimized out>
it = <optimized out>
#2 0x00000000004e1fa7 in StaticFileHandler::process (this=<optimized out>, pSession=0x5610fc0,
pHandler=<optimized out>)
at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/http/sendfileinfo.h:62
host = <optimized out>
ret = 0
pReq = 0x5611010
pResp = 0x5611458
st = @0x56112d0: {st_dev = 64769, st_ino = 54800737, st_nlink = 1, st_mode = 33188, st_uid = 1249,
st_gid = 1250, __pad0 = 0, st_rdev = 0, st_size = 21440, st_blksize = 4096, st_blocks = 48,
st_atim = {tv_sec = 1730635307, tv_nsec = 350856260}, st_mtim = {tv_sec = 1730635295,
tv_nsec = 625644602}, st_ctim = {tv_sec = 1730635295, tv_nsec = 625644602}, __unused = {0, 0,
0}}
code = 4
isSSI = <optimized out>
pInfo = 0x5611690
pPath = <optimized out>
pCache = 0x6fd3710
bitReq = <optimized out>
mode = <optimized out>
pECache = <optimized out>
#3 0x000000000050f171 in HttpSession::handlerProcess (pHandler=0xe04350 <s_staticFileHandler+16>,
this=0x5610fc0) at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/http/httpreq.h:546
type = <optimized out>
dyn = 0
pTC = 0x2632209c
ret = <optimized out>
__FUNCTION__ = "handlerProcess"
type = <optimized out>
dyn = <optimized out>
pTC = <optimized out>
ret = <optimized out>
pContext = <optimized out>
pTU = <optimized out>
#4 HttpSession::handlerProcess (this=0x5610fc0, pHandler=0xe04350 <s_staticFileHandler+16>)
at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/http/httpsession.cpp:2513
type = <optimized out>
dyn = <optimized out>
pTC = <optimized out>
ret = <optimized out>
__FUNCTION__ = "handlerProcess"
pContext = <optimized out>
pTU = <optimized out>
#5 0x000000000051337d in HttpSession::smProcessReq (this=this@entry=0x5610fc0)
at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/http/httpreq.h:546
ret = 0
loop = 0
stateLoop = 0
lastState = HSPS_START
__FUNCTION__ = "smProcessReq"
#6 0x0000000000514850 in HttpSession::eek:nReadEx (this=0x5610fc0)
at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/http/httpsession.cpp:2923
ret = <optimized out>
#7 0x00000000004f367b in NtwkIOLink::doRead (this=0x395ef20)
at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/http/hiostream.h:155
No locals.
--Type <RET> for more, q to quit, c to continue without paging--

#8 NtwkIOLink::eek:nReadSSL_T (pThis=0x395ef20)
at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/http/ntwkiolink.cpp:1834
ret = 0
ret = <optimized out>
#9 NtwkIOLink::eek:nReadSSL_T (pThis=0x395ef20)
at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/http/ntwkiolink.cpp:1822
ret = <optimized out>
#10 0x00000000004f0fb8 in NtwkIOLink::handleEvents (this=0x395ef20, evt=<optimized out>)
at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/http/ntwkiolink.cpp:443
event = 1
#11 0x000000000064add9 in epoll::waitAndProcessEvents (this=0x7523520, iTimeoutMilliSec=<optimized out>)
at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/edio/epoll.cpp:236
fd = <optimized out>
pReactor = <optimized out>
ret = 1
problem_detected = <optimized out>
p = <optimized out>
#12 0x00000000004e07ea in EventDispatcher::run (this=this@entry=0x228d458)
at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/edio/multiplexerfactory.h:52
ret = <optimized out>
sigEvent = <optimized out>
pQuicEngine = 0x91a8920
nextQuicEventMilliSec = <optimized out>
to = 100
#13 0x00000000004bdf4e in HttpServerImpl::start (this=0x228d430)
at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/main/httpserver.cpp:564
No locals.
#14 0x0000000000492ddb in LshttpdMain::main (this=this@entry=0x228d1c0, argc=argc@entry=1,
argv=argv@entry=0x7fff8e53f6d8)
at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/main/lshttpdmain.cpp:1134
ret = 0
#15 0x0000000000492cc2 in main (argc=1, argv=0x7fff8e53f6d8)
at /home/build/release/openlitespeed/1.8.2/openlitespeed-1.8.2/src/main.cpp:66
ret = <optimized out>
(gdb)
 
Top