Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147418 - asterisk-1.2.9_p1 fails with glibc error when using res_features applicationmap
Summary: asterisk-1.2.9_p1 fails with glibc error when using res_features applicationmap
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-12 23:44 UTC by Nathan Sullivan
Modified: 2008-11-25 00:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Sullivan 2006-09-12 23:44:26 UTC
[applicationmap]
;testfeature => #9,callee,Playback,tt-monkeys   ;Play tt-monkeys to 
                                                ;callee if #9 was pressed
callrecordingoff => *9,callee,Goto(callrecordingoff,s,1)

above is an extract of what I attempted in /etc/asterisk/features.conf. below is the result when starting asterisk with it...

    -- Registered indication country 'us-o'
    -- Registered indication country 'tw'
    -- Registered indication country 'za'
    -- Setting default indication country to 'us'
  == Registered application 'PlayTones'
  == Registered application 'StopPlayTones'
 [skipping res_config_mysql.so]
 [res_features.so] => (Call Features Resource)
  == Parsing '/etc/asterisk/features.conf': Found
*** glibc detected *** asterisk: munmap_chunk(): invalid pointer: 0x00000000005f5022 ***
======= Backtrace: =========
/lib/libc.so.6[0x2b921444949d]
/usr/lib/asterisk/modules/res_features.so[0x2aaaaad41d69]
/usr/lib/asterisk/modules/res_features.so(load_module+0x2c)[0x2aaaaad4244c]
asterisk[0x4161bf]
asterisk(load_modules+0x364)[0x4169e4]
asterisk(main+0x1744)[0x45fa24]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2b92143fd134]
asterisk[0x410819]
======= Memory map: ========
00400000-004c8000 r-xp 00000000 09:04 25337                              /usr/sbin/asterisk
005c7000-005d1000 rw-p 000c7000 09:04 25337                              /usr/sbin/asterisk 
005d1000-00621000 rw-p 005d1000 00:00 0                                  [heap]
40000000-40001000 ---p 40000000 00:00 0 
40001000-40041000 rw-p 40001000 00:00 0 
40041000-40042000 ---p 40041000 00:00 0 
40042000-40082000 rw-p 40042000 00:00 0 
2aaaaaaab000-2aaaaab0c000 rw-p 2aaaaaaab000 00:00 0 
2aaaaab0c000-2aaaaab13000 r-xp 00000000 09:04 530117                     /usr/lib64/asterisk/modules/res_musiconhold.so
2aaaaab13000-2aaaaac13000 ---p 00007000 09:04 530117                     /usr/lib64/asterisk/modules/res_musiconhold.so
2aaaaac13000-2aaaaac14000 rw-p 00007000 09:04 530117                     /usr/lib64/asterisk/modules/res_musiconhold.so
2aaaaac14000-2aaaaac35000 rw-p 2aaaaac14000 00:00 0 
2aaaaac35000-2aaaaac39000 r-xp 00000000 09:04 530007                     /usr/lib64/asterisk/modules/res_indications.so
2aaaaac39000-2aaaaad38000 ---p 00004000 09:04 530007                     /usr/lib64/asterisk/modules/res_indications.so
2aaaaad38000-2aaaaad39000 rw-p 00003000 09:04 530007                     /usr/lib64/asterisk/modules/res_indications.so
2aaaaad39000-2aaaaad45000 r-xp 00000000 09:04 530052                     /usr/lib64/asterisk/modules/res_features.so
2aaaaad45000-2aaaaae44000 ---p 0000c000 09:04 530052                     /usr/lib64/asterisk/modules/res_features.so
2aaaaae44000-2aaaaae46000 rw-p 0000b000 09:04 530052                     /usr/lib64/asterisk/modules/res_features.so
2aaaaae51000-2aaaaae5d000 r-xp 00000000 09:03 7277                       /lib64/libgcc_s.so.1
2aaaaae5d000-2aaaaaf5d000 ---p 0000c000 09:03 7277                       /lib64/libgcc_s.so.1
2aaaaaf5d000-2aaaaaf5e000 rw-p 0000c000 09:03 7277                       /lib64/libgcc_s.so.1
2b9213bae000-2b9213bc9000 r-xp 00000000 09:03 6951                       /lib64/ld-2.4.so
2b9213bc9Aborted
Comment 1 Nathan Sullivan 2006-09-12 23:44:46 UTC
hqserver modules # equery b res_features.so 
[ Searching for file(s) res_features.so in *... ]
net-misc/asterisk-1.2.9_p1 (/usr/lib/asterisk/modules/res_features.so)
Comment 2 Nathan Sullivan 2006-09-12 23:44:59 UTC
hqserver modules # emerge --info
Portage 2.1.1_rc1-r6 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.16-ck6-r1 x86_64)
=================================================================
System uname: 2.6.16-ck6-r1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
Last Sync: Tue, 12 Sep 2006 16:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.isp.net.au/ftp/pub/gentoo http://ftp.swin.edu.au/gentoo"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="acl acpg alsa amd64 apache2 avi berkdb big-tables bitmap-fonts bzip2 cli crypt ctype cups curl dlloader dri eds elibc_glibc emboss encode exif extraengine fam foomaticdb fortran ftp gd gif gpm gstreamer imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux ldap logrotate lzw lzw-tiff mhash mp3 mpeg mysql mysqli ncurses nls nptl nptlonly oav oss pam pcntl pcre pdflib pear perl php png posix pppd python qt3 qt4 quicktime readline reflection ruby samba sdl session snmp soap sockets spell spl sqlite ssl tcpd tiff truetype truetype-fonts type1-fonts unicode urandom usb userland_GNU userlocales utf8 vhosts video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i810 video_cards_mga video_cards_neomagic video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo wddx xml xml2 xmlrpc xorg xpm xsl xv zaptel zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Gustavo Zacarias (RETIRED) gentoo-dev 2007-07-12 22:00:08 UTC
Still happens with the latest versions?
Comment 4 Pawel Madej aka Nysander 2008-11-24 23:44:22 UTC
are there that problems with current versions of asterisk? if not please close this bug
Comment 5 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2008-11-25 00:04:27 UTC
update to latest and retest.