linphone-developers
[Top][All Lists]
Advanced

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

RE: [Linphone-developers] Segmentation violation


From: Micha Nelissen
Subject: RE: [Linphone-developers] Segmentation violation
Date: Thu, 19 Oct 2006 14:57:33 +0200

Simon Morlat wrote:
> I still think that it's a threading issue related with
> compiler/system or compiler option. 
> Did you rebuild a linphone on your pentium M without using CFLAGS,
> install and test it and see if valgrind still complains ? 

It doesn't complain anymore with 1.5.0 here on Pentium M.

I'm trying strace this time on ARM system. There are 4 threads creates
AFAICS: 379, 380, 381, and 382. When 382 begins to run it does:

382   getpid()                          = 382
382   rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
382   timer_delete(0)                   = 0
382   old_mmap(NULL, 4290711552, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = -1 ENOMEM (Cannot allocate memory)
382   old_mmap(NULL, 4290711552, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = -1 ENOMEM (Cannot allocate memory)
382   --- SIGSEGV (Segmentation fault) @ 0 (0) ---

Tries to allocate a lot of memory! Unfortenately, gdb does not work on
this system. Any idea for the reason of this huge memory allocation ?

Micha




reply via email to

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