Hello.

Today i try upgrade apache with php (old apache was compiled on -stable
before upgrade), but after upgrade apache core dumped. Apache compiled on
-stable work fine. It's look like that troubles in libc's tzset() or my
locales.

LANG=ru_RU.KOI8-R 
Time Zone - Moscow

----
gdb
# httpd not stripped
gdb httpd
GNU gdb 4.18
Copyright 1998 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-unknown-freebsd"...
(gdb) run
Starting program: /usr/local/apache/bin/httpd
 
Program received signal SIGSEGV, Segmentation fault.
0x283589cb in tzset () from /usr/lib/libc.so.5
(gdb)

----
truss httpd

[Skip...]
readlink("/etc/malloc.conf",0xbfbff8b4,63)       ERR#2 'No such file or
directory'
mmap(0x0,4096,0x3,0x1002,-1,0x0)                 = 675819520 (0x28483000)
break(0x8204000)                                 = 0 (0x0)
break(0x8207000)                                 = 0 (0x0)
break(0x820a000)                                 = 0 (0x0)
break(0x820d000)                                 = 0 (0x0)
break(0x8210000)                                 = 0 (0x0)
break(0x8213000)                                 = 0 (0x0)
break(0x8214000)                                 = 0 (0x0)
stat("/usr/local/apache/bin/suexec",0xbfbff980)  ERR#2 'No such file or
directory'
break(0x8215000)                                 = 0 (0x0)
stat("/etc/nsswitch.conf",0xbfbff874)            = 0 (0x0)
open("/etc/nsswitch.conf",0,0666)                = 3 (0x3)
break(0x8216000)                                 = 0 (0x0)
break(0x8217000)                                 = 0 (0x0)
ioctl(3,TIOCGETA,0xbfbff758)                     ERR#25 'Inappropriate
ioctl for device'
access("/etc/localtime",4)                       = 0 (0x0)
open("/etc/localtime",0,00)                      = 4 (0x4)
fstat(4,0xbfbff628)                              = 0 (0x0)
read(0x4,0xbfbfd31c,0x1f08)                      = 815 (0x32f)
close(4)                                         = 0 (0x0)
SIGNAL 11
SIGNAL 11
Process stopped because of:  16
process exit, rval = 139
Segmentation fault (core dumped)


--
Жердев Анатолий.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to