ports/66609: partysip segfault.

Shuichi KITAGUCHI kit at ysnb.net
Thu May 13 13:40:22 UTC 2004


>Number:         66609
>Category:       ports
>Synopsis:       partysip segfault.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 13 06:40:20 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Shuichi KITAGUCHI
>Release:        4-STABLE
>Organization:
>Environment:
FreeBSD themis.k.ysnb.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Sun Mar 28 03:24:50 JST 2004     root at themis.k.ysnb.net:/usr/obj/usr/src/sys/THEMIS  i386

>Description:
net/partysip cause segfault when it starts.
partysip seems to depend both pth and libc_r, and I think this is incorrect.
----
root at themis ~ gdb /usr/local/bin/partysip partysip.core
GNU gdb 4.18 (FreeBSD)
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"...
(no debugging symbols found)...
Core was generated by `partysip'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libppl.so.2...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf
done.
Reading symbols from /usr/local/lib/libosip2.so.2...done.
Reading symbols from /usr/local/lib/libgdbm.so.3...done.
Reading symbols from /usr/local/lib/pth/libpthread.so.20...done.
Reading symbols from /usr/lib/libc_r.so.4...done.
Reading symbols from /usr/local/lib/libosipparser2.so.2...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x280ab91b in pth_cancel_point () from /usr/local/lib/pth/libpthread.so.20
(gdb) bt
#0  0x280ab91b in pth_cancel_point () from /usr/local/lib/pth/libpthread.so.20
#1  0x280a4978 in pthread_testcancel ()
   from /usr/local/lib/pth/libpthread.so.20
#2  0x28140cb0 in _thread_enter_cancellation_point () from /usr/lib/libc_r.so.4
#3  0x28134e9c in fcntl () from /usr/lib/libc_r.so.4
#4  0x280aab15 in pth_fdmode () from /usr/local/lib/pth/libpthread.so.20
#5  0x280a797f in __pth_scheduler_init ()
   from /usr/local/lib/pth/libpthread.so.20
#6  0x280a9b66 in pth_init () from /usr/local/lib/pth/libpthread.so.20
#7  0x280a4fe0 in pthread_mutex_init ()
   from /usr/local/lib/pth/libpthread.so.20
#8  0x2810c7b2 in _thread_init () from /usr/lib/libc_r.so.4
#9  0x281429ec in _thread_init_invoker::_thread_init_invoker ()
   from /usr/lib/libc_r.so.4
#10 0x28142a25 in _thread_init_invoker::_thread_init_invoker ()
   from /usr/lib/libc_r.so.4
#11 0x28142a4e in _thread_init_invoker::_thread_init_invoker ()
   from /usr/lib/libc_r.so.4
#12 0x28142a7c in _thread_init_invoker::_thread_init_invoker ()
   from /usr/lib/libc_r.so.4
#13 0x280c8622 in _init () from /usr/lib/libc_r.so.4
#14 0x28065af4 in _rtld () from /usr/libexec/ld-elf.so.1
(gdb) quit
root at themis ~ ldd /usr/local/bin/partysip
/usr/local/bin/partysip:
        libppl.so.2 => /usr/local/lib/libppl.so.2 (0x28081000)
        libosip2.so.2 => /usr/local/lib/libosip2.so.2 (0x28089000)
        libgdbm.so.3 => /usr/local/lib/libgdbm.so.3 (0x28099000)
        libpthread.so.20 => /usr/local/lib/pth/libpthread.so.20 (0x2809f000)
        libc_r.so.4 => /usr/lib/libc_r.so.4 (0x280b5000)
        libosipparser2.so.2 => /usr/local/lib/libosipparser2.so.2 (0x2816b000)

>How-To-Repeat:
execute partysip.
>Fix:
these patch seems to work.
--- Makefile.old        Thu May 13 22:29:17 2004
+++ Makefile    Thu May 13 22:29:25 2004
@@ -23,7 +23,7 @@
 GNU_CONFIGURE= yes
 CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
                LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_ARGS=        --enable-pth=yes --with-db=gdbm
+CONFIGURE_ARGS=        --with-db=gdbm
 INSTALLS_SHLIB=        yes

 .include <bsd.port.mk>

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



More information about the freebsd-ports-bugs mailing list