[asterisk-users] fail to correctly build 1.8.5 ??

Kevin P. Fleming kpfleming at digium.com
Mon Aug 8 11:28:02 CDT 2011


On 08/08/2011 07:51 AM, Norbert Zawodsky wrote:
> Am 08.08.2011 13:38, schrieb Soeren Malchow (MCon):
>>
>> -----Original Message-----
>> From: asterisk-users-bounces at lists.digium.com
>> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Norbert
>> Zawodsky
>> Sent: Sunday, August 07, 2011 8:49 PM
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> Subject: [asterisk-users] fail to correctly build 1.8.5 ??
>>
>> Hello everybody,
>>
>> I've been using asterisk 1.2 for quite a long time now, but I thought
>> it's time to try a newer version of asterisk.
>>
>> So I downloaded 1.8.5, extracted the tar, ran configure, make, make
>> install ...
>> Everything looks fine (no obvious compile/link errors).
>>
>> But as soon as I start asterisk, it dies with a segfault.
>> I executed asterisk within strace and last action before the segfault
>> was reading cdr_mysql.conf in.
>>
>> I deleted cdr_mysql.conf and asterisk starts normally.
>> I copied cdr_mysql.conf.sample to /etc/asterisk and asterisk starts
>> normally Then I just uncommented the "hostname=" line and asterisk
>> segfaults during startup.
>>
>> So what could be wrong here?
>>
>> I have packages "libmysqlclient-devel" and "libmysqlclient16"
>> installed, both version 5.1.46-2.18 OS is a SuSE 11.3, 64 bit
>>
>> Any hints?
>>
>> Norbert
>>
>> --
>> Hi
>>
>> Do you see the loaded modules when not using the conf file,
>> somethinglike this ?
>>
>> cdr_mysql.so MySQL CDR Backend 0
>> res_config_mysql.so MySQL RealTime Configuration Driver 0
>> app_mysql.so Simple Mysql Interface 0
>>
>>
>> soeren
>>
> Hi Soeren,
>
> Yes, "module show" shows all three of them.

Please check to see if there is an issue open for this problem on 
https://issues.asterisk.org/jira. If there is not, please open one; an 
incorrectly formatted configuration file should not result in a segfault.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list