[Mono-bugs] [Bug 354856] New: SIGSEGV in versioninfo.c
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Jan 18 14:17:39 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=354856
Summary: SIGSEGV in versioninfo.c
Product: Mono: Runtime
Version: SVN
Platform: x86
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: io-layer
AssignedTo: dick at novell.com
ReportedBy: gert.driesen at pandora.be
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Using the attached repro to obtain the FileVersionInfo of an assembly emitted
using CSC results in a SIGSEGV.
Running it on MS and Mono/Windows works fine.
To reproduce:
1. extract the attached gzipped tar archive.
2. run 'mono test.exe'.
Expected result:
Successful execution.
Actual result:
Stacktrace:
at (wrapper managed-to-native)
System.Diagnostics.FileVersionInfo.GetVersionInfo_internal (string) <0x00004>
at (wrapper managed-to-native)
System.Diagnostics.FileVersionInfo.GetVersionInfo_internal (string)
<0xffffffff>
at System.Diagnostics.FileVersionInfo.GetVersionInfo (string) <0x00069>
at Program.Main () <0x00034>
at (wrapper runtime-invoke) Program.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
mono [0x8171a5e]
mono [0x8080041]
[0xffffe440]
mono [0x8187f03]
mono [0x818830a]
[0xb7911911]
[0xb7911802]
[0xb790725d]
[0xb79071be]
mono(mono_runtime_exec_main+0xbb) [0x80fb64b]
mono(mono_runtime_run_main+0x1ba) [0x80fca5a]
mono(mono_main+0xfaf) [0x805b69f]
mono [0x805a1e2]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7ca6050]
mono [0x805a151]
Debug info from gdb:
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1211570480 (LWP 8844)]
[New Thread -1220838512 (LWP 8846)]
[New Thread -1220691056 (LWP 8845)]
0xffffe410 in __kernel_vsyscall ()
3 Thread -1220691056 (LWP 8845) 0xffffe410 in __kernel_vsyscall ()
2 Thread -1220838512 (LWP 8846) 0xffffe410 in __kernel_vsyscall ()
1 Thread -1211570480 (LWP 8844) 0xffffe410 in __kernel_vsyscall ()
Thread 3 (Thread -1220691056 (LWP 8845)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e0b9f6 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x08117c21 in collection_thread (unused=0x0) at collection.c:34
#3 0xb7e0446b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4 0xb7d636de in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 2 (Thread -1220838512 (LWP 8846)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e08676 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0x08109f8f in timedwait_signal_poll_cond (cond=0xb78b51dc,
mutex=0xb78b51c4, timeout=0x0, alertable=0) at handles.c:1443
#3 0x0810ca2f in _wapi_handle_timedwait_signal_handle (handle=0x404,
timeout=0x0, alertable=0) at handles.c:1523
#4 0x0810caac in _wapi_handle_wait_signal_handle (handle=0x404, alertable=0)
at handles.c:1483
#5 0x081091cf in WaitForSingleObjectEx (handle=0x404, timeout=4294967295,
alertable=0) at wait.c:200
#6 0x080d126a in finalizer_thread (unused=0x0) at gc.c:894
#7 0x080f230f in start_wrapper (data=0x825acc8) at threads.c:586
#8 0x081191c2 in thread_start_routine (args=0xb77629b0) at threads.c:282
#9 0x0812d375 in GC_start_routine (arg=0x26f40) at pthread_support.c:1369
#10 0xb7e0446b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb7d636de in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 1 (Thread -1211570480 (LWP 8844)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7d22f69 in fork () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7e0d874 in fork () from /lib/tls/i686/cmov/libpthread.so.0
#3 0xb7e7aab9 in ?? () from /usr/lib/libglib-2.0.so.0
#4 0x00000010 in ?? ()
#5 0x00000010 in ?? ()
#6 0x0823bc50 in ?? ()
#7 0xb7dd7170 in ?? () from /lib/tls/i686/cmov/libc.so.6
#8 0x08291ae8 in ?? ()
#9 0xe96258b8 in ?? ()
#10 0xb7cfa071 in ?? () from /lib/tls/i686/cmov/libc.so.6
#11 0x00000010 in ?? ()
#12 0x00000010 in ?? ()
#13 0x00000010 in ?? ()
#14 0xb7b5a1a4 in ?? ()
#15 0xb7cfbfc0 in malloc () from /lib/tls/i686/cmov/libc.so.6
#16 0xb7e7b6ab in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#17 0xb7e7bb4c in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
#18 0x08171af9 in mono_handle_native_sigsegv (signal=11, ctx=0xb7b5ad0c)
at mini-exceptions.c:1061
#19 0x08080041 in mono_arch_handle_altstack_exception (sigctx=0xb7b5ad0c,
fault_addr=0x0, stack_ovf=0) at exceptions-x86.c:854
#20 <signal handler called>
#21 0xb7d0002a in strcmp () from /lib/tls/i686/cmov/libc.so.6
#22 0x0818f2e0 in VerQueryValue (datablock=0x82a9a00, subblock=0x8273878,
buffer=0xbfad85c8, len=0xbfad85c0) at versioninfo.c:525
#23 0x08187f03 in process_get_fileversion (filever=0x5bf50, filename=0x5af8c)
at process.c:293
#24 0x0818830a in
ves_icall_System_Diagnostics_FileVersionInfo_GetVersionInfo_internal
(this=0x5bf50, filename=0x5af80) at process.c:430
#25 0xb7911911 in ?? ()
#26 0x0005bf50 in ?? ()
#27 0x0005af80 in ?? ()
#28 0x08237100 in ?? ()
#29 0xb7911828 in ?? ()
#30 0x0005bf50 in ?? ()
#31 0x08239674 in ?? ()
#32 0x0005bf50 in ?? ()
#33 0x0005af80 in ?? ()
#34 0x00000000 in ?? ()
#0 0xffffe410 in __kernel_vsyscall ()
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
--
Configure bugmail: https://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