Thanks to visit codestin.com
Credit goes to github.com

Skip to content

6pack and 6unpack crashes with SIGBUS on sparc undr many compiler/options combinations #1

@GoogleCodeExporter

Description

@GoogleCodeExporter

On a sun4u machine compile with gcc version 4

sunw389:fastlz>gcc 6pack.c fastlz.c -o 6pack -g
sunw389:fastlz>gdb 6pack
GNU gdb 6.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
(gdb) run 6pack 6pack.6p

Program received signal SIGSEGV, Segmentation fault.
0x000120d0 in fastlz2_compress (input=0xffbdec10, length=34332,
output=0xffb9ec10) at fastlz.c:199
199         HASH_FUNCTION(hval,ip);
(gdb)


Using Sun studio 11 cc without -fast option works.

Original issue reported on code.google.com by [email protected] on 15 Jun 2007 at 4:00

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions