zilzar / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

DeleteDelegate function freezes in newer mono versions #634

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install mono version 2.11.1+ (tested also 3.0.1)
2. compile and run simple code attached as Program.cs

GoogleMailSettingsService was tested for functions that use internally HTTP GET 
or PUT, both working. DELETE looks strange and freezes, mono version 2.10.9-r2 
works fine.

Stack trace after kill -QUIT:
"<unnamed thread>" tid=0x0x7f5696fbf740 this=0x0x7f5696f93ea0 thread handle 
0x403 state : waiting on 0x420 : Event  owns ()
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <0xffffffff>
  at System.Threading.WaitHandle.WaitOne (int,bool) <0x00080>
  at System.Net.WebAsyncResult.WaitUntilComplete (int,bool) <0x00045>
  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult) <0x00077>
  at System.Net.HttpWebRequest.GetResponse () <0x00053>
  at Google.GData.Client.GDataRequest.Execute () <0x0009a>
  at Google.GData.Client.GDataGAuthRequest.Execute (int) <0x00067>
  at Google.GData.Client.GDataGAuthRequest.Execute () <0x00013>
  at Google.GData.Client.Service.Delete (System.Uri,string) <0x0014e>
  at Google.GData.Client.Service.Delete (System.Uri) <0x00013>
  at Google.GData.Apps.GoogleMailSettings.GoogleMailSettingsService.DeleteDelegate (string,string) <0x00133>
  at GoogleAppsApiTest.Program.Main (string[]) <0x0017f>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

Uname: Linux marxinbox 3.3.8-gentoo #5 SMP Sat Jun 23 23:26:05 CEST 2012 x86_64 
Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz GenuineIntel GNU/Linux

Thank you,
marxin

Original issue reported on code.google.com by marxin.l...@gmail.com on 8 Nov 2012 at 6:09

Attachments: