Opened 18 years ago

Closed 18 years ago

#8207 closed defect (fixed)

ethereal port broken

Reported by: smith.kennedy@… Owned by: opendarwin.org@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port:

Description

The ethereal port seems to be broken. There seems to be a binary port available, but it didn't run when I ran it from Terminal.app. When I started X11 and ran it from an xterm, it crashed.

I tried building it from source using "sudo port -s install ethereal", but that also didn't launch from Terminal, and running from X11, it crashed again. Here is the crash report:


Date/Time: 2006-04-05 21:26:17.057 -0600 OS Version: 10.4.6 (Build 8I127) Report Version: 4

Command: ethereal Path: /opt/local/bin/ethereal Parent: bash [16190]

Version: ??? (???)

PID: 16191 Thread: 0

Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0x7c6c1b78

Thread 0 Crashed: 0 libgtk-x11-2.0.0.dylib 0x0361bfd0 gtk_image_set_from_pixmap + 256 (icplusplus.c:28) 1 libgtk-x11-2.0.0.dylib 0x0361bb64 gtk_image_new_from_pixmap + 72 (icplusplus.c:28) 2 ethereal 0x00018b4c xpm_to_widget_from_parent + 76 (gui_utils.c:559) 3 ethereal 0x0003363c about_ethereal + 44 (about_dlg.c:69) 4 ethereal 0x000337b8 splash_new + 124 (about_dlg.c:104) 5 ethereal 0x00015dc0 main + 624 (main.c:1964) 6 ethereal 0x00002148 _start + 340 (crt.c:272) 7 ethereal 0x00001ff0 start + 60

Thread 0 crashed with PPC Thread State 64:

srr0: 0x000000000361bfd0 srr1: 0x000000000200f030 vrsave: 0x0000000000000000

cr: 0x44000224 xer: 0x0000000000000004 lr: 0x000000000361bfa4 ctr: 0x000000000398d3b4 r0: 0x000000007c6c1b78 r1: 0x00000000bffff3d0 r2: 0x000000007c6c1b78 r3: 0x0000000004420270 r4: 0x000000008fe15498 r5: 0x00000000037d5118 r6: 0x0000000000000000 r7: 0x0000000000000010 r8: 0x0000000000000000 r9: 0x0000000004803400 r10: 0x0000000000000019 r11: 0x00000000038bb874

r12: 0x000000000398d3b4 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000 r16: 0x0000000000000000 r17: 0x0000000000000000 r18: 0x0000000000000000 r19: 0x0000000000000000 r20: 0x0000000000000000 r21: 0x00000000000e5b58 r22: 0x0000000000000000 r23: 0x00000000000e5b58 r24: 0x00000000bffff670 r25: 0x00000000007fda20 r26: 0x00000000043fc018 r27: 0x0000000000000001 r28: 0x0000000000000000 r29: 0x00000000043fc018 r30: 0x00000000bffff3d0 r31: 0x000000000361bee8

Binary Images Description:

0x1000 - 0xdefff ethereal /opt/local/bin/ethereal

0x428000 - 0x449fff libwiretap.0.dylib /opt/local/lib/libwiretap.0.dylib 0x4d4000 - 0x4f3fff libpcap.0.dylib /opt/local/lib/libpcap.0.dylib 0x4fb000 - 0x4fcfff libgmodule-2.0.0.dylib /opt/local/lib/libgmodule-2.0.0.dylib 0x605000 - 0x6f4fff libcrypto.0.9.8.dylib /opt/local/lib/libcrypto.0.9.8.dylib 0x75f000 - 0x777fff libatk-1.0.0.dylib /opt/local/lib/libatk-1.0.0.dylib 0x784000 - 0x79ffff libgdk_pixbuf-2.0.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.0.dylib 0x7a7000 - 0x7c3fff libjpeg.62.dylib /opt/local/lib/libjpeg.62.dylib 0x7ca000 - 0x7cffff libpangocairo-1.0.0.dylib /opt/local/lib/libpangocairo-1.0.0.dylib 0x7e7000 - 0x7e9fff libgthread-2.0.0.dylib /opt/local/lib/libgthread-2.0.0.dylib

