[scribus-dev] Odd crashes with Scribus 1.3.3.12

"Christoph Schäfer" christoph-schaefer at gmx.de
Sun Oct 12 18:09:48 CEST 2008


Hi,

before filing a bug, I'd dlike to receive your feedback on some odd and annoying behaviour of Scribus 1.3.3.12. On SuSE 10.3, I regularly get crashes (of Scribus and the system). The pattern is this: 1) open a few larger files subsequently 2) after opening and closing several of them, Scribus first crashes when it attempts to open another file, then it crashes on startup, and finally it freezes the system.

This is what gdb says to a crash while trying to open a new file:
Starting program: /opt/scribus133/bin/scribus
[Thread debugging using libthread_db enabled]
[New Thread 0xb6e626d0 (LWP 3930)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6e626d0 (LWP 3930)]
0xb770e130 in tt_cmap4_char_map_binary (cmap=0x9798808, pcharcode=0xbf989a84,
    next=0 '\0')
    at /usr/src/packages/BUILD/freetype-2.3.5/src/sfnt/ttcmap.c:1251
1251    /usr/src/packages/BUILD/freetype-2.3.5/src/sfnt/ttcmap.c: No such file or directory.
        in /usr/src/packages/BUILD/freetype-2.3.5/src/sfnt/ttcmap.c
Current language:  auto; currently c
(gdb) bt
#0  0xb770e130 in tt_cmap4_char_map_binary (cmap=0x9798808,
    pcharcode=0xbf989a84, next=0 '\0')
    at /usr/src/packages/BUILD/freetype-2.3.5/src/sfnt/ttcmap.c:1251
#1  0xb770e4ec in tt_cmap4_char_index (cmap=0x9798808, char_code=84)
    at /usr/src/packages/BUILD/freetype-2.3.5/src/sfnt/ttcmap.c:1264
#2  0xb76da064 in FT_Get_Char_Index (face=0x9b46950, charcode=84)
    at /usr/src/packages/BUILD/freetype-2.3.5/src/base/ftobjs.c:2799
#3  0x085e1b96 in Cwidth (currentDoc=0x9b41ce8, name=0x8c1c730,
    ch=@0xbf98ad1c, Size=100, ch2=@0xbf98ad18)
    at /home/christoph/scribus-1.3.3.12/scribus/scfontmetrics.cpp:529
#4  0x08488616 in PageItem_TextFrame::DrawObj_Item (this=0xd3d5ed8,
    p=0xbff7928, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:723
#5  0x0845f821 in PageItem::DrawObj (this=0xd3d5ed8, p=0xbff7928, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#6  0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xd38b3f0,
    p=0xa0e1180, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#7  0x0845f821 in PageItem::DrawObj (this=0xd38b3f0, p=0xa0e1180, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#8  0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xd374b18,
---Type <return> to continue, or q <return> to quit---
    p=0xa07ab18, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#9  0x0845f821 in PageItem::DrawObj (this=0xd374b18, p=0xa07ab18, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#10 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xd332448,
    p=0x95af3c8, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#11 0x0845f821 in PageItem::DrawObj (this=0xd332448, p=0x95af3c8, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#12 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xd2f2fb8,
    p=0x8c28890, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#13 0x0845f821 in PageItem::DrawObj (this=0xd2f2fb8, p=0x8c28890, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#14 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xd2a7ea0,
    p=0x8d35088, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#15 0x0845f821 in PageItem::DrawObj (this=0xd2a7ea0, p=0x8d35088, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
---Type <return> to continue, or q <return> to quit---
#16 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xd287fe0,
    p=0x8d89eb0, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#17 0x0845f821 in PageItem::DrawObj (this=0xd287fe0, p=0x8d89eb0, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#18 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xd24ef20,
    p=0xc000b38, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#19 0x0845f821 in PageItem::DrawObj (this=0xd24ef20, p=0xc000b38, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#20 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xd230028,
    p=0x8f4f428, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#21 0x0845f821 in PageItem::DrawObj (this=0xd230028, p=0x8f4f428, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#22 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xd07d290,
    p=0x8ed12d0, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#23 0x0845f821 in PageItem::DrawObj (this=0xd07d290, p=0x8ed12d0, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
---Type <return> to continue, or q <return> to quit---
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#24 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xd049908,
    p=0xc0cc0f8, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#25 0x0845f821 in PageItem::DrawObj (this=0xd049908, p=0xc0cc0f8, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#26 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xcfeea10,
    p=0x90dade8, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#27 0x0845f821 in PageItem::DrawObj (this=0xcfeea10, p=0x90dade8, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#28 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xcf9b0e0,
    p=0x9c7bf00, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#29 0x0845f821 in PageItem::DrawObj (this=0xcf9b0e0, p=0x9c7bf00, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#30 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xcf4e3a8,
    p=0x8e2fd60, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#31 0x0845f821 in PageItem::DrawObj (this=0xcf4e3a8, p=0x8e2fd60, e=
