bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #39440] Apache2 adaptor always causes core dumps on OS X


From: Graham Lee
Subject: [bug #39440] Apache2 adaptor always causes core dumps on OS X
Date: Mon, 08 Jul 2013 15:17:12 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?39440>

                 Summary: Apache2 adaptor always causes core dumps on OS X
                 Project: GNUstep
            Submitted by: leeg
            Submitted on: Mon 08 Jul 2013 03:17:11 PM GMT
                Category: gsweb
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

$ httpd -v
Server version: Apache/2.2.22 (Unix)
Server built:   Dec  9 2012 18:57:18

$ svn info .
Path: .
Working Copy Root Path: /Users/iamleeg/Documents/GNUstep/gsweb
URL: http://svn.gna.org/svn/gnustep/libs/gsweb/trunk/GSWAdaptors/Apache2
Repository Root: http://svn.gna.org/svn/gnustep
Repository UUID: 72102866-910b-0410-8b05-ffd578937521
Revision: 36851
Node Kind: directory
Schedule: normal
Last Changed Author: dwetzel
Last Changed Rev: 36725
Last Changed Date: 2013-06-13 03:37:54 +0100 (Thu, 13 Jun 2013)

$ grep gsw /etc/apache2/httpd.conf
LoadModule gsw_module libexec/apache2/mod_gsw.so
Include /private/etc/apache2/extra/httpd-gsw.conf
$ cat /etc/apache2/extra/httpd-gsw.conf 
<IfModule mod_gsweb.c>
   ShowApps on
   App Name=SignUp Instance=1 Host=127.0.0.1:9001
</IfModule>

<Location /GSWeb*>
        SetHandler gsweb
</Location>

$ $ telnet localhost 80
Trying ::1...
Connected to localhost.
Escape character is '^]'.
GET /wo/ HTTP/1.0

Connection closed by foreign host.

$ gdb `which httpd` /cores/core.28311 
GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb  6 22:51:23 UTC
2013)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared
libraries ......... done

/cores/core.28311: Permission denied
(gdb) quit
$ gdb `which httpd` /cores/core.28311 
[…]
#0  0x00007fff8f3a56b0 in strlen ()
(gdb) bt
#0  0x00007fff8f3a56b0 in strlen ()
#1  0x000000010cfef08f in lockname ()
#2  0x000000010cc7ec2d in ap_run_fixups ()
#3  0x000000010cc7fb04 in ap_process_request_internal ()
#4  0x000000010cc89ee2 in ap_process_request ()
#5  0x000000010cc86043 in ap_process_http_connection ()
#6  0x000000010cc690ad in ap_run_process_connection ()
#7  0x000000010cc6965b in ap_process_connection ()
#8  0x000000010cc93eec in child_main ()
#9  0x000000010cc9299e in make_child ()
#10 0x000000010cc92cfd in perform_idle_server_maintenance ()
#11 0x000000010cc91e14 in ap_mpm_run ()
#12 0x000000010cc5cb12 in main ()

No request outside the /wo/ hierarchy dumps core, all requests within it do. I
haven't attached the core file as it's >100 MB. I don't really know how to
diagnose this, suggestions welcome :)




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39440>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]