Wireshark-dev: Re: [Wireshark-dev] wireshark 0.99.7 crash on MacOS X 10.5 (Leopard)
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 03 Jan 2008 11:44:45 -0800
Andreas Fink wrote:

I'm trying to rebuild wireshark for MacOS X 10.5 (Leopard) with the new X11 engine (instead of the old XFree86, Leopard uses XFree.org's implementation if I'm not mistaken).

X.org rather than XFree.org, but, yes, Leopard's X server is X.org-based rather than XFree86-based.

However I'm running into crashes saying:

intelix:sources afink$ wireshark --sync
The program 'wireshark' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 57553 error_code 8 request_code 152 minor_code 4)
  (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.)

X server bug.  See

	http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1953

for details and, at the end, for information on where to get a fixed X server.

(Summary, for X geeks: the server temporarily set the depth of a drawable for some purpose and, in some error cases, failed to restore it to the correct value when done.)