View Issue Details

IDProjectCategoryView StatusLast Update
0002566ScribusImport / Exportpublic2005-10-06 09:42
ReporterplinnellAssigned Toplinnell 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.4cvs 
Fixed in Version1.2.4cvs 
Summary0002566: Add the 1.3.1cvs sanity checks for the print preview to 1.2.4
DescriptionAdd the 1.3.1cvs sanity checks from avox's 15 Sept commit to 1.3.1 for the print preview to 1.2.4.

TagsNo tags attached.
Patch

Relationships

related to 0002561 closedfschmid Crash when trying to Print Preview Font Sampler Output 

Activities

plinnell

2005-09-15 20:24

viewer   ~0006584

switching the cmyk options and ucr options triggers:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208191296 (LWP 11048)]
0x415ac98f in operator== () from /usr/lib/qt3/lib/libqt-mt.so.3
(gdb) bt
#0 0x415ac98f in operator== () from /usr/lib/qt3/lib/libqt-mt.so.3
0000001 0x415aca34 in operator!= () from /usr/lib/qt3/lib/libqt-mt.so.3
0000002 0x0833f777 in ScribusView::CreatePS (this=0x86fa3b0, p=0x8890940, pageNs=@0xbfffdc30, sep=false, SepNam=
      {static null = {static null = <same as static member of an already seen type>, d = 0x84340c0, static shared_null = 0x84340c0}, d = 0x88852c0, static shared_null = 0x84340c0}, farb=true, Hm=false, Vm=false, Ic=false,
    gcr=false, doDev=false) at scribusview.cpp:1300
0000003 0xb7a9dc0a in PPreview::RenderPreview (this=0x8745a38, Seite=-1, Res=72) at preview.cpp:363
0000004 0xb7a9e60d in PPreview::CreatePreview (this=0x8745a38, Seite=-1, Res=72) at preview.cpp:428
0000005 0xb7a9d89a in PPreview::ToggleGCR (this=0x8745a38) at preview.cpp:322
0000006 0xb7a9ad6c in PPreview::qt_invoke (this=0x8745a38, _id=56, _o=0xbfffe000) at preview.moc:184
0000007 0x412c5e7e in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000008 0x412c6626 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000009 0x4162123c in QButton::clicked () from /usr/lib/qt3/lib/libqt-mt.so.3
0000010 0x4135e724 in QButton::mouseReleaseEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000011 0x412fc3e5 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
0000012 0x41262d5f in QApplication::internalNotify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000013 0x41265266 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000014 0x4120028e in QETWidget::translateMouseEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000015 0x411ff146 in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000016 0x4120fc38 in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3
0000017 0x4127ae51 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000018 0x412648bf in QApplication::enter_loop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000019 0x4145cb32 in QDialog::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000020 0xb7a9b087 in MenuPreview::RunPreview (this=0x86b7da0) at preview.cpp:100
0000021 0xb7a9aa4a in MenuPreview::qt_invoke (this=0x86b7da0, _id=2, _o=0xbfffea60) at preview.moc:82
0000022 0x412c5e7e in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000023 0x416193f2 in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000024 0x412e3353 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
0000025 0x413d6748 in QPopupMenu::mouseReleaseEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000026 0x412fc3e5 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
0000027 0x41262d5f in QApplication::internalNotify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000028 0x41265266 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
0000029 0x4120050b in QETWidget::translateMouseEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000030 0x411ff146 in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000031 0x4120fc38 in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3
0000032 0x4127ae51 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000033 0x4127ac96 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000034 0x4126494f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000035 0x08397092 in mainGui (argc=1, argv=0xbffff654) at main.cpp:220
0000036 0x08396964 in main (argc=1, argv=0xbffff654) at main.cpp:126
(gdb)

2005-10-03 08:50

 

preview-crash.diff (575 bytes)   
Index: scribus/plugins/printpreview/preview.cpp
===================================================================
RCS file: /cvs/Scribus/scribus/plugins/printpreview/preview.cpp,v
retrieving revision 1.35
diff -u -p -r1.35 preview.cpp
--- scribus/plugins/printpreview/preview.cpp	19 Jun 2005 14:25:22 -0000	1.35
+++ scribus/plugins/printpreview/preview.cpp	3 Oct 2005 08:47:56 -0000
@@ -430,6 +430,7 @@ QPixmap PPreview::CreatePreview(int Seit
 		{
 			Bild.resize(1,1);
 			qApp->setOverrideCursor(QCursor(arrowCursor), true);
+			APage = Seite;
 			return Bild;
 		}
 	}
preview-crash.diff (575 bytes)   

avox

2005-10-03 08:51

updater   ~0006879

Peter: only one line for 1.2.
Can you check and resolve/close?

plinnell

2005-10-06 09:42

viewer   ~0006932

tested extensively fixed.

Issue History

Date Modified Username Field Change
2005-09-15 20:20 plinnell New Issue
2005-09-15 20:20 plinnell Relationship added related to 0002561
2005-09-15 20:20 plinnell Status new => assigned
2005-09-15 20:20 plinnell Assigned To => avox
2005-09-15 20:24 plinnell Note Added: 0006584
2005-10-03 08:50 avox File Added: preview-crash.diff
2005-10-03 08:50 avox Assigned To avox => plinnell
2005-10-03 08:51 avox Note Added: 0006879
2005-10-05 13:41 plinnell Status assigned => resolved
2005-10-05 13:41 plinnell Resolution open => fixed
2005-10-05 13:41 plinnell Fixed in Version => 1.2.4cvs
2005-10-06 09:42 plinnell Status resolved => closed
2005-10-06 09:42 plinnell Note Added: 0006932