Incomplete response received from application

3,278 views
Skip to first unread message

Liz Huang

unread,
Apr 24, 2015, 2:28:15 PM4/24/15
to phusion-...@googlegroups.com

I have recently migrated rails projects to Yosemite, I used Rails 4.2.1, Passenger 5.0.6, Apache 2.4.10.
I got page with "Incomplete response received from application" randomly, when I refresh, the app
seems to work and get answer what I want.

I searched around, tried "rake secret" and copy the secrect_key to secrets.yml, but doesn't seem to
stop the issue.  Any advice? My configure file is:

<VirtualHost *.*.*.*:80>            # I omit ip address
    ServerName methodologymedia.psu.edu
    ServerAdmin ad...@example.com
    DocumentRoot "/Library/WebServer/Documents"
    DirectoryIndex index.html index.php /wiki/ /xcode/ default.html
    CustomLog /var/log/apache2/access_log combinedvhost
    ErrorLog /var/log/apache2/error_log
    <IfModule mod_ssl.c>
        SSLEngine Off
        SSLCipherSuite "ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM"
        SSLProtocol -ALL +TLSv1
        SSLProxyEngine On
        SSLProxyProtocol -ALL +TLSv1
        SSLProxyCheckPeerCN off
        SSLProxyCheckPeerName off
    </IfModule>
    <Directory "/Library/WebServer/Documents">
        Options All -Indexes -ExecCGI -Includes +MultiViews
        AllowOverride None
        <IfModule mod_dav.c>
            DAV Off
        </IfModule>
        <IfDefine !WEBSERVICE_ON>
            Require all denied
            ErrorDocument 403 /customerror/websitesoff403.html
        </IfDefine>
    </Directory>

    Alias /smart /Library/WebServer/smart/public
    <Location /smart>
        PassengerBaseURI /smart
        PassengerAppRoot /Library/WebServer/smart
    </Location>
    <Directory /Library/WebServer/smart/public>
        Allow from all
        Options -MultiViews
        # Uncomment this if you're on Apache >= 2.4:
        Require all granted
    </Directory>
    RackEnv development
    PassengerRuby /Users/liz/.rbenv/shims/ruby
</VirtualHost>



Daniel Knoppel

unread,
Apr 25, 2015, 10:13:45 AM4/25/15
to phusion-...@googlegroups.com
It's easiest to look in the error logs (or post them) instead of trying to guess what the problem could be.

- Daniel

Liz Huang

unread,
Apr 27, 2015, 1:42:09 PM4/27/15
to phusion-...@googlegroups.com

Thanks! Where I can find the error log?

Liz

Liz Huang

unread,
Apr 27, 2015, 2:04:16 PM4/27/15
to phusion-...@googlegroups.com

I ran in development mode, I don't see any error in develop.log when I get "

Incomplete response received from application" message,

URL for the path is: http://localhost/smart/samplesize/compute
even in function compute, I directed it to "results", I only have
views for index, progress and results. It was not a problem in previous
versions when I set up in Mavericks.

class SamplesizeController < ApplicationController
 require 'fiddle/import'

  module Libm
    extend Fiddle::Importer
    dlload '/Library/WebServer/smart/lib/libsamplesize.dylib'
    extern 'long Calculate(long, double, double, char*)'
  end

  def index
    reset_session
  end

  def progress
    # session[:sigma_sq] = params[:sigma_sq].to_f
    session[:delta] = params[:delta].to_f
    session[:conf] = params[:conf].to_f
    session[:nmax] = params[:nmax].to_i
    redirect_to :action => "compute"
  end

 
  def compute

    if ( session[:delta] < 0.0 ) || ( session[:delta] > 1.0 )
      session[:errmsg] = "The value of delta must be between 0 and 1."
      session[:n] = -1
    elsif ( session[:conf] < 0.0 ) || ( session[:conf] > 1.0 )
      session[:errmsg] = "The value of conf must be between 0 and 1."
      session[:n] = -1
    elsif ( session[:nmax] < 0.0 )
      session[:errmsg] = "The value of nmax must be positive."
      session[:n] = -1
    else

 
        session[:errmsg] = "                                                                                          "
        session[:n] = Libm.Calculate( session[:nmax], session[:delta],
                        session[:conf], session[:errmsg])
    end
    redirect_to :action => "results"
  end

  def results
    # @sigma_sq = session[:sigma_sq]
    @delta = session[:delta]
    @conf = session[:conf]
    @nmax = session[:nmax]
    @n = session[:n]
    @errmsg = session[:errmsg]
  end

  def start_over
    reset_session
    redirect_to :action => "index"
  end

end
development.log

Liz Huang

unread,
Apr 27, 2015, 2:07:29 PM4/27/15
to phusion-...@googlegroups.com

I mean when I saw message "

Incomplete response received from application", URL for page

is http://localhost/smart/samplesize/compute, should go to page
http://localhost/smart/samplesize/results if everything works properly.

