[Mono-bugs] [Bug 432605] New: Runtime exception when using gmcs to compile MonoDevelop

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 6 09:48:51 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=432605


           Summary: Runtime exception when using gmcs to compile MonoDevelop
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: aaragoneses at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Unfortunately, I cannot reproduce this 100%, only I get it sometimes. The
stacktrace:

/home/knocte/opt/mono/bin/gmcs -debug -codepage:utf8 -debug
-out:../../../build/bin/MonoDevelop.Core.dll -target:library
-r:/home/knocte/opt/mono/lib/mono/mono-addins/Mono.Addins.dll  
-r:/home/knocte/opt/mono/lib/mono/mono-addins/Mono.Addins.Setup.dll
-r:/home/knocte/opt/mono/lib/mono/mono-addins/Mono.Addins.dll  
-r:ICSharpCode.SharpZipLib -r:Mono.Posix -r:System -r:System.Runtime.Remoting
-r:System.Xml /resource:./MonoDevelop.Core.addin.xml
/MonoDevelop.Core.AddIns/ApplicationExtensionNode.cs
/MonoDevelop.Core.AddIns/AssemblyExtensionNode.cs
/MonoDevelop.Core.AddIns/ExecutionHandlerCodon.cs
/MonoDevelop.Core.AddIns/ExecutionModeNode.cs
/MonoDevelop.Core.AddIns/PackageExtensionNode.cs
/MonoDevelop.Core.Collections/ReadOnlyDictionary.cs
/MonoDevelop.Core.Collections/Set.cs
/MonoDevelop.Core.Execution/AddinDependencyAttribute.cs
/MonoDevelop.Core.Execution/BreakpointEventHandler.cs
/MonoDevelop.Core.Execution/DefaultExecutionHandlerFactory.cs
/MonoDevelop.Core.Execution/ExecutionPlatform.cs
/MonoDevelop.Core.Execution/ExternalConsoleFactory.cs
/MonoDevelop.Core.Execution/ExternalConsoleLocator.cs
/MonoDevelop.Core.Execution/IBreakpoint.cs
/MonoDevelop.Core.Execution/IConsole.cs
/MonoDevelop.Core.Execution/IConsoleFactory.cs
/MonoDevelop.Core.Execution/IExecutionHandler.cs
/MonoDevelop.Core.Execution/IExecutionHandlerFactory.cs
/MonoDevelop.Core.Execution/IExecutionMode.cs
/MonoDevelop.Core.Execution/IProcessAsyncOperation.cs
/MonoDevelop.Core.Execution/IProcessHost.cs
/MonoDevelop.Core.Execution/IProcessHostController.cs
/MonoDevelop.Core.Execution/MintPlatformExecutionHandler.cs
/MonoDevelop.Core.Execution/MonoPlatformExecutionHandler.cs
/MonoDevelop.Core.Execution/NativePlatformExecutionHandler.cs
/MonoDevelop.Core.Execution/ProcessHostController.cs
/MonoDevelop.Core.Execution/ProcessService.cs
/MonoDevelop.Core.Execution/ProcessWrapper.cs
/MonoDevelop.Core.Execution/RemoteProcessObject.cs
/MonoDevelop.Core.FileSystem/DefaultFileSystemExtension.cs
/MonoDevelop.Core.FileSystem/FileSystemExtension.cs
/MonoDevelop.Core.Logging/ConsoleCrayon.cs
/MonoDevelop.Core.Logging/ConsoleLogger.cs
/MonoDevelop.Core.Logging/FileLogger.cs ./MonoDevelop.Core.Logging/ILoggercs
/MonoDevelop.Core.Logging/LogLevel.cs
/MonoDevelop.Core.ProgressMonitoring/AggregatedOperationMonitor.cs
/MonoDevelop.Core.ProgressMonitoring/AggregatedProgressMonitor.cs
/MonoDevelop.Core.ProgressMonitoring/ConsoleProgressMonitor.cs
/MonoDevelop.Core.ProgressMonitoring/ConsoleProgressStatus.cs
/MonoDevelop.Core.ProgressMonitoring/FilteredProgressMonitor.cs
/MonoDevelop.Core.ProgressMonitoring/LogTextWriter.cs
/MonoDevelop.Core.ProgressMonitoring/NullAsyncOperation.cs
/MonoDevelop.Core.ProgressMonitoring/NullProgressMonitor.cs
/MonoDevelop.Core.ProgressMonitoring/ProgressTracker.cs
/MonoDevelop.Core.ProgressMonitoring/SynchronizedProgressMonitor.cs
/MonoDevelop.Core.Serialization/ArrayHandler.cs
/MonoDevelop.Core.Serialization/ArrayListHandler.cs
/MonoDevelop.Core.Serialization/ClassDataType.cs
/MonoDevelop.Core.Serialization/CollectionDataType.cs
/MonoDevelop.Core.Serialization/DataCollection.cs
/MonoDevelop.Core.Serialization/DataContext.cs
/MonoDevelop.Core.Serialization/DataIncludeAttribute.cs
/MonoDevelop.Core.Serialization/DataItem.cs
/MonoDevelop.Core.Serialization/DataItemAttribute.cs
/MonoDevelop.Core.Serialization/DataNode.cs
/MonoDevelop.Core.Serialization/DataSerializer.cs
/MonoDevelop.Core.Serialization/DataType.cs
/MonoDevelop.Core.Serialization/DataValue.cs
/MonoDevelop.Core.Serialization/DictionaryDataType.cs
/MonoDevelop.Core.Serialization/EnumDataType.cs
/MonoDevelop.Core.Serialization/ExpandedCollectionAttribute.cs
/MonoDevelop.Core.Serialization/GenericCollectionHandler.cs
/MonoDevelop.Core.Serialization/ICollectionHandler.cs
/MonoDevelop.Core.Serialization/ICustomDataItemHandler.cs
/MonoDevelop.Core.Serialization/IExtendedDataItem.cs
/MonoDevelop.Core.Serialization/ILoadController.cs
/MonoDevelop.Core.Serialization/IPropertyFilter.cs
/MonoDevelop.Core.Serialization/ISerializationAttributeProvider.cs
/MonoDevelop.Core.Serialization/ItemProperty.cs
/MonoDevelop.Core.Serialization/ItemPropertyAttribute.cs
/MonoDevelop.Core.Serialization/PrimitiveDataType.cs
/MonoDevelop.Core.Serialization/SerializationContext.cs
/MonoDevelop.Core.Serialization/TypeAttributeProvider.cs
/MonoDevelop.Core.Serialization/XmlDataSerializer.cs
/MonoDevelop.Core.Serialization/XmlElementDataType.cs
/MonoDevelop.Core.Serialization/XmlMapAttributeProvider.cs
/MonoDevelop.Core/ClrVersion.cs ./MonoDevelop.Core/DefaultAddinLocalizer.cs
/MonoDevelop.Core/FileEventArgs.cs ./MonoDevelop.Core/FileService.cs
/MonoDevelop.Core/Gettext.cs ./MonoDevelop.Core/IAsyncOperation.cs
/MonoDevelop.Core/ICustomXmlSerializer.cs
/MonoDevelop.Core/IProgressMonitor.cs ./MonoDevelop.Core/LoggingService.cs
/MonoDevelop.Core/Properties.cs ./MonoDevelop.Core/PropertyChangedEventArgs.cs
/MonoDevelop.Core/PropertyService.cs ./MonoDevelop.Core/Runtime.cs
/MonoDevelop.Core/StringParserService.cs
/MonoDevelop.Core/SystemAssemblyService.cs ./MonoDevelop.Core/SystemPackage.cs
/MonoDevelop.Core/UserException.cs ./MonoDevelop.Core/XmlReadHelper.cs
AssemblyInfo.cs 
/MonoDevelop.Core/SystemAssemblyService.cs(308,26): warning CS0109: The member
`MonoDevelop.Core.SystemAssemblyService.Initialize()' does not hide an
inherited member. The new keyword is not required
/MonoDevelop.Core/Gettext.cs(57,33): warning CS0618: `Mono.Posix.Catalog' is
obsolete: `Use Mono.Unix.Catalog'
/MonoDevelop.Core/Gettext.cs(64,40): warning CS0618: `Mono.Posix.Catalog' is
obsolete: `Use Mono.Unix.Catalog'
/MonoDevelop.Core/Gettext.cs(69,55): warning CS0618: `Mono.Posix.Catalog' is
obsolete: `Use Mono.Unix.Catalog'
/MonoDevelop.Core/Gettext.cs(74,55): warning CS0618: `Mono.Posix.Catalog' is
obsolete: `Use Mono.Unix.Catalog'
/MonoDevelop.Core/Gettext.cs(79,55): warning CS0618: `Mono.Posix.Catalog' is
obsolete: `Use Mono.Unix.Catalog'
/MonoDevelop.Core/Gettext.cs(84,55): warning CS0618: `Mono.Posix.Catalog' is
obsolete: `Use Mono.Unix.Catalog'
/MonoDevelop.Core/Gettext.cs(93,40): warning CS0618: `Mono.Posix.Catalog' is
obsolete: `Use Mono.Unix.Catalog'
/MonoDevelop.Core/Gettext.cs(98,55): warning CS0618: `Mono.Posix.Catalog' is
obsolete: `Use Mono.Unix.Catalog'
/MonoDevelop.Core/Gettext.cs(103,55): warning CS0618: `Mono.Posix.Catalog' is
obsolete: `Use Mono.Unix.Catalog'
/MonoDevelop.Core/Gettext.cs(109,55): warning CS0618: `Mono.Posix.Catalog' is
obsolete: `Use Mono.Unix.Catalog'
/MonoDevelop.Core/Gettext.cs(114,55): warning CS0618: `Mono.Posix.Catalog' is
obsolete: `Use Mono.Unix.Catalog'
/MonoDevelop.Core/PropertyService.cs(63,92): warning CS0618:
`System.Configuration.ConfigurationSettings.AppSettings' is obsolete: `This
property is obsolete.  Please use
System.Configuration.ConfigurationManager.AppSettings'
/MonoDevelop.Core/SystemAssemblyService.cs(615,56): warning CS0612:
`System.Reflection.Assembly.LoadWithPartialName(string)' is obsolete
/MonoDevelop.Core/SystemAssemblyService.cs(632,56): warning CS0612:
`System.Reflection.Assembly.LoadWithPartialName(string)' is obsolete
Stacktrace:

  at System.Security.Cryptography.CryptoConfig/CryptoHandler.OnEndElement
