[Mono-bugs] [Bug 77028][Min] Changed - mono build process segfaults
on powerpc
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Jan 8 11:08:36 EST 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by cjwatson at ubuntu.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77028
--- shadow/77028 2005-12-19 16:04:21.000000000 -0500
+++ shadow/77028.tmp.11212 2006-01-08 11:08:36.000000000 -0500
@@ -10,13 +10,12 @@
Component: misc
AssignedTo: lupus at ximian.com
ReportedBy: slomo at ubuntu.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
-Cc:
Summary: mono build process segfaults on powerpc
Hi,
mono 1.1.11 (and 1.1.10.1 but not 1.1.10) segfault while building on ppc64
machines running in 32bit mode. It works on an normal ppc.
It happens every time but always in another file while compiling some c#
@@ -95,6 +94,264 @@
------- Additional Comments From miguel at ximian.com 2005-12-19 16:04 -------
Please run mono on gdb and give us a managed stack trace (using the
mono_pmip () trick on every address).
Am not able to reproduce this on MacOS X, maybe its a Linux issue.
+
+------- Additional Comments From cjwatson at ubuntu.com 2006-01-08 11:08 -------
+(Sebastian doesn't have access to the build daemons on which this is
+reproducible. I have access to a similar machine on the same network.)
+
+As Sebastian says, the failure isn't deterministic. Since the system
+on which I can reproduce this has two CPUs, and I think the build
+daemons have too, I'd be inclined to suspect a thread-safety bug?
+
+Here's a managed stack backtrace, as you requested. The command used
+was 'MONO_PATH="../../class/lib/default:$MONO_PATH"
+MONO_CFG_DIR=/home/cjwatson/mono-1.1.12.1/runtime/etc
+MONO_SHARED_DIR=/home/cjwatson/mono-1.1.12.1/runtime gdb --args
+/home/cjwatson/mono-1.1.12.1/mono/mini/mono --config
+/home/cjwatson/mono-1.1.12.1/runtime/wrapper-config --verbose --debug
+../../class/lib/default/mcs.exe /codepage:28591 -d:NET_1_1
+-d:ONLY_1_1 -debug /noconfig /r:mscorlib.dll /r:System.dll
+/r:System.Xml.dll /r:System.EnterpriseServices.dll /r:System.Data.dll
+/r:Mono.Data.Tds.dll -target:library
+-out:../../class/lib/default/Mono.Data.TdsClient.dll
+ at Mono.Data.TdsClient.dll.sources' in mcs/class/Mono.Data.TdsClient.
+
+(gdb) bt
+#0 0xf6cb3b00 in ?? ()
+#1 0xf6aebf14 in ?? ()
+#2 0xf7045a94 in ?? ()
+#3 0xf7045728 in ?? ()
+#4 0xf725eb4c in ?? ()
+#5 0xf6aeba44 in ?? ()
+#6 0xf6aeb6b0 in ?? ()
+#7 0xf6aeb48c in ?? ()
+#8 0xf6aeacbc in ?? ()
+#9 0xf6aea72c in ?? ()
+#10 0xf6aea62c in ?? ()
+#11 0xf6aea490 in ?? ()
+#12 0xf6aea2f4 in ?? ()
+#13 0xf66a4e08 in ?? ()
+#14 0xf6fda6f8 in ?? ()
+#15 0xf6ff2d6c in ?? ()
+#16 0xf6ff25b0 in ?? ()
+#17 0xf7260e44 in ?? ()
+#18 0xf725f198 in ?? ()
+#19 0xf7761d24 in ?? ()
+#20 0x10100c98 in mono_jit_runtime_invoke (method=0x1020c878,
+obj=0xff903f30, params=0xff9064d8, exc=0xf6f9bf20) at mini.c:9836
+#21 0x10042f68 in mono_runtime_invoke (method=0xf6f9bf20,
+obj=0xf6f9bf10, params=0xf6c7fa84, exc=0x101ba028) at object.c:1346
+#22 0x100462f4 in mono_runtime_exec_main (method=0x1020c878,
+args=<value optimized out>, exc=0x0) at object.c:2035
+#23 0x10049a98 in mono_runtime_run_main (method=0xf7fb0240, argc=14,
+argv=0x38, exc=0x1a) at object.c:1901
+#24 0x100140c8 in mono_jit_exec (domain=<value optimized out>,
+assembly=<value optimized out>, argc=15, argv=0xff9068b8) at driver.c:503
+#25 0x10014f38 in mono_main (argc=20, argv=<value optimized out>) at
+driver.c:538
+#26 0x10013b30 in main (argc=-151404768, argv=0xf6f9bf10) at main.c:6
+(gdb) p mono_pmip(0xf6cb3b00)
+$1 = 0x0
+(gdb) p mono_pmip(0xf6aebf14)
+$2 = 0xf6e19b18 " System.Enum:CompareTo (object) + 0x16c (0xf6aebda8
+0xf6aec074) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf7045a94)
+$3 = 0xf6c93480 " System.Array:compare
+(object,object,System.Collections.IComparer) + 0x114 (0xf7045980
+0xf7045b04) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf7045728)
+$4 = 0xf6e19b80 " System.Array:qsort
+(System.Array,System.Array,int,int,System.Collections.IComparer) +
+0xe8 (0xf7045640 0xf704583c) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf725eb4c)
+$5 = 0xf6c94158 " System.Array:Sort
+(System.Array,System.Array,int,int,System.Collections.IComparer) +
+0x42c (0xf725e720 0xf725ed08) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6aeba44)
+$6 = 0xf6c941e8 " System.Array:Sort (System.Array,System.Array) + 0x74
+(0xf6aeb9d0 0xf6aeba94) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6aeb6b0)
+$7 = 0xf6c94680 " System.MonoEnumInfo:GetInfo
+(System.Type,System.MonoEnumInfo&) + 0x128 (0xf6aeb588 0xf6aeb790)
+[0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6aeb48c)
+$8 = 0xf6c94888 " System.Enum:GetUnderlyingType (System.Type) + 0x5c
+(0xf6aeb430 0xf6aeb510) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6aeacbc)
+$9 = 0xf6c94fe0 " System.Enum:Format (System.Type,object,string) +
+0xcc (0xf6aeabf0 0xf6aeafe8) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6aea72c)
+$10 = 0xf6c94f68 " System.Enum:ToString
+(string,System.IFormatProvider) + 0x74 (0xf6aea6b8 0xf6aea740)
+[0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6aea62c)
+$11 = 0xf6c95100 " System.Enum:ToString () + 0x2c (0xf6aea600
+0xf6aea63c) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6aea490)
+$12 = 0xf6c94258 " System.String:Concat (object,object) + 0x90
+(0xf6aea400 0xf6aea5d4) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6aea2f4)
+$13 = 0xf6b1c638 " Mono.CSharp.Operator:.ctor
+(Mono.CSharp.TypeContainer,Mono.CSharp.Operator/OpType,Mono.CSharp.Expression,int,Mono.CSharp.Parameters,Mono.CSharp.ToplevelBlock,Mono.CSharp.Attributes,Mono.CSharp.Locati"...
+(gdb) p mono_pmip(0xf66a4e08)
+$14 = 0xf6b1c458 " Mono.CSharp.CSharpParser:yyparse
+(Mono.CSharp.yyParser.yyInput) + 0x9a08 (0xf669b400 0xf66bb630)
+[0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6fda6f8)
+$15 = 0xf6b1c9b0 " Mono.CSharp.CSharpParser:parse () + 0x90
+(0xf6fda668 0xf6fda7ec) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6ff2d6c)
+$16 = 0xf6b1cf60 " Mono.CSharp.Driver:parse (Mono.CSharp.SourceFile) +
+0x1dc (0xf6ff2b90 0xf6ff2e1c) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6ff25b0)
+$17 = 0xf6b1d038 " Mono.CSharp.Driver:ProcessFiles () + 0x98
+(0xf6ff2518 0xf6ff25e8) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf7260e44)
+$18 = 0xf6b20228 " Mono.CSharp.Driver:MainDriver (string[]) + 0x4ac
+(0xf7260998 0xf7261e9c) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf725f198)
+$19 = 0xf6b202e8 " Mono.CSharp.Driver:Main (string[]) + 0x58
+(0xf725f140 0xf725f320) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf7761d24)
+$20 = 0xf6b1d358 " (wrapper runtime-invoke)
+System.Object:runtime_invoke_int_string[]
+(object,intptr,intptr,intptr) + 0x6c (0xf7761cb8 0xf7761dfc)
+[0xf7fa6f00 - mcs.exe]"
+
+And here's another different one from the same mcs invocation:
+
+(gdb) bt
+#0 0xf670b180 in ?? ()
+#1 0xf6fa6928 in ?? ()
+#2 0xf6fa67c8 in ?? ()
+#3 0xf6a0ff84 in ?? ()
+#4 0xf6a0f314 in ?? ()
+#5 0xf6a4d444 in ?? ()
+#6 0xf65c6038 in ?? ()
+#7 0xf6a0b308 in ?? ()
+#8 0xf65c50a8 in ?? ()
+#9 0xf65c4be0 in ?? ()
+#10 0xf6a4d444 in ?? ()
+#11 0xf6a4d444 in ?? ()
+#12 0xf6a4d444 in ?? ()
+#13 0xf6a4d444 in ?? ()
+#14 0xf6a4d444 in ?? ()
+#15 0xf6a4d444 in ?? ()
+#16 0xf6a4d444 in ?? ()
+#17 0xf6a4d444 in ?? ()
+#18 0xf6a4cbf8 in ?? ()
+#19 0xf6a4c984 in ?? ()
+#20 0xf6f55850 in ?? ()
+#21 0xf6f552a4 in ?? ()
+#22 0xf6a5db68 in ?? ()
+#23 0xf6a6d338 in ?? ()
+#24 0xf72617b4 in ?? ()
+#25 0xf725f198 in ?? ()
+#26 0xf7761d24 in ?? ()
+#27 0x10100c98 in mono_jit_runtime_invoke (method=0x1020c878,
+obj=0xff8dd6a0, params=0xff8de4d8, exc=0xff8dd680) at mini.c:9836
+#28 0x10042f68 in mono_runtime_invoke (method=0xf6e7bc30,
+obj=0xf6e7bc40, params=0x1029ca50, exc=0x1049217c) at object.c:1346
+#29 0x100462f4 in mono_runtime_exec_main (method=0x1020c878,
+args=<value optimized out>, exc=0x0) at object.c:2035
+#30 0x10049a98 in mono_runtime_run_main (method=0xf6677bd0, argc=14,
+argv=0x38, exc=0x0) at object.c:1901
+#31 0x100140c8 in mono_jit_exec (domain=<value optimized out>,
+assembly=<value optimized out>, argc=15, argv=0xff8de8b8) at driver.c:503
+#32 0x10014f38 in mono_main (argc=20, argv=<value optimized out>) at
+driver.c:538
+#33 0x10013b30 in main (argc=-152585168, argv=0xf6e7bc40) at main.c:6
+(gdb) p mono_pmip(0xf670b180)
+$1 = 0x0
+(gdb) p mono_pmip(0xf6fa6928)
+$2 = 0xf670b678 "
+System.Collections.Specialized.ListDictionary:FindEntry
+(object,System.Collections.Specialized.ListDictionary/DictionaryNode&)
++ 0x80 (0xf6fa68a8 0xf6fa6a0c) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6fa67c8)
+$3 = 0xf670b868 " System.Collections.Specialized.ListDictionary:Add
+(object,object) + 0x48 (0xf6fa6780 0xf6fa6854) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6a0ff84)
+$4 = 0xf670b7e8 " Mono.CSharp.Switch:CheckSwitch
+(Mono.CSharp.EmitContext) + 0x2a4 (0xf6a0fce0 0xf6a10280) [0xf7fa6f00
+- mcs.exe]"
+(gdb) p mono_pmip(0xf6a0f314)
+$5 = 0xf670bf70 " Mono.CSharp.Switch:Resolve (Mono.CSharp.EmitContext)
++ 0x144 (0xf6a0f1d0 0xf6a0f804) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6a4d444)
+$6 = 0xf6701030 " Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
++ 0x2ec (0xf6a4d158 0xf6a4d9f4) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf65c6038)
+$7 = 0xf6700f18 " CollectionForeachStatement:Resolve
+(Mono.CSharp.EmitContext) + 0xf8 (0xf65c5f40 0xf65c6070) [0xf7fa6f00 -
+mcs.exe]"
+(gdb) p mono_pmip(0xf6a0b308)
+$8 = 0xf67016b8 " Mono.CSharp.While:Resolve (Mono.CSharp.EmitContext)
++ 0x1a0 (0xf6a0b168 0xf6a0b37c) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf65c50a8)
+$9 = 0xf67015d8 " CollectionForeach:Resolve (Mono.CSharp.EmitContext)
++ 0x2e8 (0xf65c4dc0 0xf65c5148) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf65c4be0)
+$10 = 0xf6709198 " Mono.CSharp.Foreach:Resolve
+(Mono.CSharp.EmitContext) + 0x348 (0xf65c4898 0xf65c4c0c) [0xf7fa6f00
+- mcs.exe]"
+(gdb) p mono_pmip(0xf6a4d444)
+$11 = 0xf67090e8 " Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
++ 0x2ec (0xf6a4d158 0xf6a4d9f4) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6a4d444)
+$12 = 0xf6709478 " Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
++ 0x2ec (0xf6a4d158 0xf6a4d9f4) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6a4d444)
+$13 = 0xf67093b0 " Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
++ 0x2ec (0xf6a4d158 0xf6a4d9f4) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6a4d444)
+$14 = 0xf6709750 " Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
++ 0x2ec (0xf6a4d158 0xf6a4d9f4) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6a4d444)
+$15 = 0xf6709688 " Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
++ 0x2ec (0xf6a4d158 0xf6a4d9f4) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6a4d444)
+$16 = 0xf6709a28 " Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
++ 0x2ec (0xf6a4d158 0xf6a4d9f4) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6a4d444)
+$17 = 0xf6709960 " Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
++ 0x2ec (0xf6a4d158 0xf6a4d9f4) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6a4d444)
+$18 = 0xf6709d00 " Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
++ 0x2ec (0xf6a4d158 0xf6a4d9f4) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6a4cbf8)
+$19 = 0xf67094e8 " Mono.CSharp.EmitContext:ResolveTopBlock
+(Mono.CSharp.EmitContext,Mono.CSharp.ToplevelBlock,Mono.CSharp.Parameters,Mono.CSharp.IMethodData,bool&)
++ 0x1b0 (0xf6a4ca48 0xf6a4cfd8) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6a4c984)
+$20 = 0xf67097c0 " Mono.CSharp.EmitContext:EmitTopBlock
+(Mono.CSharp.IMethodData,Mono.CSharp.ToplevelBlock) + 0x7c (0xf6a4c908
+0xf6a4c9cc) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6f55850)
+$21 = 0xf6709000 " Mono.CSharp.MethodData:Emit
+(Mono.CSharp.TypeContainer,Mono.CSharp.Attributable) + 0x2b0
+(0xf6f555a0 0xf6f5589c) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6f552a4)
+$22 = 0xf670a950 " Mono.CSharp.Method:Emit () + 0x5c (0xf6f55248
+0xf6f5554c) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6a5db68)
+$23 = 0xf6702008 " Mono.CSharp.TypeContainer:EmitType () + 0x7c0
+(0xf6a5d3a8 0xf6a5ec68) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf6a6d338)
+$24 = 0xf6709c60 " Mono.CSharp.RootContext:EmitCode () + 0x330
+(0xf6a6d008 0xf6a6d988) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf72617b4)
+$25 = 0xf6951ad8 " Mono.CSharp.Driver:MainDriver (string[]) + 0xe1c
+(0xf7260998 0xf7261e9c) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf725f198)
+$26 = 0xf6951da0 " Mono.CSharp.Driver:Main (string[]) + 0x58
+(0xf725f140 0xf725f320) [0xf7fa6f00 - mcs.exe]"
+(gdb) p mono_pmip(0xf7761d24)
+$27 = 0xf6951ed8 " (wrapper runtime-invoke)
+System.Object:runtime_invoke_int_string[]
+(object,intptr,intptr,intptr) + 0x6c (0xf7761cb8 0xf7761dfc)
+[0xf7fa6f00 - mcs.exe]"
+
More information about the mono-bugs
mailing list