[Mono-list] mono_thread_clr_state: assertion failed

ithinuel wilfried.chauveau at embedded-concept.com
Tue Apr 19 11:18:27 EDT 2011


Hello,

Here is my system :
Processor	: ARM926EJ-S rev 5 (v5l)
BogoMIPS	: 132.78
glibc		: libc6 - 2.11.2-10 : Embedded GNU C Library: Shared libraries

$ uname -a
Linux airmessl 2.6.33.9 #1 Tue Apr 5 16:44:21 CEST 2011 armv5tejl GNU/Linux

I think the abi is gnu-eabi.

I made my rootfs with deboostrap using the debian squeeze.

Unfortunatly i can't determine a reliable test case. Actually I tried to
remove the Thread.sleep(150); in which the crash used to happen and now the
application run for a while and then crash with no other trace than
Segmentation Fault

It never elaspe the same duration between launch and crash.
My Application uses 4 threads which does the following :
* Read from /sys/class the value of an adc and call a process to turn on/off
a led depending on the value read.
* Send AT+CSQ to the modem through the muxer handled by GSM0710.
* Verify if there is data to read from the serial port and signal the
GSM0710 if needed.
* Start the other threads and Wait for a key in Console.KeyAvailable to stop
the app.

Switching the led on/off is done by calling a program which has the u+s bit
set.
This program open, read, write and close the file
/sys/class/gpio/gpio%d/value  (%d depending on the needed gpio).

This makes me ask myself : Is there a limitation in file operation per
second (calling my gpio_helper avery 500ms may be to fast or else) ?

--
View this message in context: http://mono.1490590.n4.nabble.com/mono-thread-clr-state-assertion-failed-tp3449235p3460709.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list