#13480 closed defect (duplicate)
wireshark: wireshark crashes clicking "OK" in the "Open File" dialog, and when captures receive lots of packets
Reported by: | smith.kennedy macosforge@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.2 |
Keywords: | Cc: | ||
Port: |
Description (last modified by jmpalacios (Juan Manuel Palacios))
When I run Wireshark, and I try to open an existing capture file, wireshark crashes when I click on the "OK" button in the Open dialog. This is written out to the shell where I started it:
smitty@Smittys-MacBook-Pro ~$ sudo 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 12975 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.)
Unfortunately, trying to run it in gdb didn't seem to help me figure out the underlying cause. I don't know how to look up X Window System error codes. I also remember it crashing when I would be doing a capture
Interestingly, if I run wireshark like this:
$ sudo wireshark -r mySampleFile
it opens up the file just fine. So the problem is likely in something outside wireshark (dependent library).
Similarly, if I run wireshark and start a capture, it will capture packets just fine. But when the number of captured packets is longer than what can be presented in the window, and would force the user to use the scrollbar to see the bottom, it crashes. I can make it crash earlier by making the window smaller (quiet network at home allows me to recognize this). The dumps to my terminal window when it does that seems to vary:
smitty@Smittys-MacBook-Pro ~$ sudo wireshark Password: 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 23365 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.) smitty@Smittys-MacBook-Pro ~$ sudo 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 33554 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.) smitty@Smittys-MacBook-Pro ~$ sudo 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 27658 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.) smitty@Smittys-MacBook-Pro ~$ sudo wireshark Password: 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 22309 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.) smitty@Smittys-MacBook-Pro ~$
Attachments (1)
Change History (5)
Changed 17 years ago by smith.kennedy macosforge@…
Attachment: | Smittys-MacBook-Pro.spx added |
---|
comment:1 Changed 17 years ago by smith.kennedy macosforge@…
I just tried installing ethereal, which required that I deactivate wireshark. Doing the same things with ethereal that were causing crashes with wireshark worked just fine. Clicking the "OK" button in the "Open File" dialog opened the file without errors. But interestingly, when doing a capture and the number of packets got long enough to require scrolling, it crashed:
The program 'ethereal' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 189248 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.)
I noticed that crash happened after I changed the display preferences. But after moving the preferences out of the way, I see that, at least on my system, there are still a lot of problems with opening one file after another, trying to use the filtering, and other facilities.
comment:2 Changed 17 years ago by ghosthound
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:3 Changed 17 years ago by ghosthound
Bother, trac doesn't ask as to *what* the ticket is a duplicate of. Fine. This appears to be a dup. of 13012 (Leopard X11 makes crashy)
comment:4 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Description: | modified (diff) |
---|---|
Milestone: | Port Bugs |
Apple System Profiler profile