So first off I'm now able to successfully build wireshark on leopard! Thanks for fixing those funky gtk2 and other portfile bugs! However when I stop a capture everytime wireshark crashes with this error. bash-3.2# /opt/local/bin/wireshark 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 14532 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.) Is this a bug that I should report for macports or upstream to wireshark? thanks, Blake-
On Nov 13, 2007, at 1:59 PM, Blake Garner wrote:
So first off I'm now able to successfully build wireshark on leopard! Thanks for fixing those funky gtk2 and other portfile bugs!
However when I stop a capture everytime wireshark crashes with this error.
bash-3.2# /opt/local/bin/wireshark 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 14532 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.)
Is this a bug that I should report for macports or upstream to wireshark?
thanks, Blake-
You are using Leopard, correct? You might try downloading the X11 updates at http://www.x.org/wiki/XDarwin by Apples X11 guy. I dont know that this will fix your present problem but cant hurt. Im sure otherswill have more to say. :) William Davis frstanATbellsouthDOTnet Mac OS X.5.0 Darwin 9.0.0 Mac Mini Intel Duo @ 1.86 GHz Mundus vult decepi, ego non
Hi William Tried both the fixes on the attached page and completely rebuilt wireshark (and hence gtk2), rebooted my Intel MB Pro (clean install 10.5)
curl -LO http://people.freedesktop.org/~bbyer/x11app/ libX11.6.dylib.bz2 bunzip2 libX11.6.dylib.bz2 sudo mv /usr/X11/lib/libX11.6.dylib /usr/X11/lib/libX11.6.old sudo install -b libX11.6.dylib /usr/X11/lib
Note: Before doing this for the first time, make a backup copy of the "real" /usr/X11/bin/Xquartz binary in case something breaks. (i.e. ) cp /usr/X11/bin/Xquartz ~/Documents/Xquartz-backup curl -LO http://people.freedesktop.org/~bbyer/x11app/xorg-server-1.2a9/Xquartz-1.2a9.... bunzip2 Xquartz-1.2a9.bz2 sudo install -b Xquartz-1.2a9 /usr/X11/bin/Xquartz
And still wireshark crashes on opening a pcap file or stopping a capture, with the same XWindow error as Blake. Regards Mike On Nov 13, 2007, at 1:14 PM, William Davis wrote:
You are using Leopard, correct? You might try downloading the X11 updates at http://www.x.org/wiki/XDarwin by Apples X11 guy. I dont know that this will fix your present problem but cant hurt. Im sure otherswill have more to say. :)
William Davis frstanATbellsouthDOTnet Mac OS X.5.0 Darwin 9.0.0 Mac Mini Intel Duo @ 1.86 GHz
Wireshark is working here. I had a clean install of Leopard on a MacBook Pro, then I applied the Xquartz-1.2a9 and libX11.6.dylib binary patches from http://www.x.org/wiki/XDarwin. Then installed wireshark using "sudo port install wireshark +ipv6" and it is capturing data, saving data, reading data from files, etc, etc. No problems yet. Brian
You are correct, after installing the binaries, I did a sudo port -f uninstall installed and got rid of all my binaries and then sudo port install wireshark +ipv6 Wireshark runs fine now Thanks Mike On Nov 13, 2007, at 10:29 PM, BB wrote:
Wireshark is working here. I had a clean install of Leopard on a MacBook Pro, then I applied the Xquartz-1.2a9 and libX11.6.dylib binary patches from http://www.x.org/wiki/XDarwin. Then installed wireshark using "sudo port install wireshark +ipv6" and it is capturing data, saving data, reading data from files, etc, etc. No problems yet.
Brian _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Hi All, Thanks for the tips about the updated binaries. If someone wanted to receive the fixes in an "official" release (rather than pull down 'hotfixes' from the aforementioned sites) where will these fixes come from? Does "official" mean an Apple X11 update? Should I hold my breath? Just curious. --Noah-- On Nov 14, 2007, at 1:00 AM, Mike Savory wrote:
You are correct, after installing the binaries, I did a
sudo port -f uninstall installed and got rid of all my binaries and then
sudo port install wireshark +ipv6 Wireshark runs fine now
Thanks
Mike
On Nov 13, 2007, at 10:29 PM, BB wrote:
Wireshark is working here. I had a clean install of Leopard on a MacBook Pro, then I applied the Xquartz-1.2a9 and libX11.6.dylib binary patches from http://www.x.org/wiki/XDarwin. Then installed wireshark using "sudo port install wireshark +ipv6" and it is capturing data, saving data, reading data from files, etc, etc. No problems yet.
Brian _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
On 15/11/2007, Noah Salzman <noah@salzman.net> wrote:
If someone wanted to receive the fixes in an "official" release (rather than pull down 'hotfixes' from the aforementioned sites) where will these fixes come from? Does "official" mean an Apple X11 update? Should I hold my breath?
Official updates are coming; Kevin Van Vechten, the BSD Team Manager, posted the following email to the x11-users list last week. http://lists.apple.com/archives/X11-users/2007/Nov/msg00298.html Cheers Adam
I have installed the updates from http://www.x.org/wiki/XDarwin and rebuilt wireshark. The application is still crashing for me when stopping capture.. Any other suggestions? blake- On 11/13/07, BB <2nfinite@gmail.com> wrote:
Wireshark is working here. I had a clean install of Leopard on a MacBook Pro, then I applied the Xquartz-1.2a9 and libX11.6.dylib binary patches from http://www.x.org/wiki/XDarwin. Then installed wireshark using "sudo port install wireshark +ipv6" and it is capturing data, saving data, reading data from files, etc, etc. No problems yet.
Brian _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Looks like I needed to kill quartz-wm as it was running after wireshark crashed the first time. So a reboot or make sure you kill quartz-wm before updating the libraries solved this problem for me. Blake- On 11/19/07, Blake Garner <trodemaster@gmail.com> wrote:
I have installed the updates from http://www.x.org/wiki/XDarwin and rebuilt wireshark. The application is still crashing for me when stopping capture..
Any other suggestions?
blake-
On 11/13/07, BB <2nfinite@gmail.com> wrote:
Wireshark is working here. I had a clean install of Leopard on a MacBook Pro, then I applied the Xquartz-1.2a9 and libX11.6.dylib binary patches from http://www.x.org/wiki/XDarwin. Then installed wireshark using "sudo port install wireshark +ipv6" and it is capturing data, saving data, reading data from files, etc, etc. No problems yet.
Brian _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
participants (6)
-
Adam Mercer
-
BB
-
Blake Garner
-
Mike Savory
-
Noah Salzman
-
William Davis