---Type <return> to continue, or q <return> to quit---
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#32 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xcef9438,
    p=0x9578c88, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#33 0x0845f821 in PageItem::DrawObj (this=0xcef9438, p=0x9578c88, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#34 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xcc267f8,
    p=0x908d5a0, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#35 0x0845f821 in PageItem::DrawObj (this=0xcc267f8, p=0x908d5a0, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#36 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xcbddbb0,
    p=0x8c62170, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#37 0x0845f821 in PageItem::DrawObj (this=0xcbddbb0, p=0x8c62170, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#38 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xcb96638,
    p=0x90f8c68, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
---Type <return> to continue, or q <return> to quit---
#39 0x0845f821 in PageItem::DrawObj (this=0xcb96638, p=0x90f8c68, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#40 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xcb80c30,
    p=0x90dd560, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#41 0x0845f821 in PageItem::DrawObj (this=0xcb80c30, p=0x90dd560, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#42 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xcb49c08,
    p=0xa05ece0, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#43 0x0845f821 in PageItem::DrawObj (this=0xcb49c08, p=0xa05ece0, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#44 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xcb23db0,
    p=0x8fc4df0, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#45 0x0845f821 in PageItem::DrawObj (this=0xcb23db0, p=0x8fc4df0, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#46 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xcaf3908,
    p=0x8e4e738, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
---Type <return> to continue, or q <return> to quit---
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#47 0x0845f821 in PageItem::DrawObj (this=0xcaf3908, p=0x8e4e738, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#48 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xca6dc20,
    p=0x90292c0, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#49 0x0845f821 in PageItem::DrawObj (this=0xca6dc20, p=0x90292c0, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#50 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xca33738,
    p=0x9161458, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#51 0x0845f821 in PageItem::DrawObj (this=0xca33738, p=0x9161458, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#52 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xca08a20,
    p=0x95a91d8, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#53 0x0845f821 in PageItem::DrawObj (this=0xca08a20, p=0x95a91d8, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#54 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xc85abd0,
---Type <return> to continue, or q <return> to quit---
    p=0x95f7900, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#55 0x0845f821 in PageItem::DrawObj (this=0xc85abd0, p=0x95f7900, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#56 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xc826070,
    p=0x8becea0, e={x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#57 0x0845f821 in PageItem::DrawObj (this=0xc826070, p=0x8becea0, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#58 0x08497366 in PageItem_TextFrame::DrawObj_Item (this=0xc656fb0,
    p=0xc0b5758, e={x1 = 0, y1 = 0, x2 = 8, y2 = 8}, sc=1)
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem_textframe.cpp:1985
#59 0x0845f821 in PageItem::DrawObj (this=0xc656fb0, p=0xc0b5758, e=
      {x1 = 0, y1 = 0, x2 = 8, y2 = 8})
    at /home/christoph/scribus-1.3.3.12/scribus/pageitem.cpp:692
#60 0x08675fe9 in ScribusMainWindow::loadDoc (this=0x8a6c868,
    fileName=@0xbf9bded0)
    at /home/christoph/scribus-1.3.3.12/scribus/scribus.cpp:3615
#61 0x086770ff in ScribusMainWindow::loadRecent (this=0x8a6c868,
    fn=@0xbf9bdf88)
    at /home/christoph/scribus-1.3.3.12/scribus/scribus.cpp:3004
---Type <return> to continue, or q <return> to quit---
#62 0x0867abed in ScribusMainWindow::startUpDialog (this=0x8a6c868)
    at /home/christoph/scribus-1.3.3.12/scribus/scribus.cpp:1914
#63 0x08690710 in ScribusQApp::init (this=0xbf9be080)
    at /home/christoph/scribus-1.3.3.12/scribus/scribusapp.cpp:233
#64 0x083dc04c in mainApp (argc=1, argv=0xbf9be1a4)
    at /home/christoph/scribus-1.3.3.12/scribus/main_nix.cpp:71
#65 0x083dc0d0 in main (argc=-1140850688, argv=0x0)
    at /home/christoph/scribus-1.3.3.12/scribus/main_nix.cpp:50

And this is what it says when it crashes on startup:

[Switching to Thread 0xb6ea66d0 (LWP 4148)]
0x085e1b74 in Cwidth (currentDoc=0x8bbcfd8, name=0x8cf3bf8, ch=@0xbf855ebc,
    Size=90, ch2=@0xbf855eb8)
    at /home/christoph/scribus-1.3.3.12/scribus/scfontmetrics.cpp:528
528     /home/christoph/scribus-1.3.3.12/scribus/scfontmetrics.cpp: No such file or directory.
        in /home/christoph/scribus-1.3.3.12/scribus/scfontmetrics.cpp

The only solution is to restart the computer and continue to open 2-4 files, then the whole mess starts again. Please note that I have 5000+ fonts installed.

Christoph





-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx



More information about the scribus-dev mailing list