Liz

Daniel Knoppel

unread,
Apr 29, 2015, 6:14:02 AM4/29/15
to phusion-...@googlegroups.com
On Monday, April 27, 2015 at 7:42:09 PM UTC+2, Liz Huang wrote:

Thanks! Where I can find the error log?

Liz

It's specified in the configuration you posted:

ErrorLog /var/log/apache2/error_log

- Daniel

Liz Huang

unread,
Apr 29, 2015, 10:15:37 AM4/29/15
to phusion-...@googlegroups.com

Thanks a lot! I emptied the error_log and regenerate the error, not sure what the error
message means? Strange that there is no issue in previous versions and if I refresh the
page, it proceeds and return the correct answer. Let me copy the error_log here:

[ 2015-04-29 10:06:45.5785 69424/0x7fff7bfab300 age/Hel/Main.cpp:891 ]: Starting PassengerAgent server...
[ 2015-04-29 10:06:45.5791 69424/0x7fff7bfab300 age/Hel/Main.cpp:234 ]: PassengerAgent server running in multi-application mode.
[ 2015-04-29 10:06:45.5851 69424/0x7fff7bfab300 age/Hel/Main.cpp:645 ]: PassengerAgent server online, PID 69424
[ 2015-04-29 10:06:45.5924 69426/0x7fff7bfab300 age/Log/Main.cpp:439 ]: Starting PassengerAgent logger...
[ 2015-04-29 10:06:45.5934 69426/0x7fff7bfab300 age/Log/Main.cpp:320 ]: PassengerAgent logger online, PID 69426
[Wed Apr 29 10:06:45.594263 2015] [ssl:warn] [pid 69406] AH01909: 127.0.0.1:443:0 server certificate does NOT include an ID which matches the server name
[Wed Apr 29 10:06:45.596018 2015] [mpm_prefork:notice] [pid 69406] AH00163: Apache/2.4.10 (Unix) Phusion_Passenger/5.0.6 OpenSSL/0.9.8zd configured -- resuming normal operations
[Wed Apr 29 10:06:45.596041 2015] [core:notice] [pid 69406] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND -f /Library/Server/Web/Config/apache2/httpd_server_app.conf -D WEBSERVICE_ON'
App 69433 stdout:
App 69544 stdout:
admin_lxh37$tail error_log
[Wed Apr 29 10:06:45.596018 2015] [mpm_prefork:notice] [pid 69406] AH00163: Apache/2.4.10 (Unix) Phusion_Passenger/5.0.6 OpenSSL/0.9.8zd configured -- resuming normal operations
[Wed Apr 29 10:06:45.596041 2015] [core:notice] [pid 69406] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND -f /Library/Server/Web/Config/apache2/httpd_server_app.conf -D WEBSERVICE_ON'
App 69433 stdout:
App 69544 stdout:
App 69433 stderr: Passenger RubyApp: /Library/WebServer/smart (development)(69544,0x109001000) malloc: *** error for object 0x7fa246afd408: incorrect checksum for freed object - object was probably modified after being freed.
App 69433 stderr: *** set a breakpoint in malloc_error_break to debug
[ 2015-04-29 10:08:47.8821 69424/0x103049000 age/Hel/Req/Utils.cpp:89 ]: [Client 2-3] Sending 502 response: application did not send a complete response
[ 2015-04-29 10:08:48.0074 69424/0x102c35000 App/Poo/AnalyticsCollection.h:93 ]: Process (pid=69544, group=/Library/WebServer/smart (development)#default) no longer exists! Detaching it from the pool.
[ 2015-04-29 10:08:48.0074 69424/0x102c35000 age/Hel/Main.cpp:732 ]: Disconnecting long-running connections for process 69544, application /Library/WebServer/smart (development)#default
App 69603 stdout:

Liz Huang

unread,
Apr 29, 2015, 4:05:53 PM4/29/15
to phusion-...@googlegroups.com

Might be some memory issue in the codes (Fortran codes wrapped by C) inside libsamplesize.dylib?
It would be hard to debug as I compiled the code using command line tool, there is no problem
before, maybe I should try the older version of compiler...

Liz

Daniel Knoppel

unread,
Apr 30, 2015, 11:31:40 AM4/30/15
to phusion-...@googlegroups.com
Not sure, but according to the error log the problem is occurring in the application (not in passenger), so my best guess is that something changed in the app or the ruby version you're running the app with.

- Daniel

Liz Huang

unread,
May 18, 2015, 12:07:59 PM5/18/15
to phusion-...@googlegroups.com

I got some error message, not sure if it is Ruby or Passenger....

It seems that the bug is not with Fortran code, I have turned debug on in Fortran code and it runs fine
(actually I tried to test run for 1000 times).

The new error message:

[ 2015-05-18 11:47:25.6637 4280/0x10ae1f000 Ser/Server.h:455 ]: [LoggerAdminServer] Shutdown finished
[ 2015-05-18 11:47:25.6637 4278/0x103c06000 Ser/Server.h:455 ]: [ServerThr.2] Shutdown finished
[ 2015-05-18 11:47:25.6637 4278/0x103b83000 Ser/Server.h:455 ]: [ServerThr.1] Shutdown finished
[ 2015-05-18 11:47:25.6637 4278/0x103c89000 Ser/Server.h:455 ]: [ServerThr.3] Shutdown finished
[ 2015-05-18 11:47:25.6637 4278/0x103e12000 Ser/Server.h:455 ]: [ServerThr.6] Shutdown finished
[ 2015-05-18 11:47:25.6637 4278/0x103d0c000 Ser/Server.h:455 ]: [ServerThr.4] Shutdown finished
[ 2015-05-18 11:47:25.6637 4278/0x103e95000 Ser/Server.h:455 ]: [ServerThr.7] Shutdown finished
[ 2015-05-18 11:47:25.6637 4278/0x103f18000 Ser/Server.h:455 ]: [ServerThr.8] Shutdown finished
[ 2015-05-18 11:47:25.6638 4280/0x7fff76946300 age/Log/Main.cpp:433 ]: PassengerAgent logger shutdown finished
[ 2015-05-18 11:47:25.6637 4278/0x103d8f000 Ser/Server.h:455 ]: [ServerThr.5] Shutdown finished
[ 2015-05-18 11:47:25.6638 4278/0x103f9b000 Ser/Server.h:455 ]: [AdminServer] Shutdown finished
[ 2015-05-18 11:47:25.6759 4278/0x7fff76946300 age/Hel/Main.cpp:876 ]: PassengerAgent server shutdown finished
AH00557: httpd: apr_sockaddr_info_get() failed for meth-server.local
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[ 2015-05-18 11:47:30.7832 4291/0x7fff76946300 age/Wat/Main.cpp:1264 ]: Starting PassengerAgent watchdog...
[ 2015-05-18 11:47:30.7999 4293/0x7fff76946300 age/Hel/Main.cpp:891 ]: Starting PassengerAgent server...
[ 2015-05-18 11:47:30.8004 4293/0x7fff76946300 age/Hel/Main.cpp:234 ]: PassengerAgent server running in multi-application mode.
[ 2015-05-18 11:47:30.8063 4293/0x7fff76946300 age/Hel/Main.cpp:645 ]: PassengerAgent server online, PID 4293
[ 2015-05-18 11:47:30.8128 4295/0x7fff76946300 age/Log/Main.cpp:439 ]: Starting PassengerAgent logger...
[ 2015-05-18 11:47:30.8138 4295/0x7fff76946300 age/Log/Main.cpp:320 ]: PassengerAgent logger online, PID 4295
[Mon May 18 11:47:30.814715 2015] [ssl:warn] [pid 4271] AH01909: 127.0.0.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 18 11:47:30.816651 2015] [mpm_prefork:notice] [pid 4271] AH00163: Apache/2.4.10 (Unix) Phusion_Passenger/5.0.6 OpenSSL/0.9.8zd configured -- resuming normal operations
[Mon May 18 11:47:30.816695 2015] [core:notice] [pid 4271] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND -f /Library/Server/Web/Config/apache2/httpd_server_app.conf -D WEBSERVICE_ON'
App 4307 stdout:
App 4420 stdout:
App 4307 stderr: /Users/admin_lxh37/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.2.0/lib/active_support/core_ext/string/output_safety.rb:167: [BUG] Segmentation fault at 0x00000000000000
App 4307 stderr:
App 4307 stderr: ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
App 4307 stderr:
App 4307 stderr: -- Crash Report log information --------------------------------------------
App 4307 stderr:    See Crash Report log file under the one of following:
App 4307 stderr:      * ~/Library/Logs/CrashReporter
App 4307 stderr:      * /Library/Logs/CrashReporter
App 4307 stderr:      * ~/Library/Logs/DiagnosticReports
App 4307 stderr:      * /Library/Logs/DiagnosticReports
App 4307 stderr:    for more details.
App 4307 stderr:

