bugww - editor - Bugs: bug #10403, } crashes WW

 
 

bug #10403: } crashes WW

Submitted by:  Tzvetan Mikov <mikov>
Submitted on:  Thu 16 Sep 2004 01:09:24 AM UTC  
 
Category: NoneSeverity: 4 - Important
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: petar marinov <lotzmana>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 22 Sep 2004 04:20:12 AM UTC, comment #2:

reproduced and FIXED!

petar marinov <lotzmana>
Project AdministratorIn charge of this item.
Tue 21 Sep 2004 05:41:56 PM UTC, comment #1:

The crash is NARROWED DOWN to:
if (nLinesInserted > 0)
{
if (pMark->nOffset > nRow)
{
/* We need to update only the first mark */
ASSERT(BMList.PgHeap.pageLen == 40);
pMark->nOffset += nLinesInserted;

>>> ASSERT(BMList.PgHeap.pageLen == 40);

goto _exit;
}

BMListUpdate() will fail if the bookmarks list is empty.
Insert more BOOKMARK_VALID() checks inside this function.
Handle the case of no bookmarks for update!

Anonymous
Thu 16 Sep 2004 01:09:24 AM UTC, original submission:

In the following text file:

void LexInit ( void )
{
}

Go to the beginning and type:
enum
{
}

As soon as the '}' is entered, WW crashes:

Assertion BMList.PgHeap.pageLen == 40 failed, file: M:\prog\ww\ww_b24\src\bookm.c, line: 368

Tzvetan Mikov <mikov>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

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

Date Changed By Updated Field Previous Value => Replaced By
Wed 22 Sep 2004 04:20:12 AM UTClotzmanaStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1