[Mono-bugs] [Bug 690020] MT4.0.1 using LLVM / Arm6+7 crashes during compilation

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 28 16:37:07 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=690020

https://bugzilla.novell.com/show_bug.cgi?id=690020#c3


--- Comment #3 from Geoff Norton <gnorton at novell.com> 2011-04-28 20:37:05 UTC ---
We have a few different crashes here:

#1>
MONO_PATH=/Users/plasma/Downloads/bug-690020_MobileAgentSource/mobileagent/bin/iPhone/MobileAgent.app
/Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm
--aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/Ny/NyElTwhDGD8kZMqIEeLGXE+++TI/-Tmp-/tmp1b6f79b6.tmp/RestSharp.MonoTouch.dll.6.s
"/Users/plasma/Downloads/bug-690020_MobileAgentSource/mobileagent/bin/iPhone/MobileAgent.app/RestSharp.MonoTouch.dll"
Instruction does not dominate all uses!
  %t631 = load i32* %44
  %47 = inttoptr i32 %t631 to i32*
Instruction does not dominate all uses!
  %47 = inttoptr i32 %t631 to i32*
  %48 = getelementptr i32* %47, i32 2
Instruction does not dominate all uses!
  %48 = getelementptr i32* %47, i32 2
  %t73 = load i32* %48
Instruction does not dominate all uses!
  %t73 = load i32* %48
  %49 = inttoptr i32 %t73 to i32*
Instruction does not dominate all uses!
  %49 = inttoptr i32 %t73 to i32*
  %50 = getelementptr i32* %49, i32 3
Instruction does not dominate all uses!
  %50 = getelementptr i32* %49, i32 3
  %t74 = load i32* %50
Instruction does not dominate all uses!
  %t74 = load i32* %50
  %51 = icmp eq i32 %t74, %t75
Instruction does not dominate all uses!
  %51 = icmp eq i32 %t74, %t75
  br i1 %51, label %BB42, label %BB45
Instruction does not dominate all uses!
  %t1022 = load i32* %69
  %72 = inttoptr i32 %t1022 to i32*
Instruction does not dominate all uses!
  %72 = inttoptr i32 %t1022 to i32*
  %73 = getelementptr i32* %72, i32 2
Instruction does not dominate all uses!
  %73 = getelementptr i32* %72, i32 2
  %t112 = load i32* %73
Instruction does not dominate all uses!
  %t112 = load i32* %73
  %74 = inttoptr i32 %t112 to i32*
Instruction does not dominate all uses!
  %74 = inttoptr i32 %t112 to i32*
  %75 = getelementptr i32* %74, i32 3
Instruction does not dominate all uses!
  %75 = getelementptr i32* %74, i32 3
  %t113 = load i32* %75
Instruction does not dominate all uses!
  %t113 = load i32* %75
  %76 = icmp eq i32 %t113, %t114
Instruction does not dominate all uses!
  %76 = icmp eq i32 %t113, %t114
  br i1 %76, label %BB70, label %BB73
