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=61435 --- shadow/61435 2005-10-16 11:20:23.000000000 -0400 +++ shadow/61435.tmp.7659 2005-10-16 14:21:33.000000000 -0400 @@ -109,6 +109,149 @@ ------- Additional Comments From [EMAIL PROTECTED] 2005-10-16 11:20 ------- Could you paste the output of mono --version ? Also, is the crash happening only for monodoc, or for simpler applications like hello, world! as well ? + +------- Additional Comments From [EMAIL PROTECTED] 2005-10-16 14:21 ------- +Running a "Hello World" program prints the "Hello World!" string, but +after that Mono enters in a loop and never returns. + +'mono --version' output, 'uname -a' output, the tail of the loop in +strace (the block that gets repeated), a debugging session (Hello +World) in gdb and Hello.cs source, respectivelly, follows: + [EMAIL PROTECTED]:/tmp$ mono --version +Mono JIT compiler version 1.1.9, (C) 2002-2005 Novell, Inc and +Contributors. www.mono-project.com + TLS: __thread + GC: Included Boehm (with typed GC) + SIGSEGV : normal + Globalization: normal + +--- + [EMAIL PROTECTED]:/tmp$ uname -a +Linux vale 2.4.31 #6 Sun Jun 5 19:04:47 PDT 2005 i686 unknown unknown +GNU/Linux + +--- + [EMAIL PROTECTED]:/tmp$ strace mono Hello.exe +... +nanosleep({0, 99256000}, NULL) = 0 +rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 +semop(0, 0xbffff4f0, 1) = 0 +time(NULL) = 1128935020 +time(NULL) = 1128935020 +time(NULL) = 1128935020 +time(NULL) = 1128935020 +semop(0, 0xbffff4e0, 1) = 0 +semop(0, 0xbffff4f0, 1) = 0 +time(NULL) = 1128935020 +time(NULL) = 1128935020 +time(NULL) = 1128935020 +time(NULL) = 1128935020 +semop(0, 0xbffff4e0, 1) = 0 +gettimeofday({1128935020, 808479}, NULL) = 0 +rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0 +rt_sigprocmask(SIG_UNBLOCK, [RTMIN], [RTMIN], 8) = 0 +gettimeofday({1128935020, 808842}, NULL) = 0 +nanosleep({0, 99158000}, NULL) = 0 +rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 +semop(0, 0xbffff4f0, 1) = 0 +time(NULL) = 1128935020 +time(NULL) = 1128935020 +time(NULL) = 1128935020 +time(NULL) = 1128935020 +semop(0, 0xbffff4e0, 1) = 0 +semop(0, 0xbffff4f0, 1) = 0 +time(NULL) = 1128935020 +time(NULL) = 1128935020 +time(NULL) = 1128935020 +time(NULL) = 1128935020 +semop(0, 0xbffff4e0, 1) = 0 +gettimeofday({1128935020, 920188}, NULL) = 0 +rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0 +rt_sigprocmask(SIG_UNBLOCK, [RTMIN], [RTMIN], 8) = 0 +gettimeofday({1128935020, 920573}, NULL) = 0 +nanosleep({0, 99427000}, <unfinished ...> + +--- + [EMAIL PROTECTED]:/tmp$ gdb mono +GNU gdb 6.3 +Copyright 2004 Free Software Foundation, Inc. +GDB is free software, covered by the GNU General Public License, and +you are +welcome to change it and/or distribute copies of it under certain +conditions. +Type "show copying" to see the conditions. +There is absolutely no warranty for GDB. Type "show warranty" for +details. +This GDB was configured as "i486-slackware-linux"...(no debugging +symbols found) +Using host libthread_db library "/lib/libthread_db.so.1". + +(gdb) run Hello.exe +Starting program: /usr/bin/mono Hello.exe +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +[Thread debugging using libthread_db enabled] +[New Thread 16384 (LWP 1532)] +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +[New Thread 32769 (LWP 1534)] +[New Thread 16386 (LWP 1535)] +(no debugging symbols found) +[New Thread 32771 (LWP 1536)] +Hello World! + +Program received signal SIGINT, Interrupt. +[Switching to Thread 32771 (LWP 1536)] +0x40294186 in nanosleep () from /lib/libpthread.so.0 +(gdb) bt +#0 0x40294186 in nanosleep () from /lib/libpthread.so.0 +#1 0x00000000 in ?? () +#2 0x4029007a in __pthread_timedsuspend_new () from /lib/libpthread.so.0 +#3 0x4028d0a2 in pthread_cond_timedwait_relative () from +/lib/libpthread.so.0 +#4 0x4013e064 in _wapi_handle_unlock_handles () from +/usr/lib/libmono.so.0 +#5 0x4013e24f in _wapi_handle_timedwait_signal_handle () from +/usr/lib/libmono.so.0 +#6 0x4013e1d5 in _wapi_handle_wait_signal_handle () from +/usr/lib/libmono.so.0 +#7 0x4014b108 in WaitForSingleObjectEx () from /usr/lib/libmono.so.0 +#8 0x400ecc00 in mono_gchandle_free () from /usr/lib/libmono.so.0 +#9 0x401003f6 in mono_thread_get_tls_offset () from /usr/lib/libmono.so.0 +#10 0x4014a460 in _wapi_timed_thread_exit () from /usr/lib/libmono.so.0 +#11 0x40164903 in GC_start_routine () from /usr/lib/libmono.so.0 +#12 0x4028e4eb in pthread_start_thread () from /lib/libpthread.so.0 +#13 0x4028e57f in pthread_start_thread_event () from /lib/libpthread.so.0 +#14 0x403c6b0a in clone () from /lib/libc.so.6 +(gdb) + +--- + [EMAIL PROTECTED]:/tmp$ cat hello.cs +using System; + +public class HelloWorld +{ + public static void Main() + { + Console.WriteLine("Hello World!"); + } +} + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
