View Issue Details

IDProjectCategoryView StatusLast Update
0012685ScribusGeneralpublic2016-04-18 13:21
Reporterclara Assigned Tofschmid  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version1.5.0svn 
Target Version1.5.2Fixed in Version1.5.2.svn 
Summary0012685: Scribus crashes with "unexpected end of file" opening a specific document
DescriptionWhen opening this file, which appears to be valid, Scribus crashes with Signal 11 and fatal error : line 1, column 921, unexpected end of file

I had the file open and was working on it and saving it, no problem; then when I closed and re-opened, this problem started happening.

The Scribus file is here, and also I'm uploading it with this bug:
http://pastebin.com/mcxAa9gw

(There is no column 921 in line 1, so I am having a hard time tracking down where the problem is...)
Steps To ReproduceOpen that file in Scribus 1.5.0
TagsNo tags attached.
PatchNo

Activities

clara

2014-09-12 22:14

reporter  

moomersjournal7.sla (322,448 bytes)

Kunda

2014-09-12 22:26

updater   ~0033658

Last edited: 2014-09-12 22:27

File crashes on open (10.8.5 1.5svn r19502)

FirasH

2014-09-13 11:14

developer  

12685-Backtrace.txt (29,694 bytes)   
fatal error : line 1, column 921, unexpected end of file


Program received signal SIGSEGV, Segmentation fault.
0x000000000126eb24 in StoryText::StoryText (this=0x7fffffffa600, other=...)
    at /home/.../Scribus/scribus/text/storytext.cpp:81
81              d->refs++;
(gdb) bt
#0  0x000000000126eb24 in StoryText::StoryText (this=0x7fffffffa600, other=...)
    at /home/.../Scribus/scribus/text/storytext.cpp:81
#1  0x0000000000e2078d in desaxeString (doc=0x34d8230, saxedString=...)
    at /home/.../Scribus/scribus/util_text.cpp:67
#2  0x0000000000a4b537 in PageItem_NoteFrame::insertNote (this=0x446abb0, note=0x3746490)
    at /home/.../Scribus/scribus/pageitem_noteframe.cpp:270
#3  0x0000000000a4ba5f in PageItem_NoteFrame::updateNotes (this=0x446abb0, nList=..., clear=false)
    at /home/.../Scribus/scribus/pageitem_noteframe.cpp:307
#4  0x0000000000a4108c in PageItem_TextFrame::updateNotesMarks (this=0x446e100, notesMap=...)
    at /home/.../Scribus/scribus/pageitem_textframe.cpp:5973
#5  0x0000000000a27e90 in PageItem_TextFrame::layout (this=0x446e100)
    at /home/.../Scribus/scribus/pageitem_textframe.cpp:3098
#6  0x0000000000a1f408 in PageItem_TextFrame::layout (this=0x7bf7fd0)
    at /home/.../Scribus/scribus/pageitem_textframe.cpp:1319
#7  0x0000000000cb17a1 in ScribusMainWindow::loadDoc (this=0x19dc630, fileName=...)
    at /home/.../Scribus/scribus/scribus.cpp:4213
#8  0x0000000000c96dfc in ScribusMainWindow::startUpDialog (this=0x19dc630)
    at /home/.../Scribus/scribus/scribus.cpp:2035
#9  0x0000000000cf5ad6 in ScribusCore::startGUI (this=0x19dd9c0, showSplash=true, 
    showFontInfo=false, showProfileInfo=false, newGuiLanguage=..., prefsUserFile=...)
    at /home/.../Scribus/scribus/scribuscore.cpp:134
#10 0x0000000000cf25bc in ScribusQApp::init (this=0x7fffffffdb80)
    at /home/.../Scribus/scribus/scribusapp.cpp:287
#11 0x00000000012477d3 in mainApp (argc=1, argv=0x7fffffffdcf8)
    at /home/.../Scribus/scribus/main_nix.cpp:83
#12 0x0000000001247778 in main (argc=1, argv=0x7fffffffdcf8)
    at /home/.../Scribus/scribus/main_nix.cpp:54
(gdb) bt full
#0  0x000000000126eb24 in StoryText::StoryText (this=0x7fffffffa600, other=...)
    at /home/.../Scribus/scribus/text/storytext.cpp:81
No locals.
#1  0x0000000000e2078d in desaxeString (doc=0x34d8230, saxedString=...)
    at /home/.../Scribus/scribus/util_text.cpp:67
        dig = 0x7cfb3d0
        story = 0x3602b10
        res = {<QObject> = {<No data fields>}, <SaxIO> = {
            _vptr.SaxIO = 0x19383f0 <vtable for StoryText+144>, static saxxDefaultElem = {
              static null = {<No data fields>}, d = 0x19759b0}}, static staticMetaObject = {d = {
              superdata = 0x7ffff7a9dd60 <QObject::staticMetaObject>, 
              stringdata = 0x14871a0 <qt_meta_stringdata_StoryText>, 
              data = 0x1487240 <qt_meta_data_StoryText>, 
              static_metacall = 0x127f9f8 <StoryText::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static saxxDefaultElem = {
            static null = {<No data fields>}, d = 0x1975e70}, m_doc = 0x0, m_selFirst = -22888, 
          m_selLast = 32767, d = 0x2b2e0000036b}
#2  0x0000000000a4b537 in PageItem_NoteFrame::insertNote (this=0x446abb0, note=0x3746490)
    at /home/.../Scribus/scribus/pageitem_noteframe.cpp:270
        mrk = 0x3572c60
        story = {<QObject> = {<No data fields>}, <SaxIO> = {
            _vptr.SaxIO = 0x19383f0 <vtable for StoryText+144>, static saxxDefaultElem = {
              static null = {<No data fields>}, d = 0x19759b0}}, static staticMetaObject = {d = {
              superdata = 0x7ffff7a9dd60 <QObject::staticMetaObject>, 
              stringdata = 0x14871a0 <qt_meta_stringdata_StoryText>, 
              data = 0x1487240 <qt_meta_data_StoryText>, 
              static_metacall = 0x127f9f8 <StoryText::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static saxxDefaultElem = {
            static null = {<No data fields>}, d = 0x1975e70}, m_doc = 0x0, m_selFirst = 0, 
          m_selLast = -1, d = 0x7d38530}
#3  0x0000000000a4ba5f in PageItem_NoteFrame::updateNotes (this=0x446abb0, nList=..., clear=false)
    at /home/.../Scribus/scribus/pageitem_noteframe.cpp:307
        note = 0x3746490
        i = 1
        count = 2
#4  0x0000000000a4108c in PageItem_TextFrame::updateNotesMarks (this=0x446e100, notesMap=...)
    at /home/.../Scribus/scribus/pageitem_textframe.cpp:5973
        nList = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, 
                begin = 0, end = 0, array = {0x0}}, d = 0x7d35380}, d = 0x7d35380}}
        nF = 0x446abb0
        _container_ = {c = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, 
                  alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x28bf880}, d = 0x28bf880}}, 
          brk = 0, i = {i = 0x28bf890}, e = {i = 0x28bf898}}
        docWasChanged = false
