ports/148998: Prayer 1.3.3 exits with segmentation fault

Mats Dufberg mats at dufberg.se
Tue Jul 27 12:30:05 UTC 2010


>Number:         148998
>Category:       ports
>Synopsis:       Prayer 1.3.3 exits with segmentation fault
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 27 12:30:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Mats Dufberg
>Release:        8.1-RELEASE
>Organization:
n/a
>Environment:
FreeBSD kumla.narnia.pp.se 8.1-RELEASE FreeBSD 8.1-RELEASE #8: Sun Jul 25 16:01:57 CEST 2010     dufberg at kumla.narnia.pp.se:/usr/obj/usr/src/sys/KUMLA  i386
>Description:
Prayer 1.3.3 (mail/prayer) crashes with segmentation error when started. Prayer has been compiled and installed from the ports tree with default settings. Here is information on the binary:

# ldd /usr/local/sbin/prayer
/usr/local/sbin/prayer:
        libcrypt.so.5 => /lib/libcrypt.so.5 (0x280bd000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x280d6000)
        libutil.so.8 => /lib/libutil.so.8 (0x281cc000)
        libz.so.5 => /lib/libz.so.5 (0x281db000)
        libldap-2.4.so.7 => /usr/local/lib/libldap-2.4.so.7 (0x281ed000)
        libtidy-0.99.so.0 => /usr/local/lib/libtidy-0.99.so.0 (0x28228000)
        libssl.so.6 => /usr/lib/libssl.so.6 (0x28272000)
        libcrypto.so.6 => /lib/libcrypto.so.6 (0x282ba000)
        libdb41.so.1 => /usr/local/lib/libdb41.so.1 (0x28415000)
        libc.so.7 => /lib/libc.so.7 (0x284c4000)
        liblber-2.4.so.7 => /usr/local/lib/liblber-2.4.so.7 (0x285de000)
#

Here is information when running through GNU gdb, "gdb /usr/local/sbin/prayer":

(gdb) run
Starting program: /usr/local/sbin/prayer 

Program received signal SIGSEGV, Segmentation fault.
0x28576c47 in freeaddrinfo () from /lib/libc.so.7
(gdb) bt
#0  0x28576c47 in freeaddrinfo () from /lib/libc.so.7
#1  0x0806478a in os_bind_inet_socket (port=80, interface=0x28604e34 "172.16.25.101") at os.c:241
#2  0x0804bc78 in prayer_http_port_open (prayer=0x28633344, port=80, use_ssl=0, interface=0x28604e34 "172.16.25.101") at prayer.c:162
#3  0x0804b5b4 in main (argc=1, argv=0xbfbfebb8) at prayer_main.c:249
(gdb) c
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) 

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list