Re: [Evolution] bus error causing crashes

2012-12-19 Thread Adam Tauno Williams
On Sat, 2012-12-15 at 07:11 +, 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.

Does 3.4.x do something different regarding caches / databases than 3.6?
I don't show folders.db, etc... as memory mapped for my running 3.6
[fuser will tell you if an open file is memory mapped or not].

The only memory mapped 'data' files I see are:
  /home/awilliam/.local/share/gvfs-metadata/home-897372f8.log (deleted)
  /home/awilliam/.local/share/gvfs-metadata/home (deleted)
  /home/awilliam/.local/share/mime/mime.cache
  /home/awilliam/.config/dconf/user (deleted)
  /usr/share/icons/gnome/icon-theme.cache
  /var/cache/fontconfig/7ef2298fde41cc6eeb7af42e48b7d293-x86_64.cache-3
  /usr/share/mime/mime.cache
  /usr/lib64/gconv/gconv-modules.cache
  ... and a few font files?

See /proc/{evolutionPID}/maps

Will a backtrace record a SIG-BUS?  I don't know that I've ever had to
deal with a memory-map issue outside of a straight-up bug.

http://www.whitemiceconsulting.com/2012/10/d-is-for-debugging.html

-- 
Adam Tauno Williams awill...@whitemice.org

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] bus error causing crashes

2012-12-17 Thread Zan Lynx
On Sat, 2012-12-15 at 07:11 +, 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


signature.asc
Description: This is a digitally signed message part
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] bus error causing crashes

2012-12-14 Thread Paul Menzel
Dear Evolution folks,


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 could not find a bug report about that yet, so I wonder if I should
create one. Or is this fixed in newer versions or unrelated to
Evolution?


Thanks,

Paul


signature.asc
Description: This is a digitally signed message part
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] bus error causing crashes

2012-12-14 Thread Adam Tauno Williams
On Fri, 2012-12-14 at 12:40 +0100, Paul Menzel wrote:
 Dear Evolution folks,
 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.

For it to mean anything you almost certainly need to have it drop core
so you can get a backtrace.

 I could not find a bug report about that yet, so I wonder if I should
 create one. Or is this fixed in newer versions or unrelated to
 Evolution?

It is quite possibly very specific to your install;  those kinds of
errors can be triggered by lots of subtle things.

-- 
Adam Tauno Williams  GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] bus error causing crashes

2012-12-14 Thread Pete Biggs

  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.

P.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list