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

Wireshark-bugs: [Wireshark-bugs] [Bug 2679] New: GUI crashes on OSX 10.4.11

Date: Fri, 4 Jul 2008 03:31:38 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2679

           Summary: GUI crashes on OSX 10.4.11
           Product: Wireshark
           Version: 1.0.1
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: sandor.szuecs@xxxxxxxxxxxx


Build Information:
$ wireshark -v
wireshark 1.0.1

Copyright 1998-2008 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.12.9, with GLib 2.16.3, with libpcap 0.9.8, with libz
1.2.3, without POSIX capabilities, with libpcre 7.7, without SMI, without ADNS,
without Lua, with GnuTLS 2.2.3, with Gcrypt 1.4.1, with MIT Kerberos, without
PortAudio, without AirPcap.

Running on Darwin 8.11.1 (MacOS 10.4.11), with libpcap version 0.9.8.

Built using gcc 4.0.1 (Apple Computer, Inc. build 5370).
--
Overview:
On start the GUI of wireshark crashes, because a library was not found.
The X11 package from Apple is installed on the test pc.

Steps to Reproduce:
- install OSX 10.4 with all updates and X11.pkg
- install wireshark
- start wireshark.app by doublecliking the button on
/Applications/Wireshark.app

Actual Results:
The application crashed.


The Crashreport:
------------------------------
OS Version:     10.4.11 (Build 8S2167)

Link (dyld) error:

Library not loaded: /usr/X11/lib/libfontconfig.1.dylib
  Referenced from:
/Applications/Wireshark.app/Contents/Resources/bin/wireshark-bin
  Reason: image not found
-----------------------------

On OSX 10.4 with X11.pkg there is no folder /usr/X11.
Instead of /usr/X11 there is a folder /usr/X11R6

A symlink /usr/X11 -> /usr/X11R6 to the directory that contains
/usr/X11/lib/libfontconfig.1.dylib doesn't help, because of another crash.

The Crashreport:
-----------------------------
Library not loaded: /usr/X11/lib/libfontconfig.1.dylib
  Referenced from:
/Applications/Wireshark.app/Contents/Resources/bin/wireshark-bin
  Reason: Incompatible library version: wireshark-bin requires version 3.0.0 or
later, but libfontconfig.1.dylib provides version 1.0.0
-----------------------------

Opinions:
I think that's a version problem of libfontconfig.1.dylib.
# OSX version of this lib:
$ ls -l  /usr/X11R6/lib/libfontconfig.1.dylib
lrwxr-xr-x   1 root  wheel  23B Oct 22  2007
/usr/X11R6/lib/libfontconfig.1.dylib@ -> libfontconfig.1.0.dylib

The package manager macports www.macports.org has solved the problem with
providing new versions of that library (maybe more libraries).
$ ls -l /opt/local/lib/libfontconfig.1.dylib    
lrwxr-xr-x   1 root  admin  25B Jun  5 14:58
/opt/local/lib/libfontconfig.1.dylib@ -> libfontconfig.1.3.0.dylib


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.