0x1008000 - 0x18a4fff libethereal.0.dylib /opt/local/lib/libethereal.0.dylib 0x34f2000 - 0x38b9fff libgtk-x11-2.0.0.dylib /opt/local/lib/libgtk-x11-2.0.0.dylib 0x3974000 - 0x3a12fff libgdk-x11-2.0.0.dylib /opt/local/lib/libgdk-x11-2.0.0.dylib 0x3a36000 - 0x3a4ffff libpng.3.dylib /usr/lib/libpng.3.dylib 0x3aa8000 - 0x3af8fff libtiff.3.dylib /opt/local/lib/libtiff.3.dylib 0x3b99000 - 0x3bcefff libpng.3.dylib /opt/local/lib/libpng.3.dylib 0x3bd6000 - 0x3bf4fff libpangoft2-1.0.0.dylib /opt/local/lib/libpangoft2-1.0.0.dylib 0x3c7c000 - 0x3cacfff libpango-1.0.0.dylib /opt/local/lib/libpango-1.0.0.dylib 0x3d1b000 - 0x3d52fff libcairo.2.dylib /opt/local/lib/libcairo.2.dylib 0x3e28000 - 0x3e64fff libgobject-2.0.0.dylib /opt/local/lib/libgobject-2.0.0.dylib 0x3e75000 - 0x3e95fff libfontconfig.1.dylib /opt/local/lib/libfontconfig.1.dylib 0x3efd000 - 0x3f54fff libfreetype.6.dylib /opt/local/lib/libfreetype.6.dylib 0x40d5000 - 0x40f1fff libexpat.1.dylib /opt/local/lib/libexpat.1.dylib 0x4127000 - 0x412dfff libXrender.1.dylib /opt/local/lib/libXrender.1.dylib 0x4185000 - 0x4223fff libglib-2.0.0.dylib /opt/local/lib/libglib-2.0.0.dylib 0x423c000 - 0x4243fff libintl.3.dylib /opt/local/lib/libintl.3.dylib 0x425a000 - 0x4330fff libiconv.2.dylib /opt/local/lib/libiconv.2.dylib 0x436b000 - 0x437cfff libz.1.dylib /opt/local/lib/libz.1.dylib

