Subject: pkg/19295: KDE3: SEGV when printing backwards with kghostview
To: None <>
From: Ingolf Steinbach <>
List: netbsd-bugs
Date: 12/05/2002 22:21:31
>Number:         19295
>Category:       pkg
>Synopsis:       SEGV crash in kghostview when printing in reverse order
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 05 13:22:01 PST 2002
>Originator:     Ingolf Steinbach
>Release:        NetBSD 1.6
System: NetBSD helios 1.6 NetBSD 1.6 (GENERIC) #3: Fri Nov 1 02:27:02 CET 2002 ingolf@helios:/usr/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386

	When printing a PDF document in reverse order from kghostview
(as found in KDE 3.0.4), the program crashes due to a segmentation
#0  0x4942804b in vfprintf () from /usr/lib/
#1  0x4942736a in fprintf () from /usr/lib/
#2  0x4808c259 in KGVMiniWidget::psCopyDoc ()
   from /usr/pkg/lib/
#3  0x4808b9e6 in KGVMiniWidget::savePages ()
   from /usr/pkg/lib/
#4  0x4808b47d in KGVMiniWidget::print () from /usr/pkg/lib/
#5  0x4808ce41 in KGVMiniWidget::qt_invoke ()
   from /usr/pkg/lib/
#6  0x48af5b0c in QObject::activate_signal ()
   from /usr/pkg/qt3/lib/
#7  0x48af5a0a in QObject::activate_signal ()
   from /usr/pkg/qt3/lib/
#8  0x484ffcb8 in KAction::activated () from /usr/pkg/lib/
#9  0x484f53be in KAction::slotActivated () from /usr/pkg/lib/
#10 0x484ffebb in KAction::qt_invoke () from /usr/pkg/lib/
#11 0x48af5b0c in QObject::activate_signal ()
   from /usr/pkg/qt3/lib/
#12 0x48e5e7c5 in QSignal::signal () from /usr/pkg/qt3/lib/
#13 0x48b13518 in QSignal::activate () from /usr/pkg/qt3/lib/
#14 0x48c10662 in QPopupMenu::mouseReleaseEvent ()
   from /usr/pkg/qt3/lib/
#15 0x48b3997c in QWidget::event () from /usr/pkg/qt3/lib/
#16 0x48a8eb5a in QApplication::internalNotify ()
   from /usr/pkg/qt3/lib/
#17 0x48a8e3c3 in QApplication::notify () from /usr/pkg/qt3/lib/
#18 0x486c8cd1 in KApplication::notify () from /usr/pkg/lib/
#19 0x48a237f7 in QETWidget::translateMouseEvent ()
   from /usr/pkg/qt3/lib/
#20 0x48a20b9b in QApplication::x11ProcessEvent ()
   from /usr/pkg/qt3/lib/
#21 0x48a1fb4c in QApplication::processNextEvent ()
   from /usr/pkg/qt3/lib/
#22 0x48a9070b in QApplication::enter_loop ()
   from /usr/pkg/qt3/lib/
#23 0x48a1faba in QApplication::exec () from /usr/pkg/qt3/lib/
#24 0x8049edc in main ()
#25 0x8049979 in ___start ()

I'm using CUPS. Maybe this matters. Also, the bug does not show up when
trying to print a normal Postscript document. Only PDF seems to be
	Open a PDF document with kghostview, select File/Print from the
menu and switch on printing in reverse order.