On 11/08/2011 02:56 PM, Jean-Yves Migeon wrote:
On Tue, 08 Nov 2011 14:13:53 +0200, Rares Aioanei wrote:
On 11/08/2011 03:03 AM, Jean-Yves Migeon wrote:
On 07.11.2011 00:11, Rares Aioanei wrote:
Hi list,
I compiled Alpine (pkgsrc-2011Q3) for my 5-STABLE system and it
works
OK, but when I tried to open my inbox on a rather large IMAP
Gmail
account, it segfaults. On Free and OpenBSD Alpine works with
the same
account with no problems. I tried compiling using pthreads but
the
outcome is the same: it stays a while on "Sorting messages"
then
segfaults leaving a .core file in ~ . Running GDB shows
problems
coming
from nanosleep(), telling me that it's indeed a threads
problem.
Anyone
else having the same issue or should I file a bug?
Thank you in advance.
Hmmm I am not quite sure that nanosleep is the culprit here. Any
idea how much memory does it try to eat?
Right before the crash, I ran top and it showed ~450 MB.
Does it look the same on other OS where it does not crash? You may
hit
a ulimit that prevents further allocations. The output of ulimit
-a
for your session would be interesting too.
ulimit -a:
data 262144
stack 2048
lockedmem 672500
nofiles(descriptors) 128
processes 160
resident-set 2017500
, the rest being set to unlimited. The machine has 2GB RAM, if that
matters, and lots of swap/disk space. The OpenBSD machine is a
ThinkPad
T22 with 256 MB RAM, and on it alpine eats less, around 170 MB, as
shown
by top.