Broken module found, compilation aborted!
0  opt               0x004f60e8
llvm::PrettyStackTraceString::~PrettyStackTraceString() + 12232
1  opt               0x004f6cf7
llvm::PrettyStackTraceString::~PrettyStackTraceString() + 15319
2  libSystem.B.dylib 0x994c245b _sigtramp + 43
3  libSystem.B.dylib 0xffffffff _sigtramp + 1723063247
4  opt               0x0003febb std::vector<char, std::allocator<char>
>::_M_fill_insert(__gnu_cxx::__normal_iterator<char*, std::vector<char,
std::allocator<char> > >, unsigned long, char const&) + 1323
5  opt               0x004b56e6 llvm::CallbackVH::deleted() + 95414
6  opt               0x00486aff llvm::BasicBlockPass::~BasicBlockPass() + 31855
7  opt               0x0023bdc9 std::_Rb_tree<llvm::Function const*,
std::pair<llvm::Function const* const, llvm::CallGraphNode*>,
std::_Select1st<std::pair<llvm::Function const* const, llvm::CallGraphNode*> >,
std::less<llvm::Function const*>, std::allocator<std::pair<llvm::Function
const* const, llvm::CallGraphNode*> >
>::_M_insert_unique(std::_Rb_tree_iterator<std::pair<llvm::Function const*
const, llvm::CallGraphNode*> >, std::pair<llvm::Function const* const,
llvm::CallGraphNode*> const&) + 7385
8  opt               0x0023cdd2 std::_Rb_tree<llvm::Function const*,
std::pair<llvm::Function const* const, llvm::CallGraphNode*>,
std::_Select1st<std::pair<llvm::Function const* const, llvm::CallGraphNode*> >,
std::less<llvm::Function const*>, std::allocator<std::pair<llvm::Function
const* const, llvm::CallGraphNode*> >
>::_M_insert_unique(std::_Rb_tree_iterator<std::pair<llvm::Function const*
const, llvm::CallGraphNode*> >, std::pair<llvm::Function const* const,
llvm::CallGraphNode*> const&) + 11490
9  opt               0x0048879f llvm::BasicBlockPass::~BasicBlockPass() + 39183
10 opt               0x00488a6c llvm::BasicBlockPass::~BasicBlockPass() + 39900
11 opt               0x00488b6b llvm::BasicBlockPass::~BasicBlockPass() + 40155
12 opt               0x0004ebf4 llvm::scc_iterator<llvm::CallGraphNode*,
llvm::GraphTraits<llvm::CallGraphNode*> >::GetNextSCC() + 17588
13 opt               0x00043195 std::vector<std::pair<void (*)(void*), void*>,
std::allocator<std::pair<void (*)(void*), void*> >
>::_M_insert_aux(__gnu_cxx::__normal_iterator<std::pair<void (*)(void*),
void*>*, std::vector<std::pair<void (*)(void*), void*>,
std::allocator<std::pair<void (*)(void*), void*> > > >, std::pair<void
(*)(void*), void*> const&) + 12005
Stack dump:
0.    Program arguments: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg
-domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh
-inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls
-instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree
-loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm
-lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa
-iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll
-instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree
-memdep -dse -adce -simplifycfg -preverify -domtree -verify -o
/var/folders/Ny/NyElTwhDGD8kZMqIEeLGXE+++TI/-Tmp-/tmp1b6f79b6.tmp/RestSharp.MonoTouch.dll.6.s.opt.bc
/var/folders/Ny/NyElTwhDGD8kZMqIEeLGXE+++TI/-Tmp-/tmp1b6f79b6.tmp/RestSharp.MonoTouch.dll.6.s.bc 
1.    Running pass 'CallGraph Pass Manager' on module
'/var/folders/Ny/NyElTwhDGD8kZMqIEeLGXE+++TI/-Tmp-/tmp1b6f79b6.tmp/RestSharp.MonoTouch.dll.6.s.bc'.
2.    Running pass 'Module Verifier' on function
'@RestSharp.MonoTouch_RestSharp_Http_GetRawResponse_System_Net_HttpWebRequest'

#2>

MONO_PATH=/Users/plasma/Downloads/bug-690020_MobileAgentSource/mobileagent/bin/iPhone/MobileAgent.app
/Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm
--aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/Ny/NyElTwhDGD8kZMqIEeLGXE+++TI/-Tmp-/tmp1b6f79b6.tmp/NewtonsoftJsonMonoTouch.dll.6.s
"/Users/plasma/Downloads/bug-690020_MobileAgentSource/mobileagent/bin/iPhone/MobileAgent.app/NewtonsoftJsonMonoTouch.dll"

(gdb) bt
#0  0x994bd156 in __kill ()
#1  0x994bd148 in kill$UNIX2003 ()
#2  0x9954f899 in raise ()
#3  0x9956594d in __abort ()
#4  0x99559ff4 in __chk_fail ()
#5  0x99488fb9 in __sprintf_chk ()
#6  0x0009919b in emit_code (acfg=0x2001800) at
./../../../mono/mini/aot-compiler.c:5368
#7  0x000a66c2 in mono_compile_assembly (ass=0x16001b0, opts=51456511,
aot_options=0xbffff505
"mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/Ny/NyElTwhDGD8kZMqIEeLGXE+++TI/-Tmp-/tmp1b6f79b6.tmp/NewtonsoftJsonMonoTouch.dll.6.s")
at ../../../../mono/mini/aot-compiler.c:7016
#8  0x00090185 in main_thread_handler [inlined] () at
/Developer/MonoTouch/Source/mono/mono/mini/driver.c:1141
#9  0x00090185 in mono_main (argc=4, argv=0xbffff400) at
./../../../mono/mini/driver.c:2038
#10 0x0000e265 in start ()


Not sure whats up with #2, memory corruption?

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list