Summary: | www/rubygem-passenger: Process aborted! signo=SIGABRT(6) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | iron.udjin | ||||||
Component: | Individual Port(s) | Assignee: | Sergey A. Osokin <osa> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | david, jonaspalm, kastner, romain, vvd | ||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(osa) |
||||||
Version: | Latest | ||||||||
Hardware: | amd64 | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
iron.udjin
2018-06-28 15:34:58 UTC
Same here with FreeBSD 11.2 amd64 (clang 6.0.0), passenger 5.3.2 and 5.3.3, apache 2.4: (gdb) bt #0 0x0000000802c3547a in thr_kill () from /lib/libc.so.7 #1 0x0000000802c35444 in raise () from /lib/libc.so.7 #2 0x0000000802c353b9 in abort () from /lib/libc.so.7 #3 0x0000000000420b32 in boost::throw_exception<boost::bad_function_call> (e=@0x7fffffff8b50) at throw_exception.hpp:69 #4 0x0000000000430764 in boost::function1<Passenger::Json::Value, Passenger::Json::Value const&>::operator() ( this=0x805a2b778, a0=@0x805abfdd0) at function_template.hpp:757 #5 0x000000000042e813 in Passenger::ConfigKit::Store::applyInspectFilters (this=0x805a67568, doc=@0x7fffffffaf80) at Store.h:219 #6 0x000000000041d0da in Passenger::ConfigKit::Store::inspect (this=0x805a67568) at Store.h:542 #7 0x0000000000413639 in Passenger::LoggingKit::Context::inspectConfig (this=0x805a67500) at src/cxx_supportlib/LoggingKit/Implementation.cpp:592 #8 0x0000000000502c7a in Passenger::Agent::Fundamentals::initializeLoggingKit (processName=0x9d4080 "Passenger watchdog", config=@0x805a64db0, loggingKitTranslator=@0x805a26120, loggingKitPreInitFunc=@0x7fffffffc538) at Initialization.cpp:492 #9 0x000000000050186d in Passenger::Agent::Fundamentals::initializeAgent (argc=3, argv=0x7fffffffc570, processName=0x9d4080 "Passenger watchdog", config=@0x805a64db0, loggingKitTranslator=@0x805a26120, optionParser=0x531970 <parseOptions(int, char const**, Passenger::ConfigKit::Store&)>, loggingKitPreInitFunc=@0x7fffffffc538, argStartIndex=2) at Initialization.cpp:610 #10 0x0000000000521d10 in initializeBareEssentials (argc=3, argv=0x7fffffffec48, wo=@0x7fffffffeb20) at src/agent/Watchdog/WatchdogMain.cpp:804 #11 0x00000000005209e8 in watchdogMain (argc=3, argv=0x7fffffffec48) at src/agent/Watchdog/WatchdogMain.cpp:1296 #12 0x0000000000500a88 in dispatchSubcommand (argc=3, argv=0x7fffffffec48) at src/agent/AgentMain.cpp:82 #13 0x0000000000500966 in main (argc=3, argv=0x7fffffffec48) at src/agent/AgentMain.cpp:105 But it work fine after compile passenger with gcc: CC=gcc6 CXX=g++6 CPP=cpp6 passenger-install-apache2-module And it work fine with FreeBSD 11.1 (clang 4.0.0). I think it's clang 6.0.0 issue. It's boost's issue. Bug report at passenger's tracker: https://github.com/phusion/passenger/issues/2097777 Bug report at boost's tracker: https://svn.boost.org/trac10/ticket/13632 Correct link is: https://github.com/phusion/passenger/issues/2097 Fixed in upstream: https://github.com/phusion/passenger/issues/2097#issuecomment-405160085 Waiting 5.3.4 release or add patch. I have patched this with an extracted patch from passenger's github page and its working, providing patch until upstream can do another release Created attachment 195411 [details] set of patch files for passenger just untar this to /usr/ports/www/rubygem-passenger. Source for this patch: https://github.com/phusion/passenger/commit/98064360967103030114417de2ea414ceed6bbca passenger 5.3.4 was released 2 days ago: https://github.com/phusion/passenger/blob/stable-5.3/CHANGELOG Tested on 11.2 amd64 - all work fine. Created attachment 195766 [details]
Patch to update to 5.3.4
Replace previous attachment of ad hoc patches with a single patch to update the port itself to the latest version.
Seems to perform well for my use case :-)
A commit references this bug: Author: osa Date: Sun Aug 5 16:45:53 UTC 2018 New revision: 476419 URL: https://svnweb.freebsd.org/changeset/ports/476419 Log: Upgrade passenger and its third-party modules for www/nginx and www/nginx-devel from 5.3.3 to 5.3.4. PR: 229392 <ChangeLog> * Fixes a crash during startup on FreeBSD 11.2 and recent OpenBSD versions due to C++11 compatibility issues in the code. Closes GH-2097. * Updates Boost to version 1.67.0. * [Apache] Fixes the handling of HTTP requests with chunked bodies in combination with `PassengerBufferUploads off`. Closes GH-2102. </ChangeLog> Changes: head/www/nginx/Makefile head/www/nginx/Makefile.extmod head/www/nginx/distinfo head/www/nginx/files/extra-patch-passenger-build-nginx.rb head/www/nginx-devel/Makefile head/www/nginx-devel/Makefile.extmod head/www/nginx-devel/distinfo head/www/nginx-devel/files/extra-patch-passenger-build-nginx.rb head/www/rubygem-passenger/Makefile head/www/rubygem-passenger/distinfo Hi there, the passenger and its third-party modules have been upgraded to 5.3.4. Thanks for the report! |