Skip to contentSkip to conversation

dbus-daemon unaligned accesses

DISCUSSION Bob Tracy 3 participants 6 messages Jan 18, 2020 – Jan 19, 2020 Alpha port

lore
Share & tools
lore

Bob Tracy

author
#0 lore raw

On my alpha, the system logs are getting spammed with unaligned trap errors as follows:

[34656.586748] dbus-daemon(700): unaligned trap at 00000200000a9720: 00000000d68c7222 28 18
[34656.599443] dbus-daemon(700): unaligned trap at 00000200000a9720: 00000000d68c7222 28 18
[34656.612138] dbus-daemon(700): unaligned trap at 00000200000a9720: 00000000d68c7222 28 18
[34656.617021] dbus-daemon(700): unaligned trap at 00000200000a9720: 00000000d68c7222 28 18
[34656.624833] dbus-daemon(700): unaligned trap at 00000200000a9720: 00000000d68c7222 28 18

The current "dbus" package version is 1.12.16-2.

If no one else is actively working to fix this annoyance, I'll see what I can do. For me, it's mostly a matter of finding the time to download the source package and its dependencies, build a debug version with symbols in it that "gdb" can use, and then *maybe* figure out the best way to code around the unaligned access.

If anyone else has the time and would like to have a go at it, the following two links might be useful:

https://wiki.gentoo.org/wiki/Project:Alpha/Porting_guide#Unaligned_accesses

https://www.redhat.com/archives/axp-list/2000-May/msg00151.html

(Yes, the problem has been around at least as long as the alpha architecture :-) ).

Michael Cree et al.: do we have a working "gdb" on alpha these days? I seem to recall brokenness there in the not-too-distant past.

--Bob

#1 lore raw

Hi Bob!

Quoted 5 lines · Bob Tracy

If no one else is actively working to fix this annoyance, I'll see what I can do. For me, it's mostly a matter of finding the time to download the source package and its dependencies, build a debug version with symbols in it that "gdb" can use, and then *maybe* figure out the best way to code around the unaligned access.

I'm busy with a lot of other things but I am well aware of this issue. You can silence the noise with "dmesg -n1".

Otherwise, it would be greatly appreciated if you could work on a patch to fix this issue.

Adrian

Signature · 4 lines
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [email protected]
`. `'   Freie Universitaet Berlin - [email protected]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
#2 lore raw

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932381

Quoted 24 lines · John Paul Adrian Glaubitz

Hi Bob!

Quoted 5 lines · Bob Tracy

If no one else is actively working to fix this annoyance, I'll see what I can do. For me, it's mostly a matter of finding the time to download the source package and its dependencies, build a debug version with symbols in it that "gdb" can use, and then *maybe* figure out the best way to code around the unaligned access.

I'm busy with a lot of other things but I am well aware of this issue. You can silence the noise with "dmesg -n1".

Otherwise, it would be greatly appreciated if you could work on a patch to fix this issue.

Adrian

--

 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [email protected]
`. `'   Freie Universitaet Berlin - [email protected]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
author
#3 lore raw
Quoted 1 line · Witold Baryluk

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932381

At first glance, that certainly appears to be the issue. The conversation seems to have stalled-out as of July 2019.

memcpy() looks to be a good way of handling the problem, for the reasons mentioned. Did you try that fix? If so, did it work for you?

--Bob

#4 lore raw

Yes, it works.

The suggested one line change did work and fixed the issue for me.

I didn't have time to ask for it to be merged.

Quoted 11 lines · On Sun, 19 Jan 2020, 06:49 Bob Tracy, <[email protected]> wrote:
Quoted 1 line · Witold Baryluk

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932381

At first glance, that certainly appears to be the issue. The conversation seems to have stalled-out as of July 2019.

memcpy() looks to be a good way of handling the problem, for the reasons mentioned. Did you try that fix? If so, did it work for you?

--Bob

#5 lore raw
In reply to Bob Tracy

Yes, it works.

The suggested one line change did work and fixed the issue for me.

I didn't have time to ask for it to be merged.

Quoted 11 lines · On Sun, 19 Jan 2020, 06:49 Bob Tracy, <[email protected]> wrote:
Quoted 1 line · Witold Baryluk

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932381

At first glance, that certainly appears to be the issue. The conversation seems to have stalled-out as of July 2019.

memcpy() looks to be a good way of handling the problem, for the reasons mentioned. Did you try that fix? If so, did it work for you?

--Bob