(string) <0xffffffff>
  at System.Security.Cryptography.CryptoConfig/CryptoHandler.OnEndElement
(string) <0x0009f>
  at Mono.Xml.SmallXmlParser.ReadContent () <0x0030d>
  at Mono.Xml.SmallXmlParser.Parse
(System.IO.TextReader,Mono.Xml.SmallXmlParser/IContentHandler) <0x0002d>
  at System.Security.Cryptography.CryptoConfig.LoadConfig
(string,System.Collections.Hashtable,System.Collections.Hashtable) <0x0008b>
  at System.Security.Cryptography.CryptoConfig.Initialize () <0x00c41>
  at System.Security.Cryptography.CryptoConfig.CreateFromName (string,object[])
<0x0003e>
  at System.Security.Cryptography.CryptoConfig.CreateFromName (string)
<0x0000c>
  at System.Security.Cryptography.RandomNumberGenerator.Create (string)
<0x0000f>
  at System.Security.Cryptography.RandomNumberGenerator.Create () <0x0000c>
  at System.Guid.NewGuid () <0x00052>
  at Mono.CompilerServices.SymbolWriter.SourceFileEntry.WriteData
(Mono.CompilerServices.SymbolWriter.MyBinaryWriter) <0x00079>
  at Mono.CompilerServices.SymbolWriter.MonoSymbolFile.Write
