[LLVMbugs] [Bug 3548] New: Bus error with -O4 on memory deallocation

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Feb 11 07:14:35 PST 2009


           Summary: Bus error with -O4 on memory deallocation
           Product: tools
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: j at jawed.name
                CC: llvmbugs at cs.uiuc.edu

Experiencing an easily reproducible Bus Error on memory deallocation with the
PHP project on Darwin with the O4 compiler flag (or with -flto).

1) grab the php source (http://snaps.php.net)
2) tar xjvf php5.3[...].tar.bz2
3) cd php5.3[...]
4) ./configure --enable-debug --enable-cli --disable-all --without-sqlite3
5) make && make install && make test

The symbol in question is zend_llist_destroy. I would attach the bugpoint
report however it is too large and given the issue is easy to reproduce it
seems less practical.

I'll leave it to the community to determine the real severity of this bug.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list