View Issue Details

IDProjectCategoryView StatusLast Update
0002620ScribusStory Editor / Text Framespublic2008-06-03 21:48
ReporterplinnellAssigned Tocbradney  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.1cvs 
Target Version1.3.3.12Fixed in Version1.3.3.12svn 
Summary0002620: Copy > Paste Text in SE freezes on close or refresh text command.
DescriptionTesting the file in 0002451.

Make new file. Make a text frame. Open file with Cyrillic text and edit text with SE. Select some text. Switch to new doc and then edit text frame in SE. Paste. Then, either refresh text frame command from SE or try to close - then it hangs.
Additional InformationProgram received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208101184 (LWP 12842)]
0x083ecd18 in RealCAscent (currentDoc=0x8b3c688, name=0x88a11a0, ch=Cannot access memory at address 0x0
)
    at scfontmetrics.cpp:541
541 w = face->glyph->metrics.horiBearingY / name->uniEM * (Size / 10.0);
(gdb) bt
#0 0x083ecd18 in RealCAscent (currentDoc=0x8b3c688, name=0x88a11a0, ch=Cannot access memory at address 0x0
)
    at scfontmetrics.cpp:541
0000001 0x082fd8dc in PageItem::DrawObj_TextFrame (this=0x8721bc0, p=0x8ce4d88, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1) at pageitem.cpp:2018
0000002 0x082efae9 in PageItem::DrawObj (this=0x8721bc0, p=0x8ce4d88, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0}) at pageitem.cpp:333
0000003 0x084de898 in StoryEditor::updateTextFrame (this=0x8be1d68)
    at story.cpp:3073
0000004 0x084ddafd in StoryEditor::Do_leave2 (this=0x8be1d68) at story.cpp:2860
0000005 0x084ccc01 in StoryEditor::qt_invoke (this=0x8be1d68, _id=80,
    _o=0xbfffeb90) at story.moc:1331
0000006 0x412c5e7e in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000007 0x412c6626 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000008 0x4162123c in QButton::clicked () from /usr/lib/qt3/lib/libqt-mt.so.3
0000009 0x4135e724 in QButton::mouseReleaseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000010 0x412fc3e5 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
0000011 0x41262d5f in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000012 0x41265266 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000013 0x4120028e in QETWidget::translateMouseEvent ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000014 0x411ff146 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000015 0x4120fc38 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000016 0x4127ae51 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000017 0x4127ac96 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000018 0x4126494f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000019 0x0859be27 in mainApp (argc=1, argv=0xbffff644) at main.cpp:69
0000020 0x0859bd9a in main (argc=1, argv=0xbffff644) at main.cpp:44
TagsNo tags attached.
Patch

Activities

plinnell

2005-09-27 07:41

viewer   ~0006775

Further testing shows it also happens with normal latin text.

cbradney

2005-09-27 09:08

administrator   ~0006779

Same crash with preview in para styles with ComputerModern font

plinnell

2005-10-01 20:05

viewer   ~0006832

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1089528960 (LWP 25470)]
0x083ed948 in RealCAscent (currentDoc=0x92ffe60, name=0x8ea71b0, ch=Cannot access memory at address 0x0
)
    at scfontmetrics.cpp:541
541 w = face->glyph->metrics.horiBearingY / name->uniEM * (Size / 10.0);
(gdb) bt
#0 0x083ed948 in RealCAscent (currentDoc=0x92ffe60, name=0x8ea71b0, ch=Cannot access memory at address 0x0
)
    at scfontmetrics.cpp:541
0000001 0x082fe650 in PageItem::DrawObj_TextFrame (this=0x9e7d5d0, p=0x96c2d60, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0}, sc=1) at pageitem.cpp:2018
0000002 0x082f085d in PageItem::DrawObj (this=0x9e7d5d0, p=0x96c2d60, e=
      {x1 = 0, y1 = 0, x2 = 0, y2 = 0}) at pageitem.cpp:333
0000003 0x084e0c68 in StoryEditor::updateTextFrame (this=0x8c09a48)
    at story.cpp:3073
0000004 0x084cf0fd in StoryEditor::qt_invoke (this=0x8c09a48, _id=93,
    _o=0xbfffe8a0) at story.moc:1344
0000005 0x404962ee in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000006 0x40496a96 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000007 0x407e50bc in QButton::clicked () from /usr/lib/qt3/lib/libqt-mt.so.3
0000008 0x4052cdb4 in QButton::mouseReleaseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000009 0x404cc045 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
0000010 0x4043471f in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000011 0x40436a88 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000012 0x403d3033 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
0000013 0x403d1f0d in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000014 0x403e27c5 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000015 0x4044c3c1 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000016 0x4044c206 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000017 0x4043619f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000018 0x0859e39b in mainApp (argc=1, argv=0xbffff334) at main.cpp:69
0000019 0x0859e30e in main (argc=1, argv=0xbffff334) at main.cpp:44
(gdb)

plinnell

2005-10-02 13:51

viewer   ~0006837

More info:

This is triggered when doing a copy paste of Cyrillic text - then - swtiching fonts to a font which may or may not have all the needed glyphs. After switching fonts, the click on refresh text frame is when the freewe happens.

I think this could (in theory) be triggered with latin text, but its just easier with Cyrillic, as fewer fonts have full Cyrillic coverage.

Issue History

Date Modified Username Field Change
2005-09-27 07:39 plinnell New Issue
2005-09-27 07:41 plinnell Note Added: 0006775
2005-09-27 07:41 plinnell Summary Copy > Paste Cyrillic Text in SE freezes on close or refresh text command. => Copy > Paste Text in SE freezes on close or refresh text command.
2005-09-27 09:08 cbradney Note Added: 0006779
2005-10-01 11:04 avox Status new => assigned
2005-10-01 11:04 avox Assigned To => avox
2005-10-01 20:05 plinnell Note Added: 0006832
2005-10-02 13:51 plinnell Note Added: 0006837
2005-10-03 00:08 avox Assigned To avox => cbradney
2008-06-03 21:42 plinnell Status assigned => resolved
2008-06-03 21:42 plinnell Resolution open => fixed
2008-06-03 21:42 plinnell Fixed in Version => 1.3.3.12svn
2008-06-03 21:42 plinnell Target Version => 1.3.3.12
2008-06-03 21:48 plinnell Status resolved => closed
2015-09-17 20:08 Kunda Category Story Editor / Text Frames => Story Ed/Txt Frames
2015-09-17 20:12 Kunda Category Story Ed/Txt Frames => Story Editor / Text Frames