(Mono.CompilerServices.SymbolWriter.MyBinaryWriter,System.Guid) <0x0019a>
  at Mono.CompilerServices.SymbolWriter.MonoSymbolFile.CreateSymbolFile
(System.Guid,System.IO.FileStream) <0x00057>
  at Mono.CompilerServices.SymbolWriter.MonoSymbolWriter.WriteSymbolFile
(System.Guid) <0x001d2>
  at Mono.CSharp.SymbolWriter/SymbolWriterImpl.WriteSymbolFile () <0x00040>
  at Mono.CSharp.SymbolWriter.WriteSymbolFile () <0x0001f>
  at Mono.CSharp.CodeGen.Save (string,bool) <0x00181>
  at Mono.CSharp.Driver.Compile () <0x008af>
  at Mono.CSharp.Driver.Main (string[]) <0x0005e>
  at (wrapper runtime-invoke) Mono.CSharp.Driver.runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        /home/knocte/opt/mono/bin/mono [0x806f969]
        /home/knocte/opt/mono/bin/mono [0x808a09b]
        [0xffffe410]
        [0x403cd066]
        [0x4113b4de]
        [0x4113b0e6]
        [0x4113ad34]
        [0x4113a62a]
        [0x41139907]
        [0x41139885]
        [0x41139838]
        [0x41139815]
        [0x4113974b]
        [0x41138de2]
        [0x4113819b]
        [0x41137538]
        [0x41136b13]
        [0x41136879]
        [0x41136828]
        [0x411302e2]
        [0x40f342f8]
        [0x4065d63f]
        [0x4065920d]
        /home/knocte/opt/mono/bin/mono(mono_runtime_exec_main+0x16e)
[0x80c2ffe]
        /home/knocte/opt/mono/bin/mono(mono_runtime_run_main+0x16d) [0x80c36ed]
        /home/knocte/opt/mono/bin/mono(mono_main+0x18b9) [0x805cd99]
        /home/knocte/opt/mono/bin/mono [0x805af62]
        /lib/libc.so.6(__libc_start_main+0xe5) [0x4017b5f5]
        /home/knocte/opt/mono/bin/mono [0x805aea1]

Debug info from gdb:

