Wireshark-bugs: [Wireshark-bugs] [Bug 7221] wireshark crashes with bus error on Sun Sparc platfo
Date: Fri, 4 May 2012 15:06:07 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7221

Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #11 from Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> 2012-05-04 15:06:06 PDT ---
OK, I made emem provide allocations which are suitably aligned for SPARC in
r42407 and r42431, both of which I also scheduled for 1.6.8.

Interestingly I found that different versions of GCC and different optimization
levels provide different results; that's why I couldn't reproduce this crash on
my system.  Apparently sometimes GCC uses the 'std' and 'ldd' (which require
8-byte alignment) and sometimes it doesn't.

That also meant I couldn't write a C program (for configure to run) which would
reliably determine if we needed 8-byte alignment.  So the code now just assumes
all non-i386 CPUs need 8-byte alignment.

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