Re: [Evolution] bus error causing crashes

On Sat, 2012-12-15 at 07:11 +0000, Pete Biggs wrote:
using Debian Sid/unstable with Evolution 3.4.4 (but happened since
3.4.x), wanting to reply to some message, Evolution often crashes due to
a Âbus errorÂ. Does somebody experience something similar?

I think that is a euphamism for a segmentation fault.

No, they are different things - a seg fault is when a program attempts
to access a memory segment it doesn't own and a bus error is when a
program attempts to access memory beyond the capabilities of the
machine.  Both are caused by similar things, such as dereferencing
invalid pointers, but bus errors sometimes point to hardware problems.

A common error resulting in SIGBUS is accessing a memory mapped file
beyond the end of the file but still inside the memory map.

A program of mine often gets this signal (when I have a bug) because I
mmap a full 1 GB in order to reserve that virtual memory for an
expanding file, but the file may be only 550 MB.

The mmap man page documents that.

Knowledge Is Power
Power Corrupts
Study Hard
Be Evil

Attachment: signature.asc
Description: This is a digitally signed message part

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