Some problems with 1.5

Patrick_elx

Joined
Dec 14, 2008
Messages
1,120
Likes
0
Points
0
#1
Hi,

I've a few issues with a fresh install of 1.5 stable

- in freepbx, even after modifying the php.ini I still have the memory warning alert.

- I have the following error in the CLI, I haven't had time to try to see what's triggering it:
Code:
*** glibc detected *** /usr/sbin/asterisk: double free or corruption (out): 0x08ba8ff8 ***
======= Backtrace: =========
/lib/libc.so.6[0x9ecd08]
/lib/libc.so.6(cfree+0x90)[0x9f0290]
/usr/sbin/asterisk(__ast_module_user_remove+0x6e)[0x80a32ce]
/usr/lib/asterisk/modules/chan_local.so[0xdabc5a]
/usr/sbin/asterisk(ast_hangup+0x1ae)[0x807ce7e]
/usr/sbin/asterisk[0x80bbced]
/usr/sbin/asterisk[0x80bd00e]
/usr/sbin/asterisk[0x80e61fb]
/lib/libpthread.so.0[0x6a62ea]
/lib/libc.so.6(clone+0x5e)[0xa560de]
======= Memory map: ========
00110000-00113000 r-xp 00000000 fd:00 54526016   /lib/libtermcap.so.2.0.8
00113000-00114000 rwxp 00002000 fd:00 54526016   /lib/libtermcap.so.2.0.8
00114000-00155000 r-xp 00000000 fd:00 54526200   /lib/libssl.so.0.9.8b
00155000-00159000 rwxp 00040000 fd:00 54526200   /lib/libssl.so.0.9.8b
00159000-001e9000 r-xp 00000000 fd:00 57780438   /usr/lib/libkrb5.so.3.3
001e9000-001ec000 rwxp 0008f000 fd:00 57780438   /usr/lib/libkrb5.so.3.3
001ec000-001ee000 r-xp 00000000 fd:00 54526124   /lib/libcom_err.so.2.1
001ee000-001ef000 rwxp 00001000 fd:00 54526124   /lib/libcom_err.so.2.1
001ef000-001f7000 r-xp 00000000 fd:00 57780440   /usr/lib/libkrb5support.so.0.1
001f7000-001f8000 rwxp 00007000 fd:00 57780440   /usr/lib/libkrb5support.so.0.1
001f8000-001fa000 r-xp 00000000 fd:00 54526024   /lib/libkeyutils-1.2.so
001fa000-001fb000 rwxp 00001000 fd:00 54526024   /lib/libkeyutils-1.2.so
001fb000-00201000 r-xp 00000000 fd:00 58294731   /usr/lib/asterisk/modules/res_adsi.so
00201000-00202000 rwxp 00005000 fd:00 58294731   /usr/lib/asterisk/modules/res_adsi.so
00202000-00203000 --xp 00202000 00:00 0
00203000-0023e000 rwxp 00203000 00:00 0
0023e000-00243000 r-xp 00000000 fd:00 58294739   /usr/lib/asterisk/modules/res_monitor.so
00243000-00244000 rwxp 00005000 fd:00 58294739   /usr/lib/asterisk/modules/res_monitor.so
00244000-00247000 r-xp 00000000 fd:00 58294700   /usr/lib/asterisk/modules/format_wav.so
00247000-00248000 rwxp 00002000 fd:00 58294700   /usr/lib/asterisk/modules/format_wav.so
00248000-0024a000 r-xp 00000000 fd:00 58294697   /usr/lib/asterisk/modules/format_pcm.so
0024a000-0024b000 rwxp 00002000 fd:00 58294697   /usr/lib/asterisk/modules/format_pcm.so
0024b000-00251000 r-xp 00000000 fd:00 58294722   /usr/lib/asterisk/modules/func_strings.so
00251000-00252000 rwxp 00005000 fd:00 58294722   /usr/lib/asterisk/modules/func_strings.so
00252000-00254000 r-xp 00000000 fd:00 58294646   /usr/lib/asterisk/modules/app_settransfercapability.so
00254000-00255000 rwxp 00001000 fd:00 58294646   /usr/lib/asterisk/modules/app_settransfercapability.so
00255000-00257000 r-xp 00000000 fd:00 58294619   /usr/lib/asterisk/modules/app_ices.so
00257000-00258000 rwxp 00001000 fd:00 58294619   /usr/lib/asterisk/modules/app_ices.so
00258000-0025d000 r-xp 00000000 fd:00 58294701   /usr/lib/asterisk/modules/format_wav_gsm.so
0025d000-0025e000 rwxp 00005000 fd:00 58294701   /usr/lib/asterisk/modules/format_wav_gsm.so
0025e000-00260000 r-xp 00000000 fd:00 58294661   /usr/lib/asterisk/modules/app_waitforsilence.so
00260000-00261000 rwxp 00001000 fd:00 58294661   /usr/lib/asterisk/modules/app_waitforsilence.so
00261000-00263000 r-xp 00000000 fd:00 58294680   /usr/lib/asterisk/modules/codec_adpcm.so
00263000-00264000 rwxp 00001000 fd:00 58294680   /usr/lib/asterisk/modules/codec_adpcm.so
00264000-00266000 r-xp 00000000 fd:00 58294692   /usr/lib/asterisk/modules/format_h263.so
00266000-00267000 rwxp 00001000 fd:00 58294692   /usr/lib/asterisk/modules/format_h263.so
00267000-00269000 r-xp 00000000 fd:00 58294735   /usr/lib/asterisk/modules/res_convert.so
00269000-0026a000 rwxp 00001000 fd:00 58294735   /usr/lib/asterisk/modules/res_convert.so
0026a000-00280000 r-xp 00000000 fd:00 57776334   /usr/lib/libspeex.so.1.5.0
00280000-00281000 rwxp 00016000 fd:00 57776334   /usr/lib/libspeex.so.1.5.0
00281000-00282000 r-xp 00000000 fd:00 58294719   /usr/lib/asterisk/modules/func_rand.so
00282000-00283000 rwxp 00001000 fd:00 58294719   /usr/lib/asterisk/modules/func_rand.so
00283000-00285000 r-xp
Disconnected from Asterisk server
Executing last minute cleanups
# /usr/sbin/safe_asterisk: line 125:  4353 Aborted                 (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >&/dev/${TTY} < /dev/${TTY}
Asterisk ended with exit status 134
Asterisk exited on signal 6.
Automatically restarting Asterisk.
 

