Re: more unicode crashes?

From: Jean Brefort <jean.brefort_at_normalesup.org>
Date: Tue Aug 21 2012 - 08:19:55 CEST

It doesn't crash for me, but I get a lot of:

(abiword:9924): GLib-GObject-CRITICAL **: g_object_ref: assertion
`G_IS_OBJECT (object)' failed
DEBUG: @@@@ ===== Failed to find font for u0020

And this clearly looks like a bug.

Jean

Le mardi 21 août 2012 à 12:34 +1000, Dmitry Smirnov a écrit :
> We still have some problems with unicode:
>
> Abiword crashes if I open
>
> https://en.wikipedia.org/wiki/Linear_B
>
> copy all its content (Ctrl+a Ctrl+c) and paste into new document
> then "select all" (Ctrl+a) and press 'Del'.
> Paste Unformatted just hangs i.e. abiword become unresponsive.
>
> Crash is reproducible by copying two paragraphs from above page:
> "Special and unknown signs" and "Spelling and pronunciation".
>
> Deleting just one of those paragraphs may not be enough to crash
> right away but it gives an evidence of another problem:
> when paragraph successfully deleted, clipboard contents disappears.
>
> All the above tested with latest 'trunk', please see the crash dump below.
>
> Regards,
> Dmitry.
>
>
> ################
> #0 0x00007ffff37fe86c in pango_font_describe () from /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0
> #1 0x00007ffff79da968 in GR_CairoGraphics::_adjustedLayoutPangoFont (this=this@entry=0xf44060, pFont=0xf58850, pf=<optimized out>) at gr_CairoGraphics.cpp:1233
> #2 0x00007ffff79daac0 in getTextWidth (ri=..., this=0xf44060) at gr_CairoGraphics.cpp:1032
> #3 GR_CairoGraphics::getTextWidth (this=0xf44060, ri=...) at gr_CairoGraphics.cpp:1017
> #4 0x00007ffff779b7f4 in fp_TextRun::findTrailingSpaceDistance (this=0x141b610) at fp_TextRun.cpp:2616
> #5 0x00007ffff7727036 in fb_LineBreaker::_moveBackToFirstNonBlankData (this=this@entry=0xf5a860, pCurrentRun=pCurrentRun@entry=0x141b610,
> pOffendingRun=pOffendingRun@entry=0x7fffffffdaf8) at fb_LineBreaker.cpp:371
> #6 0x00007ffff7727776 in fb_LineBreaker::breakParagraph (this=0xf5a860, pBlock=0xf5a7b0, pLineToStartAt=<optimized out>, pPage=0x0) at fb_LineBreaker.cpp:146
> #7 0x00007ffff7738ff0 in fl_BlockLayout::format (this=0xf5a7b0) at fl_BlockLayout.cpp:3940
> #8 0x00007ffff773bf66 in fl_BlockLayout::doclistener_deleteSpan (this=0xf5a7b0, pcrs=0x125f1d0) at fl_BlockLayout.cpp:7159
> #9 0x00007ffff7755a5b in bl_doclistener_deleteSpan (pcrs=0x125f1d0, pBL=0xf5a7b0, this=0xf5a400) at fl_SectionLayout.cpp:287
> #10 fl_SectionLayout::bl_doclistener_deleteSpan (this=0xf5a400, pBL=0xf5a7b0, pcrs=0x125f1d0) at fl_SectionLayout.cpp:270
> #11 0x00007ffff774b008 in fl_DocListener::change (this=0xf59940, sfh=0xf5a7b0, pcr=0x125f1d0) at fl_DocListener.cpp:1011
> #12 0x00007ffff77e580b in PD_Document::notifyListeners (this=0xebfd60, pfs=0xe71d70, pcr=0x125f1d0) at pd_Document.cpp:4177
> #13 0x00007ffff782d051 in pt_PieceTable::_deleteSpanWithNotify (this=this@entry=0x79ee00, dpos=dpos@entry=2, pft=<optimized out>, fragOffset=0, length=6, pfs=0xe71d70,
> ppfEnd=ppfEnd@entry=0x7fffffffde20, pfragOffsetEnd=pfragOffsetEnd@entry=0x7fffffffde08, bAddChangeRec=bAddChangeRec@entry=true) at pt_PT_DeleteSpan.cpp:1501
> #14 0x00007ffff782db04 in pt_PieceTable::_deleteComplexSpan (this=this@entry=0x79ee00, origPos1=@0x7fffffffde9c: 2, origPos2=@0x7fffffffde98: 7245,
> stDelayStruxDelete=stDelayStruxDelete@entry=0x7fffffffdec0) at pt_PT_DeleteSpan.cpp:2576
> #15 0x00007ffff782f3f4 in pt_PieceTable::_realDeleteSpan (this=0x79ee00, dpos1=16091216, dpos2=16694064, dpos2@entry=7245, p_AttrProp_Before=p_AttrProp_Before@entry=
> 0x0, bDeleteTableStruxes=bDeleteTableStruxes@entry=true, bDontGlob=bDontGlob@entry=false) at pt_PT_DeleteSpan.cpp:3205
> #16 0x00007ffff782fbe9 in pt_PieceTable::deleteSpan (this=0x79ee00, dpos1=2, dpos2=7245, p_AttrProp_Before=0x0, iRealDeleteCount=@0x7fffffffe10c: 0,
> bDeleteTableStruxes=true, bDontGlob=bDontGlob@entry=false) at pt_PT_DeleteSpan.cpp:1275
> #17 0x00007ffff782fdc4 in pt_PieceTable::deleteSpanWithTable (this=<optimized out>, dpos1=<optimized out>, dpos2=<optimized out>, p_AttrProp_Before=<optimized out>,
> iRealDeleteCount=<optimized out>, bDeleteTableStruxes=<optimized out>) at pt_PT_DeleteSpan.cpp:79
> #18 0x00007ffff77dcb37 in FV_View::_deleteSelection (this=0xf4fed0, p_AttrProp_Before=0x0, bNoUpdate=false, bCaretLeft=false) at fv_View_protected.cpp:497
> #19 0x00007ffff77af5f2 in FV_View::cmdCharDelete (this=0xf4fed0, bForward=true, count=1) at fv_View_cmd.cpp:3574
> #20 0x00007ffff78b859b in _sFrequentRepeat (pWorker=<optimized out>) at ap_EditMethods.cpp:1519
> #21 _sFrequentRepeat (pWorker=<optimized out>) at ap_EditMethods.cpp:1491
> #22 0x00007ffff79e07ca in _Timer_Proc (p=<optimized out>) at ut_unixIdle.cpp:36
> #23 0x00007ffff2b43205 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #24 0x00007ffff2b43538 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #25 0x00007ffff2b43932 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #26 0x00007ffff446f2c5 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
> #27 0x00007ffff771cffb in AP_UnixApp::main (szAppName=<optimized out>, argc=1, argv=0x7fffffffe5c8) at ap_UnixApp.cpp:1384
> #28 0x00007ffff6e85ead in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>,
> rtld_fini=<optimized out>, stack_end=0x7fffffffe5b8) at libc-start.c:228
> #29 0x0000000000400619 in _start ()
Received on Tue Aug 21 08:22:48 2012

This archive was generated by hypermail 2.1.8 : Tue Aug 21 2012 - 08:22:48 CEST