[maemo-developers] [maemo-developers] Re: Tinymail using mmap() gets killed by the kernel of the device

From: Philip Van Hoof spam at pvanhoof.be
Date: Sat Jul 15 11:17:24 EEST 2006
On Fri, 2006-07-14 at 11:41 +0200, Philip Van Hoof wrote:
> When I run tinymail behind a camel with the mmap() patch, on the device,
> it will get killed by the kernel (it's not a Segfault, it's a kill by
> the kernel).
> 
> When I run tinymail (behind a camel with the mmap..) on my desktop or in
> scratchbox, everything works perfectly.
> 
> The OOM killer?
 
It turns out that the data of the summary file isn't 4 byte aligned.
This is probably the reason (as I didn't care about alignment when
writing the patch).

If somebody feels brave, feel free to assist me in getting it 4 byte
aligned ;-). I don't have a lot experience here.

-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be


More information about the maemo-developers mailing list