On Nov 23, 2007, at 18:08, Stephen Fisher wrote: >> There are no warnings or errors whatsoever during the builds of >> Wireshark or Macports but when I try to fire up Wireshark from a >> xterm >> window under /Utilities/X11, I get a bus error. > > That's odd. Can you try building from our source code to see if the > same problem happens? You can download the source code from the > www.wireshark.org web site. Sometimes port systems apply patches that > *might* be causing the problem, though it is unlikely. The main > advantage to building from source is that you can run out of the build > directory with debugging symbols - do you know how to use gdb to > obtain > a backtrace when that error occurs?
I'm currently in the middle of a "sudo port -Rv install wireshark" after doing a "sudo port clean wireshark". I'll try downloading the source and then building directly after my build using MacPorts. However, I haven't used gdb in over fifteen years (used to be a developer, got sent to the abyss of systems administration and haven't clawed my way back out yet) so I'd appreciate a refresher on getting the backtrace via gdb. Thanks in advance. Got a couple of lines of output from the MacPorts build which look suspicious, though (do they help pinpoint the possible problem with MacPort patches?): > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -I/opt/local/ > include -I/opt/local/include -no-cpp-precomp "-D_U_=__attribute__ > ((unused))" -O2 -Wall -W -Wdeclaration-after-statement -Wendif- > labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wwrite- > strings -Wshorten-64-to-32 -Wstrict-prototypes -Wmissing- > declarations -Wno-pointer-sign -Wcast-align -I/opt/local/include/ > glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/ > opt/local/include -I/opt/local/include -MT ascend-scanner.lo -MD - > MP -MF .deps/ascend-scanner.Tpo -c ascend-scanner.c -fno-common - > DPIC -o .libs/ascend-scanner.o > ascend-scanner.c:2423: warning: no previous declaration for > 'ascendget_lineno' > ascend-scanner.c:2432: warning: no previous declaration for > 'ascendget_in' > ascend-scanner.c:2440: warning: no previous declaration for > 'ascendget_out' > ascend-scanner.c:2448: warning: no previous declaration for > 'ascendget_leng' > ascend-scanner.c:2457: warning: no previous declaration for > 'ascendget_text' > ascend-scanner.c:2466: warning: no previous declaration for > 'ascendset_lineno' > ascend-scanner.c:2478: warning: no previous declaration for > 'ascendset_in' > ascend-scanner.c:2483: warning: no previous declaration for > 'ascendset_out' > ascend-scanner.c:2488: warning: no previous declaration for > 'ascendget_debug' > ascend-scanner.c:2493: warning: no previous declaration for > 'ascendset_debug' > ascend-scanner.c:2527: warning: no previous declaration for > 'ascendlex_destroy' > if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H - > I. -I. -I. -I/opt/local/include -I/opt/local/include -I/opt/local/ > include -no-cpp-precomp -D_U_="__attribute__((unused))" -O2 -Wall - > W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith - > Wbad-function-cast -Wcast-qual -Wwrite-strings -Wshorten-64-to-32 - > Wstrict-prototypes -Wmissing-declarations -Wno-pointer-sign -Wcast- > align -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/ > include -I/opt/local/include -I/opt/local/include -I/opt/local/ > include -MT k12text.lo -MD -MP -MF ".deps/k12text.Tpo" -c -o > k12text.lo k12text.c; \ > then mv -f ".deps/k12text.Tpo" ".deps/k12text.Plo"; else rm -f > ".deps/k12text.Tpo"; exit 1; fi > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -I/opt/local/ > include -I/opt/local/include -no-cpp-precomp "-D_U_=__attribute__ > ((unused))" -O2 -Wall -W -Wdeclaration-after-statement -Wendif- > labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wwrite- > strings -Wshorten-64-to-32 -Wstrict-prototypes -Wmissing- > declarations -Wno-pointer-sign -Wcast-align -I/opt/local/include/ > glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/ > opt/local/include -I/opt/local/include -MT k12text.lo -MD -MP - > MF .deps/k12text.Tpo -c k12text.c -fno-common -DPIC -o .libs/ > k12text.o > k12text.c:2063: warning: no previous declaration for > 'K12Text_get_lineno' > k12text.c:2072: warning: no previous declaration for 'K12Text_get_in' > k12text.c:2080: warning: no previous declaration for 'K12Text_get_out' > k12text.c:2088: warning: no previous declaration for > 'K12Text_get_leng' > k12text.c:2097: warning: no previous declaration for > 'K12Text_get_text' > k12text.c:2106: warning: no previous declaration for > 'K12Text_set_lineno' > k12text.c:2118: warning: no previous declaration for 'K12Text_set_in' > k12text.c:2123: warning: no previous declaration for 'K12Text_set_out' > k12text.c:2128: warning: no previous declaration for > 'K12Text_get_debug' > k12text.c:2133: warning: no previous declaration for > 'K12Text_set_debug' > k12text.c:2167: warning: no previous declaration for > 'K12Text_lex_destroy' > /bin/sh ./libtool --tag=CC --mode=link gcc -no-cpp-precomp - > D_U_="__attribute__((unused))" -O2 -Wall -W -Wdeclaration-after- > statement -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast- > qual -Wwrite-strings -Wshorten-64-to-32 -Wstrict-prototypes - > Wmissing-declarations -Wno-pointer-sign -Wcast-align -I/opt/local/ > include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ > include -I/opt/local/include -I/opt/local/include -Wl,- > search_paths_first -L/opt/local/lib -Wl,-search_paths_first -o > libwiretap_generated.la ascend-grammar.lo ascend-scanner.lo > k12text.lo -L/opt/local/lib -lz -L/opt/local/lib -lgmodule-2.0 - > lglib-2.0 -lintl -liconv > ar cru .libs/libwiretap_generated.a .libs/ascend-grammar.o .libs/ > ascend-scanner.o .libs/k12text.o -- Reality Artisans, Inc. # Network Wrangling and System Delousing P.O. Box 565, Gracie Station # Apple Certified Help Desk Specialist New York, NY 10028-0019 # Apple Consultants Network member <http://www.realityartisans.com> # Apple Developer Connection member (212) 369-4876 (Voice) # (212) 860-4325 (Fax) PGP Fingerprint: 77B3 D1E9 D24B 4FA9 9606 6C8D 62E4 2E4A 6FDD 9FD5 _______________________________________________ Wireshark-users mailing list Wireshark-users@wireshark.org http://www.wireshark.org/mailman/listinfo/wireshark-users