[MacPorts] #46850: Wireshark 1.12.3 Segmentation fault

MacPorts noreply at macports.org
Thu Mar 12 14:19:55 PDT 2015


#46850: Wireshark 1.12.3 Segmentation fault
------------------------+----------------------
  Reporter:  greg@…     |      Owner:  ricci@…
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.3
Resolution:             |   Keywords:
      Port:  wireshark  |
------------------------+----------------------

Comment (by brian.reiter@…):

 Replying to [comment:20 macports@…]:
 > In case it helps, I've confirmed that building 1.12.4 with configure-
 pixmap-fix.diff and Portfile-wireshark.diff (attached to this ticket)
 results in a wireshark that starts up correctly, but the in-Macports one,
 built without the patch, crashes on startup.
 >
 > {{{
 > ewen at ashram:~$ port installed wireshark
 > The following ports are currently installed:
 >   wireshark
 @1.12.2_0+adns+geoip+gnutls+ipv6+libgcrypt+libsmi+lua+rtp+ssl+x11
 >   wireshark
 @1.12.3_0+adns+geoip+gnutls+ipv6+libgcrypt+libsmi+lua+rtp+ssl+x11
 >   wireshark @1.12.3_0+geoip+gnutls+ipv6+libgcrypt+libsmi+lua+rtp+ssl+x11
 >   wireshark @1.12.4_0+geoip+gnutls+ipv6+libgcrypt+libsmi+lua+rtp+ssl+x11
 (active)
 > ewen at ashram:~$ wireshark
 > Segmentation fault: 11
 > ewen at ashram:~$ port installed wireshark
 > The following ports are currently installed:
 >   wireshark
 @1.12.2_0+adns+geoip+gnutls+ipv6+libgcrypt+libsmi+lua+rtp+ssl+x11
 >   wireshark
 @1.12.3_0+adns+geoip+gnutls+ipv6+libgcrypt+libsmi+lua+rtp+ssl+x11
 >   wireshark @1.12.3_0+geoip+gnutls+ipv6+libgcrypt+libsmi+lua+rtp+ssl+x11
 >   wireshark @1.12.4_0+geoip+gnutls+ipv6+libgcrypt+libsmi+lua+rtp+ssl+x11
 >   wireshark @1.12.4_1+geoip+gnutls+ipv6+libgcrypt+libsmi+lua+rtp+ssl+x11
 (active)
 > ewen at ashram:~$ wireshark
 > ewen at ashram:~$
 > }}}
 >
 > (In-Macports one first, built with the patch second.)
 >
 > Maybe someone with MacPorts commit access can make this an official part
 of the MacPorts build?  That seems to be the solution that FreeBSD adopted
 for their port.
 >
 > Ewen

 This solution works for me as well building with gtk2+quartz.

 {{{
 $ sudo port install -s wireshark
 --->  Computing dependencies for wireshark
 --->  Fetching distfiles for wireshark
 --->  Verifying checksums for wireshark
 --->  Extracting wireshark
 --->  Applying patches to wireshark
 --->  Configuring wireshark
 --->  Building wireshark
 --->  Staging wireshark into destroot
 --->  Installing wireshark
 @1.12.4_1+geoip+gnutls+ipv6+libgcrypt+libsmi+lua+rtp+ssl+x11
 --->  Deactivating wireshark
 @1.12.4_0+geoip+gnutls+ipv6+libgcrypt+libsmi+lua+rtp+ssl+x11
 --->  Cleaning wireshark
 --->  Activating wireshark
 @1.12.4_1+geoip+gnutls+ipv6+libgcrypt+libsmi+lua+rtp+ssl+x11
 --->  Cleaning wireshark
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 $ wireshark&
 [1] 48179
 2015-03-12 23:16:12.357 wireshark[48179:3040457] *** WARNING: Method
 userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It
 should not be used in new applications. Use convertRectToBacking: instead.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/46850#comment:21>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list