View Issue Details

IDProjectCategoryView StatusLast Update
0005231Scribus-public2007-02-07 21:38
ReporterplinnellAssigned Tojghali  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Summary0005231: Crash on load when file s renamed with Cyrillic name
DescriptionWhile testing another bug, I came across a repeatable crash. If you rename a copy of this file to a latin name it opens. With the Cyrillic name it crashes.
Additional Information[Thread debugging using libthread_db enabled]
[New Thread -1224022320 (LWP 13590)]
storytext::charstyle: access at end of text 2527

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1224022320 (LWP 13590)]
0x083da6c2 in PageItem::prevInChain (this=0x0) at pageitem.h:376
376 PageItem* prevInChain() { return BackBox; }
(gdb) bt
#0 0x083da6c2 in PageItem::prevInChain (this=0x0) at pageitem.h:376
0000001 0xb69dbaca in Scribus134Format::loadFile (this=0x89b2d40, fileName=@0x8dd0ad8)
    at scribus134format.cpp:1530
0000002 0x0834fb42 in FileFormat::loadFile (this=0x89af378, fileName=@0x8dd0ad8,
    flags=1, index=0) at loadsaveplugin.cpp:236
0000003 0x082c7692 in FileLoader::LoadFile (this=0x8dd0ab0, currDoc=0x9151a48)
    at fileloader.cpp:281
0000004 0x0872d266 in ScribusMainWindow::loadDoc (this=0x88971f8, fileName=@0xbfbff100)
    at scribus.cpp:3526
0000005 0x0873005e in ScribusMainWindow::slotDocOpen (this=0x88971f8) at scribus.cpp:3275
0000006 0x087321a0 in ScribusMainWindow::qt_invoke (this=0x88971f8, _id=112,
    _o=0xbfbff238) at scribus.moc:994
0000007 0xb78153cd in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000008 0xb781600d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000009 0xb7b71249 in QAction::activated () from /usr/lib/qt3/lib/libqt-mt.so.3
0000010 0xb7b713b8 in QAction::qt_emit () from /usr/lib/qt3/lib/libqt-mt.so.3
0000011 0x0852fe43 in ScrAction::qt_emit (this=0x8b02c28, _id=2, _o=0xbfbff358)
    at scraction.moc:246
0000012 0xb7815411 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000013 0xb781600d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000014 0xb7b56b7c in QButton::clicked () from /usr/lib/qt3/lib/libqt-mt.so.3
0000015 0xb78a8f4d in QButton::mouseReleaseEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000016 0xb784e1b0 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
0000017 0xb77b6647 in QApplication::internalNotify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000018 0xb77b7641 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000019 0xb77560f7 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000020 0xb775501f in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000021 0xb776591a in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3
0000022 0xb77cd0e0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000023 0xb77ccf76 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000024 0xb77b600f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000025 0x087465aa in mainApp (argc=1, argv=0xbfbffb24) at main_nix.cpp:76
0000026 0x087465e8 in main (argc=0, argv=0xbfbfd0b8) at main_nix.cpp:52
(gdb)
TagsNo tags attached.
Patch

Relationships

duplicate of 0005287 closedjghali Loading 134cvs doc with linked text frames triggers crash 
related to 0005216 closedringerc international characters in filenames are not printed in "crop mark" area 

Activities

2007-01-22 11:16

 

действия-134.sla (88,864 bytes)

jghali

2007-01-23 10:13

administrator   ~0014961

On win32, it does not matter if the file use only latin chars or not, a crash occurs in all cases, the backtrace being the one mentionned above.

fschmid

2007-01-23 15:04

administrator   ~0014963

Crash happens here too, no matter what the filename is.

jghali

2007-02-03 21:20

administrator   ~0015085

mrdocs: I strongly suspect this is a duplicate of 0005287. The document loads ok now

fschmid

2007-02-03 23:10

administrator   ~0015086

Yep, because of this: 0x083da6c2 in PageItem::prevInChain (this=0x0) at ageitem.h:376
376 PageItem* prevInChain() { return BackBox; }

Issue History

Date Modified Username Field Change
2007-01-22 11:16 plinnell New Issue
2007-01-22 11:16 plinnell File Added: действия-134.sla
2007-01-22 16:11 plinnell Relationship added related to 0005216
2007-01-23 10:13 jghali Note Added: 0014961
2007-01-23 15:04 fschmid Note Added: 0014963
2007-02-03 21:03 jghali Relationship added related to 0005287
2007-02-03 21:20 jghali Note Added: 0015085
2007-02-03 23:10 fschmid Note Added: 0015086
2007-02-04 22:30 jghali Relationship replaced duplicate of 0005287
2007-02-04 22:30 jghali Duplicate ID 0 => 5287
2007-02-04 22:30 jghali Status new => resolved
2007-02-04 22:30 jghali Resolution open => duplicate
2007-02-04 22:30 jghali Assigned To => jghali
2007-02-07 21:37 cbradney Status resolved => closed