#5  0x0000000000a27e90 in PageItem_TextFrame::layout (this=0x446e100)
    at /home/.../Scribus/scribus/pageitem_textframe.cpp:3098
        notesMap = {d = 0x6ecb9b0}
        pt1 = {xp = 0, yp = 555}
        pt = {x1 = 0, y1 = 556, x2 = 5, y2 = 565}
        style = {<Style> = {<SaxIO> = {_vptr.SaxIO = 0x1939810 <vtable for ParagraphStyle+16>, 
              static saxxDefaultElem = {static null = {<No data fields>}, d = 0x19759b0}}, 
            m_isDefaultStyle = false, m_name = {static null = {<No data fields>}, d = 0x446cad0}, 
            m_context = 0x0, m_contextversion = -1, m_parent = {static null = {<No data fields>}, 
              d = 0x4469e90}, m_shortcut = {static null = {<No data fields>}, 
              d = 0x7ffff7aa4480 <QArrayData::shared_null>}, static INHERIT_PARENT = {
              static null = {<No data fields>}, d = 0x1975ea0}}, static saxxDefaultElem = {
            static null = {<No data fields>}, d = 0x19761e0}, cstyleContext = 
    {<StyleContext> = {<Observable<StyleContext>> = {<MassObservable<StyleContext*>> = {<UpdateManaged> = {_vptr.UpdateManaged = 0x1938510 <vtable for StyleContextProxy+16>}, m_observers = {
                    q_hash = {{d = 0x7ffff7aa4ce0 <QHashData::shared_null>, 
                        e = 0x7ffff7aa4ce0 <QHashData::shared_null>}}}, changedSignal = 0x2a18de0, 
                  m_um = 0x0}, <No data fields>}, m_version = 38, m_cnt = 0}, 
            m_default = 0x7fffffffaf20}, cstyleContextIsInh = true, cstyle = 
    {<Style> = {<SaxIO> = {_vptr.SaxIO = 0x1938b90 <vtable for CharStyle+16>, 
                static saxxDefaultElem = {static null = {<No data fields>}, d = 0x19759b0}}, 
              m_isDefaultStyle = false, m_name = {static null = {<No data fields>}, 
                d = 0x446cbb0}, m_context = 0x0, m_contextversion = -1, m_parent = {
                static null = {<No data fields>}, d = 0x4558ed0}, m_shortcut = {
                static null = {<No data fields>}, d = 0x7ffff7aa4480 <QArrayData::shared_null>}, 
              static INHERIT_PARENT = {static null = {<No data fields>}, d = 0x1975ea0}}, 
            static INHERIT = {static null = {<No data fields>}, d = 0x1975ed0}, static BOLD = {
              static null = <same as static member of an already seen type>, d = 0x1975f00}, 
            static ITALIC = {static null = <same as static member of an already seen type>, 
              d = 0x1975f30}, static UNDERLINE = {
              static null = <same as static member of an already seen type>, d = 0x1975f60}, 
            static UNDERLINEWORDS = {
              static null = <same as static member of an already seen type>, d = 0x1975fa0}, 
            static STRIKETHROUGH = {static null = <same as static member of an already seen type>, 
              d = 0x1975fe0}, static SUPERSCRIPT = {
              static null = <same as static member of an already seen type>, d = 0x1976010}, 
            static SUBSCRIPT = {static null = <same as static member of an already seen type>, 
              d = 0x1976050}, static OUTLINE = {
              static null = <same as static member of an already seen type>, d = 0x1976090}, 
            static SHADOWED = {static null = <same as static member of an already seen type>, 
              d = 0x19760c0}, static ALLCAPS = {
              static null = <same as static member of an already seen type>, d = 0x1976100}, 
            static SMALLCAPS = {static null = <same as static member of an already seen type>, 
              d = 0x1976130}, static saxxDefaultElem = {
              static null = <same as static member of an already seen type>, d = 0x19761a0}, 
            m_Effects = {value = ScStyle_None}, m_FontSize = 115, inh_FontSize = true, 
            m_FillShade = 100, inh_FillShade = true, m_StrokeShade = 100, inh_StrokeShade = true, 
            m_ScaleH = 1000, inh_ScaleH = true, m_ScaleV = 1000, inh_ScaleV = true, 
            m_BaselineOffset = 0, inh_BaselineOffset = true, m_ShadowXOffset = 50, 
            inh_ShadowXOffset = true, m_ShadowYOffset = -50, inh_ShadowYOffset = true, 
            m_OutlineWidth = 10, inh_OutlineWidth = true, m_UnderlineOffset = -1, 
            inh_UnderlineOffset = true, m_UnderlineWidth = -1, inh_UnderlineWidth = true, 
            m_StrikethruOffset = -1, inh_StrikethruOffset = true, m_StrikethruWidth = -1, 
            inh_StrikethruWidth = true, m_Tracking = 0, inh_Tracking = true, m_WordTracking = 1, 
            inh_WordTracking = true, m_FillColor = {
              static null = <same as static member of an already seen type>, d = 0x353efd0}, 
            inh_FillColor = true, m_StrokeColor = {
              static null = <same as static member of an already seen type>, d = 0x3582a10}, 
            inh_StrokeColor = true, m_Language = {
              static null = <same as static member of an already seen type>, d = 0x7ffff7aa44c0}, 
            inh_Language = true, m_FontVariant = {
              static null = <same as static member of an already seen type>, d = 0x3712440}, 
            inh_FontVariant = true, m_Font = {static CONTROL_GLYPHS = 2000000000, m = 0x1bdbbb0, 
              replacedName = {static null = <same as static member of an already seen type>, 
                d = 0x3648860}, replacedInDoc = {
                static null = <same as static member of an already seen type>, 
                d = 0x7ffff7aa4480 <QArrayData::shared_null>}}, inh_Font = true, 
            m_Features = {<QList<QString>> = {{p = {static shared_null = {ref = {atomic = {
                          _q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, 
                    d = 0x35ec900}, d = 0x35ec900}}, <No data fields>}, inh_Features = true}, 
          m_LineSpacingMode = ParagraphStyle::AutomaticLineSpacing, inh_LineSpacingMode = true, 
          m_LineSpacing = 13.223876953125, inh_LineSpacing = false, 
          m_Alignment = ParagraphStyle::Justified, inh_Alignment = true, m_OpticalMargins = 0, 
          inh_OpticalMargins = true, m_HyphenationMode = 0, inh_HyphenationMode = true, 
          m_MinWordTracking = 0.59999999999999998, inh_MinWordTracking = true, 
          m_MinGlyphExtension = 0.94999999999999996, inh_MinGlyphExtension = true, 
          m_MaxGlyphExtension = 1.05, inh_MaxGlyphExtension = true, m_LeftMargin = 0, 
          inh_LeftMargin = true, m_RightMargin = 0, inh_RightMargin = true, m_FirstIndent = 14.4, 
          inh_FirstIndent = true, m_GapBefore = 0, inh_GapBefore = true, m_GapAfter = 0, 
          inh_GapAfter = true, m_TabValues = {{p = {static shared_null = {ref = {atomic = {
                      _q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, 
                d = 0x3600a40}, d = 0x3600a40}}, inh_TabValues = true, m_UseBaselineGrid = false, 
          inh_UseBaselineGrid = true, m_KeepLinesStart = 0, inh_KeepLinesStart = true, 
          m_KeepLinesEnd = 0, inh_KeepLinesEnd = true, m_KeepWithNext = false, 
          inh_KeepWithNext = true, m_KeepTogether = false, inh_KeepTogether = true, 
          m_HasDropCap = false, inh_HasDropCap = true, m_DropCapLines = 2, 
          inh_DropCapLines = true, m_ParEffectOffset = 0, inh_ParEffectOffset = true, 
          m_ParEffectIndent = false, inh_ParEffectIndent = true, m_PeCharStyleName = {
            static null = {<No data fields>}, d = 0x3602c10}, inh_PeCharStyleName = true, 
          m_HasBullet = false, inh_HasBullet = true, m_BulletStr = {
            static null = {<No data fields>}, d = 0x37212c0}, inh_BulletStr = true, 
          m_HasNum = false, inh_HasNum = true, m_NumName = {static null = {<No data fields>}, 
            d = 0x3653e80}, inh_NumName = true, m_NumFormat = 0, inh_NumFormat = true, 
          m_NumPrefix = {static null = {<No data fields>}, d = 0x3602240}, inh_NumPrefix = true, 
          m_NumSuffix = {static null = {<No data fields>}, d = 0x3607290}, inh_NumSuffix = true, 
          m_NumLevel = 0, inh_NumLevel = true, m_NumStart = 1, inh_NumStart = true, 
          m_NumRestart = 0, inh_NumRestart = true, m_NumOther = false, inh_NumOther = true, 
          m_NumHigher = true, inh_NumHigher = true}
        current = {line = {x = 0, y = 548.5341796875, width = 0, ascent = 0, descent = 0, 
            colLeft = 0, firstItem = 2363, lastItem = 0, naturalWidth = 0}, itemsInLine = 0, 
          hyphenCount = 0, colWidth = 358.00080000000003, colGap = 0, colLeft = 0, 
          colRight = 358.00080000000003, column = 1, startOfCol = false, hasDropCap = false, 
          afterOverflow = false, addLine = false, recalculateY = true, lastInRowLine = false, 
          addLeftIndent = false, wasFirstInRow = false, leftIndent = 0, rightMargin = 0, 
          mustLineEnd = 358.00080000000003, restartIndex = 2363, restartRowIndex = 2363, 
          restartX = 0, rowDesc = 0, ascend = 0, descend = 0, width = 0, xPos = 0, 
          yPos = 562.758056640625, breakIndex = -1, breakXPos = 0, 
          maxShrink = 0.28750000000000026, maxStretch = 0.28750000000000026, 
          frameWidth = 358.00080000000003, frameHeight = 554.25160000000005, insets = {Top = 0, 
            Left = 0, Bottom = 0, Right = 0}, lineCorr = 0}
        pt2 = {xp = 5, yp = 564}
        chs = 115
        opticalMargins = 0
        outs = false
        DropCmode = false
        lastLineY = 555.659912109375
        chstr = {static null = {<No data fields>}, d = 0x455e840}
        glyphs = 0x45f2ae8
        next = 0x7c142d0
        goNoRoom = false
        BulNumMode = false
        FlopBaseline = false
        asce = 10.41064453125
        maxDY = 0
        maxDX = 0
        lineCorr = 0
        savedTextDistanceMargins = {Top = 0, Left = 0, Bottom = 0, Right = 0}
        currentCh = {ucs = 99}
        goNextColumn = false
        desc = 2.43701171875
        DropCapDrop = 0
        itLen = 13530
        chsd = 0
        EndX = 357.25
        kernVal = 0
        tabs = {active = false, status = 0, charIndex = -1, xPos = 0, fillChar = {ucs = 0}}
        realAsce = 6.09814453125
        OFs = 0
        wide = 5.75
        tTabValues = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, 
                begin = 0, end = 0, array = {0x0}}, d = 0x7ffff7aa4d40 <QListData::shared_null>}, 
            d = 0x7ffff7aa4d40 <QListData::shared_null>}}
        realDesc = 3.3671875
        offset = 0
        DropLines = 0
        DropLinesCount = 0
        noteMarksPosMap = {d = 0x447e820}
#6  0x0000000000a1f408 in PageItem_TextFrame::layout (this=0x7bf7fd0)
    at /home/.../Scribus/scribus/pageitem_textframe.cpp:1319
        prevInChain = 0x446e100
        pt1 = {xp = 179, yp = 11}
        pt = {x1 = 179, y1 = 11, x2 = 186, y2 = 19}
        style = {<Style> = {<SaxIO> = {_vptr.SaxIO = 0x18f4770 <vtable for SaxIO+16>, 
              static saxxDefaultElem = {static null = {<No data fields>}, d = 0x19759b0}}, 
            m_isDefaultStyle = false, m_name = {static null = {<No data fields>}, d = 0x7bfc840}, 
            m_context = 0x0, m_contextversion = -1, m_parent = {static null = {<No data fields>}, 
              d = 0x7c0d910}, m_shortcut = {static null = {<No data fields>}, 
              d = 0x7ffff7aa4480 <QArrayData::shared_null>}, static INHERIT_PARENT = {
              static null = {<No data fields>}, d = 0x1975ea0}}, static saxxDefaultElem = {
            static null = {<No data fields>}, d = 0x19761e0}, 
          cstyleContext = {<StyleContext> = {<Observable<StyleContext>> = {<MassObservable<StyleContext*>> = {<UpdateManaged> = {_vptr.UpdateManaged = 0x18f4730 <vtable for UpdateManaged+16>}, 
                  m_observers = {q_hash = {{d = 0x7ffff7aa4ce0 <QHashData::shared_null>, 
                        e = 0x7ffff7aa4ce0 <QHashData::shared_null>}}}, changedSignal = 0x2a18de0, 
                  m_um = 0x0}, <No data fields>}, m_version = 4, m_cnt = 0}, 
            m_default = 0x7fffffffc340}, cstyleContextIsInh = true, 
          cstyle = {<Style> = {<SaxIO> = {_vptr.SaxIO = 0x18f4770 <vtable for SaxIO+16>, 
                static saxxDefaultElem = {static null = {<No data fields>}, d = 0x19759b0}}, 
              m_isDefaultStyle = false, m_name = {static null = {<No data fields>}, 
                d = 0x7bfc920}, m_context = 0x0, m_contextversion = -1, m_parent = {
                static null = {<No data fields>}, d = 0x7bfc080}, m_shortcut = {
                static null = {<No data fields>}, d = 0x7ffff7aa4480 <QArrayData::shared_null>}, 
              static INHERIT_PARENT = {static null = {<No data fields>}, d = 0x1975ea0}}, 
            static INHERIT = {static null = {<No data fields>}, d = 0x1975ed0}, static BOLD = {
              static null = <same as static member of an already seen type>, d = 0x1975f00}, 
            static ITALIC = {static null = <same as static member of an already seen type>, 
              d = 0x1975f30}, static UNDERLINE = {
              static null = <same as static member of an already seen type>, d = 0x1975f60}, 
            static UNDERLINEWORDS = {
              static null = <same as static member of an already seen type>, d = 0x1975fa0}, 
            static STRIKETHROUGH = {static null = <same as static member of an already seen type>, 
              d = 0x1975fe0}, static SUPERSCRIPT = {
              static null = <same as static member of an already seen type>, d = 0x1976010}, 
            static SUBSCRIPT = {static null = <same as static member of an already seen type>, 
              d = 0x1976050}, static OUTLINE = {
              static null = <same as static member of an already seen type>, d = 0x1976090}, 
            static SHADOWED = {static null = <same as static member of an already seen type>, 
              d = 0x19760c0}, static ALLCAPS = {
              static null = <same as static member of an already seen type>, d = 0x1976100}, 
            static SMALLCAPS = {static null = <same as static member of an already seen type>, 
              d = 0x1976130}, static saxxDefaultElem = {
              static null = <same as static member of an already seen type>, d = 0x19761a0}, 
            m_Effects = {value = ScStyle_None}, m_FontSize = 100, inh_FontSize = true, 
            m_FillShade = 100, inh_FillShade = true, m_StrokeShade = 100, inh_StrokeShade = true, 
            m_ScaleH = 1000, inh_ScaleH = true, m_ScaleV = 1000, inh_ScaleV = true, 
            m_BaselineOffset = 0, inh_BaselineOffset = true, m_ShadowXOffset = 50, 
            inh_ShadowXOffset = true, m_ShadowYOffset = -50, inh_ShadowYOffset = true, 
            m_OutlineWidth = 10, inh_OutlineWidth = true, m_UnderlineOffset = -1, 
            inh_UnderlineOffset = true, m_UnderlineWidth = -1, inh_UnderlineWidth = true, 
            m_StrikethruOffset = -1, inh_StrikethruOffset = true, m_StrikethruWidth = -1, 
            inh_StrikethruWidth = true, m_Tracking = 0, inh_Tracking = true, m_WordTracking = 1, 
            inh_WordTracking = true, m_FillColor = {
              static null = <same as static member of an already seen type>, d = 0x353efd0}, 
            inh_FillColor = true, m_StrokeColor = {
              static null = <same as static member of an already seen type>, d = 0x3582a10}, 
            inh_StrokeColor = true, m_Language = {
              static null = <same as static member of an already seen type>, d = 0x7ffff7aa44c0}, 
            inh_Language = true, m_FontVariant = {
              static null = <same as static member of an already seen type>, d = 0x3712440}, 
            inh_FontVariant = true, m_Font = {static CONTROL_GLYPHS = 2000000000, m = 0x1bdbbb0, 
              replacedName = {static null = <same as static member of an already seen type>, 
                d = 0x360aff0}, replacedInDoc = {
                static null = <same as static member of an already seen type>, 
                d = 0x7ffff7aa4480 <QArrayData::shared_null>}}, inh_Font = true, 
            m_Features = {<QList<QString>> = {{p = {static shared_null = {ref = {atomic = {
                          _q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, 
                    d = 0x35ec900}, d = 0x35ec900}}, <No data fields>}, inh_Features = true}, 
          m_LineSpacingMode = ParagraphStyle::AutomaticLineSpacing, inh_LineSpacingMode = true, 
          m_LineSpacing = 11.4990234375, inh_LineSpacing = false, 
          m_Alignment = ParagraphStyle::Rightaligned, inh_Alignment = true, m_OpticalMargins = 0, 
          inh_OpticalMargins = true, m_HyphenationMode = 0, inh_HyphenationMode = true, 
          m_MinWordTracking = 1, inh_MinWordTracking = true, m_MinGlyphExtension = 1, 
          inh_MinGlyphExtension = true, m_MaxGlyphExtension = 1, inh_MaxGlyphExtension = true, 
          m_LeftMargin = 0, inh_LeftMargin = true, m_RightMargin = 0, inh_RightMargin = true, 
          m_FirstIndent = 0, inh_FirstIndent = true, m_GapBefore = 0, inh_GapBefore = true, 
          m_GapAfter = 60, inh_GapAfter = true, m_TabValues = {{p = {static shared_null = {ref = {
                    atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, 
                d = 0x7ffff7aa4d40 <QListData::shared_null>}, 
              d = 0x7ffff7aa4d40 <QListData::shared_null>}}, inh_TabValues = true, 
          m_UseBaselineGrid = false, inh_UseBaselineGrid = true, m_KeepLinesStart = 0, 
          inh_KeepLinesStart = true, m_KeepLinesEnd = 0, inh_KeepLinesEnd = true, 
          m_KeepWithNext = false, inh_KeepWithNext = true, m_KeepTogether = false, 
          inh_KeepTogether = true, m_HasDropCap = false, inh_HasDropCap = true, 
          m_DropCapLines = 2, inh_DropCapLines = true, m_ParEffectOffset = 0, 
          inh_ParEffectOffset = true, m_ParEffectIndent = false, inh_ParEffectIndent = true, 
          m_PeCharStyleName = {static null = {<No data fields>}, d = 0x3602c10}, 
          inh_PeCharStyleName = true, m_HasBullet = false, inh_HasBullet = true, m_BulletStr = {
            static null = {<No data fields>}, d = 0x37212c0}, inh_BulletStr = true, 
          m_HasNum = false, inh_HasNum = true, m_NumName = {static null = {<No data fields>}, 
            d = 0x3653e80}, inh_NumName = true, m_NumFormat = 0, inh_NumFormat = true, 
          m_NumPrefix = {static null = {<No data fields>}, d = 0x3602240}, inh_NumPrefix = true, 
          m_NumSuffix = {static null = {<No data fields>}, d = 0x3607290}, inh_NumSuffix = true, 
          m_NumLevel = 0, inh_NumLevel = true, m_NumStart = 1, inh_NumStart = true, 
          m_NumRestart = 0, inh_NumRestart = true, m_NumOther = false, inh_NumOther = true, 
          m_NumHigher = true, inh_NumHigher = true}
        current = {line = {x = 174.162109375, y = 18.789297103881836, width = 185.087890625, 
            ascent = 7.2802734375, descent = 2.1044921875, colLeft = 0, firstItem = 39, 
            lastItem = 76, naturalWidth = 185.087890625}, itemsInLine = 38, hyphenCount = 0, 
          colWidth = 360, colGap = 0, colLeft = 0, colRight = 360, column = 0, startOfCol = false, 
          hasDropCap = false, afterOverflow = false, addLine = true, recalculateY = true, 
          lastInRowLine = true, addLeftIndent = false, wasFirstInRow = false, leftIndent = 0, 
          rightMargin = 0, mustLineEnd = 360, restartIndex = 39, restartRowIndex = 39, 
          restartX = 0, rowDesc = 0, ascend = 0, descend = 6.9533489040972387e-310, width = 0, 
          xPos = 185.087890625, yPos = 18.789297103881836, breakIndex = 76, 
          breakXPos = 185.087890625, maxShrink = 0, maxStretch = 0, frameWidth = 360, 
          frameHeight = 52.767600000000101, insets = {Top = 0, Left = 0, Bottom = 0, Right = 0}, 
          lineCorr = 0}
        pt2 = {xp = 186, yp = 19}
        chs = 6.953355807228687e-310
        opticalMargins = 0
        outs = false
        DropCmode = false
        lastLineY = 9.3947658538818359
        chstr = {static null = {<No data fields>}, d = 0x41e3f10}
        glyphs = 0x7c1f888
        next = 0x0
        goNoRoom = false
        BulNumMode = false
        FlopBaseline = false
        asce = 9.052734375
        maxDY = 0
        maxDX = 0
        lineCorr = 0
        savedTextDistanceMargins = {Top = 0, Left = 0, Bottom = 0, Right = 0}
        currentCh = {ucs = 49}
        goNextColumn = false
        desc = 2.119140625
        DropCapDrop = 0
        itLen = 77
        chsd = 5.9696197065823792e-316
        EndX = 359.25
        kernVal = 0
        tabs = {active = false, status = 0, charIndex = -1, xPos = 0, fillChar = {ucs = 0}}
        realAsce = 7.1875
        OFs = 1.9522361276880505e-312
        wide = 5.5615234375
        tTabValues = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, 
                begin = 0, end = 0, array = {0x0}}, d = 0x7ffff7aa4d40 <QListData::shared_null>}, 
            d = 0x7ffff7aa4d40 <QListData::shared_null>}}
        realDesc = 2.1044921875
        offset = 0
        DropLines = 0
        DropLinesCount = 0
        noteMarksPosMap = {d = 0x7ffff7aa4de0 <QMapDataBase::shared_null>}
#7  0x0000000000cb17a1 in ScribusMainWindow::loadDoc (this=0x19dc630, fileName=...)
    at /home/.../Scribus/scribus/scribus.cpp:4213
        ite = 0x7bf7fd0
        azz = 92
        FName = {static null = {<No data fields>}, d = 0x348d8f0}
        docProfileDir = {d_ptr = {d = 0x348d5e0}}
        w = 0x3500ea0
        loadSuccess = true
        is12doc = false
        docFontDir2 = {d_ptr = {d = 0x34df160}}
        docItemsCount = 107
        fileLoader = 0x348dc70
        testResult = 47
        docFontDir = {d_ptr = {d = 0x34d0eb0}}
        docFontDir3 = {d_ptr = {d = 0x34ac5b0}}
        ret = false
        windows = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, 
                begin = 0, end = 0, array = {0x0}}, d = 0x7ffff7aa4d40 <QListData::shared_null>}, 
            d = 0x7ffff7aa4d40 <QListData::shared_null>}}
        ActWinOld = 0x0
        windowCount = 0
        fi = {d_ptr = {d = 0x33c5050}}
        platfName = {static null = {<No data fields>}, d = 0x348d880}
        undoBlocker = {<No data fields>}
