bugDotGNU Portable.NET - Bugs: bug #7321, program using regex generates run...

 
 

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

bug #7321: program using regex generates run time error - works with m$ and mono

Submitter:  Seth Kurtzberg <skurtzberg>
Submitted:  Mon 19 Jan 2004 02:37:48 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Thu 22 Jan 2004 06:01:40 AM UTC, comment #1: 

I've updated our regex code to match Mono's.  However, there is a bug in Mono's regex code (which I've fixed in
our copy).

Line 785 of interpreter.cs does an Debug.Assert on
"cp > mark_start".  This should read "cp >= mark_start".
It works fine in Mono because mcs removes the Assert calls
from the program due to "Conditional(DEBUG)" attributes. 
Since we are compiling pnetlib in debug mode, the assert
is compiled into our code and fires.

You may want to report this bug to them so that they
can fix it in future versions of their regex code.

Rhys Weatherley <rweather>
Group administrator
Mon 19 Jan 2004 02:37:48 AM UTC, original submission:  

The attached program generates the following message when executed by ilrun:

Assertion failed: Regex

The program compiles with cscc, mono, and m$.  mono and m$ run the compiled program, cscc produces the error.

The same error occurs when ilrun is used to execute the code compiled by cscc, and when ilrun is used to execute the code (for the same program) compiled using mono's compiler.

Seth Kurtzberg <skurtzberg>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #992:  regex.pnet.problem.tar added by skurtzberg (10KiB - application/octet-stream - Create directory, extract files from tar archive, run make. Run the compiled program with the command line: ilrun ListGenerator String TypesafeList.template StringList.cs To see normal execution change CS in the makefile from cscc to mcs)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-01-22 rweather StatusNone Fixed
    Open/ClosedOpen Closed
2004-01-19 skurtzberg Attached File- Added regex.pnet.problem.tar, #972

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code