[Mono-bugs] [Bug 529218] New: mtouch reports an error while linking (Unable to attach to process-id 1814: Resource busy (16))
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Aug 7 10:30:48 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=529218
Summary: mtouch reports an error while linking (Unable to
attach to process-id 1814: Resource busy (16))
Classification: Mono
Product: Mono: Compilers
Version: unspecified
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Critical
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: yosi at taguri.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=311355)
--> (http://bugzilla.novell.com/attachment.cgi?id=311355)
a sample app with a ported twitter client - pure in c#
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
This is the error that is generated on the build output:
This happens only when I try to compile for the iphone - it is ok if I target
the simulator.
I added the -nolink to mtouch as you advised on another bug.
Building: firstapp (Release|iPhone)
Building Solution firstapp
Building: firstapp (Release|iPhone)
Performing main compilation...
Updating CodeBehind files
/Developer/MonoTouch/usr/bin/smcs /noconfig
"/out:/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhone/Release/firstapp.exe"
"/r:System.dll" "/r:System.Xml.dll" "/r:System.Core.dll"
"/r:System.ServiceModel.Web.dll" "/r:System.ServiceModel.dll"
"/r:System.Runtime.Serialization.dll" "/r:monotouch.dll"
"/r:System.Xml.Linq.dll" /nologo /warn:4 /optimize- /codepage:utf8 /t:exe
"/Users/gilit/yosit/monotouch/firstapp/firstapp/MainWindow.xib.designer.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/Main.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/HTTPUtility.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/InvalidTwitterParameterException.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/Twitter.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterDirectMessageMethods.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterizerException.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterParameters.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterRequest.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterRequestData.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterStatus.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterStatusCollection.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterStatusMethods.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterUser.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterUserCollection.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterUserMethods.cs"
Compilation succeeded - 1 warning(s)
/Users/gilit/yosit/monotouch/firstapp/firstapp/Main.cs(95,30): warning CS0169:
The private method `firstapp.AppDelegate.tapSampl(MonoTouch.UIKit.UIButton)' is
never used
Build complete -- 0 errors, 1 warning
Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -v --nomanifest --nosign -dev
"/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhone/Release/firstapp.app"
-r="/Developer/MonoTouch/usr/lib/mono/2.1/System.dll"
-r="/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll"
-r="/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll"
-r="/Developer/MonoTouch/usr/lib/mono/2.1/System.ServiceModel.Web.dll"
-r="/Developer/MonoTouch/usr/lib/mono/2.1/System.ServiceModel.dll"
-r="/Developer/MonoTouch/usr/lib/mono/2.1/System.Runtime.Serialization.dll"
-r="/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll"
-r="/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.Linq.dll" -nolink
"/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhone/Release/firstapp.exe"
Framework is:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk
Copying
/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhone/Release/firstapp.exe
to
/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhone/Release/firstapp.app/firstapp.exe
Copying /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll to
/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhone/Release/firstapp.app/monotouch.dll
Copying /Developer/MonoTouch/usr/lib/mono/2.1/mscorlib.dll to
/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhone/Release/firstapp.app/mscorlib.dll
Copying /Developer/MonoTouch/usr/lib/mono/2.1/System.dll to
/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhone/Release/firstapp.app/System.dll
Copying /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.Linq.dll to
/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhone/Release/firstapp.app/System.Xml.Linq.dll
MONO_PATH=/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhone/Release/firstapp.app
/Developer/MonoTouch/usr/bin/arm-darwin-mono
--aot=full,static,asmonly,nodebug,outfile=/var/folders/Ta/TagrpI0hFi4s5EkxeUMQ2U+++TI/-Tmp-/tmp7d11f571.tmp/firstapp.exe.s
/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhone/Release/firstapp.app/firstapp.exe
Stacktrace:
at (wrapper managed-to-native)
System.Diagnostics.Process.WaitForExit_internal (intptr,int) <0x00004>
at (wrapper managed-to-native)
System.Diagnostics.Process.WaitForExit_internal (intptr,int) <0xffffffff>
at System.Diagnostics.Process.WaitForExit (int) <0x00235>
at System.Diagnostics.Process.WaitForExit () <0x00012>
at (wrapper remoting-invoke-with-check)
System.Diagnostics.Process.WaitForExit () <0xffffffff>
at MTouch.ManagedToAssembly (string) <0x002ae>
at MTouch.CompileToSource
(string,System.Collections.Generic.List`1<string>,string) <0x000d0>
at MTouch.Main (string[]) <0x01506>
at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object
(object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
0 mtouch 0x000965fa _mh_execute_header +
611834
1 libSystem.B.dylib 0x9217b2bb _sigtramp + 43
2 ??? 0xffffffff 0x0 + 4294967295
3 mtouch 0x001b8dfe _mh_execute_header +
1801726
4 mtouch 0x001c3811 _mh_execute_header +
1845265
5 mtouch 0x00162848 _mh_execute_header +
1448008
6 ??? 0x03cbc2d6 0x0 + 63685334
7 ??? 0x03cbb096 0x0 + 63680662
8 ??? 0x03cbae4b 0x0 + 63680075
9 ??? 0x03cbae04 0x0 + 63680004
10 ??? 0x020272d7 0x0 + 33714903
11 ??? 0x02026eb9 0x0 + 33713849
12 ??? 0x015f2ca7 0x0 + 23014567
13 ??? 0x015f01eb 0x0 + 23003627
14 mtouch 0x00010f3d _mh_execute_header +
65341
15 mtouch 0x0015d151 _mh_execute_header +
1425745
16 mtouch 0x001601f5 _mh_execute_header +
1438197
17 mtouch 0x0006f37d _mh_execute_header +
451453
18 mtouch 0x00001d28 _mh_execute_header +
3368
19 mtouch 0x00001746 _mh_execute_header +
1862
Debug info from gdb:
/tmp/mono-gdb-commands.VX6bUW:1: Error in sourced command file:
Unable to attach to process-id 1814: Resource busy (16)
---------------------- Done ----------------------
Build: 1 error, 1 warning
Reproducible: Always
Steps to Reproduce:
1.open the attached project
2.change the target to Debug|iPhone or Release|iPhone
3.compile
Actual Results:
the error above
Expected Results:
the link to work
--
Configure bugmail: http://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