[LLVMbugs] [Bug 2185] lli crash on valid bitcode file

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Apr 4 02:12:34 PDT 2008


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


Duncan Sands <baldrick at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Duncan Sands <baldrick at free.fr>  2008-04-04 04:12:28 ---
The problem is in the bitcode, which is scribbling over memory
(buffer overflow).  When run normally by luck this doesn't do
anything fatal and you don't notice, but when run under lli it
scribbles over lli's internal data structures causing strange
crashes.  The corruption occurs in the memcpy call in
@"tart.core.Array::int..constructor.  It looks to me like you
should have used tart.core.Array::int and not tart.core.Array::char
when calculating the length in @"tart.core.Array::int.alloc(i32)->Array".


-- 
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