Opened 9 years ago

Last modified 6 years ago

#49730 new defect

wireshark will not start on PowerPC OS X 10.5.8 — at Version 5

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

Change History (10)

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)
Note: See TracTickets for help on using tickets.