View Issue Details

IDProjectCategoryView StatusLast Update
0002561ScribusPrintingpublic2005-09-18 23:12
ReporterplinnellAssigned Tofschmid  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.1cvs 
Fixed in Version1.3.1cvs 
Summary0002561: Crash when trying to Print Preview Font Sampler Output
DescriptionCrash when trying to Print Preview Font Sampler Output

1. Run Sampler Script
2. Attempt to run print preview
3. crashes fairly early in the run
Additional InformationQImage::scanLine: Index 0 out of range

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208097088 (LWP 5051)]
0x083b5a4e in PPreview::blendImages (this=0x378620b0, target=@0xbfffe6e0,
    source=@0xbfffe670, col=
      {static UseProf = true, C = 255, M = 0, Y = 0, K = 0, R = 0, G = 255, B = 255, RGB = {static color_init = true, static globals_init = true, static colormodel = d32, d = {argb = 4278255615, d8 = {argb = 4278255615, pix = 84 'T', invalid = 82 'R', dirty = 73 'I', direct = 68 'D'}, d32 = {argb = 4278255615, pix = 1145655892}}}, Spot = false, Regist = false, Model = colorModelCMYK, outOfGamutFlag = false}) at preview.cpp:601
601 cyan = 255 - qRed(*pq);
(gdb) bt
#0 0x083b5a4e in PPreview::blendImages (this=0x378620b0, target=@0xbfffe6e0,
    source=@0xbfffe670, col=
      {static UseProf = true, C = 255, M = 0, Y = 0, K = 0, R = 0, G = 255, B = 255, RGB = {static color_init = true, static globals_init = true, static colormodel = d32, d = {argb = 4278255615, d8 = {argb = 4278255615, pix = 84 'T', invalid = 82 'R', dirty = 73 'I', direct = 68 'D'}, d32 = {argb = 4278255615, pix = 1145655892}}}, Spot = false, Regist = false, Model = colorModelCMYK, outOfGamutFlag = false}) at preview.cpp:601
0000001 0x083b633b in PPreview::CreatePreview (this=0x378620b0, Seite=0, Res=72)
    at preview.cpp:668
0000002 0x083b2930 in PPreview (this=0x378620b0, parent=0x872d620, vin=0x8eab220,
    docu=0x8e87610, pngAlpha=0, tiffSep=0) at preview.cpp:236
0000003 0x08591221 in ScribusApp::doPrintPreview (this=0x872d620)
    at scribus.cpp:7715
0000004 0x0859193d in ScribusApp::printPreview (this=0x872d620) at scribus.cpp:7782
0000005 0x085559d1 in ScribusApp::qt_invoke (this=0x872d620, _id=211,
    _o=0xbfffea00) at scribus.moc:1071
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 0x4163bbe9 in QAction::activated () from /usr/lib/qt3/lib/libqt-mt.so.3
0000009 0x414126ee in QAction::internalActivation ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000010 0x4163ba07 in QAction::qt_invoke () from /usr/lib/qt3/lib/libqt-mt.so.3
0000011 0x08416adc in ScrAction::qt_invoke (this=0x878cfc0, _id=8, _o=0xbfffeb40)
    at scraction.moc:208
0000012 0x412c5e7e in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000013 0x416193f2 in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000014 0x412e3353 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
0000015 0x413d6748 in QPopupMenu::mouseReleaseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000016 0x412fc3e5 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
0000017 0x41262d5f in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000018 0x41265266 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000019 0x4120050b in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000020 0x411ff146 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000021 0x4120fc38 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000022 0x4127ae51 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000023 0x4127ac96 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000024 0x4126494f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
0000025 0x085a1a6b in mainApp (argc=1, argv=0xbffff6c4) at main.cpp:69
0000026 0x085a19de in main (argc=1, argv=0xbffff6c4) at main.cpp:44
(gdb)
TagsNo tags attached.
Patch

Relationships

related to 0002565 closedfschmid Content in page templates causes PDF exported which has grave errors in Acrobat 5 and 7 
related to 0002566 closedplinnell Add the 1.3.1cvs sanity checks for the print preview to 1.2.4 
related to 0003813 acknowledged Metabug: Scripter 

Activities

ringerc

2005-09-15 09:03

reporter   ~0006562

Reproduceable if you save the generated doc, quit scribus, then open the generated doc and print preview it?

2005-09-15 15:31

 

ManualSegmentacion.sla (99,202 bytes)

