Summary: | mail/sylpheed crashes on ARM | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Ulrich Grey <usenet> | ||||
Component: | Individual Port(s) | Assignee: | Emanuel Haupt <ehaupt> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | freebsd-arm, mikael | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(ehaupt) |
||||
Version: | Latest | ||||||
Hardware: | arm | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Ulrich Grey
2015-05-08 15:47:32 UTC
Created attachment 158197 [details]
sigbus fix
Hi,
The sigbus is caused by unaligned access:
Program received signal SIGBUS, Bus error.
[Switching to Thread 21c03300 (LWP 100078/sylpheed)]
procmsg_read_cache_data_str_mem (p=0xbfbff5f4, endp=0x217c4335 "", str=0x21fb8844) at procmsg.c:167
167 len = *(__packed const guint32 *)(*p);
a second sigbus is triggered in READ_CACHE_DATA_INT: n = *(const guint32 *)p;
The attached patch fixes that, tested successfully by Ulrich.
Thanks.
Has this patch been submitted upstream? (In reply to Emanuel Haupt from comment #2) No Reported upstream: http://sylpheed.sraoss.jp/redmine/issues/242 A commit references this bug: Author: ehaupt Date: Mon Jul 6 07:14:30 UTC 2015 New revision: 391392 URL: https://svnweb.freebsd.org/changeset/ports/391392 Log: Provide fix for sigbus on ARM caused by unaligned access. PR: 200053 Submitted by: mikael.urankar@gmail.com, usenet@ulrich-grey.de Changes: head/mail/sylpheed/Makefile head/mail/sylpheed/files/patch-libsylph_procmsg.c Committed, thanks! |