Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
I am developing a game with MonoTouch.
when I set breakpoint,there is an error:the onnection with the debugger has been lost.the target application may have exited.................
then,the application exit!!!!! the console print none.....no any exception....
if I don't set breakpoint,the application exit when I wanna create a new thread.
oh my god
anyone can help me?
thanx in advance
Can you get the console output and any crash reports as described here: http://rolfkvinge.blogspot.com.es/2012/04/native-crashes-in-monotouch.html
sorry,I can't visit the link:http://rolfkvinge.blogspot.com.es/2012/04/native-crashes-in-monotouch.html
because the website is blocked......
can u give me some tips about how to get the console output and some crash reports.
Are you debugging in the simulator or on a device?
I am debugging in the simulator
Then open the Console app (Applications -> Utilities -> Console), go to System Log Queries / All Messages and get anything printed there when the app exits.
I did as u said, the output is :
do u mean this?
waiting for your reply. thanx
Here's a screenshot of the Console app: http://screencast.com/t/xHRC5cy198J - can you see this?
yeah, I can see it!
do u mean I make a screenshot?
this is my screenshot:
Was that screenshot taken just after your app exited (and is your app named 'StarMonoIOSU)?
yes, and my app named StarMonoIOSUc
I have a sample app,it is 20M,and I can send it to u
That would probably be the easiest - and please use dropbox (or a similar service), since neither bugzilla nor our email accounts will allow a 20mb attachment.
ah....perhaps I am wrong yesterday
I found the crash report
http://www.screencast.com/t/daE3zOutvX this is the screenshot
http://www.screencast.com/t/DQjyYofjzx this is the crash report
waiting for your reply! thanx
this is my sample app, but there is some Chinese text......the chinese text is not ours,so we can't convert it to English...
You're using a third-party library which is handling signals (there is a method in the third-party library named 'mySignalHandler', which appears to be handling signals - at least it shows up in the crash reports for me).
The problem is that MonoTouch also uses/handles signals, and it is very likely that the third-party library is interfering with MonoTouch in this regard.
I would ask the third-party library provider if it's possible to disable their signal handler, or if they actually need it (in which case I'd have to know exactly why they need it and how they're using signals in order to come up with a possible solution).
thank u very much. We are trying to connect the third-party library provider.
we try many times.....
We found that:
if we create an .a project,we can't start new thread!
if we don't create .a project,everything will be fine!
but we had to create an .a project,so .....
thanx in advance!
I don't understand what you mean by "create an .a project" - you mean you created a project in Xcode and then linked with it in your MonoTouch project?
yes, I mean that I created a project in XCode and then binding with it in my MonoTouch project
Can you attach both the xcode project and the monotouch project then, so I can see the source code for both?
this is our xcode project
this is our mono project
hi,this is our third-party library provider's code:
hope it helpul to u
thanx,waiting for your reply
thanx a lot!
you are very very right!
We have asked our third-party provider disable signal, then everything is right!!
I'm glad it works for you now!