httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gmanohar <gmano...@cordys.com>
Subject [users@httpd] segfault while migrating from RHEL4 to centOS 4.2 on apache 2.2.4 as proxy
Date Thu, 11 Jun 2009 10:42:28 GMT
Hi,

I need some help in migrating our existing code from RHEL4 to centOS 4.2.
We use apache configured as a proxy server and ,we have an out filter
module registered with apache 2.2.4, where we gets the page content and
do some processing based on the content.
Everything worked fine in RHEL4 but when the same code was migrated to
CentOS4.2 and compiled there ,a segmentation fault  occurs while loading
the module.
we have some infilter modules also registered but did not face any
problem with loading them, the issue is with the loading the out filter.

details of the setup
apache was configured with following command

./configure --prefix=/usr/local/apache2
--enable-mods-shared="proxy_connect proxy_ftp proxy_http proxy status
rewrite deflate" --with-mpm=worker --with-included-apr

uname -a :
Linux srv-ind-ffi12.vanenburg.com 2.6.9-22.ELsmp #1 SMP Sat Oct 8
19:11:43 CDT 2005 i686 i686 i386 GNU/Linux

gcc version:

Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=i386-redhat-linux
Thread model: posix
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)

The following is the back trace using gdb.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208027456 (LWP 16497)]
0x009d9641 in __gnu_cxx::__exchange_and_add () from /usr/lib/libstdc++.so.6
(gdb) bt
#0  0x009d9641 in __gnu_cxx::__exchange_and_add () from
/usr/lib/libstdc++.so.6
#1  0x00ee4fc5 in __tcf_4 () from
/usr/local/apache2/modules/mod_np_dynamic_filter.so
#2  0x0013b6e4 in __cxa_finalize () from /lib/tls/libc.so.6
#3  0x00eaacea in __do_global_dtors_aux () from
/usr/local/apache2/modules/mod_np_dynamic_filter.so
#4  0x00f184de in _fini () from
/usr/local/apache2/modules/mod_np_dynamic_filter.so
#5  0x0020df6b in _dl_close () from /lib/tls/libc.so.6
#6  0x00418d5a in dlclose_doit () from /lib/libdl.so.2
#7  0x00a9d07e in _dl_catch_error () from /lib/ld-linux.so.2
#8  0x004192bb in _dlerror_run () from /lib/libdl.so.2
#9  0x00418d8a in dlclose () from /lib/libdl.so.2
#10 0x00b260b5 in dso_cleanup (thedso=0x9ba8ed0) at dso/unix/dso.c:72
#11 0x00b2b2d1 in run_cleanups (cref=0x9b240b8) at
memory/unix/apr_pools.c:2034
#12 0x00b2c04d in apr_pool_clear (pool=0x9b240a8) at
memory/unix/apr_pools.c:689
#13 0x08062024 in main (argc=3, argv=0xbff26764) at main.c:667
(gdb) q

Did some one face the same problem ,or can anyone give me an idea
regarding the problem/solution.

Thanks & regards,
Manohar.

The information contained in this communication is confidential, intended solely for the use
of the individual or entity to whom it is addressed and may be legally privileged and protected
by professional secrecy. Access to this message by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it is prohibited and may be unlawful. Please
immediately contact the sender if you have received this message in error. This email does
not constitute any commitment from Cordys Holding BV or any of its subsidiaries except when
expressly agreed in a written agreement between the intended recipient and Cordys Holding
BV or its subsidiaries. Cordys is neither liable for the proper and complete transmission
of the information contained in this communication nor for any delay in its receipt. Cordys
does not guarantee that the integrity of this communication has been maintained nor that the
communication is free of viruses, interceptions or interference. If you are not the intended
recipient of this communication please return the communication to the sender and delete and
destroy all copies.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message