CrashReporter:

May 18 10:24:45.538869 meth-server.local discoveryd_helper[189]: Basic RemoteControl com.apple.discoveryd_helper Starting XPC Server
May 18 10:24:45.539906 meth-server.local discoveryd_helper[189]: Detailed RemoteControl com.apple.discoveryd_helper XPC connection 0x7fd189502390: start (pid=79, <unknown> not root)

and  DiagnosticReports below, what might go wrong?

Crashed Thread:        2

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       EXC_I386_GPFLT

Application Specific Information:
crashed on child side of fork pre-exec

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib            0x00007fff92c5a3fa __select + 10
1   ruby                              0x000000010d35b7e3 select_call + 1203
2   ruby                              0x000000010d31b71e rb_ensure + 174
3   ruby                              0x000000010d34e93c rb_f_select + 140
4   ruby                              0x000000010d46c684 vm_call_cfunc + 1764
5   ruby                              0x000000010d46b772 vm_call_method + 882
6   ruby                              0x000000010d44f910 vm_exec_core + 13936
7   ruby                              0x000000010d45f8f1 vm_exec + 129
8   ruby                              0x000000010d4609f8 rb_iseq_eval_main + 504
9   ruby                              0x000000010d31a774 ruby_exec_internal + 148
10  ruby                              0x000000010d31a69e ruby_run_node + 78
11  ruby                              0x000000010d2d039f main + 79
12  libdyld.dylib                     0x00007fff917875c9 start + 1

