Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 2010 23:42:23 GMT
From:      Vadim Fedorenko <junk@fromru.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/144248: asterisk16 conflicts with linuxthreads
Message-ID:  <201002232342.o1NNgNdl012103@www.freebsd.org>
Resent-Message-ID: <201002240100.o1O10B0f027556@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         144248
>Category:       ports
>Synopsis:       asterisk16 conflicts with linuxthreads
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 24 01:00:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Vadim Fedorenko
>Release:        7.2-STABLE
>Organization:
>Environment:
FreeBSD gateway.troyka-stavropol.ru 7.2-STABLE FreeBSD 7.2-STABLE #1: Sat Jan 16 14:11:41 MSK 2010     junk@gateway.troyka-stavropol.ru:/usr/obj/usr/src/sys/PFKERNEL  i386
>Description:
Asterisk SIP server makes segmentation fault on start when built with linuxthreads installed. Tested on asterisk 1.4 and 1.6.0.21 from ports and 1.6.2.4 from official site. On 1.6.0.21 core dump shows this:

Reading symbols from /usr/local/lib/asterisk/modules/pbx_config.so...(no debugging symbols found)...done. 
Loaded symbols for /usr/local/lib/asterisk/modules/pbx_config.so 
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. 
Loaded symbols for /libexec/ld-elf.so.1 
#0  0x284beb1a in __pthread_unlock () from /usr/local/lib/liblthread.so.6 

after deinstalling linuxthreads and recompiling of asterisk without linuxthreads everything works well.
>How-To-Repeat:
1. Install linuxthreads (cd /usr/ports/devel/linuxthreads; make install)
2. Install asterisk 16  (cd /usr/ports/net/asterisk16; make install)
3. Try to run asterisk (asterisk -c)
>Fix:
deinstall linuxthreads port

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002232342.o1NNgNdl012103>