[armhf] Crash because of SIGBUS

Bug #1256886 reported by Michal Hruby
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zmqpp (Ubuntu)
Fix Released

Bug Description

When using zmqpp on armhf, clients using it crash with SIGBUS because of memory alignment issue in the zmq_msg_wrapper - sizeof(zmq_msg_wrapper) is 33 bytes and the zmq_msg_t itself ends up being offset by 1 byte from a 4-byte aligned memory addresses, this then causes SIGBUS on CPUs that don't do unaligned access (cause the address is later passed to zmq_msg_move(dest, src), which tries to copy the data using "dest=src;").

Tags: patch
Revision history for this message
Michal Hruby (mhr3) wrote :

Patch fixing the issue.

summary: - Crash because SIGBUS
+ [armhf] Crash because of SIGBUS
description: updated
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "sigbus.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zmqpp - 3.2.0-0ubuntu3

zmqpp (3.2.0-0ubuntu3) trusty; urgency=low

  * debian/rules:
    - Force -g to allow generating -dbg packages
  * debian/patches/fix_1256886.diff:
    - Fix memory alignment crash issue (LP: #1256886)
 -- Lukasz 'sil2100' Zemczak <email address hidden> Mon, 02 Dec 2013 14:16:41 +0100

Changed in zmqpp (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.