Re: [Mono-dev] Threads sleeping forever

2011-07-05 Thread Dennis White
Personally I am not a big fan of Thread.Sleep(#)...

 

Have you tried using an event??  I would give a ManualResetEvent a try
and in the WaitOne(#) method call pass in a valid timer that your
function can block on. Based on the questions and responses coming back
though it seems like something else is happening and your thread context
is successful at exposing flaws related to it. 

 

Dennis 

 

From: mono-devel-list-boun...@lists.ximian.com
[mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf Of Tom Spink
Sent: Tuesday, July 05, 2011 8:43 AM
To: Darkiwi
Cc: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] Threads sleeping forever

 

On 5 July 2011 16:28, Darkiwi  wrote:

@Tom:
Yes, as my test is running, it updates the UI. The events are sent into
a
fifo which is depiled in the main thread's Application.Idle to avoid
invoke
problems.
If I remember well, I also tried commenting this but it did not solve my
problem :-(
I will run this test again, just to be sure.

 

Interesting - is it a lot of updates you're doing, via Application.Idle?
You might consider reworking your updates to using BeginInvoke and/or
Invoke to see if it's a problem with your Application.Idle approach.

 

Of course, if you disable any updating of the UI and you're still in
trouble, then it's unlikely that it's a problem with your UI update
marshalling code.

 

However, thinking about what you've said - how are you synchronising the
UI update queue?  You said you're pushing events into a FIFO - how is
that FIFO producer synchronised, WRT the Application.Idle consumer?


-- Tom

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] compiling (2.10.2) on a beagleboard-xm running Ubuntu

2011-06-13 Thread Dennis White
I will look into this some more when I get a chance but I created a
sample "Hello World" program where the problem would happen. So I am not
completely on board with the idea that this might actually solve the
problem I am running into.

 

I partly believe that it has something to do with how I am building mono
and was hoping that someone would have seen this and said:

 

"you built the package wrong and step # was where you made a mistake."

 

Thanks,

 

Dennis

 

 

From: mono-devel-list-boun...@lists.ximian.com
[mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf Of Zoltan
Varga
Sent: Monday, June 13, 2011 4:09 AM
To: rstat1
Cc: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] compiling (2.10.2) on a beagleboard-xm running
Ubuntu

 

Hi,

 

You are probably running into:

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

 

On Mon, Jun 13, 2011 at 4:07 AM, rstat1  wrote:

What kind of errors are you getting, just out of curiosity?

I'm having issues of my own with 2.10.2 and getting mono apps to run on
a
Tegra 2 ARM chip. It compiles just fine, and ./mono --help works
perfectly.
But running any sort actual app makes mono segfault, after 4 or 5
inconsistent metadata errors.

--
View this message in context:
http://mono.1490590.n4.nabble.com/compiling-2-10-2-on-a-beagleboard-xm-r
unning-Ubuntu-tp3527139p3593000.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

 

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] compiling (2.10.2) on a beagleboard-xm running Ubuntu

2011-06-13 Thread Dennis White
I am running into the same situation...   have yet to really resolve or
figure out how to resolve this issue.  =(

Dennis

-Original Message-
From: mono-devel-list-boun...@lists.ximian.com
[mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf Of rstat1
Sent: Sunday, June 12, 2011 7:07 PM
To: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] compiling (2.10.2) on a beagleboard-xm running
Ubuntu

What kind of errors are you getting, just out of curiosity?

I'm having issues of my own with 2.10.2 and getting mono apps to run on
a
Tegra 2 ARM chip. It compiles just fine, and ./mono --help works
perfectly.
But running any sort actual app makes mono segfault, after 4 or 5
inconsistent metadata errors.

--
View this message in context:
http://mono.1490590.n4.nabble.com/compiling-2-10-2-on-a-beagleboard-xm-r
unning-Ubuntu-tp3527139p3593000.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] compiling (2.10.2) on a beagleboard-xm running Ubuntu

2011-05-19 Thread Dennis White
Maybe I will try 2.8.2 again...   I was running into compile issues
(think it was my sandbox config) and gave up on it and instead moved to
2.10.2 where I was having better luck getting it at least compiled and
built.

My problem is identical to yours...  I can run mono (mono --help) with
no help but when I try a .NET program the whole thing just chokes. I
know that it can't be the .NET programs because they run fine with 2.6.2
on the same platform.

Thanks,

Dennis


-Original Message-
From: mono-devel-list-boun...@lists.ximian.com
[mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf Of
FlorianWagner
Sent: Thursday, May 19, 2011 2:30 AM
To: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] compiling (2.10.2) on a beagleboard-xm running
Ubuntu

Hello Dennis,

this week, I tried to compile the mono runtime 2.10.2 for a proprietary
linux platform. The runtime itself was running (at least I could run
mono
--help), but, I have not been able to run .NET programs. The program
crashed
before reaching the actual .NET code. I also tried mono 2.10.1, no
success.

Finally, I used 2.8.2 and everything was fine. I couldn't figure out why
2.8.2 is running and 2.10.1 and 2.10.2 are failing.

Regards,

Florian



--
View this message in context:
http://mono.1490590.n4.nabble.com/compiling-2-10-2-on-a-beagleboard-xm-r
unning-Ubuntu-tp3527139p3535230.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] compiling (2.10.2) on a beagleboard-xm running Ubuntu

2011-05-16 Thread Dennis White
I have been trying for some time now to compile 2.10.2 for a
beagleboard-xm running Ubuntu. 

 

for my build environment I am running scratchbox2, I used the following
instructions to setup scratchbox2:

 

http://maemo-sdk.garage.maemo.org/install-ubuntu.html

 

For building mono I am following (as much as possible) the instructions
on this page:

 

http://www.mono-project.com/Mono:ARM

 

here is my configure script:

 

./configure -disable-mcs-build ARM_FPU_NONE=1 CFLAGS=-DARM_FPU_NONE

 

To be honest I am not toally sure what the CFLAGS switch is doing and I
suspect there might be some kind of fault there. However, I have learned
if I don't specify something then I get an error during the make process
saying something about needing to define ARM_FPU_NONE, ARM_FPU_FPA or
ARM_FPU_VFP.

 

I have also tried changing the -with-tls (pthread, normal) but have not
seen it make any effects and read somewhere that this value gets
automatically detected and that there is no need to specify it.

 

So with the above configure I can then execute a make followed by a make
install..

 

On my beagleboard-xm I am copying my host image to a folder and then
copying the ARM image over the top of that. Once that is complete I copy
everything into my /usr folder. 

 

Everything works (kind of), I can run mono to get the version and
everything comes back fine...  the problem happens whenever I try to
execute a program I immediately get an exception followed by a SIGSEGV
error telling me something is wrong with one of my mono libraries. I
suspect I am either building something wrong or the way I am merging the
host and ARM code is totally wrong. 

 

If there is a different tutorial/howto out there I should be using
please point me in the right direction.

 

Thanks in advance...

 

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list