linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Segmentation violation


From: Simon Morlat
Subject: Re: [Linphone-developers] Segmentation violation
Date: Tue, 10 Oct 2006 18:31:56 +0200
User-agent: KMail/1.9.4

Maybe the problem is the CFLAGS=-g
Can you send me the compilation log ?
Your problem looks like a multi-threading problem since one thread is 
accessing data that has just been freed by another thread.
Normally this should happen because I use pthread_mutex_t to lock this 
critical section.
However if for some reason -D_REENTRANT is not on the compilation command, all 
pthread_mutex_* calls just goes to stub function or macros that do nothing.

Simon

Le mardi 10 octobre 2006 15:15, Micha Nelissen a écrit :
> Simon Morlat wrote:
> > Hi,
> >
> > I do not have this problem and valgrind does not report anything
> > similar. Can you precise:
> > - the OS
>
> Linux 2.6.
>
> > - the machine (number of cpu, cpu type)
>
> Target is actually ARMEB, but I also can reproduce the crash on Intel
> Pentium M processor within valgrind.
>
> > - how did you got linphone (compilation, package)
>
> http://download.savannah.nongnu.org/releases/linphone/1.4.x/source/linph
> one-1.4.1.tar.gz
>
> ./configure --prefix=/usr/local --disable-static --disable-gnome_ui
> --disable-video --with-gnu-ld --enable-alsa CFLAGS=-g PKG_CONFIG=`which
> pkg-config` "$@" && make
>
> Regards,
>
> Micha




reply via email to

[Prev in Thread] Current Thread [Next in Thread]