bugDotGNU Portable.NET - Bugs: bug #8463, Monitor.Wait(..) on unlocked...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #8463: Monitor.Wait(..) on unlocked object causes SEGFAULT in ilrun

Submitted by:  Russell Stuart <rstuart>
Submitted on:  Tue 06 Apr 2004 08:47:26 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 26 Apr 2004 10:10:59 AM UTC, comment #4:

Should be fixed in CVS. Engine structures have changed -- remember to do a clean build.

Thong Nguyen <tum>
Project Member
Fri 16 Apr 2004 04:05:16 AM UTC, comment #3:

This is the gdb backtrace:
#0 _IL_Interlocked_Increment_Ri (thread=0x8126f60, location=0x4) at lib_thread.c:898
#1 0x08068cd8 in _IL_Monitor_InternalWait (thread=0x8126f60, objnv=0x8153ff8, timeout=-1)
at lib_thread.c:454
#2 0x080c5473 in ffi_call_SYSV () at /tmp/cctF7x6P.s:40
#3 0x080c5439 in ffi_raw_call (cif=0x1, fn=0x8068ca0 <_IL_Monitor_InternalWait>, rvalue=0x1,
fake_avalue=0x0) at src/x86/ffi.c:515
#4 0x080856cb in _ILCVMInterpreter (thread=0x8126f60) at cvm_call.c:665
#5 0x0804c294 in _ILCallMethod (thread=0x8126f60, method=0x400152c4,
unpack=0x804c108 <_ILCallUnpackVResult>, result=0xbfffef90, isCtor=0, _this=0x0,
pack=0x804be50 <_ILCallPackVParams>, userData=0xbfffefa0) at call.c:706
#6 0x0804c579 in ILExecThreadCallV (thread=0x8126f60, method=0x400152c4, result=0xbfffef90,
args=0xbfffefa0) at call.c:928
#7 0x0804ba1f in main (argc=2, argv=0xbffff024) at ilrun.c:464
#8 0x400e04ed in __libc_start_main () from /lib/libc.so.6

Russell Stuart <rstuart>
Project Member
Thu 15 Apr 2004 10:29:09 PM UTC, comment #2:

The patch I submitted was broken.

Russell Stuart <rstuart>
Project Member
Tue 06 Apr 2004 09:10:45 AM UTC, comment #1:

Attached is a suggested fix to the problem. Please check carefully.

Russell Stuart <rstuart>
Project Member
Tue 06 Apr 2004 08:47:26 AM UTC, original submission:

This standlone program:
class X {
static void Main() {
System.Threading.Monitor.Wait(typeof(X));
}
}
causes a segmentation fault in ilrun. It should throw a System.Threading.SynchronizationLockException.

Russell Stuart <rstuart>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 26 Apr 2004 10:12:50 AM UTCtumStatusNone=>Fixed
Mon 26 Apr 2004 10:10:59 AM UTCtumOpen/ClosedOpen=>Closed
Thu 15 Apr 2004 10:29:37 PM UTCrstuartAttached File#1172=>Removed
Tue 06 Apr 2004 09:10:45 AM UTCrstuartAttached File-=>Added MonitorWait.patch, #1172

Back to the top


Powered by Savane 3.1-cleanup1