Thread 1:: ruby-timer-thr
0   libsystem_kernel.dylib            0x00007fff92c5b5c2 poll + 10
1   libsystem_pthread.dylib           0x00007fff88e61268 _pthread_body + 131
2   libsystem_pthread.dylib           0x00007fff88e611e5 _pthread_start + 176
3   libsystem_pthread.dylib           0x00007fff88e5f41d thread_start + 13

Thread 2 Crashed:
0   libsystem_kernel.dylib            0x00007fff92c5a286 __pthread_kill + 10
1   libsystem_c.dylib                 0x00007fff90f7cbf3 __abort + 145
2   libsystem_c.dylib                 0x00007fff90f7cb62 abort + 144
3   ruby                              0x000000010d3117c9 die + 9
4   ruby                              0x000000010d3119fe rb_bug_context + 558
5   ruby                              0x000000010d3e8e63 sigsegv + 83
6   libsystem_platform.dylib          0x00007fff8c93cf1a _sigtramp + 26

Thread 3:
0   libsystem_kernel.dylib            0x00007fff92c5a3fa __select + 10
1   ruby                              0x000000010d478a62 select_single + 34
2   ruby                              0x000000010d31b71e rb_ensure + 174
3   ruby                              0x000000010d4777ed rb_thread_wait_fd + 461
4   socket.bundle                     0x000000010d6a791c rsock_s_accept + 60
5   socket.bundle                     0x000000010d6b57f7 tcp_accept + 87
6   ruby                              0x000000010d46c684 vm_call_cfunc + 1764
7   ruby                              0x000000010d46b772 vm_call_method + 882
8   ruby                              0x000000010d44f910 vm_exec_core + 13936
9   ruby                              0x000000010d45f8f1 vm_exec + 129
10  ruby                              0x000000010d464ac8 invoke_block_from_c + 2408
11  ruby                              0x000000010d45eac3 vm_invoke_proc + 195
12  ruby                              0x000000010d45e9f0 rb_vm_invoke_proc + 32
13  ruby                              0x000000010d47d07b thread_start_func_2 + 507
14  ruby                              0x000000010d47ce65 thread_start_func_1 + 149
15  libsystem_pthread.dylib           0x00007fff88e61268 _pthread_body + 131
16  libsystem_pthread.dylib           0x00007fff88e611e5 _pthread_start + 176
17  libsystem_pthread.dylib           0x00007fff88e5f41d thread_start + 13

Thread 2 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007f97dccf45c8  rdx: 0x0000000000000000
  rdi: 0x0000000000000903  rsi: 0x0000000000000006  rbp: 0x00007f97dccf45f0  rsp: 0x00007f97dccf45c8
   r8: 0x0000000000000000   r9: 0x0000000000989680  r10: 0x0000000008000000  r11: 0x0000000000000206
  r12: 0x00007f97dccf4750  r13: 0x000000000000008f  r14: 0x000000010f001000  r15: 0x000000010d49144e
  rip: 0x00007fff92c5a286  rfl: 0x0000000000000206  cr2: 0x000000010d54f97f
 
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133


