[Mono-bugs] [Bug 368548] New: deadlock in System.Object. __icall_wrapper_mono_array_new_specific

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Mar 9 21:12:11 EDT 2008


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


           Summary: deadlock in
                    System.Object.__icall_wrapper_mono_array_new_specific
           Product: Mono: Runtime
           Version: 1.9.0
          Platform: i686
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: dbera.web at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Full details and gdb lock debugging below. Note that only one thread has only
one lock held - so there should be no deadlock. The
GLib.MainLoop.g_main_loop_run is probably due to a glib.idle.add run from the
SignalHandler. However I am using mono-1.9.0-pre4 and UnixSignal.WaitAny() so
there should not be any deadlock due to signal-handler.

Full thread dump:

"" tid=0x0xb7d396e0 this=0x0x25e10:
  at (wrapper managed-to-native) GLib.MainLoop.g_main_loop_run (intptr)
<0x00004>
  at (wrapper managed-to-native) GLib.MainLoop.g_main_loop_run (intptr)
<0xffffffff>
  at GLib.MainLoop.Run () <0x0000d>
  at Beagle.IndexHelper.IndexHelperTool.DoMain (string[]) [0x00225] in
/home/linux/beagle/beagled/IndexHelper/IndexHelper.cs:174
  at Beagle.IndexHelper.IndexHelperTool.Main (string[]) [0x00000] in
/home/linux/beagle/beagled/IndexHelper/IndexHelper.cs:71
  at (wrapper runtime-invoke)
Beagle.IndexHelper.IndexHelperTool.runtime_invoke_void_string[]
(object,intptr,intptr,intptr) <0xffffffff>

"EHT 32312 [32295 IndexHelper]
Beagle.Daemon.UnixConnectionHandler:HandleConnection" tid=0x0xb6038b90
this=0x0x5f790:
  at (wrapper managed-to-native)
System.Object.__icall_wrapper_mono_array_new_specific (intptr,int) <0x00004>
  at (wrapper managed-to-native)
System.Object.__icall_wrapper_mono_array_new_specific (intptr,int) <0xffffffff>
  at ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream..ctor
(System.IO.Stream,ICSharpCode.SharpZipLib.Zip.Compression.Deflater,int)
[0x00052] in
/tmp/monobuild/build/BUILD/mono-1.9/mcs/class/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib/Zip/Compression/Streams/DeflaterOutputStream.cs:296
  at ICSharpCode.SharpZipLib.GZip.GZipOutputStream..ctor (System.IO.Stream,int)
[0x0000b] in
/tmp/monobuild/build/BUILD/mono-1.9/mcs/class/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib/GZip/GzipOutputStream.cs:102
  at ICSharpCode.SharpZipLib.GZip.GZipOutputStream..ctor (System.IO.Stream)
[0x00000] in
/tmp/monobuild/build/BUILD/mono-1.9/mcs/class/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib/GZip/GzipOutputStream.cs:89
  at (wrapper remoting-invoke-with-check)
ICSharpCode.SharpZipLib.GZip.GZipOutputStream..ctor (System.IO.Stream)
<0xffffffff>
  at Beagle.Daemon.TextCache.GetWriter (System.Uri) [0x000d9] in
/home/linux/beagle/beagled/TextCache.cs:401
  at Beagle.Daemon.FilterFactory.FilterIndexable
(Beagle.Indexable,Beagle.Daemon.TextCache,Beagle.Daemon.Filter&) [0x001f7] in
/home/linux/beagle/beagled/FilterFactory.cs:307
  at Beagle.Daemon.LuceneIndexingDriver.AddIndexableToIndex
(Beagle.Indexable,Lucene.Net.Index.IndexWriter,Lucene.Net.Index.IndexWriter&,System.Collections.Hashtable)
[0x00025] in /home/linux/beagle/beagled/LuceneIndexingDriver.cs:549
  at Beagle.Daemon.LuceneIndexingDriver.FlushGeneratedIndexables_Unlocked
(Beagle.Daemon.IndexerRequest) [0x002b9] in
/home/linux/beagle/beagled/LuceneIndexingDriver.cs:494
  at Beagle.Daemon.LuceneIndexingDriver.Flush (Beagle.Daemon.IndexerRequest)
[0x00018] in /home/linux/beagle/beagled/LuceneIndexingDriver.cs:144
  at Beagle.IndexHelper.RemoteIndexerExecutor.Execute (Beagle.RequestMessage)
[0x000af] in /home/linux/beagle/beagled/IndexHelper/RemoteIndexerExecutor.cs:80
  at Beagle.Daemon.ConnectionHandler.HandleConnection (System.IO.Stream)
[0x000e6] in /home/linux/beagle/beagled/Server.cs:586
  at Beagle.Daemon.UnixConnectionHandler.HandleConnection () [0x0017f] in
/home/linux/beagle/beagled/Server.cs:398

(gdb) call mono_locks_dump (0)
Lock 0x84b92c0 in object 0x154f80 held by thread 0xb6038b90, nest level:
1me/linux/beagle/Util/ExceptionHandlingThread.cs:59
Total locks (in 5 array(s)): 496, used: 430, on freelist: 66, to recycle: 1

(gdb) call mono_object_describe (0x154f80)
System.Object object at 0x154f80 (klass: 0x823f02c)

(gdb) call mono_class_describe_statics (0x823f02c)
-- nothing was printed --


-- 
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