#8  0x0000000000c96dfc in ScribusMainWindow::startUpDialog (this=0x19dc630)
    at /home/.../Scribus/scribus/scribus.cpp:2035
        fi = {d_ptr = {d = 0x348d720}}
        fileName = {static null = {<No data fields>}, d = 0x348d880}
        docSet = false
        docContext = 0x1d66de0
        dia = 0x2f90590
#9  0x0000000000cf5ad6 in ScribusCore::startGUI (this=0x19dd9c0, showSplash=true, 
    showFontInfo=false, showProfileInfo=false, newGuiLanguage=..., prefsUserFile=...)
    at /home/.../Scribus/scribus/scribuscore.cpp:134
        scribus = 0x19dc630
        retVal = 0
        subsRet = 0
#10 0x0000000000cf25bc in ScribusQApp::init (this=0x7fffffffdb80)
    at /home/.../Scribus/scribus/scribusapp.cpp:287
        retVal = 0
#11 0x00000000012477d3 in mainApp (argc=1, argv=0x7fffffffdcf8)
    at /home/.../Scribus/scribus/main_nix.cpp:83
        appRetVal = 0
        app = {<QApplication> = {<No data fields>}, static staticMetaObject = {d = {
              superdata = 0x7ffff7340180 <QApplication::staticMetaObject>, 
              stringdata = 0x1311240 <qt_meta_stringdata_ScribusQApp>, 
              data = 0x13112c0 <qt_meta_data_ScribusQApp>, 
              static_metacall = 0x7931b4 <ScribusQApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static useGUI = true, 
          m_ScCore = 0x19dd9c0, lang = {static null = {<No data fields>}, d = 0x197bd80}, 
          GUILang = {static null = {<No data fields>}, d = 0x19da290}, showSplash = true, 
          showFontInfo = false, showProfileInfo = false, swapDialogButtonOrder = false, 
          prefsUserFile = {static null = {<No data fields>}, 
            d = 0x7ffff7aa4480 <QArrayData::shared_null>}, filesToLoad = {{p = {
                static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, 
                  end = 0, array = {0x0}}, d = 0x7ffff7aa4d40 <QListData::shared_null>}, 
              d = 0x7ffff7aa4d40 <QListData::shared_null>}}, fileName = {
            static null = {<No data fields>}, d = 0x7ffff7aa4480 <QArrayData::shared_null>}, 
          m_scDLMgr = 0x19b01c0}
#12 0x0000000001247778 in main (argc=1, argv=0x7fffffffdcf8)
    at /home/.../Scribus/scribus/main_nix.cpp:54
No locals.
(gdb) continue
Continuing.
Crash di Scribus
-------------
Scribus รจ andato in crash a causa del Segnale #11
Calling Emergency Save

Program received signal SIGSEGV, Segmentation fault.
0x0000000000cd492e in ScribusMainWindow::emergencySave (this=0x0)
    at /home/.../Scribus/scribus/scribus.cpp:8983
8983            QList<QMdiSubWindow *> windows = mdiArea->subWindowList();
12685-Backtrace.txt (29,694 bytes)   

FirasH

2014-09-13 11:16

developer   ~0033660

Attached a full backtrace of the crash "12685-Backtrace".
Using 1.5.0.svn (19502) on openSUSE.

clara

2014-09-13 19:30

reporter   ~0033674

Okay, I was able to uncorrupt this file by going through the XML by hand, deleting chunks and seeing if the file became openable. I tracked it down to the following couple of XML nodes, which, when removed, enable me to open the file:

849,859c851
< <PAGEOBJECT XPOS="116.5" YPOS="6365.0304" OwnPage="17" ItemID="232394768" PTYPE="4" WIDTH="359.5" HEIGHT="122.5" FRTYPE="0" CLIPEDIT="0" PWIDTH="1" PLINEART="1" isWeldItem="1" WeldSource="232394768" ANNAME="Footnote frame Default (2)" TEXTFLOWMODE="1" LOCALSCX="1" LOCALSCY="1" LOCALX="0" LOCALY="0" LOCALROT="0" PICART="1" SCALETYPE="1" RATIO="1" COLUMNS="1" COLGAP="0" AUTOTEXT="0" EXTRA="0" TEXTRA="0" BEXTRA="0" REXTRA="0" VAlign="0" FLOP="0" PLTSHOW="0" BASEOF="0" textPathType="0" textPathFlipped="0" LOCKR="1" path="M0 0 L359.5 0 L359.5 122.5 L0 122.5 L0 0 Z" copath="M0 0 L359.5 0 L359.5 122.5 L0 122.5 L0 0 Z" gXpos="116.5" gYpos="5906.4968" gWidth="0" gHeight="0" LAYER="0" NEXTITEM="-1" BACKITEM="-1" isNoteFrame="1">
< <WeldEntry Target="201073968" WX="0" WY="0"/>
< <PageItemAttributes>
< <ItemAttribute Name="TOC" Type="string" Value="" Parameter="" Relationship="none" RelationshipTo="" AutoAddTo="textframes"/>
< </PageItemAttributes>
< </PAGEOBJECT>
< <PAGEOBJECT XPOS="116.5" YPOS="5906.4968" OwnPage="17" ItemID="201073968" PTYPE="4" WIDTH="359.5" HEIGHT="458.533600000001" FRTYPE="0" CLIPEDIT="1" PWIDTH="1" PLINEART="1" LOCALSCX="1" LOCALSCY="1" LOCALX="0" LOCALY="0" LOCALROT="0" PICART="1" SCALETYPE="1" RATIO="1" COLUMNS="1" COLGAP="0" AUTOTEXT="0" EXTRA="0" TEXTRA="0" BEXTRA="0" REXTRA="0" VAlign="0" FLOP="0" PLTSHOW="0" BASEOF="0" textPathType="0" textPathFlipped="0" path="M0 0 L359.5 0 L359.5 458.534 L0 458.534 L0 0 Z" copath="M0 0 L359.5 0 L359.5 458.534 L0 458.534 L0 0 Z" gXpos="594" gYpos="5133.75265087677" gWidth="1153.501" gHeight="8185.38227638531" LAYER="0" NEXTITEM="204962072" BACKITEM="200196688">
< <PageItemAttributes>
< <ItemAttribute Name="TOC" Type="string" Value="" Parameter="" Relationship="none" RelationshipTo="" AutoAddTo="textframes"/>
< </PageItemAttributes>
< </PAGEOBJECT>
---

I've uploaded workingnow.sla in case that helps anyone looking at this bug. The XML in the removed nodes looks valid so I am guessing it is a bug somewhere rather than a file corruption problem (?). These nodes are from a section of the document where I was using footnotes -- the reason I'm using 1.5.0 rather than a stable Scribus -- so, maybe a bug in footnote parsing? I now have a recovered version of my file, so I am all set, but hopefully this info can be helpful to someone.

jghali

2014-09-13 21:14

administrator   ~0033678

Last edited: 2014-09-21 14:46

I fixed the issue causing the "fatal error : line 1, column 921, unexpected end of file" message. However opening the file still cause a crash in another place.

Kunda

2015-05-25 03:24

updater   ~0035227

Last edited: 2015-05-25 03:26

Signal 6 triggered upon loading the file (didn't even finish loading it)
On 1.5.1svn r20133

CLI output:
setBestEncoding for ArialMT with 3381 glyphs, hasNames= 512 , POST size= 36169
Checking cmap 0 ( 0 , 3 , 0 ) format 4
found Unicode enc for Arial Regular as map 0 with 2792 glyphs
Checking cmap 1 ( 1 , 0 , 0 ) format 0
Checking cmap 2 ( 3 , 1 , 0 ) format 4
found Unicode enc for Arial Regular as map 2 with 5584 glyphs
using Unicode enc for Arial Regular
load post 0 36169
setBestEncoding for ArialMT with 3381 glyphs, hasNames= 512 , POST size= 36169
Checking cmap 0 ( 0 , 3 , 0 ) format 4
found Unicode enc for Arial Regular as map 0 with 2792 glyphs
Checking cmap 1 ( 1 , 0 , 0 ) format 0
Checking cmap 2 ( 3 , 1 , 0 ) format 4
found Unicode enc for Arial Regular as map 2 with 5584 glyphs
using Unicode enc for Arial Regular
load post 0 36169
storytext::charstyle: access at end of text %i 2
ASSERT failure in QList<T>::at: "index out of range", file /usr/local/opt/qt5/include/QtCore/qlist.h, line 478
Assertion failed: (false), function abort_on_error, file /tmp/scribus20150524-36583-1uaqbqs/scribus/scribuscore.cpp, line 76.
Scribus Crash
-------------
Scribus crashes due to Signal 0000006
Calling Emergency Save
Killed: 9

Fahad

2015-10-23 06:28

developer   ~0036850

I opened the attached file without any problem, then I edited some text and save it then I opened it again without problems.

I am using scribus 1.5.1svn r20483.

Kunda

2015-10-23 14:14

updater   ~0036861

Fahad, great. Will retest this to confirm

Kunda

2015-10-23 14:41

updater   ~0036862

Last edited: 2015-10-23 14:46

Fahad,
Still crashes for me Signal 6
Error is different now:
 
ASSERT failure in QList<T>::at: "index out of range", file /usr/local/opt/qt5/include/QtCore/qlist.h, line 510
Assertion failed: (false), function abort_on_error, file /tmp/scribus20151022-97649-1t15c1r/scribus/scribuscore.cpp, line 76.
Scribus Crash
-------------
Scribus crashes due to Signal 6
Calling Emergency Save


OSX 10.10.5 1.5.1svn r20488 Qt5.5.1

Kunda

2015-10-23 14:46

updater  

backtraceOct2015.txt (4,212 bytes)   
ASSERT failure in QList<T>::at: "index out of range", file /usr/local/opt/qt5/include/QtCore/qlist.h, line 510
Assertion failed: (false), function abort_on_error, file /tmp/scribus20151022-97649-1t15c1r/scribus/scribuscore.cpp, line 76.
Process 8160 stopped
* thread #1: tid = 0x130537, 0x00007fff96a21286 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00007fff96a21286 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
->  0x7fff96a21286 <+10>: jae    0x7fff96a21290            ; <+20>
    0x7fff96a21288 <+12>: movq   %rax, %rdi
    0x7fff96a2128b <+15>: jmp    0x7fff96a1cc53            ; cerror_nocancel
    0x7fff96a21290 <+20>: retq
(lldb) bt
* thread #1: tid = 0x130537, 0x00007fff96a21286 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
  * frame #0: 0x00007fff96a21286 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff8f6d19f9 libsystem_pthread.dylib`pthread_kill + 90
    frame #2: 0x00007fff8d3bd9b3 libsystem_c.dylib`abort + 129
    frame #3: 0x00007fff8d385a99 libsystem_c.dylib`__assert_rtn + 321
    frame #4: 0x00000001003dbd70 Scribus`abort_on_error(QtMsgType, QMessageLogContext const&, QString const&) + 150
    frame #5: 0x00000001035e51ac QtCore`qt_message(QtMsgType, QMessageLogContext const&, char const*, __va_list_tag*) + 44
    frame #6: 0x00000001035e6bb0 QtCore`QMessageLogger::fatal(char const*, ...) const + 160
    frame #7: 0x00000001035e1952 QtCore`qt_assert_x(char const*, char const*, char const*, int) + 82
    frame #8: 0x00000001000ffae1 Scribus`QList<PageItem*>::at(int) const + 81
    frame #9: 0x00000001003a817f Scribus`ScribusMainWindow::loadDoc(QString) + 7319
    frame #10: 0x00000001003ae943 Scribus`ScribusMainWindow::slotFileOpen() + 615
    frame #11: 0x00000001000154bf Scribus`ScribusMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 3147
    frame #12: 0x00000001037d188c QtCore`QMetaObject::activate(QObject*, int, int, void**) + 2988
    frame #13: 0x000000010233ba50 QtWidgets`QAction::activate(QAction::ActionEvent) + 288
    frame #14: 0x00000001037d188c QtCore`QMetaObject::activate(QObject*, int, int, void**) + 2988
    frame #15: 0x00000001037ca27c QtCore`QObject::event(QEvent*) + 156
    frame #16: 0x000000010234496b QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
    frame #17: 0x00000001023472ce QtWidgets`QApplication::notify(QObject*, QEvent*) + 5630
    frame #18: 0x00000001037a2302 QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 1058
    frame #19: 0x0000000105c21b0e libqcocoa.dylib`QCocoaEventDispatcherPrivate::processPostedEvents() + 190
    frame #20: 0x0000000105c22391 libqcocoa.dylib`QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
    frame #21: 0x00007fff9410ea01 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #22: 0x00007fff94100b8d CoreFoundation`__CFRunLoopDoSources0 + 269
    frame #23: 0x00007fff941001bf CoreFoundation`__CFRunLoopRun + 927
    frame #24: 0x00007fff940ffbd8 CoreFoundation`CFRunLoopRunSpecific + 296
    frame #25: 0x00007fff94f9056f HIToolbox`RunCurrentEventLoopInMode + 235
    frame #26: 0x00007fff94f901ee HIToolbox`ReceiveNextEventCommon + 179
    frame #27: 0x00007fff94f9012b HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
    frame #28: 0x00007fff92dcb8ab AppKit`_DPSNextEvent + 978
    frame #29: 0x00007fff92dcae58 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    frame #30: 0x00007fff92dc0af3 AppKit`-[NSApplication run] + 594
    frame #31: 0x0000000105c212df libqcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2191
    frame #32: 0x000000010379ed0c QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 412
    frame #33: 0x00000001037a1b85 QtCore`QCoreApplication::exec() + 341
    frame #34: 0x00000001007e1829 Scribus`mainApp(int, char**) + 90
    frame #35: 0x00007fff9599b5c9 libdyld.dylib`start + 1
    frame #36: 0x00007fff9599b5c9 libdyld.dylib`start + 1
backtraceOct2015.txt (4,212 bytes)   

Kunda

2015-10-23 14:46

updater   ~0036863

added new backtrace

Fahad

2015-10-23 16:30

developer   ~0036864

ok.. I forgot to mention that I am using kubuntu 15.04 Qt 5.4.1

Kunda

2015-10-23 17:38

updater   ~0036867

Fahad,
could you upgrade to Qt5.5.1 and test to see where the regression is ?
I'll try installing Qt5.4.1 and see if I can find the regression.

JLuc

2015-10-23 17:46

developer   ~0036868

I confirm the same crash as Kunda's on Ubuntu 14.04 and Qt5.5

Fahad

2015-10-23 18:10

developer  

moomersjournal7-new.sla (329,745 bytes)

Fahad

2015-10-23 18:10

developer  

snapshot1.png (167,655 bytes)   
snapshot1.png (167,655 bytes)   

Fahad

2015-10-23 18:10

developer   ~0036871

I compiled scribus against Qt 5.5.1 and I can not reproduce this bug.

I attached the new sla file with screenshot

Kunda

2015-10-23 18:38

updater   ~0036874

Fahad, Thanks!
So it works on:
kubuntu 15.04/Qt5.4.1 & 5.5.1

Doesn't work on:
Ubuntu 14.04/Qt5.5
OSX 10.10.5/Qt5.5.1

JLuc

2015-10-23 19:17

developer   ~0036876

Last edited: 2015-10-23 19:18

I can open the new sla file that you saved out of the old one you managed to open.

It could be an issue with fonts replacement since there are lots of fonts that have to be replaced in the original document.

Or an issue with censorship, due to the included text. ;-)

I saw following difference in SLA before and after save :

In crashing SLA, there is :

 <MASTEROBJECT XPOS="141.5" YPOS="511.419452631579" OwnPage="3" ItemID="192509384" PTYPE="4" WIDTH="495.5" HEIGHT="198.580547368421" FRTYPE="0" CLIPEDIT="0" PWIDTH="1" PLINEART="1" LOCALSCX="1" LOCALSCY="1" LOCALX="0" LOCALY="0" LOCALROT="0" PICART="1" SCALETYPE="1" RATIO="1" TXTFILL="Black" TXTSTROKE="Black" TXTSTRSH="100" TXTFILLSH="100" TXTSCALE="100" TXTSCALEV="100" TXTBASE="0" TXTSHX="5" TXTSHY="-5" TXTOUT="1" TXTULP="-0.1" TXTULW="-0.1" TXTSTP="-0.1" TXTSTW="-0.1" LINESP="12" LINESPMode="0" IFONT="Abyssinica SIL Regular" ISIZE="13" COLUMNS="1" COLGAP="0" AUTOTEXT="0" EXTRA="0" TEXTRA="0" BEXTRA="0" REXTRA="0" VAlign="0" FLOP="0" PLTSHOW="0" BASEOF="0" textPathType="0" textPathFlipped="0" path="M0 0 L495.5 0 L495.5 198.581 L0 198.581 L0 0 Z" copath="M0 0 L495.5 0 L495.5 198.581 L0 198.581 L0 0 Z" OnMasterPage="Master Page Right" gXpos="0" gYpos="0" gWidth="0" gHeight="0" ALIGN="0" LAYER="0" NEXTITEM="-1" BACKITEM="-1">

In saved SLA there is :

<MASTEROBJECT XPOS="141.5" YPOS="511.419452631579" OwnPage="3" ItemID="62144816" PTYPE="4" WIDTH="495.5" HEIGHT="198.580547368421" FRTYPE="0" CLIPEDIT="0" PWIDTH="1" PLINEART="1" LOCALSCX="1" LOCALSCY="1" LOCALX="0" LOCALY="0" LOCALROT="0" PICART="1" SCALETYPE="1" RATIO="1" COLUMNS="1" COLGAP="0" AUTOTEXT="0" EXTRA="0" TEXTRA="0" BEXTRA="0" REXTRA="0" VAlign="0" FLOP="0" PLTSHOW="0" BASEOF="0" textPathType="0" textPathFlipped="0" path="M0 0 L495.5 0 L495.5 198.581 L0 198.581 L0 0 Z" copath="M0 0 L495.5 0 L495.5 198.581 L0 198.581 L0 0 Z" OnMasterPage="Master Page Right" gXpos="0" gYpos="0" gWidth="0" gHeight="0" ALIGN="0" LAYER="0" NEXTITEM="-1" BACKITEM="-1">
            <StoryText>
                <DefaultStyle ALIGN="0" LINESPMode="0" LINESP="12" FONT="Abyssinica SIL Regular" FONTSIZE="13" FCOLOR="Black" FSHADE="100" SCOLOR="Black" SSHADE="100" TXTSHX="5" TXTSHY="-5" TXTOUT="1" TXTULP="-0.1" TXTULW="-0.1" TXTSTP="-0.1" TXTSTW="-0.1" SCALEH="100" SCALEV="100" BASEO="0"/>

Its not the same XML format : there isnt this <StoryText> and <DefaultStyle...> tag levels in the original SLA.

Same in other places its plain :
   <StoryText>
         <DefaultStyle LINESPMode="2"/>

So it could be that *some* (?) compiled scribus dont manage to read the old XML format *without* "storytext" and "DefaultStyle" tags...

Kunda

2015-10-23 19:25

updater   ~0036877

I put them in diff checker:
https://www.diffchecker.com/bivjlahb

Kunda

2015-10-29 17:46

updater   ~0037107

bump

fschmid

2016-04-16 09:18

administrator   ~0040200

Last edited: 2016-04-16 09:20

Crash is caused by the pageitems layout() function with does remove empty noteframes. And because of this a:
for (int i = 0; i < doc->Items->count(); ++i)
{
  PageItem* ite = doc->Items->at(i);
}
will fail. Using iterators fixes that, but i consider that behaviour of PageItemTextframe::layout() as very dangerous and it should be removed.

Kunda

2016-04-18 13:21

updater   ~0040249

Franz provided fix in r21195 Thanks!
Confirmed on OSX 10.10.5 r21207
Closing

Issue History

Date Modified Username Field Change
2014-09-12 22:14 clara New Issue
2014-09-12 22:14 clara File Added: moomersjournal7.sla
2014-09-12 22:26 Kunda Note Added: 0033658
2014-09-12 22:26 Kunda Severity minor => crash
2014-09-12 22:26 Kunda Summary "Unexpected end of file" => "Unexpected end of file" Signal 11
2014-09-12 22:26 Kunda Note Edited: 0033658
2014-09-12 22:27 Kunda Note Edited: 0033658
2014-09-13 11:14 FirasH File Added: 12685-Backtrace.txt
2014-09-13 11:16 FirasH Note Added: 0033660
2014-09-13 11:16 FirasH Reproducibility have not tried => always
2014-09-13 11:16 FirasH Status new => confirmed
2014-09-13 11:16 FirasH OS Ubuntu =>
2014-09-13 11:16 FirasH OS Version 14.10 =>
2014-09-13 11:18 FirasH Summary "Unexpected end of file" Signal 11 => Scribus crashes with "unexpected end of file" opening a specific document
2014-09-13 19:30 clara Note Added: 0033674
2014-09-13 21:14 jghali Note Added: 0033678
2014-09-21 14:46 jghali Note Edited: 0033678
2015-05-25 03:24 Kunda Note Added: 0035227
2015-05-25 03:25 Kunda Patch => No
2015-05-25 03:25 Kunda Description Updated
2015-05-25 03:26 Kunda Note Edited: 0035227
2015-05-25 03:26 Kunda Target Version => 1.6 milestone
2015-10-23 06:28 Fahad Note Added: 0036850
2015-10-23 14:14 Kunda Note Added: 0036861
2015-10-23 14:41 Kunda Note Added: 0036862
2015-10-23 14:42 Kunda Note Edited: 0036862
2015-10-23 14:46 Kunda File Added: backtraceOct2015.txt
2015-10-23 14:46 Kunda Note Added: 0036863
2015-10-23 14:46 Kunda Note Edited: 0036862
2015-10-23 16:30 Fahad Note Added: 0036864
2015-10-23 17:38 Kunda Note Added: 0036867
2015-10-23 17:46 JLuc Note Added: 0036868
2015-10-23 18:10 Fahad File Added: moomersjournal7-new.sla
2015-10-23 18:10 Fahad File Added: snapshot1.png
2015-10-23 18:10 Fahad Note Added: 0036871
2015-10-23 18:38 Kunda Note Added: 0036874
2015-10-23 19:17 JLuc Note Added: 0036876
2015-10-23 19:18 JLuc Note Edited: 0036876
2015-10-23 19:18 JLuc Note Edited: 0036876
2015-10-23 19:25 Kunda Note Added: 0036877
2015-10-29 17:46 Kunda Note Added: 0037107
2016-04-16 09:14 fschmid Target Version 1.6 milestone => 1.5.2
2016-04-16 09:18 fschmid Note Added: 0040200
2016-04-16 09:18 fschmid Note Edited: 0040200
2016-04-16 09:20 fschmid Note Edited: 0040200
2016-04-16 09:21 fschmid Status confirmed => resolved
2016-04-16 09:21 fschmid Fixed in Version => 1.5.2.svn
2016-04-16 09:21 fschmid Resolution open => fixed
2016-04-16 09:21 fschmid Assigned To => fschmid
2016-04-18 13:21 Kunda Note Added: 0040249
2016-04-18 13:21 Kunda Status resolved => closed