Opened 9 years ago

Last modified 6 years ago

#49730 new defect

wireshark will not start on PowerPC OS X 10.5.8

Reported by: JR1994 Owned by: opendarwin.org@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: powerpc Cc:
Port: wireshark

Description (last modified by mf2k (Frank Schima))

I installed wireshark on my PowerBook G4. When I try to launch it crashes with the following error.

Xlib:  extension "RANDR" missing on display

Attachments (7)

dtruss_wireshark.txt (244.3 KB) - added by JR1994 9 years ago.
dtrace file
errinfo_wireshark.txt (5.5 KB) - added by JR1994 9 years ago.
dtrace file
X_2015-11-21-001355_herminio-hernandezs-power-mac-g4.crash (18.8 KB) - added by JR1994 9 years ago.
x org
fc-cache_2015-11-21-001353_herminio-hernandezs-power-mac-g4.crash (717 bytes) - added by JR1994 9 years ago.
X_2015-11-21-073141_herminio-hernandezs-power-mac-g4.crash (18.8 KB) - added by JR1994 9 years ago.
x crash
375.gz (45.6 KB) - added by essayhaveusers 6 years ago.
378.gz (51.4 KB) - added by essayhaveusers 6 years ago.

Download all attachments as: .zip

Change History (14)

Changed 9 years ago by JR1994

Attachment: dtruss_wireshark.txt added

dtrace file

Changed 9 years ago by JR1994

Attachment: errinfo_wireshark.txt added

dtrace file

comment:1 Changed 9 years ago by RJVB (René Bertin)

FYI: next time, please add the port's maintainer email to the ticket's Cc: when you create it (regular users cannot do that afterwards).

wireshark doesn't actually crash, it is terminated because the X server is missing support for a feature it cannot apparently do without (wireshark itself, or one of the ports it depends on). I'm not sure how useful dtrace is in this context; the backtrace provided by Apple's Crash Reporter should be more useful to see which function call led to the abort.

In the meantime, you could try to install the X server available in MacPorts, with luck it will support PPC and be a more recent version than the old one from the 10.5 DVD!

comment:2 Changed 9 years ago by JR1994

attach crash logs. will be install x server from macports and report my results.

comment:3 Changed 9 years ago by JR1994

Install xorg from macports however wirehsark still crashed. I notice this in the fc-cache crash file

Dyld Error Message:
  Library not loaded: /usr/X11/lib/libfontconfig.1.dylib
  Referenced from: /usr/X11/bin/fc-cache
  Reason: Incompatible library version: fc-cache requires version 5.0.0 or later, but libfontconfig.1.dylib provides version 3.0.0

I verified this by running

herminio-hernandezs-power-mac-g4:~ herminio$ otool -L /usr/X11/lib/libfontconfig.1.dylib 
/usr/X11/lib/libfontconfig.1.dylib:
	/usr/X11/lib/libfontconfig.1.dylib (compatibility version 3.0.0, current version 3.0.0)
	/usr/X11/lib/libfreetype.6.dylib (compatibility version 10.0.0, current version 10.16.0)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	/usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.0.0)
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 34.0.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.0.0)

However I saw a newer version of the library file in /opt/local/lib

herminio-hernandezs-power-mac-g4:~ herminio$ otool -L /opt/local/lib/libfontconfig.1.dylib 
/opt/local/lib/libfontconfig.1.dylib:
	/opt/local/lib/libfontconfig.1.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/local/lib/libfreetype.6.dylib (compatibility version 19.0.0, current version 19.1.0)
	/opt/local/lib/libexpat.1.dylib (compatibility version 8.0.0, current version 8.0.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.7)

So I renamed the library file in /usr/X11/lib and created a symlink to the newer file. Now when I tried running wireshark it still crashes but I am no longer getting a fc-cache crash report. I post my recent X crash report.

comment:4 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to opendarwin.org@…
Last edited 9 years ago by mf2k (Frank Schima) (previous) (diff)

comment:5 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:6 Changed 9 years ago by ghosthound

This looks like a X11 problem or maybe a libfontconfig problem. Other than being the trigger, how is this a wireshark problem?

Changed 6 years ago by essayhaveusers

Attachment: 375.gz added

Changed 6 years ago by essayhaveusers

Attachment: 378.gz added

comment:7 Changed 6 years ago by kencu (Ken)

On 10.4, you can't really expect to use the X11 binary and infrastructure built and delivered with that OS in 2004 with modern software.

You can install xorg-server instead, and use that. I haven't been having issues with that on any systems.

Note: See TracTickets for help on using tickets.