Version française
Home     About     Download     Resources     Contact us    
Browse thread
FW: [Caml-list] mod_caml makes Apache segfault
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: HENRIKSON, JEFFREY <JEFHEN@S...>
Subject: FW: [Caml-list] mod_caml makes Apache segfault
Hello,

I am also trying to install mod_caml.  (and wiki next . . .)  Starting
with the 2.0.52 debian apache2.  I know about this patch:

http://issues.apache.org/bugzilla/showattachment.cgi?attach_id=10734

But my debian package is applying a similar (same?) patch during
installation.  

When loaded, I get a segfault on any page load, static or dynamic.  The
backtrace is below.  Ideas?  Things which I have noticed:

- The debian pcre rename patch left a few symbols pcre_ without
ap_pcre_.

- Googling mod_caml_get_dir_config gives a chat room discussion of
somebody having the same issue with apache 1.3.

Thanks,


Jeff Henrikson



jefhen@hoxpcxjefhe1:/usr/src/apache2-2.0.52$ sudo gdb /usr/sbin/apache2
GNU gdb 6.1-debian 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 "i386-linux"...(no debugging symbols
found)...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) set args -X -k start
(gdb) run
Starting program: /usr/sbin/apache2 -X -k start
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...[Thread debugging using libthread_db enabled] [New Thread 16384
(LWP 1873)] (no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...[New Thread 32769 (LWP 1876)] [New Thread 16386 (LWP 1877)]
[New Thread 32771 (LWP 1878)] [New Thread 49156 (LWP 1879)] [New Thread
65541 (LWP 1880)] [New Thread 81926 (LWP 1881)] [New Thread 98311 (LWP
1882)] [New Thread 114696 (LWP 1883)] [New Thread 131081 (LWP 1884)]
[New Thread 147466 (LWP 1885)] [New Thread 163851 (LWP 1886)] [New
Thread 180236 (LWP 1887)] [New Thread 196621 (LWP 1888)] [New Thread
213006 (LWP 1889)] [New Thread 229391 (LWP 1890)] [New Thread 245776
(LWP 1891)] [New Thread 262161 (LWP 1892)] [New Thread 278546 (LWP
1893)] [New Thread 294931 (LWP 1894)] [New Thread 311316 (LWP 1895)]
[New Thread 327701 (LWP 1896)] [New Thread 344086 (LWP 1897)] [New
Thread 360471 (LWP 1898)] [New Thread 376856 (LWP 1899)] [New Thread
393241 (LWP 1900)] [New Thread 409626 (LWP 1901)] [New Thread 426011
(LWP 1902)] [New Thread 442396 (LWP 1903)] [Thread 16386 (LWP 1877)
exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 32771 (LWP 1878)]
0x405df589 in mod_caml_get_dir_config ()
   from /usr/lib/apache2/modules/mod_caml.so
(gdb) backtrace

#0  0x405df589 in mod_caml_get_dir_config ()
   from /usr/lib/apache2/modules/mod_caml.so
#1  0x405eed62 in caml_interprete () from
/usr/lib/apache2/modules/mod_caml.so
#2  0x405eb1e7 in caml_callbackN_exn ()
   from /usr/lib/apache2/modules/mod_caml.so
#3  0x405eb22e in caml_callback_exn ()
   from /usr/lib/apache2/modules/mod_caml.so
#4  0x405dca3c in post_read_request ()
   from /usr/lib/apache2/modules/mod_caml.so
#5  0x0808a795 in ap_run_post_read_request ()
#6  0x08089751 in ap_read_request ()
#7  0x08065118 in _start ()
#8  0x081a2188 in ?? ()
#9  0x00000003 in ?? ()
#10 0x00000000 in ?? ()
#11 0x0808534c in ap_run_pre_connection ()
#12 0x08085205 in ap_run_process_connection ()
#13 0x081a2098 in ?? ()
#14 0x00000000 in ?? ()
#15 0x081a2188 in ?? ()
#16 0x081a2060 in ?? ()
#17 0x081a2098 in ?? ()
#18 0xbf5ffa7c in ?? ()
#19 0x08076611 in ap_graceful_stop_signalled ()
#20 0x081a2098 in ?? ()
#21 0x081a2098 in ?? ()
#22 0x00000000 in ?? ()
#23 0x081a2180 in ?? ()
#24 0x081a60e0 in ?? ()
#25 0x4019c2d0 in apr_brigade_vprintf () from /usr/lib/libaprutil-0.so.0
Previous frame inner to this frame (corrupt stack?)