Patrick_elx

Joined
Dec 14, 2008
Messages
1,120
Likes
0
Points
0
#2
I have another error, but this one I can reproduce at will.

I have a paging group with 3 extensions. it works fine.
As soon as I add a 4th extension, it crashes when I'm hanging up.

*** glibc detected *** /usr/sbin/asterisk: free(): invalid next size (fast): 0x097d14d8 ***
======= Backtrace: =========
/lib/libc.so.6[0x17dd08]
/lib/libc.so.6(cfree+0x90)[0x181290]
/usr/lib/asterisk/modules/app_page.so[0x92f11a]
/usr/sbin/asterisk(pbx_exec+0x6c)[0x80b419c]
/usr/sbin/asterisk[0x80ba407]
/usr/sbin/asterisk[0x80bbbce]
/usr/sbin/asterisk[0x80bd00e]
/usr/sbin/asterisk[0x80e61fb]
/lib/libpthread.so.0[0x4b52ea]
/lib/libc.so.6(clone+0x5e)[0x1e70de]
======= Memory map: ========
00110000-00113000 r-xp 00000000 fd:00 54526016 /lib/libtermcap.so.2.0.8
00113000-00114000 rwxp 00002000 fd:00 54526016 /lib/libtermcap.so.2.0.8
00114000-00254000 r-xp 00000000 fd:00 54525965 /lib/libc-2.5.so
00254000-00256000 r-xp 00140000 fd:00 54525965 /lib/libc-2.5.so
00256000-00257000 rwxp 00142000 fd:00 54525965 /lib/libc-2.5.so
00257000-0025a000 rwxp 00257000 00:00 0
0025a000-00263000 r-xp 00000000 fd:00 54525981 /lib/libnss_files-2.5.so
00263000-00264000 r-xp 00008000 fd:00 54525981 /lib/libnss_files-2.5.so
00264000-00265000 rwxp 00009000 fd:00 54525981 /lib/libnss_files-2.5.so
00265000-002f5000 r-xp 00000000 fd:00 57780438 /usr/lib/libkrb5.so.3.3
002f5000-002f8000 rwxp 0008f000 fd:00 57780438 /usr/lib/libkrb5.so.3.3
002f8000-0031d000 r-xp 00000000 fd:00 57780428 /usr/lib/libk5crypto.so.3.1
0031d000-0031e000 rwxp 00025000 fd:00 57780428 /usr/lib/libk5crypto.so.3.1
0031e000-00330000 r-xp 00000000 fd:00 57774746 /usr/lib/libz.so.1.2.3
00330000-00331000 rwxp 00011000 fd:00 57774746 /usr/lib/libz.so.1.2.3
00331000-00333000 r-xp 00000000 fd:00 54526024 /lib/libkeyutils-1.2.so
00333000-00334000 rwxp 00001000 fd:00 54526024 /lib/libkeyutils-1.2.so
00334000-0033d000 r-xp 00000000 fd:00 58294741 /usr/lib/asterisk/modules/res_smdi.so
0033d000-0033e000 rwxp 00008000 fd:00 58294741 /usr/lib/asterisk/modules/res_smdi.so
0033e000-00348000 r-xp 00000000 fd:00 58294732 /usr/lib/asterisk/modules/res_agi.so
00348000-0034e000 rwxp 0000a000 fd:00 58294732 /usr/lib/asterisk/modules/res_agi.so
0034e000-00350000 r-xp 00000000 fd:00 58294697 /usr/lib/asterisk/modules/format_pcm.so
00350000-00351000 rwxp 00002000 fd:00 58294697 /usr/lib/asterisk/modules/format_pcm.so
00351000-0035b000 r-xp 00000000 fd:00 58294888 /usr/lib/asterisk/modules/format_mp3.so
0035b000-0035e000 rwxp 00009000 fd:00 58294888 /usr/lib/asterisk/modules/format_mp3.so
0035e000-00378000 rwxp 0035e000 00:00 0
00378000-00379000 r-xp 00000000 fd:00 58294622 /usr/lib/asterisk/modules/app_lookupcidname.so
00379000-0037a000 rwxp 00001000 fd:00 58294622 /usr/lib/asterisk/modules/app_lookupcidname.so
0037a000-00380000 r-xp 00000000 fd:00 58294722 /usr/lib/asterisk/modules/func_strings.so
00380000-00381000 rwxp 00005000 fd:00 58294722 /usr/lib/asterisk/modules/func_strings.so
00381000-00386000 r-xp 00000000 fd:00 58294701 /usr/lib/asterisk/modules/format_wav_gsm.so
00386000-00387000 rwxp 00005000 fd:00 58294701 /usr/lib/asterisk/modules/format_wav_gsm.so
00387000-00389000 r-xp 00000000 fd:00 58294605 /usr/lib/asterisk/modules/app_dictate.so
00389000-0038a000 rwxp 00001000 fd:00 58294605 /usr/lib/asterisk/modules/app_dictate.so
0038a000-0038c000 r-xp 00000000 fd:00 58294646 /usr/lib/asterisk/modules/app_settransfercapability.so
0038c000-0038d000 rwxp 00001000 fd:00 58294646 /usr/lib/asterisk/modules/app_settransfercapability.so
0038d000-0038f000 r-xp 00000000 fd:00 58294619 /usr/lib/asterisk/modules/app_ices.so
0038f000-00390000 rwxp 00001000 fd:00 58294619 /usr/lib/asterisk/modules/app_ices.so
00390000-00392000 r-xp 00000000 fd:00 58294661 /usr/lib/asterisk/modules/app_waitforsilence.so
00392000-00393000 rwxp 00001000 fd:00 58294661 /usr/lib/asterisk/modules/app_waitforsilence.so
00393000-00395000 r-xp 00000000 fd:00 58294680 /usr/lib/asterisk/modules/codec_adpcm.so
00395000-00396000 rwxp 00001000 fd:00 58294680 /usr/lib/asterisk/modules/codec_adpcm.so
00396000-00398000 r-xp 00000000 fd:00 58294606 /usr/lib/asterisk/modules/app_directed_pickup.so
-- Hungup 'DAHDI/pseudo-1846809877'
*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
[~]# /usr/sbin/safe_asterisk: line 125: 5220 Aborted (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >&/dev/${TTY} < /dev/${TTY}
Asterisk ended with exit status 134
Asterisk exited on signal 6.
Automatically restarting Asterisk.
mpg123: no process killed
 

