Bug 116304

Summary: 64bit bug in dbus-1-mono (causes banshee crash, probably other problems)
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Dan Winship <danw>
Component: MonoAssignee: Andreas Jaeger <aj>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: x86-64   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dan Winship 2005-09-10 01:23:37 UTC
There's a really awful 32-bit assumption in dbus/mono/Arguments.cs. This
patch isn't the right fix, but it works around the problem for now by
just always allocating enough memory for the 64-bit structure whether
we're on 32 or 64 bit.

Index: mono/Arguments.cs
===================================================================
RCS file: /cvs/dbus/dbus/mono/Arguments.cs,v
retrieving revision 1.10
diff -u -u -0 -r1.10 Arguments.cs
--- mono/Arguments.cs   9 Mar 2005 04:36:15 -0000       1.10
+++ mono/Arguments.cs   10 Sep 2005 01:16:10 -0000
@@ -13 +13 @@
-    internal const int DBusMessageIterSize = 14*4;
+    internal const int DBusMessageIterSize = 72;
Comment 1 Dan Winship 2005-09-10 01:24:21 UTC
JP says this is thoenig@suse.de's package
Comment 2 JP Rosevear 2005-09-10 01:39:11 UTC
It affects banshee and probably f-spot and tomboy as well.
Comment 3 Andreas Jaeger 2005-09-10 08:40:37 UTC
Dan, you can always submit somebody else's package, no problem with that.

I'll take care of this myself now.  thanks for the hack.
Comment 4 Andreas Jaeger 2005-09-10 08:53:47 UTC
Fixed package submitted and checked-in for RC2.