[Bug 839] Re: unhandled exception with

Loïc Minier lool at dooz.org
Wed Jul 19 09:25:53 UTC 2006


I suppose this is by design, and this is covered in the FAQ:
http://alliance.seas.upenn.edu/~bcpierce/unison/wiki/index.php?n=Main.UnisonFAQTroubleshooting

I tried raising my stack size limit and number of open file descriptor
limit to insane values, and unison didn't seem to work any longer.

Stracing the server part of the process shows:
(many read()s)
read(4, "ix) with ESMTP id 93618C2E6;\r\n\tT"..., 7700) = 7700
read(4, ")\r\n\tby mx0.bpl-group.org (Postfi"..., 7700) = 5049
read(4, "", 2651)                       = 0
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb69ec000
...
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb478b000
mremap(0xb478b000, 135168, 266240, MREMAP_MAYMOVE) = 0xb474a000
mremap(0xb474a000, 266240, 528384, MREMAP_MAYMOVE) = 0xb46c9000
mremap(0xb46c9000, 528384, 1052672, MREMAP_MAYMOVE) = 0xb45c8000
mremap(0xb45c8000, 1052672, 2101248, MREMAP_MAYMOVE) = 0xb43c7000
mremap(0xb43c7000, 2101248, 4198400, MREMAP_MAYMOVE) = 0xb3fc6000
mremap(0xb3fc6000, 4198400, 8392704, MREMAP_MAYMOVE) = 0xb37c5000
mremap(0xb37c5000, 8392704, 16781312, MREMAP_MAYMOVE) = 0xb27c4000
mremap(0xb27c4000, 16781312, 33558528, MREMAP_MAYMOVE) = 0xb07c3000
write(2, "Uncaught exception Out of memory"..., 33) = 33
exit_group(1)                           = ?

It's absolutely not clear why it fails, even with ulimit -a:
-t: cpu time (seconds)         unlimited
-f: file size (blocks)         unlimited
-d: data seg size (kbytes)     unlimited
-s: stack size (kbytes)        262144
-c: core file size (blocks)    0
-m: resident set size (kbytes) unlimited
-u: processes                  unlimited
-n: file descriptors           8192
-l: locked-in-memory size (kb) unlimited
-v: address space (kb)         unlimited
-x: file locks                 unlimited

I'm trying a ltrace(), but it takes too long with ltracing to reach the
bug.

-- 
unhandled exception with 
https://launchpad.net/bugs/839




More information about the universe-bugs mailing list