This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8308 - Crash in SyncBoundingboxesReal (thotlib/view/frame.c:1194)
Summary: Crash in SyncBoundingboxesReal (thotlib/view/frame.c:1194)
Status: NEW
Alias: None
Product: Amaya
Classification: Unclassified
Component: Misc (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 critical
Target Milestone: ---
Assignee: Vatton
QA Contact: Vatton
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-14 15:58 UTC by fred.wang
Modified: 2017-01-16 01:17 UTC (History)
7 users (show)

See Also:


Attachments
testcase (46.57 KB, application/xhtml+xml)
2009-11-14 15:58 UTC, fred.wang
Details

Description fred.wang 2009-11-14 15:58:19 UTC
Created attachment 782 [details]
testcase

Open the attached file with Amaya, move to the bottom of the page and go back to the top (using keys page bottom/page up for instance). Amaya crashes before you reach the top.

Program received signal SIGSEGV, Segmentation fault.
0x082a20da in SyncBoundingboxesReal (pInitAb=0xb4ac3a8, XFrame=0, YFrame=0, 
    frame=2) at ../../thotlib/view/frame.c:1194
1194	          if (box->BxType == BoPiece ||
(gdb) bt
#0  0x082a20da in SyncBoundingboxesReal (pInitAb=0xb4ac3a8, XFrame=0, 
    YFrame=0, frame=2) at ../../thotlib/view/frame.c:1194
#1  0x082a21c6 in SyncBoundingboxesReal (pInitAb=0xb4abcb8, XFrame=0, 
    YFrame=0, frame=2) at ../../thotlib/view/frame.c:1219
#2  0x082a240d in SyncBoundingboxes (pInitAb=0xb4ab5c8, XFrame=0, YFrame=0, 
    frame=2, FrXOrg=0, FrYOrg=-535) at ../../thotlib/view/frame.c:1288
#3  0x082a243d in SyncBoundingboxes (pInitAb=0xacecb20, XFrame=0, YFrame=0, 
    frame=2, FrXOrg=0, FrYOrg=-535) at ../../thotlib/view/frame.c:1292
#4  0x082a243d in SyncBoundingboxes (pInitAb=0xacf2388, XFrame=0, YFrame=0, 
    frame=2, FrXOrg=0, FrYOrg=-535) at ../../thotlib/view/frame.c:1292
#5  0x082a243d in SyncBoundingboxes (pInitAb=0xaf67848, XFrame=0, YFrame=0, 
    frame=2, FrXOrg=0, FrYOrg=-535) at ../../thotlib/view/frame.c:1292
#6  0x082a4e89 in RedrawFrameBottom (frame=2, scroll=0, subtree=0x0)
    at ../../thotlib/view/frame.c:2402
#7  0x082a5d26 in DisplayFrame (frame=2) at ../../thotlib/view/frame.c:2587
#8  0x082a05c1 in RedisplayDocViews (pDoc=0xaf68a80)
    at ../../thotlib/view/displayview.c:157
#9  0x082a0a6a in RedisplayCommand (doc=2)
    at ../../thotlib/view/displayview.c:916
#10 0x082a1262 in RedisplayNewElement (document=2, newElement=0xb6405c8, 
    sibling=0xb6114c8, first=false, creation=true)
    at ../../thotlib/view/displayview.c:404
#11 0x08374fc9 in TtaInsertSibling (newElement=0xb6405c8, sibling=0xb6114c8, 
    before=false, document=2) at ../../thotlib/tree/treeapi.c:1061
#12 0x08195ab7 in CopyAMarker (marker=0xb407318, el=0xb463a30, leaf=0xb465bb8, 
    vertex=2, doc=2) at ../../amaya/SVGbuilder.c:963
#13 0x08196291 in GenerateMarkers (el=0xb463a30, doc=2, marker=0xb407318, 
    position=3) at ../../amaya/SVGbuilder.c:1163
#14 0x08240aaa in ApplyRule (pPRule=0xb465ca8, pSchP=0xae151b8, pAb=0xb4add18, 
    pDoc=0xaf68a80, pAttr=0x0, pRefAb=0xb4add18)
    at ../../thotlib/presentation/presrules.c:4449
#15 0x08294971 in ApplyPresRules (pEl=0xb463a30, pDoc=0xaf68a80, viewNb=1, 
    viewSch=1, pSchS=0xada0348, pSchP=0xae151b8, pRSpec=0xbfff8504, 
    pRDef=0xbfff8508, pAbbReturn=0xbfff8500, forward=false, lqueue=0xbfff84e0, 
    rQueue=0xbfff81b8, pNewAbbox=0xb4add18, CSScasc=0xbfff7270, 
    fileDescriptor=0x0, pseudoElOnly=false)
    at ../../thotlib/view/createabsbox.c:5445
