[LLVMbugs] [Bug 1588] New: Freelist Broken Assertion (JITEmitter.cpp:111) -- llvm 2. 1cvs

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jul 31 14:35:33 PDT 2007


           Summary: Freelist Broken Assertion (JITEmitter.cpp:111) -- llvm
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: dgu at stanford.edu
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=1059)
 --> (http://llvm.org/bugs/attachment.cgi?id=1059)
source code

This bug only when running bytecode with lli version 2.1 from cvs (and not with
version 2.0).

The following error message is emitted:
lli: JITEmitter.cpp:111:
Assertion `Next->Prev == this && Prev->Next == this && "Freelist broken!"'
lli((anonymous namespace)::PrintStackTrace()+0x19)[0x84d3559]

When I compile and run the following C code (llvm-gcc -c main.c --emit-llvm -o
main.bc && lli main.bc):

void bug();

int main() {

void bug() {
  int zero = 0;
  while( zero < 1 )
    if( zero == 0 )

Note: Very strangely, if bug is *defined* before main, the above error message
is not emitted.

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