Re: amaya3.1 rendering and crashing problems

I was able to reproduce this crash under
Linux while running GDB. My GDB output
is attached. 


--- Lorrie Cranor <lorrie@research.att.com> wrote:
> 
> http://lists.w3.org/Archives/Public/www-amaya/ - if
> I do a search
> and then click the back button twice to come back
> here, the
> page no longer renders correctly (word wrap is very
> strange).
> Then if I go back again and then forward, Amaya
> crashes.
> 
> 
> 



__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
Program received signal SIGSEGV, Segmentation fault.
IsParentBox (pAncestor=0x9266010, pChild=0xd9)
    at ../../thotlib/view/boxmoves.c:171
171           pAb = pChild->BxAbstractBox;
(gdb) 

(gdb) list 160
155     #ifdef __STDC__
156     ThotBool            IsParentBox (PtrBox pAncestor, PtrBox pChild)
157     #else  /* __STDC__ */
158     ThotBool            IsParentBox (pAncestor, pChild)
159     PtrBox              pAncestor;
160     PtrBox              pChild;
161     #endif /* __STDC__ */
162     {
163       PtrAbstractBox      pAb;
164       ThotBool            equal;
(gdb) list
165
166       if (pChild == NULL || pAncestor == NULL)
167         return (FALSE);
168       else
169         {
170           /* Look for pChild ancestors including itself */
171           pAb = pChild->BxAbstractBox;
172           equal = FALSE;
173           while (!equal && pAb != NULL)
174             {
(gdb) list
175               equal = pAb->AbBox == pAncestor;
176               pAb = pAb->AbEnclosing;
177             }
178           return (equal);
179         }
180     }
181
182
183     /*----------------------------------------------------------------------
184       IsSiblingBox returns TRUE if pBox is a sibling (same parent but not

(gdb) print pAncestor
$1 = 0x9266010
(gdb) print pChild
$2 = 0xd9
(gdb) print pAb
$3 = 0x0
(gdb) print equal
$4 = 217 'Ù'

Received on Saturday, 24 June 2000 10:28:21 UTC