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

Submitted by:  Seth Kurtzberg <skurtzberg>
Submitted on:  Mon 19 Jan 2004 02:37:48 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned 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>
Project 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>

 

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

 

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 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 22 Jan 2004 06:01:40 AM UTCrweatherStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Mon 19 Jan 2004 02:37:48 AM UTCskurtzbergAttached File-=>Added regex.pnet.problem.tar, #972

Back to the top


Powered by Savane 3.1-cleanup1