plinnell

2005-09-15 15:33

viewer   ~0006566

open attached doc. print preview, ignore errors.. instant crash.


QImage::scanLine: Index 0 out of range

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208191296 (LWP 9979)]
0x083b5a4e in PPreview::blendImages (this=0x8b45e08, target=@0xbfffe7e0, source=@0xbfffe770, col=
      {static UseProf = true, C = 255, M = 0, Y = 0, K = 0, R = 0, G = 255, B = 255, RGB = {static color_init = true, static globals_init = true, static colormodel = d32, d = {argb = 4278255615, d8 = {argb = 4278255615, pix = 84 'T', invalid = 82 'R', dirty = 73 'I', direct = 68 'D'}, d32 = {argb = 4278255615, pix = 1145655892}}}, Spot = false, Regist = false, Model = colorModelCMYK, outOfGamutFlag = false}) at preview.cpp:601
601 cyan = 255 - qRed(*pq);
(gdb) bt
#0 0x083b5a4e in PPreview::blendImages (this=0x8b45e08, target=@0xbfffe7e0, source=@0xbfffe770, col=
      {static UseProf = true, C = 255, M = 0, Y = 0, K = 0, R = 0, G = 255, B = 255, RGB = {static color_init = true, static globals_init = true, static colormodel = d32, d = {argb = 4278255615, d8 = {argb = 4278255615, pix = 84 'T', invalid = 82 'R', dirty = 73 'I', direct = 68 'D'}, d32 = {argb = 4278255615, pix = 1145655892}}}, Spot = false, Regist = false, Model = colorModelCMYK, outOfGamutFlag = false}) at preview.cpp:601
0000001 0x083b633b in PPreview::CreatePreview (this=0x8b45e08, Seite=0, Res=72) at preview.cpp:668
0000002 0x083b2930 in PPreview (this=0x8b45e08, parent=0x872d668, vin=0x8badec0, docu=0x8b5ef38, pngAlpha=0,
    tiffSep=0) at preview.cpp:236
0000003 0x08591221 in ScribusApp::doPrintPreview (this=0x872d668) at scribus.cpp:7715
0000004 0x085559be in ScribusApp::qt_invoke (this=0x872d668, _id=210, _o=0xbfffea80) at scribus.moc:1070
0000005 0x412c5e7e in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000006 0x412c6626 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000007 0x081a6250 in CheckDocument::ignoreAllErrors (this=0x8a185a8) at checkDocument.moc:177
0000008 0x081a64a2 in CheckDocument::qt_emit (this=0x8a185a8, _id=9, _o=0xbfffeb90) at checkDocument.moc:201
0000009 0x412c5eb1 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000010 0x412c6626 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000011 0x4162123c in QButton::clicked () from /usr/lib/qt3/lib/libqt-mt.so.3
0000012 0x4135e724 in QButton::mouseReleaseEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000013 0x412fc3e5 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
0000014 0x41262d5f in QApplication::internalNotify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000015 0x41265266 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000016 0x4120028e in QETWidget::translateMouseEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000017 0x411ff146 in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000018 0x4120fc38 in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3
0000019 0x4127ae51 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000020 0x4127ac96 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000021 0x4126494f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000022 0x085a1a6b in mainApp (argc=1, argv=0xbffff644) at main.cpp:69
0000023 0x085a19de in main (argc=1, argv=0xbffff644) at main.cpp:44
(gdb)

ringerc

2005-09-15 16:45

reporter   ~0006573

