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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79928 --- shadow/79928 2006-11-14 12:05:38.000000000 -0500 +++ shadow/79928.tmp.10636 2006-11-14 12:05:38.000000000 -0500 @@ -0,0 +1,168 @@ +Bug#: 79928 +Product: Mono: Compilers +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Blocker +Component: Other. +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: mkbundle crashes ... + +I run: + +mkbundle --static OdfConverterTest.exe -o OdfConverter + +and I get: + +** ERROR **: file mini-trampolines.c: line 28 (mono_magic_trampoline): +assertion failed: (addr) +aborting... + +================================================================= +Got a SIGABRT while executing native code. This usually indicates +a fatal error in the mono runtime or one of the native libraries +used by your application. +================================================================= + +Stacktrace: + + at Mono.Unix.Native.Stdlib..cctor () <0xffffffff> + at Mono.Unix.Native.Stdlib..cctor () <0x00058> + at (wrapper runtime-invoke) System.Object.runtime_invoke_void +(object,intptr,intptr,intptr) <0xffffffff> + at Mono.Unix.UnixMarshal.AllocHeap (long) <0xffffffff> + at Mono.Unix.UnixMarshal.AllocHeap (long) <0x00022> + at MakeBundle.DetectOS () <0x00048> + at MakeBundle.Main (string[]) <0x0008c> + at (wrapper runtime-invoke) System.Object.runtime_invoke_int_string[] +(object,intptr,intptr,intptr) <0xffffffff> + +Native stacktrace: + + /opt/mono/bin/mono(mono_handle_native_sigsegv+0xde) [0x8165f9e] + [0xffffe440] + /lib/libc.so.6(abort+0x103) [0xb7d36013] + /opt/gnome/lib/libglib-2.0.so.0(g_logv+0x46d) [0xb7e971bd] + /opt/gnome/lib/libglib-2.0.so.0(g_log+0x35) [0xb7e97205] + /opt/gnome/lib/libglib-2.0.so.0(g_assert_warning+0x76) [0xb7e97286] + /opt/mono/bin/mono(mono_magic_trampoline+0x152) [0x807e052] + [0xb7bf1032] + [0xb7993606] + /opt/mono/bin/mono(mono_runtime_class_init+0x195) [0x80e0b65] + /opt/mono/bin/mono [0x8152493] + /opt/mono/bin/mono [0x8151fbd] + /opt/mono/bin/mono(mono_magic_trampoline+0x1a) [0x807df1a] + [0xb7bf1032] + [0xb7992901] + [0xb7991895] + [0xb7991074] + /opt/mono/bin/mono(mono_runtime_exec_main+0x9f) [0x80e202f] + /opt/mono/bin/mono(mono_runtime_run_main+0x1b9) [0x80e22d9] + /opt/mono/bin/mono(mono_main+0xe40) [0x805ecd0] + /opt/mono/bin/mono [0x805d9a2] + /lib/libc.so.6(__libc_start_main+0xdc) [0xb7d2187c] + /opt/mono/bin/mono [0x805d8f1] + +Debug info from gdb: + +Using host libthread_db library "/lib/libthread_db.so.1". +[Thread debugging using libthread_db enabled] +[New Thread -1211057856 (LWP 19724)] +[New Thread -1220346976 (LWP 19726)] +[New Thread -1214633056 (LWP 19725)] +0xb7d979b4 in __libc_fork () + at ../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:127 +127 pid = ARCH_FORK (); + 3 Thread -1214633056 (LWP 19725) 0xb7e5d5bc in __nanosleep_nocancel () + from /lib/libpthread.so.0 + 2 Thread -1220346976 (LWP 19726) 0xb7e5a521 in +pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 + 1 Thread -1211057856 (LWP 19724) 0xb7d979b4 in __libc_fork () + at ../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:127 + +Thread 3 (Thread -1214633056 (LWP 19725)): +#0 0xb7e5d5bc in __nanosleep_nocancel () from /lib/libpthread.so.0 +#1 0x08108fd4 in collection_thread (unused=0x0) at collection.c:34 +#2 0xb7e5713b in start_thread (arg=0xb79a2ba0) at pthread_create.c:274 +#3 0xb7dc9ade in clone () from /lib/libc.so.6 + +Thread 2 (Thread -1220346976 (LWP 19726)): +#0 0xb7e5a521 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 +#1 0x0811329f in timedwait_signal_poll_cond (cond=0xb79051dc, + mutex=0xb79051c4, timeout=0x0, alertable=0) at handles.c:1413 +#2 0x08115a5f in _wapi_handle_timedwait_signal_handle (handle=0x404, + timeout=0x0, alertable=0) at handles.c:1493 +#3 0x08115adc in _wapi_handle_wait_signal_handle (handle=0x404, alertable=0) + at handles.c:1453 +#4 0x081167ef in WaitForSingleObjectEx (handle=0x404, timeout=4294967295, + alertable=0) at wait.c:200 +#5 0x0816cc9a in finalizer_thread (unused=0x0) at gc.c:819 +#6 0x080bcbe4 in start_wrapper (data=0x824b100) at threads.c:313 +#7 0x0810d48e in thread_start_routine (args=0xb77bffc0) at threads.c:253 +#8 0x08126cd5 in GC_start_routine (arg=0x22f40) at pthread_support.c:1357 +#9 0xb7e5713b in start_thread (arg=0xb742fba0) at pthread_create.c:274 +#10 0xb7dc9ade in clone () from /lib/libc.so.6 + +Thread 1 (Thread -1211057856 (LWP 19724)): +#0 0xb7d979b4 in __libc_fork () + at ../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:127 +#1 0xb7e5ed74 in __fork () at ../nptl/sysdeps/unix/sysv/linux/pt-fork.c:26 +#2 0xb7eb7ce9 in fork_exec_with_pipes (intermediate_child=0, + working_directory=0x0, argv=0x828e238, envp=0x0, close_descriptors=1, + search_path=1, stdout_to_null=0, stderr_to_null=0, child_inherits_stdin=0, + file_and_argv_zero=0, child_setup=0, user_data=0x0, child_pid=0xbfde6860, + standard_input=0x0, standard_output=0xbfde6868, standard_error=0xbfde6864, + error=0x0) at gspawn.c:1097 +#3 0xb7eb88cb in g_spawn_sync (working_directory=0x0, argv=0x0, envp=0x0, + flags=G_SPAWN_LEAVE_DESCRIPTORS_OPEN, child_setup=0, user_data=0x0, + standard_output=0xbfde7188, standard_error=0xbfde7184, + exit_status=0xbfde7180, error=0x0) at gspawn.c:253 +#4 0xb7eb8d6c in g_spawn_command_line_sync ( + command_line=0xbfde68f4 "gdb --ex 'attach 19724' --ex 'info threads' +--ex 'thread apply all bt' --batch", standard_output=0xbfde7188, + standard_error=0xbfde7184, exit_status=0xbfde7180, error=0x0) + at gspawn.c:667 +#5 0x08166030 in mono_handle_native_sigsegv (signal=6, ctx=0xbfde722c) + at mini-exceptions.c:1072 +#6 <signal handler called> +#7 0xb7d34956 in *__GI_raise (sig=6) + at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 +#8 0xb7d36013 in *__GI_abort () at abort.c:88 +#9 0xb7e971bd in g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR, + format=0xb7ebef90 "file %s: line %d (%s): assertion failed: (%s)", + args1=0xbfde7b00 "[\037\030\b\034") at gmessages.c:497 +#10 0xb7e97205 in g_log (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR, + format=0xb7ebef90 "file %s: line %d (%s): assertion failed: (%s)") + at gmessages.c:517 +#11 0xb7e97286 in g_assert_warning (log_domain=0x0, + file=0x8181f5b "mini-trampolines.c", line=28, + pretty_function=0x8181fa8 "mono_magic_trampoline", + expression=0x818a785 "addr") at gmessages.c:552 +#12 0x0807e052 in mono_magic_trampoline (regs=0xbfde7b84, + code=0xb7993db8 "\203�f�\\o\005", m=0x82901dc, tramp=0x0) + at mini-trampolines.c:28 +#13 0xb7bf1032 in ?? () +#14 0xbfde7b84 in ?? () +#15 0xb7993db8 in ?? () +#16 0x082901dc in ?? () +#17 0x00000000 in ?? () +0xb7d979b4 127 pid = ARCH_FORK (); + +make[2]: *** [OdfConverter] Aborted +make[2]: Leaving directory +`/data/OpenOffice/odf-converter/source/OdfConverterTest' +make[1]: *** [do-all] Error 2 +make[1]: Leaving directory +`/data/OpenOffice/odf-converter/source/OdfConverterTest' +make: *** [all-recursive] Error 1 + +Since this is part of the stock 'make' process - it's easy to reproduce; +just grab the OdfConverter [ link to follow ] and type 'make'. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
