-
Notifications
You must be signed in to change notification settings - Fork 549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mod_passenger (passengerAgent) segment fault when start apache #2318
Comments
I'm having the same issue, also on CentOS8. |
Here is the backtrace:
|
Reproduced locally. Pretty sure this is due to |
I've pushed some commits that fix the issue for me locally in my centos8 vm, can someone build from source and let me know if it is fixed for them too? commit 8886155 (or later, if I push more before then) |
Thank you for your assistance. Report my test result: upgrade step
|
Can you also include a full Passenger log with log level set to 7? I added some extra logging to the problem function. |
systemctl stop httpd apache error log file as attachment. |
Thank you so much @flight1976 and everyone else! I pushed a commit 2bfa330 that fixes this crash, turns out I was overlooking an indexed access at the end of the function that was invalid when the list of threads was empty, so now that's bounds checked as well. If you find more crashes in the centos 8 build, please let me know. The assertions redhat added in centos 8 are a good tool for finding issues like this. |
Apply 2bfa330 and rebuild from source confirm fix the issue for me, thanks for your help. :) |
Helped me on CentOS 8. Crashed hard with vendor-provided 6.0.4 or with your 6.0.7-packages. Worked with self-built pre-6.0.8 including this patch here. Looking forward to a 6.0.8-release. |
Greetings I am running into this issue on CentOS 8 and would like to try building from source with the fix. Following the instructions from above, I get as far as the build command but run into the following issue:
There is no output beyond this and nothing is produced in the 'output' directory. Would it be possible to advise on how to build from source on CentOS 8? Thank you greatly |
@movitto the fix is included in the latest release of Passenger, you should be able to update to it. If you need to build from source, you may have better luck using the |
Thank you for the response @CamJN. After several hours trying last night I bit the bullet and used the upstream source tarball to build and deploy the latest release. For others that are interested while this issue may be fixed in the upstream release, CentOS 8 does not yet ship this (in the EPEL repo) and thus as of today the issue is manifested with the downstream build. |
Question 1: What is the problem?
mod_passenger (passengerAgent) segment fault when start/restart apache
What is the expected behavior?
When start/restart apache, dmesg don't generate passengerAgent segment fault error message
What is the actual behavior?
When start/restart apache(or daily logrotate) , dmesg generate passengerAgent segment fault error message
How can we reproduce it?
install CentOS 8.2 + EPEL repo
sudo curl --fail -sSLo /etc/yum.repos.d/passenger.repo https://oss-binaries.phusionpassenger.com/yum/definitions/el-passenger.repo
sudo yum install -y mod_passenger
sudo systemctl restart httpd
after restart httpd, dmesg will generate error message
/var/log/httpd/error_log:
/var/tmp/systemd-private-70d5649d08274f83a989c3b1ed92ea56-httpd.service-eyGbwn/tmp/passenger-crash-log.1604374578.QsDeC4/main.log
Question 2: Passenger version and integration mode:
Your answer:
mod_passenger-6.0.6-1.el8.x86_64 from https://oss-binaries.phusionpassenger.com/yum/passenger/el/8/x86_64
Question 3: OS or Linux distro, platform (including version):
Your answer:
CentOS 8.2, x86_64
Question 4: Passenger installation method:
Your answer:
[ ] RubyGems + Gemfile
[ ] RubyGems, no Gemfile
[ ] Phusion APT repo
[*] Phusion YUM repo
[ ] OS X Homebrew
[ ] source tarball
[ ] Other, please specify:
Question 5: Your app's programming language (including any version managers) and framework (including versions):
Your answer:
ruby-2.5.5-105.module_el8.1.0+214+9be47fd7.x86_64 (from CentOS 8.2) with redmine 4.1.1
Question 6: Are you using a PaaS and/or containerization? If so which one?
Your answer:
stand alone KVM Virtual Machine
Question 7: Anything else about your setup that we should know?
Your answer:
We strive for quality and appreciate you taking the time to submit a report! Please note that if you want guaranteed response times and priority issue support we encourage you to join our enterprise customer base. They also provide us with the means to continue our high level of open source support!
The text was updated successfully, but these errors were encountered: