After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 311158 - amd64 issues
amd64 issues
Status: RESOLVED FIXED
Product: muine
Classification: Other
Component: general
0.8.6 or older
Other Linux
: Normal normal
: ---
Assigned To: Muine Maintainers
Muine Maintainers
: 316130 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-07-21 14:17 UTC by Danielle Madeley
Modified: 2006-01-21 21:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Danielle Madeley 2005-07-21 14:17:08 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).
Comment 1 Herbie Hopkins 2005-08-02 11:33:19 UTC
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.
Comment 2 Gen Zhang 2005-08-02 18:37:10 UTC
I can confirm that the systray icon is missing. Makes accidental pressing of
`Escape' that much more interesting.
Comment 3 Pat Suwalski 2005-10-15 01:18:44 UTC
*** Bug 316130 has been marked as a duplicate of this bug. ***
Comment 4 Pat Suwalski 2005-10-15 01:21:48 UTC
Bug 316130 has the patch that fixes this. I confirmed it works.
Comment 5 Gen Zhang 2005-10-15 22:06:48 UTC
Whilst the patch makes the error go away, it doesn't seem to make the systray
icon appear.
Comment 6 Gen Zhang 2005-10-15 22:11:02 UTC
Ignore that -- my own incompetence at installing said plugin. I confirm that all
appears well.
Comment 7 Danielle Madeley 2005-12-28 01:24:14 UTC
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;
Comment 8 Peter Johanson 2006-01-11 04:46:09 UTC
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.
Comment 9 Peter Johanson 2006-01-21 21:58:44 UTC
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.