Binary Images:
       0x10d2cf000 -        0x10d4fbff7 +ruby (0) <1E194904-57FC-32D0-BB36-B1749C42BCF3> /Users/USER/*/ruby
       0x10d68b000 -        0x10d68cff7 +encdb.bundle (0) <9F33C779-40FE-3738-8E56-48E5BF456382> /Users/USER/*/encdb.bundle
       0x10d68f000 -        0x10d690ff7 +transdb.bundle (0) <AE792D2F-FDB8-3851-9F0C-3143355243B0> /Users/USER/*/transdb.bundle
       0x10d693000 -        0x10d695fff +thread.bundle (0) <C83ED18E-0B2C-3D17-8FBE-8977B20470A2> /Users/USER/*/thread.bundle
       0x10d699000 -        0x10d69cfff +etc.bundle (0) <A97A4478-4DF7-3D14-A872-2D1EA3A282E5> /Users/USER/*/etc.bundle
       0x10d6a0000 -        0x10d6a2ff7 +passenger_native_support.bundle (0) <D7F083EF-8E36-38FF-AB22-07257FC2AE44> /usr/local/Cellar/passenger/5.0.6/libexec/buildout/ruby/ruby-2.2.1-x86_64-macosx/passenger_native_support.bundle
       0x10d6a6000 -        0x10d6c4fff +socket.bundle (0) <1300DCF5-6DA0-3992-B461-7279F5F1A49B> /Users/USER/*/socket.bundle
       0x10d6cd000 -        0x10d6cdff7 +fcntl.bundle (0) <D84B2823-45B7-3D1E-B2E0-86718D573064> /Users/USER/*/fcntl.bundle
       0x10d6d0000 -        0x10d6d4ff7 +stringio.bundle (0) <52BA9FBA-FE01-34B9-AFA3-0A4B54E8D1FB> /Users/USER/*/stringio.bundle
       0x10d6d9000 -        0x10d6defff +pathname.bundle (0) <B3FEB608-5F1D-3BB5-A1CB-09B102A1BECC> /Users/USER/*/pathname.bundle
       0x10d6e3000 -        0x10d6e4fff +console.bundle (0) <22494817-49A3-3855-A700-7BFB486BDD83> /Users/USER/*/console.bundle
       0x10d6e8000 -        0x10d6e8fff +sha1.bundle (0) <C978F0D3-ED58-350B-81EC-14B874ECC4C2> /Users/USER/*/sha1.bundle
       0x10d6eb000 -        0x10d85b49f +libcrypto.1.0.0.dylib (0) <4EA19050-1F9F-3797-A385-B52C85A5AEA5> /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
       0x10d8d2000 -        0x10d90ffff +libssl.1.0.0.dylib (0) <744C7DDF-7960-3BEF-B4FB-510B1E293D33> /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
       0x10d92b000 -        0x10d92cff7 +digest.bundle (0) <2E214495-242A-32A3-9A16-E0A0BFE8B003> /Users/USER/*/digest.bundle
       0x10d930000 -        0x10d93afff +zlib.bundle (0) <E9C397ED-D078-305E-9A7D-B0B0579F1511> /Users/USER/*/zlib.bundle
       0x10d940000 -        0x10d941ff7 +windows_31j.bundle (0) <80C9FF0C-B881-331B-8FDC-C043C8B49BF9> /Users/USER/*/windows_31j.bundle
       0x10d944000 -        0x10d987fff +date_core.bundle (0) <FB91730F-CBAA-3EC9-AD03-CD0FEA8D2DB4> /Users/USER/*/date_core.bundle
       0x10d998000 -        0x10d9c9fff +openssl.bundle (0) <29F17E87-D4C7-319A-ADCA-EFCB0AD5EAFE> /Users/USER/*/openssl.bundle
       0x10d9e8000 -        0x10d9ebfff +strscan.bundle (0) <BA23996F-4E00-30C2-825B-BB46B0551719> /Users/USER/*/strscan.bundle
       0x10d9ef000 -        0x10da01ff7 +bigdecimal.bundle (0) <6E3B6BE8-2C42-3A19-92B3-A367DB68096C> /Users/USER/*/bigdecimal.bundle
       0x10da06000 -        0x10da0aff7 +parser.bundle (0) <33BEB275-2630-3F66-8AD7-CE52963334DA> /Users/USER/*/parser.bundle
       0x10da0e000 -        0x10da0efff +utf_16be.bundle (0) <452D46C6-08FC-3A6A-BF6C-391152E81988> /Users/USER/*/utf_16be.bundle
       0x10da11000 -        0x10da11fff +utf_16le.bundle (0) <8E4E593B-A2CA-3C59-8210-9479B9095BF7> /Users/USER/*/utf_16le.bundle
       0x10da14000 -        0x10da14ff7 +utf_32be.bundle (0) <40B2A88D-F7F5-3B64-8093-A9442A8CC4CF> /Users/USER/*/utf_32be.bundle
       0x10da17000 -        0x10da17ff7 +utf_32le.bundle (0) <4196B9A3-1564-3506-BBD5-68902634C6BF> /Users/USER/*/utf_32le.bundle
       0x10da1a000 -        0x10da20ff7 +generator.bundle (0) <7393D150-FAB3-34BA-8D32-A7820402D936> /Users/USER/*/generator.bundle
       0x10da25000 -        0x10da25fff +md5.bundle (0) <A3CDC233-D38C-3952-8B54-CBAF0FC477BC> /Users/USER/*/md5.bundle
       0x10da28000 -        0x10da28fff +sha2.bundle (0) <98CAD983-6043-37EB-9B7D-4A393B25C330> /Users/USER/*/sha2.bundle
       0x10da2b000 -        0x10dc34fff +nokogiri.bundle (0) <56244AB0-25FE-3595-8DE1-9DEAB857874A> /Users/USER/*/nokogiri.bundle
       0x10dc76000 -        0x10dc78ff7 +cparse.bundle (0) <FF1C9A62-774C-3FEF-9A69-99271C237CA4> /Users/USER/*/cparse.bundle
       0x10dc7b000 -        0x10dc7fff7 +sqlite3_native.bundle (0) <C631B9C7-ADD9-3D76-A203-55728611C1ED> /Users/USER/*/sqlite3_native.bundle
       0x10dc84000 -        0x10dc88fff +byebug.bundle (0) <CA671D05-FC24-35E0-A025-72BE0DAA9CAC> /Users/USER/*/byebug.bundle
       0x10dc8d000 -        0x10dc90fff +readline.bundle (0) <11B956A5-2E46-305A-BB1A-EBECBDC17ADF> /Users/USER/*/readline.bundle
       0x10dc95000 -        0x10dcb3fff  libedit.3.dylib (40) <6049084C-478A-3A89-A9A1-E641B5F8C1A7> /usr/lib/libedit.3.dylib
       0x10dcc4000 -        0x10dce3ff7 +psych.bundle (0) <B474E994-C9F0-36C8-930F-A68DAB5E3FED> /Users/USER/*/psych.bundle
       0x10dce9000 -        0x10dce9ff7 +debug_inspector.bundle (0) <56E960D5-3FD9-3161-B8BC-23A0D894815F> /Users/USER/*/debug_inspector.bundle
       0x10dd97000 -        0x10dd9bfff +fiddle.bundle (0) <2F769C71-0F76-31C8-B5CA-78340C87B6C4> /Users/USER/*/fiddle.bundle
       0x10f206000 -        0x10f3c3fef +libsamplesize.dylib (0) <321E3338-355F-3A32-B55B-CCB625B2DC8C> /Library/WebServer/*/libsamplesize.dylib
    0x7fff66ea7000 -     0x7fff66edd837  dyld (353.2.1) <65DCCB06-339C-3E25-9702-600A28291D0E> /usr/lib/dyld
    0x7fff86511000 -     0x7fff86541fff  libsystem_m.dylib (3086.1) <1E12AB45-6D96-36D0-A226-F24D9FB0D9D6> /usr/lib/system/libsystem_m.dylib
    0x7fff86fbd000 -     0x7fff86fbeff3  libSystem.B.dylib (1213) <CCEC13A5-D0D9-31C5-B0B0-1C564B4A20A6> /usr/lib/libSystem.B.dylib
    0x7fff88e5e000 -     0x7fff88e67fff  libsystem_pthread.dylib (105.10.1) <3103AA7F-3BAE-3673-9649-47FFD7E15C97> /usr/lib/system/libsystem_pthread.dylib
    0x7fff88e68000 -     0x7fff88e6aff7  libsystem_coreservices.dylib (9) <41B7C578-5A53-31C8-A96F-C73E030B0938> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff89209000 -     0x7fff892fbff7  libiconv.2.dylib (42) <2A06D02F-8B76-3864-8D96-64EF5B40BC6C> /usr/lib/libiconv.2.dylib
    0x7fff899b0000 -     0x7fff899e8fff  libsystem_network.dylib (412.20.3) <589A5F67-BE2A-3245-A181-0ECC9B53EB00> /usr/lib/system/libsystem_network.dylib
    0x7fff8a3e0000 -     0x7fff8a778ff7  com.apple.CoreFoundation (6.9 - 1153.18) <5C0892B8-9691-341F-9279-CA3A74D59AA0> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff8afc0000 -     0x7fff8afdcff7  libsystem_malloc.dylib (53.1.1) <19BCC257-5717-3502-A71F-95D65AFA861B> /usr/lib/system/libsystem_malloc.dylib
    0x7fff8b0d9000 -     0x7fff8b0dbfff  libquarantine.dylib (76.20.1) <7AF90041-2768-378A-925A-D83161863642> /usr/lib/system/libquarantine.dylib
    0x7fff8b0fd000 -     0x7fff8b105fff  libsystem_dnssd.dylib (561.1.1) <62B70ECA-E40D-3C63-896E-7F00EC386DDB> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff8b6c0000 -     0x7fff8b6c1ffb  libremovefile.dylib (35) <3485B5F4-6CE8-3C62-8DFD-8736ED6E8531> /usr/lib/system/libremovefile.dylib
    0x7fff8b877000 -     0x7fff8b89ffff  libxpc.dylib (559.20.9) <D35D0DB2-D7BD-3BE4-8378-062BFE545E1D> /usr/lib/system/libxpc.dylib
    0x7fff8bc18000 -     0x7fff8bc5eff7  libauto.dylib (186) <A260789B-D4D8-316A-9490-254767B8A5F1> /usr/lib/libauto.dylib
    0x7fff8bc66000 -     0x7fff8bc67fff  libDiagnosticMessagesClient.dylib (100) <2EE8E436-5CDC-34C5-9959-5BA218D507FB> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff8c85d000 -     0x7fff8c873ff7  libsystem_asl.dylib (267) <F153AC5B-0542-356E-88C8-20A62CA704E2> /usr/lib/system/libsystem_asl.dylib
    0x7fff8c938000 -     0x7fff8c940fff  libsystem_platform.dylib (63) <64E34079-D712-3D66-9CE2-418624A5C040> /usr/lib/system/libsystem_platform.dylib
    0x7fff8d882000 -     0x7fff8d8aafff  libsystem_info.dylib (459.20.1) <AEB3FE62-4763-3050-8352-D6F9AF961AE6> /usr/lib/system/libsystem_info.dylib
    0x7fff8dc1a000 -     0x7fff8dc1aff7  liblaunch.dylib (559.20.9) <FA89A113-696E-3271-8FE1-A0D7324E8481> /usr/lib/system/liblaunch.dylib
    0x7fff8dc1b000 -     0x7fff8de00ff7  libicucore.A.dylib (531.48) <3CD34752-B1F9-31D2-865D-B5B0F0BE3111> /usr/lib/libicucore.A.dylib
    0x7fff8dece000 -     0x7fff8ded3ff7  libmacho.dylib (862) <126CA2ED-DE91-308F-8881-B9DAEC3C63B6> /usr/lib/system/libmacho.dylib
    0x7fff8f397000 -     0x7fff8f3b1ff7  liblzma.5.dylib (7) <1D03E875-A7C0-3028-814C-3C27F7B7C079> /usr/lib/liblzma.5.dylib
    0x7fff8f3b2000 -     0x7fff8f3b9ff7  libcompiler_rt.dylib (35) <BF8FC133-EE10-3DA6-9B90-92039E28678F> /usr/lib/system/libcompiler_rt.dylib
    0x7fff8f3f7000 -     0x7fff8f3fcfff  libsystem_stats.dylib (163.20.16) <FBC3F80F-A0FB-3BD6-9A7E-800DE45F092E> /usr/lib/system/libsystem_stats.dylib
    0x7fff8f643000 -     0x7fff8f66dff7  libdispatch.dylib (442.1.4) <502CF32B-669B-3709-8862-08188225E4F0> /usr/lib/system/libdispatch.dylib
    0x7fff8fa73000 -     0x7fff8fa77fff  libcache.dylib (69) <45E9A2E7-99C4-36B2-BEE3-0C4E11614AD1> /usr/lib/system/libcache.dylib
    0x7fff902c3000 -     0x7fff902c3ff7  libkeymgr.dylib (28) <77845842-DE70-3CC5-BD01-C3D14227CED5> /usr/lib/system/libkeymgr.dylib
    0x7fff902fe000 -     0x7fff90304fff  libsystem_trace.dylib (72.20.1) <840F5301-B55A-3078-90B9-FEFFD6CD741A> /usr/lib/system/libsystem_trace.dylib
    0x7fff90988000 -     0x7fff90991ff7  libsystem_notify.dylib (133.1.1) <61147800-F320-3DAA-850C-BADF33855F29> /usr/lib/system/libsystem_notify.dylib
    0x7fff90b93000 -     0x7fff90ba4ff7  libz.1.dylib (55) <88C7C7DE-04B8-316F-8B74-ACD9F3DE1AA1> /usr/lib/libz.1.dylib
    0x7fff90f1f000 -     0x7fff90fabff7  libsystem_c.dylib (1044.10.1) <86FBED7A-F2C8-3591-AD6F-486DD57E6B6A> /usr/lib/system/libsystem_c.dylib
    0x7fff90fde000 -     0x7fff90fe4ff7  libsystem_networkextension.dylib (167.1.10) <29AB225B-D7FB-30ED-9600-65D44B9A9442> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff91544000 -     0x7fff91574ff7  libncurses.5.4.dylib (44) <F09809A4-53B9-3E91-A8FA-D3F584C03AA3> /usr/lib/libncurses.5.4.dylib
    0x7fff91784000 -     0x7fff91787ff7  libdyld.dylib (353.2.1) <9EACCA38-291D-38CC-811F-7E9D1451E2D3> /usr/lib/system/libdyld.dylib
    0x7fff919f8000 -     0x7fff919f9ff7  libsystem_blocks.dylib (65) <9615D10A-FCA7-3BE4-AA1A-1B195DACE1A1> /usr/lib/system/libsystem_blocks.dylib
    0x7fff919fa000 -     0x7fff919fbfff  libsystem_secinit.dylib (18) <581DAD0F-6B63-3A48-B63B-917AF799ABAA> /usr/lib/system/libsystem_secinit.dylib
    0x7fff92602000 -     0x7fff927fc46f  libobjc.A.dylib (647) <759E155D-BC42-3D4E-869B-6F57D477177C> /usr/lib/libobjc.A.dylib
    0x7fff92be3000 -     0x7fff92c37fff  libc++.1.dylib (120) <1B9530FD-989B-3174-BB1C-BDC159501710> /usr/lib/libc++.1.dylib
    0x7fff92c38000 -     0x7fff92c43fff  libcommonCrypto.dylib (60061) <D381EBC6-69D8-31D3-8084-5A80A32CB748> /usr/lib/system/libcommonCrypto.dylib
    0x7fff92c44000 -     0x7fff92c61fff  libsystem_kernel.dylib (2782.20.48) <EAFD7BD0-0C30-3E7D-9528-F9916BA0167C> /usr/lib/system/libsystem_kernel.dylib
    0x7fff92ca8000 -     0x7fff92cd3fff  libc++abi.dylib (125) <88A22A0F-87C6-3002-BFBA-AC0F2808B8B9> /usr/lib/libc++abi.dylib
    0x7fff941ad000 -     0x7fff941b5ffb  libcopyfile.dylib (118.1.2) <0C68D3A6-ACDD-3EF3-991A-CC82C32AB836> /usr/lib/system/libcopyfile.dylib
    0x7fff94f2a000 -     0x7fff94f2cfff  libsystem_configuration.dylib (699.1.5) <20F3B077-179D-3CB0-A3C1-C8602D53B4DB> /usr/lib/system/libsystem_configuration.dylib
    0x7fff9524e000 -     0x7fff95253ff7  libunwind.dylib (35.3) <BE7E51A0-B6EA-3A54-9CCA-9D88F683A6D6> /usr/lib/system/libunwind.dylib
    0x7fff9593b000 -     0x7fff959b1fe7  libcorecrypto.dylib (233.1.2) <E1789801-3985-3949-B736-6B3378873301> /usr/lib/system/libcorecrypto.dylib
    0x7fff959d0000 -     0x7fff959d1fff  libffi.dylib (18.1) <0F6C6A4D-1210-3585-8DA1-B8A94B9924A5> /usr/lib/libffi.dylib
    0x7fff959d2000 -     0x7fff95b14fff  libsqlite3.dylib (168) <7B580EB9-9260-35FE-AE2F-276A2C242BAB> /usr/lib/libsqlite3.dylib
    0x7fff95b15000 -     0x7fff95b17fff  libsystem_sandbox.dylib (358.20.5) <4CF77128-6BE0-3958-B646-707FA9CE61B2> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff95b83000 -     0x7fff95b83ff7  libunc.dylib (29) <5676F7EA-C1DF-329F-B006-D2C3022B7D70> /usr/lib/system/libunc.dylib
    0x7fff95c01000 -     0x7fff95c12fff  libsystem_coretls.dylib (35.20.2) <6084A531-2523-39F8-B030-811FA1A32FB5> /usr/lib/system/libsystem_coretls.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 36
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 645574
    thread_create: 0
    thread_set_state: 12

VM Region Summary:
ReadOnly portion of Libraries: Total=95.2M resident=131.1M(138%) swapped_out_or_unallocated=16777216.0T(18483131711488%)
Writable regions: Total=191.2M written=84.3M(44%) resident=100.3M(52%) swapped_out=0K(0%) unallocated=90.9M(48%)
 
REGION TYPE                      VIRTUAL
===========                      =======
Dispatch continuations             16.0M
Kernel Alloc Once                     4K
MALLOC                            164.2M
MALLOC (admin)                       16K
STACK GUARD                        56.0M
Stack                              10.0M
VM_ALLOCATE                          12K
__DATA                             1956K
__LINKEDIT                         72.4M
__TEXT                             22.8M
__UNICODE                           552K
shared memory                         4K
===========                      =======
TOTAL                             344.0M

Daniel Knoppel

unread,
May 19, 2015, 4:38:02 AM5/19/15
to phusion-...@googlegroups.com
On Monday, May 18, 2015 at 6:07:59 PM UTC+2, Liz Huang wrote:

I got some error message, not sure if it is Ruby or Passenger....

The path in the error message says there's a crash in the ActiveSupport 4.2.0 gem (not Passenger):
App 4307 stderr: /Users/admin_lxh37/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.2.0/lib/active_support/core_ext/string/output_safety.rb:167: [BUG] Segmentation fault at 0x00000000000000 

- Daniel

Hongli Lai

unread,
May 19, 2015, 3:41:09 PM5/19/15
to phusion-passenger
I believe it's a Ruby interpreter bug. ActiveSupport is a pure-Ruby
gem, so it shouldn't be able to crash the Ruby interpreter. Try
upgrading Ruby.
> --
> You received this message because you are subscribed to the Google Groups
> "Phusion Passenger Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to phusion-passen...@googlegroups.com.
> To post to this group, send email to phusion-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/phusion-passenger.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/phusion-passenger/e4b7a336-8d21-4bea-95cc-984a8bacec84%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
Phusion | Web Application deployment, scaling, and monitoring solutions

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)
Reply all
Reply to author
Forward
0 new messages