GNOME Bugzilla – Bug 311158
amd64 issues
Last modified: 2006-01-21 21:58:44 UTC
[davyd@floyd ~]$ muine The program 'muine' received an X Window System error. This probably reflects a bug in the program. The error was 'BadValue (integer parameter out of range for operation)'. (Details: serial 155 error_code 2 request_code 25 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Passing: `muine --sync` makes it work (albiet slowly).
I can confirm this, I get the exact same error. This appears to be a problem with the TrayIcon.dll plugin. Upon removing that from /usr/lib/muine/plugins I see no further problems (other than no tray icon). This is with 0.8.3, I've had no problems with 0.8.2 (systray icon works well there). Muine 0.8.3 runs with --sync even with the trayicon plugin in place (as reporter mentioned), I do not however see any icon in the systray.
I can confirm that the systray icon is missing. Makes accidental pressing of `Escape' that much more interesting.
*** Bug 316130 has been marked as a duplicate of this bug. ***
Bug 316130 has the patch that fixes this. I confirmed it works.
Whilst the patch makes the error go away, it doesn't seem to make the systray icon appear.
Ignore that -- my own incompetence at installing said plugin. I confirm that all appears well.
I haven't had problems with Muine for some time. The patch to the systray icon was required in several Mono packages. I can't seem to work out if it was applied to the upstream Muine or not, but here is the patch that went into Ubuntu: --- plugins/egg-sharp.cs.old 2005-09-09 16:29:07.146334128 +0200 +++ plugins/egg-sharp.cs 2005-09-09 16:29:23.521844672 +0200 @@ -185,7 +185,7 @@ [StructLayout(LayoutKind.Sequential)] internal struct XClientMessageEvent { internal XEventName type; - internal int serial; + internal IntPtr serial; internal bool send_event; internal IntPtr display; internal IntPtr window;
Yeah, this is the fix as found in blam as well as Ubuntu and Gentoo packages. I've just commited this to CVS, please test and confirm this is fixed in CVS, and we'll mark this fixed. Thanks.
I've confirmed on my new amd64 system here. Fix is in CVS, and will be in the upcoming 0.8.4 release. Marking this FIXED.