[craig@albert ~]$ gdb --args ~/scribus/scribus13/bin/scribus /tmp/ManualSegmenta cion.sla
GNU gdb Red Hat Linux (6.3.0.0-1.21rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db lib rary "/lib/libthread_db.so.1".

(gdb) run
Starting program: /home/craig/scribus/scribus13/bin/scribus /tmp/ManualSegmentac ion.sla
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xd9d000
[Thread debugging using libthread_db enabled]
[New Thread -1208845856 (LWP 11869)]
Detaching after fork from child process 11873.
Detaching after fork from child process 11875.
Detaching after fork from child process 11877.
QComboBox::setCurrentItem: (PageCombo) Index 3 out of range
Detaching after fork from child process 11880.
Error: /syntaxerror in -file-
Operand stack:
   02-Contenido\
Execution stack:
   %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringva l-- --nostringval-- 2 %stopped_push
Dictionary stack:
   --dict:1123/1686(ro)(G)-- --dict:0/20(G)-- --dict:72/200(L)-- --dict:25 /100(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 142425
AFPL Ghostscript 8.51: Unrecoverable error, exit code 1

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208845856 (LWP 11869)]
0x0830587f in Page::width (this=0x0) at page.cpp:323
323 return m_width;
(gdb) bt
#0 0x0830587f in Page::width (this=0x0) at page.cpp:323
0000001 0x083ccd43 in PPreview::CreatePreview (this=0xa824068, Seite=-1, Res=72)
    at preview.cpp:412
0000002 0x083cdf8b in PPreview::ToggleCMYK (this=0xa824068) at preview.cpp:268
0000003 0x083ce273 in PPreview::qt_invoke (this=0xa824068, _id=55, _o=0xbff3cdb8)
    at preview.moc:116
0000004 0x02c78df4 in QObject::activate_signal (this=0xadaac88, clist=0xa82f168,
    o=0xbff3cdb8) at kernel/qobject.cpp:2355
0000005 0x02c792b4 in QObject::activate_signal (this=0xadaac88, signal=4)
    at kernel/qobject.cpp:2324
0000006 0x02ff8b9e in QButton::clicked (this=0x0)
    at .moc/release-shared-mt/moc_qbutton.cpp:152
0000007 0x02d18a43 in QButton::mouseReleaseEvent (this=0xadaac88, e=0xbff3d114)
    at widgets/qbutton.cpp:836
0000008 0x02cb7167 in QWidget::event (this=0xadaac88, e=0xbff3d114)
    at kernel/qwidget.cpp:4699
0000009 0x02c140cd in QApplication::internalNotify (this=0x0, receiver=0xadaac88,
    e=0xbff3d114) at kernel/qapplication.cpp:2635
0000010 0x02c1502f in QApplication::notify (this=0xbff3de3c, receiver=0xadaac88,
    e=0xbff3d114) at kernel/qapplication.cpp:2421
0000011 0x02bab746 in QETWidget::translateMouseEvent (this=0xadaac88,
    event=0xbff3d3d8) at kernel/qapplication.h:518
0000012 0x02ba9f01 in QApplication::x11ProcessEvent (this=0xbff3de3c,
---Type <return> to continue, or q <return> to quit---
    event=0xbff3d3d8) at kernel/qapplication_x11.cpp:3468
0000013 0x02bbe008 in QEventLoop::processEvents (this=0xa61e6c0, flags=Variable "flags" is not available.
)
    at kernel/qeventloop_x11.cpp:192
0000014 0x02c2c772 in QEventLoop::enterLoop (this=0xa61e6c0)
    at kernel/qeventloop.cpp:198
0000015 0x02c13abf in QApplication::enter_loop (this=0xbff3de3c)
    at kernel/qapplication.cpp:2790
0000016 0x02e16e11 in QDialog::exec (this=0xa824068) at dialogs/qdialog.cpp:432
0000017 0x08586911 in ScribusApp::doPrintPreview (this=0xa627958)
    at scribus.cpp:7713
0000018 0x085cda96 in ScribusApp::qt_invoke (this=0xa627958, _id=210,
    _o=0xbff3d638) at scribus.moc:1070
0000019 0x02c78df4 in QObject::activate_signal (this=0xa9bfeb8, clist=0xad9e868,
    o=0xbff3d638) at kernel/qobject.cpp:2355
0000020 0x02c792b4 in QObject::activate_signal (this=0xa9bfeb8, signal=9)
    at kernel/qobject.cpp:2324
0000021 0x081ae791 in CheckDocument::ignoreAllErrors (this=0xa9bfeb8)
    at checkDocument.moc:177
0000022 0x081ae923 in CheckDocument::qt_emit (this=0xa9bfeb8, _id=9, _o=0xbff3d748)
    at checkDocument.moc:201
0000023 0x02c78e38 in QObject::activate_signal (this=0xa9c6840, clist=0xa9c71c8,
    o=0xbff3d748) at kernel/qobject.cpp:2353
0000024 0x02c792b4 in QObject::activate_signal (this=0xa9c6840, signal=4)
---Type <return> to continue, or q <return> to quit---
    at kernel/qobject.cpp:2324
0000025 0x02ff8b9e in QButton::clicked (this=0x0)
    at .moc/release-shared-mt/moc_qbutton.cpp:152
0000026 0x02d18a43 in QButton::mouseReleaseEvent (this=0xa9c6840, e=0xbff3daa4)
    at widgets/qbutton.cpp:836
0000027 0x02cb7167 in QWidget::event (this=0xa9c6840, e=0xbff3daa4)
    at kernel/qwidget.cpp:4699
0000028 0x02c140cd in QApplication::internalNotify (this=0x0, receiver=0xa9c6840,
    e=0xbff3daa4) at kernel/qapplication.cpp:2635
0000029 0x02c1502f in QApplication::notify (this=0xbff3de3c, receiver=0xa9c6840,
    e=0xbff3daa4) at kernel/qapplication.cpp:2421
0000030 0x02bab746 in QETWidget::translateMouseEvent (this=0xa9c6840,
    event=0xbff3dd68) at kernel/qapplication.h:518
0000031 0x02ba9f01 in QApplication::x11ProcessEvent (this=0xbff3de3c,
    event=0xbff3dd68) at kernel/qapplication_x11.cpp:3468
0000032 0x02bbe008 in QEventLoop::processEvents (this=0xa61e6c0, flags=Variable "flags" is not available.
)
    at kernel/qeventloop_x11.cpp:192
0000033 0x02c2c78b in QEventLoop::enterLoop (this=0xa61e6c0)
    at kernel/qeventloop.cpp:198
0000034 0x02c2c696 in QEventLoop::exec (this=0xa61e6c0)
    at kernel/qeventloop.cpp:145
0000035 0x02c13a99 in QApplication::exec (this=0xbff3de3c)
    at kernel/qapplication.cpp:2758
---Type <return> to continue, or q <return> to quit---
0000036 0x085d2649 in mainApp (argc=2, argv=0xbff3df54) at main.cpp:69
0000037 0x085d2696 in main (argc=2, argv=0xbff3df54) at main.cpp:44
(gdb)


The crash at Page::width, page.cpp line 323, seems reproduceable here. Print preview doesn't crash immediately, but does so as soon as I toggle any of the settings checkboxes (mine are all off when I start the preview, except for UCR which is on).

ringerc

2005-09-15 16:46

reporter   ~0006574

Note that when the print preview first displays here I get a syntax error from gs and a blank preview, but no crash.

ringerc

2005-09-15 17:12

reporter   ~0006575

I was using a somewhat old build. Updated bt:

(gdb) run
Starting program: /home/craig/build/scribus/scribus13/scribus/scribus /tmp/ManualSegmentacion.sla
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0x39b000
[Thread debugging using libthread_db enabled]
[New Thread -1208358432 (LWP 30597)]
Unable to load icon /home/craig/scribus/test/share/scribus/icons//Gross.xpm: File not found
Unable to load icon /home/craig/scribus/test/share/scribus/icons//Gross.xpm: File not found
Unable to load icon /home/craig/scribus/test/share/scribus/icons//Klein.xpm: File not found
Unable to load icon /home/craig/scribus/test/share/scribus/icons//Klein.xpm: File not found
Detaching after fork from child process 30600.
Detaching after fork from child process 30602.
Detaching after fork from child process 30604.
QComboBox::setCurrentItem: (PageCombo) Index 3 out of range
Detaching after fork from child process 30608.
Error: /syntaxerror in -file-
Operand stack:
   02-Contenido\
Execution stack:
   %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
Dictionary stack:
   --dict:1123/1686(ro)(G)-- --dict:0/20(G)-- --dict:72/200(L)-- --dict:25/100(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 142425
AFPL Ghostscript 8.51: Unrecoverable error, exit code 1

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208358432 (LWP 30597)]
0x083061a3 in Page::width (this=0x0) at page.cpp:323
323 return m_width;
(gdb) bt
#0 0x083061a3 in Page::width (this=0x0) at page.cpp:323
0000001 0x083cee8d in PPreview::CreatePreview (this=0xa5b6378, Seite=-1, Res=72) at preview.cpp:629
0000002 0x083d07a5 in PPreview::ToggleGCR (this=0xa5b6378) at preview.cpp:361
0000003 0x083d0c0d in PPreview::qt_invoke (this=0xa5b6378, _id=56, _o=0xbfbb4ef8) at preview.moc:117
0000004 0x02c78df4 in QObject::activate_signal (this=0xa5b66b0, clist=0xa3ce7f0, o=0xbfbb4ef8) at kernel/qobject.cpp:2355
0000005 0x02c792b4 in QObject::activate_signal (this=0xa5b66b0, signal=4) at kernel/qobject.cpp:2324
0000006 0x02ff8b9e in QButton::clicked (this=0x0) at .moc/release-shared-mt/moc_qbutton.cpp:152
0000007 0x02d18a43 in QButton::mouseReleaseEvent (this=0xa5b66b0, e=0xbfbb5254) at widgets/qbutton.cpp:836
0000008 0x02cb7167 in QWidget::event (this=0xa5b66b0, e=0xbfbb5254) at kernel/qwidget.cpp:4699
0000009 0x02c140cd in QApplication::internalNotify (this=0x0, receiver=0xa5b66b0, e=0xbfbb5254) at kernel/qapplication.cpp:2635
0000010 0x02c1502f in QApplication::notify (this=0xbfbb5f8c, receiver=0xa5b66b0, e=0xbfbb5254) at kernel/qapplication.cpp:2421
0000011 0x02bab746 in QETWidget::translateMouseEvent (this=0xa5b66b0, event=0xbfbb5518) at kernel/qapplication.h:518
0000012 0x02ba9f01 in QApplication::x11ProcessEvent (this=0xbfbb5f8c, event=0xbfbb5518) at kernel/qapplication_x11.cpp:3468
0000013 0x02bbe008 in QEventLoop::processEvents (this=0x9e52350, flags=Variable "flags" is not available.
) at kernel/qeventloop_x11.cpp:192
0000014 0x02c2c78b in QEventLoop::enterLoop (this=0x9e52350) at kernel/qeventloop.cpp:198
0000015 0x02c13abf in QApplication::enter_loop (this=0xbfbb5f8c) at kernel/qapplication.cpp:2790
0000016 0x02e16e11 in QDialog::exec (this=0xa5b6378) at dialogs/qdialog.cpp:432
0000017 0x085a3cad in ScribusApp::doPrintPreview (this=0x9e5a9b8) at scribus.cpp:7718
0000018 0x085d1184 in ScribusApp::qt_invoke (this=0x9e5a9b8, _id=210, _o=0xbfbb5788) at scribus.moc:1070
0000019 0x02c78df4 in QObject::activate_signal (this=0xa1f2b68, clist=0xa3ee908, o=0xbfbb5788) at kernel/qobject.cpp:2355
0000020 0x02c792b4 in QObject::activate_signal (this=0xa1f2b68, signal=9) at kernel/qobject.cpp:2324
0000021 0x081af111 in CheckDocument::ignoreAllErrors (this=0xa1f2b68) at checkDocument.moc:177
0000022 0x081af2a3 in CheckDocument::qt_emit (this=0xa1f2b68, _id=9, _o=0xbfbb5898) at checkDocument.moc:201
0000023 0x02c78e38 in QObject::activate_signal (this=0xa1f9510, clist=0xa1f9e98, o=0xbfbb5898) at kernel/qobject.cpp:2353
0000024 0x02c792b4 in QObject::activate_signal (this=0xa1f9510, signal=4) at kernel/qobject.cpp:2324
0000025 0x02ff8b9e in QButton::clicked (this=0x0) at .moc/release-shared-mt/moc_qbutton.cpp:152
0000026 0x02d18a43 in QButton::mouseReleaseEvent (this=0xa1f9510, e=0xbfbb5bf4) at widgets/qbutton.cpp:836
0000027 0x02cb7167 in QWidget::event (this=0xa1f9510, e=0xbfbb5bf4) at kernel/qwidget.cpp:4699
0000028 0x02c140cd in QApplication::internalNotify (this=0x0, receiver=0xa1f9510, e=0xbfbb5bf4) at kernel/qapplication.cpp:2635
0000029 0x02c1502f in QApplication::notify (this=0xbfbb5f8c, receiver=0xa1f9510, e=0xbfbb5bf4) at kernel/qapplication.cpp:2421
0000030 0x02bab746 in QETWidget::translateMouseEvent (this=0xa1f9510, event=0xbfbb5eb8) at kernel/qapplication.h:518
0000031 0x02ba9f01 in QApplication::x11ProcessEvent (this=0xbfbb5f8c, event=0xbfbb5eb8) at kernel/qapplication_x11.cpp:3468
0000032 0x02bbe008 in QEventLoop::processEvents (this=0x9e52350, flags=Variable "flags" is not available.
) at kernel/qeventloop_x11.cpp:192
0000033 0x02c2c78b in QEventLoop::enterLoop (this=0x9e52350) at kernel/qeventloop.cpp:198
0000034 0x02c2c696 in QEventLoop::exec (this=0x9e52350) at kernel/qeventloop.cpp:145
0000035 0x02c13a99 in QApplication::exec (this=0xbfbb5f8c) at kernel/qapplication.cpp:2758
0000036 0x085d5ba9 in mainApp (argc=2, argv=0xbfbb60a4) at main.cpp:69
0000037 0x085d5bf6 in main (argc=2, argv=0xbfbb60a4) at main.cpp:44
(gdb)

avox

2005-09-15 17:46

administrator   ~0006576

I checked the code and found two places where sanity checks were missing.
Both crashes are probably caused by a failed GS run resp. failed LoadPicture()

Will commit changes soon.

plinnell

2005-09-15 18:43

viewer   ~0006579

This might be two different issues.0002565 is due to naming issues. The original bug here is different i think, but related. Attaching ps output from a failed preview and subsequent scribus crash with file from 0002565

2005-09-15 18:44

 

tmp.ps.bz2 (324,329 bytes)

plinnell

2005-09-16 12:05

viewer   ~0006602

crash is fixed, but blank display when previewing a number of pages ~ 60+

fschmid

2005-09-16 12:53

administrator   ~0006603

Would be good if you can upload the tmp.ps file here.

2005-09-16 13:45

 

tmp.ps.zip (403,945 bytes)

plinnell

2005-09-16 14:16

viewer   ~0006606

tmp.ps.zip is uploaded.

I generate this running the font sampler script and selecting about a dozen fonts. The doc is not in a saved state.

fschmid

2005-09-18 06:59

administrator   ~0006636

Sorry Peter, this is not the right tmp.ps. The tmp.ps file is created only for the current page of the Print Preview. So please go to the page which isn't displayed in the preview and upload that tmp.ps file.

plinnell

2005-09-18 19:58

viewer   ~0006638

I just tested a 20 page file from the scripter and the tmp.ps file is 5.6MB created by calling the print previewer.

fschmid

2005-09-18 22:14

administrator   ~0006639

Yep, that's correct as it contains all the fonts, but only the current page which should be displayed in the print preview.

plinnell

2005-09-18 23:11

viewer   ~0006640

the blank display running the font sampler now is gone. resolving.

Issue History

Date Modified Username Field Change
2005-09-14 23:30 plinnell New Issue
2005-09-15 09:03 ringerc Note Added: 0006562
2005-09-15 15:31 plinnell File Added: ManualSegmentacion.sla
2005-09-15 15:33 plinnell Note Added: 0006566
2005-09-15 15:33 plinnell Assigned To => fschmid
2005-09-15 15:33 plinnell Status new => assigned
2005-09-15 16:45 ringerc Note Added: 0006573
2005-09-15 16:46 ringerc Note Added: 0006574
2005-09-15 17:12 ringerc Note Added: 0006575
2005-09-15 17:46 avox Note Added: 0006576
2005-09-15 18:43 plinnell Note Added: 0006579
2005-09-15 18:44 plinnell File Added: tmp.ps.bz2
2005-09-15 18:44 plinnell Relationship added related to 0002565
2005-09-15 20:20 plinnell Relationship added related to 0002566
2005-09-15 21:40 fschmid Status assigned => resolved
2005-09-15 21:40 fschmid Fixed in Version => 1.3.1cvs
2005-09-15 21:40 fschmid Resolution open => fixed
2005-09-16 12:05 plinnell Status resolved => feedback
2005-09-16 12:05 plinnell Resolution fixed => reopened
2005-09-16 12:05 plinnell Note Added: 0006602
2005-09-16 12:53 fschmid Note Added: 0006603
2005-09-16 13:45 plinnell File Added: tmp.ps.zip
2005-09-16 14:16 plinnell Note Added: 0006606
2005-09-18 06:59 fschmid Note Added: 0006636
2005-09-18 19:58 plinnell Note Added: 0006638
2005-09-18 22:14 fschmid Note Added: 0006639
2005-09-18 23:11 plinnell Note Added: 0006640
2005-09-18 23:12 plinnell Status feedback => resolved
2005-09-18 23:12 plinnell Resolution reopened => fixed
2005-09-18 23:12 plinnell Status resolved => closed
2006-05-13 21:30 christoph_s Relationship added related to 0003813