bugww - editor - Bugs: bug #9381, a crash related to {} highlighting

 
 

bug #9381: a crash related to {} highlighting

Submitted by:  None
Submitted on:  Fri 18 Jun 2004 04:07:47 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 06 Jul 2004 01:43:56 AM UTC, comment #1:

fixed for 0.2.22

petar marinov <lotzmana>
Project Administrator
Fri 18 Jun 2004 04:07:47 PM UTC, original submission:

The stack:
(gdb) p /x pFile->hlightareas[i].c
$2 = 0xbffffae0
(gdb) bt
#0 0x40136721 in kill () from /lib/libc.so.6
#1 0x401364c5 in raise () from /lib/libc.so.6
#2 0x401379e8 in abort () from /lib/libc.so.6
#3 0x4012fb3f in __assert_fail () from /lib/libc.so.6
#4 0x08078cad in GetTabPos (pFile=0x80d934c, nLine=1, nPos=-1073743136)
at src/nav.c:295
#5 0x08087f45 in wline (pFile=0x80d934c, nWrtLine=1, nWidth=80,
pOutputBuf=0xbffff880, pExtraColorInterf=0x80d99c8) at src/wline.c:347
#6 0x0807865d in WriteLine (pFile=0x80d934c, nStartX=0, nStartY=0,
nWrtLine=1, nWidth=80, nPaletteStart=7, PutText=0x8071984 <PutText>,
pExtraColorInterf=0x80d99c8) at src/nav.c:76
#7 0x0807879b in WritePage (pFile=0x80d934c, nStartX=0, nStartY=0,
nWinHeight=59, nWinWidth=80, nPaletteStart=7,
PutText=0x8071984 <PutText>, pExtraColorInterf=0x80d99c8) at src/nav.c:122
#8 0x08078a51 in UpdatePage (pFile=0x80d934c, nStartX=0, nStartY=0,
nWinWidth=80, nWinHeight=59, nPaletteStart=7, pstSearchContext=0x80b7040,
PutText=0x8071984 <PutText>, pExtraColorInterf=0x80d99c8) at src/nav.c:217
#9 0x08071add in ConsoleUpdatePage (pFile=0x80d934c, x1=0, y1=0, x2=80,
y2=59, nPaletteStart=7, pExtraColorInterf=0x80d99c8) at src/l2disp.c:73
#10 0x080667d8 in HandleFileViewEvents (nEvent=5, pEvent=0x0, pView=0x80d986c)
at src/fview.c:129
#11 0x08057f40 in ContainerHandleEvent (nEvent=5, pCont=0x80b6080, pEvent=0x0)
at src/contain.c:566
#12 0x0807324a in UpdateDisplay () at src/main2.c:596
#13 0x08073553 in main2 (argc=1, argv=0xbffffd14) at src/main2.c:714
#14 0x0808752d in main (argc=1, argv=0xbffffd14) at src/wl.c:14
(gdb)

The stack shows that most likely pFile->hlightareas[] was not cleaned up before update page.

Anonymous

 

(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):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Tue 06 Jul 2004 01:43:55 AM UTClotzmanaOpen/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1