[Mono-bugs] [Bug 78782][Blo] Changed - Segfault on PPC when using a libgcc_s compiled with SSP
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Jul 9 11:10:47 EDT 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 slomo at ubuntu.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78782
--- shadow/78782 2006-07-08 06:01:32.000000000 -0400
+++ shadow/78782.tmp.1657 2006-07-09 11:10:47.000000000 -0400
@@ -338,6 +338,75 @@
------- Additional Comments From slomo at ubuntu.com 2006-07-07 07:38 -------
Oh and mono is only broken when gcc is compiled with SSP. glibc makes
no difference.
------- Additional Comments From slomo at ubuntu.com 2006-07-08 06:01 -------
And the same happens with the recently released 1.1.16
+
+------- Additional Comments From slomo at ubuntu.com 2006-07-09 11:10 -------
+OK, some new insights:
+- mono_arch_emit_prolog() uses g_realloc() for allocating code
+- cfg->native_code at that place is not something we can free or
+reallocate
+
+
+And a new backtrace from gdb... The previous one seemed to be broken
+(well, I built without GC for testing now maybe that's why we now have
+a better backtrace). Nothing really new here:
+
+#0 0x0fc34d3c in raise () from /lib/libc.so.6
+#1 0x0fc3669c in abort () from /lib/libc.so.6
+#2 0x0ff0ac88 in g_logv () from /usr/lib/libglib-2.0.so.0
+#3 0x0ff0ad08 in g_log () from /usr/lib/libglib-2.0.so.0
+#4 0x0ff090fc in g_realloc () from /usr/lib/libglib-2.0.so.0
+#5 0x1001ff58 in mono_arch_emit_epilog (cfg=0x101e8170) at
+mini-ppc.c:3915
+#6 0x100d64d4 in mono_codegen (cfg=0x101e8170) at mini.c:8808
+#7 0x100f0db8 in mini_method_compile (method=0x101e5c60, opts=<value
+optimized out>, domain=0x101a7948, run_cctors=<value optimized out>,
+ compile_aot=<value optimized out>, parts=0) at mini.c:9470
+#8 0x100f1a7c in mono_jit_compile_method_with_opt (method=0x101a7948,
+opt=<value optimized out>) at mini.c:9660
+#9 0x100f1ed4 in mono_icall_get_wrapper (callinfo=0x101c3690) at
+mini.c:6973
+#10 0x100ed478 in mono_method_to_ir (cfg=0x101e6000,
+method=0x101e5b60, start_bblock=0x101e6218, end_bblock=0x101e62b8,
+locals_offset=0,
+ return_var=0x0, dont_inline=<value optimized out>,
+inline_args=0x101e6610, inline_offset=0, is_virtual_call=0) at mini.c:2286
+#11 0x100f01d0 in mini_method_compile (method=0x101e5b60,
+opts=1124491, domain=0x101a7948, run_cctors=<value optimized out>,
+compile_aot=0,
+ parts=0) at mini.c:9276
+#12 0x100f1a7c in mono_jit_compile_method_with_opt (method=0x101a7948,
+opt=<value optimized out>) at mini.c:9660
+#13 0x100f1ed4 in mono_icall_get_wrapper (callinfo=0x101c36a8) at
+mini.c:6973
+#14 0x100ed478 in mono_method_to_ir (cfg=0x101e39b8,
+method=0x101e3870, start_bblock=0x101e3e18, end_bblock=0x101e3eb8,
+locals_offset=4,
+ return_var=0x0, dont_inline=<value optimized out>,
+inline_args=0x101e4838, inline_offset=0, is_virtual_call=0) at mini.c:2286
+#15 0x100f01d0 in mini_method_compile (method=0x101e3870, opts=4,
+domain=0x101a7948, run_cctors=<value optimized out>, compile_aot=2,
+parts=0)
+ at mini.c:9276
+#16 0x100f1a7c in mono_jit_compile_method_with_opt (method=0x101a7948,
+opt=<value optimized out>) at mini.c:9660
+#17 0x100f1da4 in mono_jit_runtime_invoke (method=0x101e3530,
+obj=0x101e36d8, params=0x7fe2f414, exc=0x0) at mini.c:9861
+#18 0x10042f68 in mono_runtime_invoke (method=0x0, obj=0x6b16,
+params=0x6, exc=0x0) at object.c:1352
+#19 0x1007e638 in mono_exception_from_name_two_strings (image=<value
+optimized out>, name_space=<value optimized out>,
+ name=<value optimized out>, a1=0x101e2460, a2=0x0) at exception.c:142
+---Type <return> to continue, or q <return> to quit---
+#20 0x10081090 in mono_runtime_init (domain=0x101a7948,
+start_cb=<value optimized out>, attach_cb=0x100d12b0
+<mono_thread_attach_cb>)
+ at appdomain.c:123
+#21 0x100d2fa0 in mini_init (filename=0x7fe2fa28
+"../class/lib/monolite/mcs.exe") at mini.c:10492
+#22 0x10014574 in mono_main (argc=13, argv=<value optimized out>) at
+driver.c:867
+#23 0x10013ae0 in main (argc=13, argv=0x7fe2f844) at main.c:12
+
More information about the mono-bugs
mailing list