Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101983 - minisip-0.7.0 segmentation fault
Summary: minisip-0.7.0 segmentation fault
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gustavo Zacarias (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-10 07:25 UTC by Sascha Lucas
Modified: 2006-10-27 11:52 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 Sascha Lucas 2005-08-10 07:25:45 UTC
I installed minisip-0.7.0 and run it the first time. While configuring the 
preferences it segfaults every time I press the OK button.

Reproducible: Always

Steps to Reproduce:
1. rm ~/.minisip.conf
2. minisip
3. using mouse -> right click on tray icon -> Preferences -> OK

Actual Results: segmentation fault

Expected Results: run without segmentation fault

workaround: edit ~/.minisip.conf by hand results in usable Preferences dialog 
but minisip segfaults when choosing TCP or TLS for signaling.

# emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-
r0, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/
share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /
usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ 
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/
texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.
uni-erlangen.de/pub/mirrors/gentoo"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts 
crypt cups curl divx4linux dvd eds emboss encode esd fam flac foomaticdb fortran 
gdbm gif gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg kde 
kdeenablefinal ldap libg++ libwww mad mikmod mmx mng motif mozilla mp3 mpeg 
ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png python qt 
quicktime readline real sdl slang snmp softmmu speex spell sse ssl svg svga 
tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode vorbis wmf 
xine xinerama xml2 xmms xprint xv xvid zlib linguas_de userland_GNU kernel_linux 
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Gustavo Zacarias (RETIRED) gentoo-dev 2005-08-10 08:14:26 UTC
I can't seem to reproduce the "first time config" bug here.
With respect to TLS, it's a known bug already reported in minisip's bugzilla ->
http://bugs.minisip.org/cgi-bin/bugzilla/show_bug.cgi?id=6
I don't know if this has been fixed in their CVS yet.
Frankly i'd rather wait for a new release rather than dig the fix from their CVS
since it's been some time now, and there's more stuff that needs fixing than the
problems you found (alsa config, qt gui support, and more).
I'll keep this bug open as a reminder anyway since it really needs love :)
Comment 2 Sascha Lucas 2005-08-10 09:01:34 UTC
unbelievable not reproduce-able :-)

I feel sorry it seems to be my fault, but it's still a bug. The reason why 
minisip won't start is that port 5060 udp+tcp are in use by my sip-server on the 
same machine. After changing <local_udp_port> 5070 </local_udp_port> it runs 
fine for the first time.

minisip should report that 5060 is in use (like linphone does).
Comment 3 Sascha Lucas 2005-08-15 05:23:37 UTC
I'm sorry again. I thought it is just a ploblem with used ports. But it doesn't 
seem so trivial. I've tested these steps, but they do not reproduce the bug :

Steps to Reproduce:
1. rm ~/.minisip.conf
1.1 have somthing listen on UDP/5060, TCP/5060, TCP/5061; i.e.
    nc -u -l -p 5060 &
    nc -l -p 5060 &
    nc -l -p 5061 &
2. minisip
3. using mouse -> right click on tray icon -> Preferences -> OK

But I definitely have the problem. I just can say: I'm running "CommuniGate Pro" 
(ftp://ftp.stalker.com/pub/CommuniGatePro/) and then I got the problem.
Comment 4 Gustavo Zacarias (RETIRED) gentoo-dev 2006-10-27 11:52:15 UTC
net-misc/minisip is p.masked now.
Please use some other equivalent app like ekiga or kphone.
Upstream doesn't do releases any longer which makes difficult to maintain a proper release and testing it.
Sorry.