Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93837 - segmentation fault when making openh323
Summary: segmentation fault when making openh323
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-24 11:58 UTC by Alexander Topolanek
Modified: 2006-09-14 01:41 UTC (History)
1 user (show)

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 Alexander Topolanek 2005-05-24 11:58:23 UTC
Trying to build a small Gentoo system with asterisk. Inflated stage3-embedded 
and emerged uclib, baselayout etc. according to the embedded gentoo wiki. 
Emerged various asterisk stuff with no problems.




Reproducible: Always
Steps to Reproduce:
Trying to emerge asterisk-h323:

asterisk src # ROOT="/mnt/project" emerge asterisk-oh323 -p

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  NS   ] net-libs/openh323-1.13.5-r1  
[ebuild  N    ] dev-libs/pwlib-1.6.6-r2  to /mnt/project/ 
[ebuild  N    ] net-libs/openh323-1.13.5-r1  to /mnt/project/ 
[ebuild  N    ] net-misc/asterisk-oh323-0.6.5  to /mnt/project/ 


Actual Results:  
/usr/bin/asnparser -s2 -m H225 -r MULTIMEDIA-SYSTEM-CONTROL=H245 -
c /var/tmp/portage/openh323-1.13.5-r1/work/openh323/src/h225.asn
make[1]: *** [/var/tmp/portage/openh323-1.13.5-
r1/work/openh323/include/h225.h] Segmentation fault
make[1]: Leaving directory `/var/tmp/portage/openh323-1.13.5-
r1/work/openh323/src'
make: *** [opt] Error 2



Expected Results:  
To compile :)

asterisk src # emerge --info
Portage 2.0.51-r2 (uclibc/x86, gcc-3.3.4, uclibc-0.9.26-r5, 2.6.11-gentoo-r9 
i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5,sys-devel/autoconf-2.13,sys-
devel/autoconf-2.59-r6
Automake: sys-devel/automake-1.8.5-r1,sys-devel/automake-1.8.5-r3,sys-
devel/automake-1.5,sys-devel/automake-1.7.9-r1,sys-devel/automake-1.6.3,sys-
devel/automake-1.4_p6,sys-devel/automake-1.9.5
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5,sys-devel/libtool-1.5.16
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O1 -pipe"
CHOST="i386-pc-linux-uclibc"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share
/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks nodoc noinfo noman sandbox 
sfperms strict"
GENTOO_MIRRORS="http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo 
http://src.gentoo.pl http://194.117.143.69"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 berkdb ldap ncurses perl python readline slang ssl tiff uclibc zlib 
userland_GNU kernel_linux elibc_uclibc"
Comment 1 Daniel Black (RETIRED) gentoo-dev 2005-08-20 22:59:04 UTC
   
was it actually /usr/bin/asnparser that SEGV? Limited output and -j2 make opts  
makes it hard to tell.  
  
Assuming it is, asnparser is part of dev-libs/pwlib. Try emerging this 
locally . 
 
For help debugging SEGV look at section 2: 
http://www.gentoo.org/doc/en/bugzilla-howto.xml   
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-09-14 01:41:37 UTC
should work with 1.18.0, if not please reopen with more info, thanks!