Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436466 - sys-apps/dbus fails test-marshal on Alpha
Summary: sys-apps/dbus fails test-marshal on Alpha
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2012-09-28 03:07 UTC by Matt Turner
Modified: 2013-11-04 04:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
backtrace (dbus-1.6.4-test-marshal-alpha-backtrace.txt,4.70 KB, text/plain)
2012-09-28 03:07 UTC, Matt Turner
Details
build.log (build.log,425.65 KB, text/plain)
2012-09-28 03:07 UTC, Matt Turner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Turner gentoo-dev 2012-09-28 03:07:30 UTC
Created attachment 325166 [details]
backtrace

Unaligned access causes an assertion.

Doesn't fail on mips64 or amd64 here.

I did notice that the test-marshal test is only built if dbus-glib is already installed. Boo for automagic dependencies :(
Comment 1 Matt Turner gentoo-dev 2012-09-28 03:07:53 UTC
Created attachment 325168 [details]
build.log
Comment 2 Matt Turner gentoo-dev 2012-09-28 03:20:03 UTC
Also fails with 1.4.20.
Comment 3 Matt Turner gentoo-dev 2012-10-14 03:28:02 UTC
1.6.8 fails too.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2012-10-14 04:09:26 UTC
Most likely something being handled wrong with endian-ness. You're going to have to provide access to an alpha box to figure this out.
Comment 5 Matt Turner gentoo-dev 2012-10-14 04:14:50 UTC
(In reply to comment #4)
> Most likely something being handled wrong with endian-ness. You're going to
> have to provide access to an alpha box to figure this out.

alpha is little endian (like amd64, where it works) and it fails. My mips64 box is big endian, and it works.

In any case, please send your ssh key to klausman@gentoo.org and he'll add an account for you on monolith.alpha.dev.gentoo.org.
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2012-10-14 05:12:23 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Most likely something being handled wrong with endian-ness. You're going to
> > have to provide access to an alpha box to figure this out.
> 
> alpha is little endian (like amd64, where it works) and it fails. My mips64
> box is big endian, and it works.

Sure. But D-Bus is going to marshall everything into a single endian-ness and then pop it back out the other side and un-marshall it. Somewhere either the test or the code does the wrong thing. The other case could be a wrong assumption about type size. But this is just me assuming. I'll get my key added.
Comment 7 Matt Turner gentoo-dev 2013-11-04 04:12:11 UTC
The test suite all passes with 1.6.16. Likely fixed by:

http://cgit.freedesktop.org/dbus/dbus/commit/?id=2de11abd56a7ee350e98b8a957c7c7a4902945ce (since 1.7.6)
http://cgit.freedesktop.org/dbus/dbus/commit/?id=b4ffcdc5eb2ff89f2c4715130f061c82232775ef (since 1.6.14)