bugDotGNU Portable.NET - Bugs: bug #8838, Exceptions not being caught

 
 

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

bug #8838: Exceptions not being caught

Submitter:  Thong Nguyen <tum>
Submitted:  Sat 08 May 2004 09:38:40 AM UTC
   
 
Category:  None Severity:  1 - Wish
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Mon 24 May 2004 09:07:13 AM UTC, comment #3: 

Fix committed - 24 May 2004

Rhys Weatherley <rweather>
Group administrator
Fri 14 May 2004 06:00:13 PM UTC, comment #2: 

Two possible fixes are available for this bug: patch #3059 (by Jonas) and patch #3062 (by me).

Anonymous
Sat 08 May 2004 10:31:06 PM UTC, comment #1: 

It looks like the OutputExceptionTable function in pnet/verify_except.c expects a list ordered by exception->tryOffset (ascending), which it isn't getting. There may be additional problems but I'm still struggling to understand the code.

Richard Baumann <Rich333>
Group Member
Sat 08 May 2004 09:38:40 AM UTC, original submission:  

If there's an exception handler inside an exception handler, pnet seems to allow the exception to pass right on through the function without being caught.  See the attached example file.

Thong Nguyen <tum>
Group Member

 

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

Attached Files
file #622:  working-main.c added by Rich333 (5KiB - text/x-c - Same as broken-main.c, but with the assignment line in TestCatch.cs commented out. Shows that it works only b/c of it being an edge case (offset 0).)
file #621:  broken-main.c added by Rich333 (5KiB - text/x-c - Trace of the Main function from TestCatch.cs, using the exception-table-trace.patch tracing.)
file #620:  exception-table-trace.patch added by Rich333 (10KiB - text/x-patch - Patch to the OutputExceptionTable function, which adds lots of traces to help identify and fix the problem.)
file #619:  TestCatch.cs added by tum (325B - text/plain)

 

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

Date Changed by Updated Field Previous Value => Replaced by
2004-05-24 rweather StatusNone Fixed
    Open/ClosedOpen Closed
2004-05-08 Rich333 Attached File- Added working-main.c, #1281
2004-05-08 Rich333 Attached File- Added broken-main.c, #1280
2004-05-08 Rich333 Attached File- Added exception-table-trace.patch, #1279
2004-05-08 tum Attached File- Added TestCatch.cs, #1278

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code