[Mono-bugs] [Bug 564327] New: Mono configured with LLVM crashes while building Mono.Data.SqliteClient

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Dec 13 20:12:05 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=564327

http://bugzilla.novell.com/show_bug.cgi?id=564327#c0


           Summary: Mono configured with LLVM crashes while building
                    Mono.Data.SqliteClient
    Classification: Mono
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: miguel at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


After configuring Mono to use llvm, during the mcs class library compilation, I
get a crash.

Versions are:
llvm 2.7-svn (r91206)

Mono SVN r148093

miguel at linux-bytm:/cvs/llvm/mcs/class/Mono.Data.SqliteClient>
MONO_PATH="./../../class/lib/net_2_0:$MONO_PATH" gdb
/cvs/llvm/mono/mono/mini/mono 
GNU gdb (GDB) SUSE (6.8.91.20090930-2.4)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /cvs/llvm/mono/mono/mini/mono...done.
(gdb) run ./../../mcs/gmcs.exe /codepage:65001  -optimize -d:NET_1_1 -d:NET_2_0
-debug /noconfig /unsafe /r:System.dll /r:System.Data.dll -target:library
-out:../../class/lib/net_2_0/Mono.Data.SqliteClient.dll 
@Mono.Data.SqliteClient.dll.sources
Starting program: /cvs/llvm/mono/mono/mini/mono ./../../mcs/gmcs.exe
/codepage:65001  -optimize -d:NET_1_1 -d:NET_2_0 -debug /noconfig /unsafe
/r:System.dll /r:System.Data.dll -target:library
-out:../../class/lib/net_2_0/Mono.Data.SqliteClient.dll 
@Mono.Data.SqliteClient.dll.sources

Program received signal SIGSEGV, Segmentation fault.
0x00000000400fd79b in Mono.CSharp.Operator_3A_GetName_20__28_string_29_ ()
(gdb) where
Cannot access memory at address 0xab
(gdb) p $px
$1 = void
(gdb) p $pc
$2 = (void (*)()) 0x400fd79b
<Mono.CSharp.Operator_3A_GetName_20__28_string_29_+139>
(gdb) x/20i $pc
0x400fd79b <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+139>:    callq 
*%r13
0x400fd79e <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+142>:    test  
%al,%al
0x400fd7a0 <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+144>:    je    
0x400fd759 <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+73>
0x400fd7a6 <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+150>:    mov   
$0x40051524,%r14
0x400fd7b0 <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+160>:    callq 
*%r14
0x400fd7b3 <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+163>:    mov   
$0x7ffff4236d30,%r14
0x400fd7bd <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+173>:    mov   
(%r14),%r14
0x400fd7c0 <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+176>:    cmp   
%ebx,0x18(%r14)
0x400fd7c4 <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+180>:    jbe   
0x400fd7f3 <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+227>
0x400fd7ca <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+186>:    mov   
0x20(%r14,%rbp,8),%rax
0x400fd7cf <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+191>:    cmpl  
$0x0,0x18(%rax)
0x400fd7d3 <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+195>:    je    
0x400fd746 <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+54>
0x400fd7d9 <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+201>:    mov   
0x20(%rax),%rax
0x400fd7dd <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+205>:    jmpq  
0x400fd7e4 <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+212>
0x400fd7e2 <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+210>:    xor   
%eax,%eax
0x400fd7e4 <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+212>:    add   
$0x8,%rsp
0x400fd7e8 <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+216>:    pop   
%rbx
0x400fd7e9 <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+217>:    pop   
%r12
0x400fd7eb <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+219>:    pop   
%r13
0x400fd7ed <Mono.CSharp.Operator_3A_GetName_20__28_string_29_+221>:    pop   
%r14
(gdb) p $r13
$3 = 1073830103
(gdb) p/x $r13
$4 = 0x400158d7

-- 
Configure bugmail: http://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