DotGNU Portable.NET - Bugs: bug #7404, StringBuilder related segfault.
You are not allowed to post comments on this tracker with your current authentication level.
bug #7404: StringBuilder related segfault.
Submitter: | Richard Baumann <Rich333> | ||
Submitted: | Sat 24 Jan 2004 05:36:15 AM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | Fixed |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed |
Sat 24 Jan 2004 10:19:09 AM UTC, comment #1: |
Rhys Weatherley <rweather> |
Sat 24 Jan 2004 05:36:15 AM UTC, original submission:
I can't seem to get a simple test case to exhibit this behavior, so I've attached a patch which reverts my xml code to an earlier version which exhibits this behavior, and a simple xml test case which should segfault because of it. Although I'm not exactly sure where in the engine the problem is occurring, I do know what's going wrong.
|
Richard Baumann <Rich333> |
Depends on the following items: None found
Items that depend on this one: None found
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-24 | rweather | Status | None | Fixed | |
Open/Closed | Open | Closed | |||
2004-01-24 | Rich333 | Attached File | - | Added ilrun-segfault.tar.gz, #996 |
Powered by Savane 3.13-caa5.
Corresponding source code
Fix committed to CVS (pnetlib). There were times when the
engine rounded "capacity" up to a value greater than
"maxCapacity". This confused the "Append(char)" inline
method in CVM, which thought it could add more characters than it should have. The StringBuilder will now clamp "capacity"
so that it won't exceed "maxCapacity".