[LLVMbugs] [Bug 21380] New: Crash running interpreter on ilist.h line 229 (++*this)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Oct 25 03:48:59 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=21380

            Bug ID: 21380
           Summary: Crash running interpreter on ilist.h line 229
                    (++*this)
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Interpreter
          Assignee: unassignedbugs at nondot.org
          Reporter: jvapen at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13248
  --> http://llvm.org/bugs/attachment.cgi?id=13248&action=edit
Attachments are describe in event

Hi all,

during some experimentation I was able to notice a crash, which is not always
reproducible, though happens more then 1 out of 10.

Practical, I am using the LLVM libraries to hardcode some IR in my program and
then execute this with the Execution engine. The IR ran has no issues while ran
with the MCJIT, though does with Interpreter.
I also ran into issues while having thread sanitizer active, though have no
idea if 

I'll attach as much information as possible, like config file used to compile
the LLVM libraries (Revision: 220584) (makefile.conf), my C++ code (main.cpp) ,
information retrieved by GDB (gdb.txt), the IR (IR.txt), though since I
apparently can only attach a single file, this will most likely be in an
archive.
I've also added the compile command I am using (compile.txt), though I guess
this can be simplified.

The flags related to include files, libs, ... needed by llvm are created using
llvm-config:
llvm-config --cppflags --ldflags
llvm-config --system-libs --libs all core mcjit native interpreter irreader

I run my code on Ubuntu 14.04 (64bit) and have compiled everything with
clang-3.4 + libc++.

If you would need extra information, just let me know.

I used $LLVM_SRC_ROOT and $LLVM_BUILD_ROOT as paths to the checkout and the
out-of-tree build paths.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141025/5310b651/attachment.html>


More information about the llvm-bugs mailing list