List Info

Thread: Segmentation fault




Segmentation fault
user name
2006-02-20 14:08:58
Dear all,

 I have compiled an Apache with Apache-SSL patch from
sources under 
Fedora with the following specs:

 openssl 0.8.9a
 php-.4.42
 Apache 1.3.34 with Apache-SSL 1.57
 
 the following modules installed:

 [rootobelix apache]# bin/httpsd -l
Compiled-in modules:
  http_core.c
  mod_env.c
  mod_log_config.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_info.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_speling.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
  mod_access.c
  mod_auth.c
  mod_expires.c
  mod_so.c
  mod_setenvif.c
  apache_ssl.c
  mod_php4.c
  mod_speling.c
  mod_info.c
  mod_so.c
  mod_rewrite.c
  mod_gzip.c
suexec: disabled; invalid wrapper
/usr/local/apache/bin/suexec

 HTTP works fine, HTTPs starts the cert negotiation (the
browser shows 
the typical windows asking for permission ) and then reports
the 
following when I try to get the Web page:

 [Mon Feb 20 12:00:16 2006] [notice] child pid 17168 exit
signal 
Segmentation fault (11)

 I have researched a little bit and I tried to run the
application using 
strace and when I issue in the browser a HTTPs request I
get:

 )   = 1 (in [18])
accept(18, {sa_family=AF_INET, sin_port=htons(35661), 
sin_addr=inet_addr("195.235.92.108")}, [16]) = 3
semop(196609, 0x820e09a, 1)             = 0
rt_sigaction(SIGUSR1, , {0x8185a8f, [],
SA_INTERRUPT}, 8) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getsockname(3, {sa_family=AF_INET, sin_port=htons(443), 
sin_addr=inet_addr("192.168.2.200")}, [16]) = 0
setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0
alarm(300)                              = 0
time(NULL)                              = 1140444279
read(3, "\26\3\1\0s\1\0\0o\3\1", 11)   
= 11
time(NULL)                              = 1140444280
read(3,
"\0\0K\335\312*\274\200\360A\33\217\264[x\5
\333q\31\361"..., 
109) = 109
time(NULL)                              = 1140444280
socket(PF_FILE, SOCK_STREAM, 0)         = 4
connect(4, {sa_family=AF_FILE, 
path="/usr/local/apache/cache/ssl.fictional.co.cache.s
ocket"}, 110) = 0
write(4, "\1", 1)                       = 1
write(4, " \0", 2)                      = 2
write(4,
"=\17b\346\'\212\4\307\2\327\336\26l\253\
367/\371\6NM\22"..., 
32) = 32
read(4, "\0\0", 2)                      = 2
close(4)                                = 0
time(NULL)                              = 1140444280
open("/dev/urandom", O_RDONLY_NONBLOCK
_NOCTTY)
= 4
fstat64(4, {st_mode=S_IFCHR|0444, st_rdev=makedev(1, 9),
...}) = 0
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 10) = 1
read(4,
"\352\202h\2560\226\350\252^\266\255Q\356O\2
20\300Eb#Nh"..., 32) 
= 32
close(4)                                = 0
getuid32()                              = 99
time(NULL)                              = 1140444280
time(NULL)                              = 1140444280
write(3,
"\26\3\1\0J\2\0\0F\3\1C\371\314x\341IKt\2
02\177\247\212"..., 
812) = 812
read(3, "\26\3\1\0\206", 5)             = 5
read(3,
"\20\0\0\202\0\200\10+\310\361ab\362\v.o\3
13\251\r\345*"..., 
134) = 134
time([1140444280])                      = 1140444280
read(3, "\24\3\1\0\1", 5)               = 5
read(3, "\1", 1)                        = 1
read(3, "\26\3\1\0000", 5)              = 5
read(3, "\263\10\222\374n\270\301y\374\33\206
B^\0\245\325\2455"..., 48) 
= 48
write(3,
"\24\3\1\0\1\1\26\3\1\0000\345\237\27\32
5\207\247c\302P"..., 
59) = 59
time(NULL)                              = 1140444280
time(NULL)                              = 1140444280
time(NULL)                              = 1140444280
socket(PF_FILE, SOCK_STREAM, 0)         = 4
connect(4, {sa_family=AF_FILE, 
path="/usr/local/apache/cache/ssl.fictional.co.cache.s
ocket"}, 110) = 0
write(4, "\0", 1)                       = 1
write(4, " \0", 2)                      = 2
write(4,
"\237\246q4\305\316\34d\"\233\274{\16\
331\232\376\212cf"..., 
32) = 32
write(4, "w\0", 2)                      = 2
write(4, "0u\2\1\1\2\2\3\1\4\2\0005\4
\237\246q4\305\316\34d\"\233"..., 
119) = 119
write(4, "\244\315\371C", 4)            = 4
close(4)                                = 0
alarm(300)                              = 300
--- SIGSEGV (Segmentation fault)  0 (0) ---
+++ killed by SIGSEGV +++

Any hint? The messages and  the logs does not seem very
helpful. I have 
read something about debug mode, how can I set it?

Sorry for the long email

Best Regards,

Miguel 
 

-- 

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°

 Miguel González Castaños

 Telefónica Investigación y Desarrollo
 Parque Tecnológico Walqa 
 Edificio Uno
 Ctra. Zaragoza N-330a Km.556
 22197 Cuarte
 Huesca
 Spain

 Tel.: +34 913129876
 Fax:  +34 974215500

 E-mail: mgctid.es

 Internet: http://www.tid.es


¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°


------------------------------------------------------------
-----------------------
to unsubscribe, send a blank email to:
apache-ssl-unsubscribelists.aldigital.co.uk

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )