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
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