ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Segmentation fault: 11 when running wireshark

From: Gonzalo Gasca <gascagonzalo@xxxxxxxxx>
Date: Fri, 22 Feb 2013 14:57:54 -0600
I'm building Wireshark from trunk, downloaded last Wednesday:


Mac 10.7.5
Xcode Version 4.6 (4H127)

I run macosx-setup.sh with CMAKE and GTK3 version enabled

Then:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/X11/lib/pkgconfig
mkdir build; cd build
cmake ..
../configure
make -j 3
make install

If I run wireshark I see:

gonzo:build gogasca$ ./wireshark 

Segmentation fault: 11

X11 started, but wireshark not.

Crash log shows:

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000001c8

I run:
sudo port -d -v install wireshark configure.compiler=llvm-gcc-4.2
and wireshark runs, but not my built.


Thanks

Attached crash log

Thanks
-Gonzalo

Attachment: wireshark_2013-02-22-144816_gonzo.crash.zip
Description: Zip archive