Cannot access memory at address 0xff
[Thread debugging using libthread_db enabled]
[New Thread 0x402a8bb0 (LWP 13849)]
[New Thread 0x40b5db90 (LWP 13851)]
[New Thread 0x4066cb90 (LWP 13850)]
0xffffe430 in __kernel_vsyscall ()
  3 Thread 0x4066cb90 (LWP 13850)  0xffffe430 in __kernel_vsyscall ()
  2 Thread 0x40b5db90 (LWP 13851)  0xffffe430 in __kernel_vsyscall ()
  1 Thread 0x402a8bb0 (LWP 13849)  0xffffe430 in __kernel_vsyscall ()

Thread 3 (Thread 0x4066cb90 (LWP 13850)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0x401343e6 in nanosleep () from /lib/libpthread.so.0
#2  0x081543f8 in collection_thread (unused=0x0) at collection.c:34
#3  0x4012d175 in start_thread () from /lib/libpthread.so.0
#4  0x40232dce in clone () from /lib/libc.so.6

Thread 2 (Thread 0x40b5db90 (LWP 13851)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0x40130c15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so0
#2  0x081576e7 in timedwait_signal_poll_cond (cond=0x8314c94, mutex=0x8314c7c, 
    timeout=0x0, alertable=0) at handles.c:1490
#3  0x0815a274 in _wapi_handle_timedwait_signal_handle (handle=0x404, 
    timeout=0x0, alertable=0) at handles.c:1570
#4  0x0815a2dc in _wapi_handle_wait_signal_handle (handle=0x404, alertable=0)
    at handles.c:1530
#5  0x08174882 in WaitForSingleObjectEx (handle=0x404, timeout=4294967295, 
    alertable=0) at wait.c:205
#6  0x080dd83a in finalizer_thread (unused=0x0) at gc.c:930
#7  0x080ffae9 in start_wrapper (data=0x83224c0) at threads.c:621
#8  0x08170206 in thread_start_routine (args=0x8314ed4) at threads.c:279
#9  0x0818fa5a in GC_start_routine (arg=0x26f20) at pthread_support.c:1382
#10 0x4012d175 in start_thread () from /lib/libpthread.so.0
#11 0x40232dce in clone () from /lib/libc.so.6

Thread 1 (Thread 0x402a8bb0 (LWP 13849)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0x40133bab in read () from /lib/libpthread.so.0
#2  0x0806fa63 in mono_handle_native_sigsegv (signal=11, ctx=0x40032d0c)
    at mini-exceptions.c:1439
#3  0x0808a09b in mono_arch_handle_altstack_exception (sigctx=0x40032d0c, 
    fault_addr=0xb, stack_ovf=0) at exceptions-x86.c:854
#4  <signal handler called>
#5  mono_magic_trampoline (regs=0xbf910090, 
    code=0x4113c25f "\203�\b\205�u\022h\020\230~", m=0x832f3d4, tramp=0x0)
    at mini-trampolines.c:332
#6  0x403cd066 in ?? ()
#7  0x4113b4de in ?? ()
#8  0x4113b0e6 in ?? ()
#9  0x4113ad34 in ?? ()
#10 0x4113a62a in ?? ()
#11 0x41139907 in ?? ()
#12 0x41139885 in ?? ()
#13 0x41139838 in ?? ()
#14 0x41139815 in ?? ()
#15 0x4113974b in ?? ()
#16 0x41138de2 in ?? ()
#17 0x4113819b in ?? ()
#18 0x41137538 in ?? ()
#19 0x41136b13 in ?? ()
#20 0x41136879 in ?? ()
#21 0x41136828 in ?? ()
#22 0x411302e2 in ?? ()
#23 0x40f342f8 in ?? ()
#24 0x4065d63f in ?? ()
#25 0x4065920d in ?? ()
#26 0x080c2ffe in mono_runtime_exec_main (method=0xbc5d40, args=0x46e00, 
    exc=0x0) at object.c:3303
#27 0x080c36ed in mono_runtime_run_main (method=0x8334314, argc=111, 
    argv=0xbf9109b8, exc=0x0) at object.c:3097
#28 0x0805cd99 in mono_main (argc=112, argv=0xbf9109b4) at driver.c:968
#29 0x0805af62 in main (argc=) at main.c:30
#0  0xffffe430 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.
=================================================================

make[4]: *** [../../../build/bin/MonoDevelop.Core.dll] Aborted
make[4]: *** Deleting file `../../../build/bin/MonoDevelop.Core.dll'
make[4]: Leaving directory
`/home/knocte/Documents/iDocs/Proyectos/a11ymono/monodevelop/main/src/core/MonoDevelop.Core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/knocte/Documents/iDocs/Proyectos/a11ymono/monodevelop/main/src/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/knocte/Documents/iDocs/Proyectos/a11ymono/monodevelop/main/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/knocte/Documents/iDocs/Proyectos/a11ymono/monodevelop/main'
make: *** [all-recursive] Error 1


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list