saleh

Joined
Apr 18, 2007
Messages
249
Likes
0
Points
0
#3
Please see the Elastix 1.5 ChangeLog

Elastix 1.5 ChangeLog

No need to overwrite /etc/php.ini, just edit the new elastix.ini with required variable changes under the /etc/php.d path.

cat /etc/php.d/elastix.ini
;Enable greater limits for FreePBX
upload_max_filesize = 20M
memory_limit = 100M

;Elastix changes httpd daemon user to asterisk. Move PHP session dir back to /tmp
session.save_path = "/tmp"

Best Regards,
Saleh Madi
 

Patrick_elx

Joined
Dec 14, 2008
Messages
1,120
Likes
0
Points
0
#4
great...
but it would be nice to have the proper value in the install package...


regarding the paging problem, just seen your post in the mailing list:
http://bugs.digium.com/view.php?id=14308

Fixed in Asterisk 1.4.24

2009-01-25 13:33 +0000 [r170979] Sean Bright <sean.bright@gmail.com>

* apps/app_page.c: Resolve a logic error that was causing Page() to
crash when more than one channel was specified. (closes issue
#14308) Reported by: bluefox Patches: 20090124__bug14308.diff.txt
uploaded by seanbright (license 71) Tested by: kc0bvu

Need to upgrade to Asterisk 1.4.24


however the 1.4.24 is not on the rpm yet for a yum update.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,915
Messages
130,920
Members
17,595
Latest member
feparra121
Top