0x8fe00000 - 0x8fe51fff dyld 44.4 /usr/lib/dyld 0x90000000 - 0x901bbfff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x90213000 - 0x90218fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib 0x9021a000 - 0x9026dfff com.apple.CoreText 1.0.1 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText 0x9029a000 - 0x9034bfff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS 0x9037a000 - 0x90734fff com.apple.CoreGraphics 1.258.27 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x907c1000 - 0x9089afff com.apple.CoreFoundation 6.4.4 (368.25) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x908e3000 - 0x908e3fff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x908e5000 - 0x909e7fff libicucore.A.dylib /usr/lib/libicucore.A.dylib 0x90a41000 - 0x90ac5fff libobjc.A.dylib /usr/lib/libobjc.A.dylib 0x90aef000 - 0x90b5dfff com.apple.framework.IOKit 1.4 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x90b74000 - 0x90b86fff libauto.dylib /usr/lib/libauto.dylib 0x90b8d000 - 0x90e65fff com.apple.CoreServices.CarbonCore 681.3 (671.2) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x90ecb000 - 0x90f4bfff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices 0x90f95000 - 0x90fd6fff com.apple.CFNetwork 129.13 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x90feb000 - 0x91003fff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore 0x91013000 - 0x91094fff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit 0x910da000 - 0x91104fff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata 0x91115000 - 0x91123fff libz.1.dylib /usr/lib/libz.1.dylib 0x91126000 - 0x912e9fff com.apple.security 4.3 (25966) /System/Library/Frameworks/Security.framework/Versions/A/Security 0x913ec000 - 0x913f5fff com.apple.DiskArbitration 2.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x913fc000 - 0x91423fff com.apple.SystemConfiguration 1.8.2 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x91436000 - 0x91441fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib 0x91446000 - 0x91466fff libmx.A.dylib /usr/lib/libmx.A.dylib 0x9146c000 - 0x91474fff libbsm.dylib /usr/lib/libbsm.dylib 0x91530000 - 0x91530fff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices 0x91532000 - 0x9156afff com.apple.AE 1.5 (297) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x91585000 - 0x91652fff com.apple.ColorSync 4.4.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync 0x916a7000 - 0x91738fff com.apple.print.framework.PrintCore 4.5 (177.10) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0x9177f000 - 0x91836fff com.apple.QD 3.8.19 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD 0x91873000 - 0x918d1fff com.apple.HIServices 1.5.1 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices 0x918ff000 - 0x91923fff com.apple.LangAnalysis 1.6.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis 0x91937000 - 0x9195cfff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent 0x9196f000 - 0x919b1fff com.apple.LaunchServices 168.10 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices 0x919cd000 - 0x919e1fff com.apple.speech.synthesis.framework 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x919ef000 - 0x91a2efff com.apple.ImageIO.framework 1.4.6 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO 0x91a44000 - 0x91b0cfff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib 0x91b5a000 - 0x91b6ffff libcups.2.dylib /usr/lib/libcups.2.dylib 0x91b74000 - 0x91b91fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib 0x91b96000 - 0x91c05fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib 0x91c1c000 - 0x91c20fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib 0x91c22000 - 0x91c69fff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRaw.dylib 0x91c6e000 - 0x91cabfff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib 0x91cb2000 - 0x91ccbfff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib 0x91cd0000 - 0x91cd3fff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib 0x91cd5000 - 0x91cd5fff com.apple.Accelerate 1.2.1 (Accelerate 1.2.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x91cd7000 - 0x91db7fff com.apple.vImage 2.3 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage 0x91dbf000 - 0x91ddefff com.apple.Accelerate.vecLib 3.2.1 (vecLib 3.2.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib 0x91e4a000 - 0x91eb8fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib 0x91ec3000 - 0x91f57fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib 0x91f71000 - 0x924f9fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 0x9252c000 - 0x92857fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib 0x94bac000 - 0x94bc9fff libresolv.9.dylib /usr/lib/libresolv.9.dylib 0x950ce000 - 0x951fcfff edu.mit.Kerberos 5.5.23 /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos 0x9b205000 - 0x9b210fff libXext.6.dylib /usr/X11R6/lib/libXext.6.dylib 0x9b215000 - 0x9b2ddfff libX11.6.dylib /usr/X11R6/lib/libX11.6.dylib 0x9b603000 - 0x9b608fff libXrender.1.dylib /usr/X11R6/lib/libXrender.1.dylib 0x9b633000 - 0x9b634fff libXinerama.1.dylib /usr/X11R6/lib/libXinerama.1.dylib 0x9b667000 - 0x9b668fff libXrandr.2.dylib /usr/X11R6/lib/libXrandr.2.dylib

Model: PowerBook5,6, BootROM 4.9.1f1, 1 processors, PowerPC G4 (1.2), 1.67 GHz, 1.5 GB Graphics: ATI Mobility Radeon 9700, ATY,RV360M11, AGP, 128 MB Memory Module: SODIMM0/J25LOWER, 1 GB, DDR SDRAM, PC2700U-25330 Memory Module: SODIMM1/J25UPPER, 512 MB, DDR SDRAM, PC2700U-25330 AirPort: AirPort Extreme, 404.2 (3.90.34.0.p16) Modem: Jump, , V.92, Version 1.0, Bluetooth: Version 1.7.3f4, 2 service, 1 devices, 1 incoming serial ports Network Service: AirPort, AirPort, en1 PCI Card: TXN,PCIXXXX-00, cardbus, PC Card Parallel ATA Device: MATSHITADVD-R UJ-835E, Parallel ATA Device: ST9100823A, 93.16 GB USB Device: Bluetooth HCI, , Up to 12 Mb/sec, 500 mA USB Device: Apple Internal Keyboard/Trackpad, Apple Computer, Up to 12 Mb/sec, 500 mA

Change History (4)

comment:1 Changed 18 years ago by opendarwin.org@…

Owner: changed from darwinports-bugs@… to opendarwin.org@…

comment:2 Changed 18 years ago by opendarwin.org@…

Status: newassigned

I've freshly rebuilt ethereal and most of its dependencies, and it appears to work fine. Where did you get the 'binary port' from? Did you try building from source?

comment:3 Changed 18 years ago by steve.rossen@…

You just have to edit epan/filesystem.c and change line 303

if (getcwd(curdir, sizeof curdir) == NULL) {

to

if (getcwd(curdir, path_max) == NULL) {

there is more you can do to make it play nice with the whole port system if you want but that is how you fix Ethereal 0.99.0

comment:4 Changed 18 years ago by opendarwin.org@…

Resolution: fixed
Status: assignedclosed

Created patchfile per ideas below (and in ethereal bug), patchfile committed and added to ethereal.com bug for upstream inclusion.

Note: See TracTickets for help on using tickets.