#16 0x08296360 in AbsBoxesCreate (pEl=0xb463a30, pDoc=0xaf68a80, viewNb=1, 
    forward=false, descent=true, complete=0xbfff982b)
    at ../../thotlib/view/createabsbox.c:6077
#17 0x082967d1 in AbsBoxesCreate (pEl=0xb405da8, pDoc=0xaf68a80, viewNb=1, 
    forward=false, descent=true, complete=0xbfffab7b)
    at ../../thotlib/view/createabsbox.c:6234
#18 0x082967d1 in AbsBoxesCreate (pEl=0xb405408, pDoc=0xaf68a80, viewNb=1, 
    forward=false, descent=true, complete=0xbfffbecb)
    at ../../thotlib/view/createabsbox.c:6234
#19 0x082967d1 in AbsBoxesCreate (pEl=0xaf65148, pDoc=0xaf68a80, viewNb=1, 
    forward=false, descent=true, complete=0xbfffd21b)
    at ../../thotlib/view/createabsbox.c:6234
#20 0x082967d1 in AbsBoxesCreate (pEl=0xacea928, pDoc=0xaf68a80, viewNb=1, 
    forward=false, descent=true, complete=0xbfffe56b)
    at ../../thotlib/view/createabsbox.c:6234
#21 0x082967d1 in AbsBoxesCreate (pEl=0xaf66030, pDoc=0xaf68a80, viewNb=1, 
    forward=false, descent=true, complete=0xbfffe627)
    at ../../thotlib/view/createabsbox.c:6234
#22 0x082545db in AddAbsBoxes (pAbbRoot=0xaf67848, pDoc=0xaf68a80, head=true)
    at ../../thotlib/view/absboxes.c:344
#23 0x08255b4b in IncreaseVolume (head=true, dVol=4235, frame=2)
    at ../../thotlib/view/absboxes.c:861
#24 0x082a5bfc in AddingOnTop (frame=2, pFrame=0x9ac3f30, topBox=0xb61aca0, 
    top=847146) at ../../thotlib/view/frame.c:2142
#25 0x082a59f9 in RedrawFrameTop (frame=2, scroll=556)
    at ../../thotlib/view/frame.c:2298
#26 0x0833a75a in VerticalScroll (frame=2, delta=-556, selection=1)
    at ../../thotlib/editing/scroll.c:132
#27 0x083115fd in TtcPageUp (document=2, view=1)
    at ../../thotlib/dialogue/appli.c:563
#28 0x0830fe54 in TtaExecuteMenuActionFromActionId (action_id=13, doc=2, 
    view=1, force=false) at ../../thotlib/dialogue/appdialogue.c:554
#29 0x0831c898 in ThotInput (frame=2, value=366, command=13, modifiers=0, 
    key=366, isKey=true) at ../../thotlib/dialogue/input.c:823
#30 0x08309476 in TtaHandleSpecialKey (event=...)
    at ../../thotlib/dialogue/appdialogue_wx.c:2305
#31 0x082b85f8 in AmayaApp::OnKeyDown (this=0x9fd9748, event=...)
    at ../../thotlib/base/AmayaApp.cpp:681
#32 0x08684857 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
#33 0x08685843 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
#34 0x08685928 in wxEvtHandler::ProcessEvent(wxEvent&) ()
#35 0x086848be in wxEvtHandler::TryParent(wxEvent&) ()
#36 0x0851f598 in gtk_window_key_press_callback ()
#37 0xb7b12f66 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#38 0xb7894de3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#39 0xb78a8f0f in ?? () from /usr/lib/libgobject-2.0.so.0
#40 0xb78aa1ef in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#41 0xb78aa7b6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#42 0xb7c2f1b6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#43 0xb7c43e27 in gtk_window_propagate_key_event ()
   from /usr/lib/libgtk-x11-2.0.so.0
#44 0xb7c4713c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#45 0xb7b12f66 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#46 0xb7893569 in ?? () from /usr/lib/libgobject-2.0.so.0
#47 0xb7894de3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#48 0xb78a8bb7 in ?? () from /usr/lib/libgobject-2.0.so.0
#49 0xb78aa1ef in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#50 0xb78aa7b6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#51 0xb7c2f1b6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#52 0xb7b0b7c1 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#53 0xb7b0ca4f in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#54 0xb799557a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#55 0xb77fae98 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#56 0xb77fe623 in ?? () from /lib/libglib-2.0.so.0
#57 0xb77feaea in g_main_loop_run () from /lib/libglib-2.0.so.0
#58 0xb7b0cf09 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#59 0x085df30c in wxEventLoop::Run() ()
#60 0x08563ced in wxAppBase::MainLoop() ()
#61 0x0863634d in wxEntry(int&, wchar_t**) ()
#62 0x082ba935 in main (argc=0, argv=0x5) at ../../thotlib/base/AmayaApp.cpp:51