[asterisk-users] Asterisk Crashes - Segmentation Fault

Manmohan Singh Jandu manmohansj at gmail.com
Fri Jul 9 05:39:57 CDT 2010


It still crashes and in gdb trace following is what its showing:

--More--
warning: .dynamic section for "/usr/lib/mysql/libmysqlclient.so.15" is not
at the expected address

warning: difference appears to be caused by prelink, adjusting expectations
[New Thread 13310]


LAST FEW LINES IN GDB TRACE:

Reading symbols from /usr/lib/asterisk/modules/cdr_manager.so...done.
Loaded symbols for /usr/lib/asterisk/modules/cdr_manager.so
Reading symbols from /usr/lib/asterisk/modules/res_config_mysql.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/asterisk/modules/res_config_mysql.so
Reading symbols from /usr/lib/asterisk/modules/chan_phone.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_phone.so
Core was generated by `/usr/sbin/asterisk -f -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
#0  0x003acd9d in mysql_fetch_row () from
/usr/lib/mysql/libmysqlclient.so.15



--Manmohan Singh



On Fri, Jul 9, 2010 at 2:36 PM, Manmohan Singh Jandu
<manmohansj at gmail.com>wrote:

> Hi,
>
> Following is what i did.
> [root at LinuxTest ~]# yum install mysql*
> Loaded plugins: fastestmirror, kmod
> Loading mirror speeds from cached hostfile
>  * addons: centos.skknet.net
>  * base: centos.skknet.net
>  * extras: centos.skknet.net
>  * updates: centos.skknet.net
> Setting up Install Process
> Package mysql-devel-5.0.77-4.el5_5.3.i386 already installed and latest
> version
> Package mysql-server-5.0.77-4.el5_5.3.i386 already installed and latest
> version
> Package mysql-5.0.77-4.el5_5.3.i386 already installed and latest version
> Package mysql-connector-odbc-3.51.26r1127-1.el5.i386 already installed and
> latest version
> Resolving Dependencies
> --> Running transaction check
> ---> Package mysql-bench.i386 0:5.0.77-4.el5_5.3 set to be updated
> ---> Package mysql-test.i386 0:5.0.77-4.el5_5.3 set to be updated
> --> Finished Dependency Resolution
>
> Dependencies Resolved
>
>
> ================================================================================
>  Package            Arch        Version                    Repository
> Size
>
> ================================================================================
> Installing:
>  mysql-bench        i386        5.0.77-4.el5_5.3           updates
> 507 k
>  mysql-test         i386        5.0.77-4.el5_5.3           updates
> 3.7 M
>
> Transaction Summary
>
> ================================================================================
> Install       2 Package(s)
> Upgrade       0 Package(s)
>
> Total download size: 4.2 M
> Is this ok [y/N]: y
> Downloading Packages:
> (1/2): mysql-bench-5.0.77-4.el5_5.3.i386.rpm             | 507 kB     00:02
> (2/2): mysql-test-5.0.77-4.el5_5.3.i386.rpm              | 3.7 MB     00:11
>
> --------------------------------------------------------------------------------
> Total                                           295 kB/s | 4.2 MB     00:14
> Running rpm_check_debug
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
>   Installing     : mysql-bench
> 1/2
>   Installing     : mysql-test
> 2/2
>
> Installed:
>   mysql-bench.i386 0:5.0.77-4.el5_5.3     mysql-test.i386
> 0:5.0.77-4.el5_5.3
>
> Complete!
> [root at LinuxTest ~]# yum install mysql-devel*
> Loaded plugins: fastestmirror, kmod
> Loading mirror speeds from cached hostfile
>  * addons: centos.skknet.net
>  * base: centos.skknet.net
>  * extras: centosr4.centos.org
>  * updates: centosg4.centos.org
> Setting up Install Process
> Package mysql-devel-5.0.77-4.el5_5.3.i386 already installed and latest
> version
> Nothing to do
> [root at LinuxTest ~]# cat /etc/ld.so.conf
> include ld.so.conf.d/*.conf
> [root at LinuxTest ~]# vi /etc/ld.so.conf
> [root at LinuxTest ~]# ldconfig
> [root at LinuxTest ~]# cat /etc/ld.so.conf
> include ld.so.conf.d/*.conf
> /usr/lib/mysql
> [root at LinuxTest ~]# ldconfig
> [root at LinuxTest ~]#
>
> Thanks & Regards
> Manmohan Singh
>
>
>
>
> On Fri, Jul 9, 2010 at 2:19 PM, Chandrakant Solanki <
> solanki.chandrakant at gmail.com> wrote:
>
>> Hi
>>
>> Install mysql 'n mysql-devel which includes
>> /usr/lib/mysql/libmysqlclient.so.15 library.
>>
>> And also insert /usr/lib/mysql into /etc/ld.so.conf and then execute
>> ldconfig command on terminal.
>>
>>
>> --
>> Regards,
>>
>> Chandrakant Solanki
>>
>>
>> On Fri, Jul 9, 2010 at 2:32 PM, Manmohan Singh Jandu <
>> manmohansj at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> My Web-MeetMe_v4.0.1, i followed the instructions in the README File in
>>> the same package.
>>>
>>> >Are you using RealTime enabled app_meetme or app_cbmysql from the WMM
>>> package? ----> i didnt get this actually what do i need to check here?
>>> Please dont mind but m not so good in opensource world. I try to read and
>>> understand and on trial n error basis try  to implement things. Though had
>>> very much interest in learning things.
>>>
>>> The GDB output is huge on, Following are my GDB errors.
>>>
>>> [root at LinuxTest tmp]# gdb asterisk
>>> core.LinuxTest-2010-07-07T21:13:15+0400 | more
>>> GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5_5.1)
>>> Copyright (C) 2009 Free Software Foundation, Inc.
>>> License GPLv3+: GNU GPL version 3 or later <
>>> http://gnu.org/licenses/gpl.html>
>>> This is free software: you are free to change and redistribute it.
>>> There is NO WARRANTY, to the extent permitted by law.  Type "show
>>> copying"
>>> and "show warranty" for details.
>>> This GDB was configured as "i386-redhat-linux-gnu".
>>> For bug reporting instructions, please see:
>>> <http://www.gnu.org/software/gdb/bugs/>...
>>> Reading symbols from /usr/sbin/asterisk...done.
>>>
>>> warning: .dynamic section for "/usr/lib/libidn.so.11" is not at the
>>> expected address
>>>
>>> warning: difference appears to be caused by prelink, adjusting
>>> expectations
>>> [New Thread 3212]
>>>
>>>
>>> SOME OF THE LINES IN the end of GDB Error:
>>>
>>> Reading symbols from /usr/lib/asterisk/modules/cdr_manager.so...done.
>>> Loaded symbols for /usr/lib/asterisk/modules/cdr_manager.so
>>> Reading symbols from /usr/lib/asterisk/modules/res_config_mysql.so...(no
>>> debugging symbols found)...done.
>>> Loaded symbols for /usr/lib/asterisk/modules/res_config_mysql.so
>>> Reading symbols from /usr/lib/asterisk/modules/chan_phone.so...done.
>>> Loaded symbols for /usr/lib/asterisk/modules/chan_phone.so
>>> Core was generated by `/usr/sbin/asterisk -f -vvvg -c'.
>>> Program terminated with signal 11, Segmentation fault.
>>> #0  0x01027d9d in mysql_fetch_row () from
>>> /usr/lib/mysql/libmysqlclient.so.15
>>>
>>>
>>> --Manmohan Singh.
>>>
>>> On Thu, Jul 8, 2010 at 11:21 PM, Dan Austin <Dan_Austin at phoenix.com>wrote:
>>>
>>>> Manmohan wrote:
>>>> > I was looking for audio conferencing solution where i got Web-meetme.
>>>> > I had installed Asterisk 1.6.2.9 on Centos  5.4. Its perfecting
>>>> working
>>>> > fine. I tried using Meetme even meetme app is working perfectly fine.
>>>> > I installed Webmeetme 4.0 and integrated with my asterisk. When i try
>>>> > to dial the conference number it take me to an IVR wherein it asks for
>>>> > the conference number. The time i provide the conference number,
>>>> asterisk
>>>> > crashes giving segmentation fault.
>>>> > I have been trying to google up and checked lot of forums but didnt
>>>> get
>>>> > any solution for this yet.
>>>>
>>>> Which instructions did you follow for the integration?  Are you using
>>>> RealTime enabled app_meetme or app_cbmysql from the WMM package?  Which
>>>> exact version of WMM?
>>>>
>>>> Dan
>>>>
>>>> --
>>>> _____________________________________________________________________
>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>>>               http://www.asterisk.org/hello
>>>>
>>>> asterisk-users mailing list
>>>> To UNSUBSCRIBE or update options visit:
>>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks & Regards
>>> Manmohan Singh Jandu
>>>
>>> --
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>>               http://www.asterisk.org/hello
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>               http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
>
> --
> Thanks & Regards
> Manmohan Singh Jandu
>



-- 
Thanks & Regards
Manmohan Singh Jandu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100709/8f5ff645/attachment-0001.htm 


More information about the asterisk-users mailing list