[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Kword HEAD crashes when doing print preview
From:       Jonathan Drews <j.e.drews () att ! net>
Date:       2002-02-26 9:02:52
[Download RAW message or body]


System Info:
Qt version: qt-x11-free-3.0.2-snapshot-20020222
            (from ftp.trolltech.com/snapshots)
Kde 2.9.3 (using cvs >= 20020213) CVS update of 25 Feb 2002
Distro: SuSE 7.3; All development libraries installed
Xfree86-4.1.0
gv-3.5.8
ps-2001.9.19-2
compiled using gcc-2.95.3

App: Kword HEAD (cvs up of 25 feb 2002)


 David:

 I followed your advice and did 'make clean' and 'make install' in
kdegraphics/kghostview. I also did cvs up koffice and did make clean
followed by rm config.cache, make -f Makefile.cvs, configure  and then
make. Finally did make install. Wish I had better news. 

 The print preview is still crashing. It seems before it crashes, that
print preview loads more slowly. Here is the output of Konsole:

kword (formatting): KoZoomHandler::setZoomAndResolution 100 78,81
m_resolutionX=1.083333 m_zoomedResolutionX=1.083333
m_resolutionY=1.125000 m_zoomedResolutionY=1.125000
kword (formatting): KoZoomHandler::setZoomAndResolution 100 78,81
m_resolutionX=1.083333 m_zoomedResolutionX=1.083333
m_resolutionY=1.125000 m_zoomedResolutionY=1.125000
kword: ********************
kword: kde-copies = 1
kword: kde-currentpage = 1
kword: kde-frompage = 0
kword: kde-fullpage = 1
kword: kde-isspecial = 1
kword: kde-maxpage = 1
kword: kde-minpage = 1
kword: kde-orientation = Portrait
kword: kde-outputfilename = /tmp/kde-kdetest/kwordJNBChb.tmp
kword: kde-outputtofile = 1
kword: kde-pagesize = 2
kword: kde-preview = 0
kword: kde-range =
kword: kde-special-command =
kword: kde-topage = 0
kword: KWView::print scaling by 1.038462,1.000000
kword: KWCanvas::print from=0 to=0
kword: printing page 0 yOffset=0
kword: kdeprint: querying trader for 'application/postscript' service
kio (KTrader): KServiceTypeProfile::offers( application/postscript, )
kio (KTrader): No profile, using KServiceType::offers, result: 2 offers
kword: kdeprint: creating preview dialog
QToolBar::QToolBar main window cannot be 0.
kword: KActionCollection::KActionCollection( [KPrintPreview pointer
(0xbfffe54c) to widget PreviewDlg, geometry=512x307+256+230],  ): this =
0x88fb740
kword: KActionCollection::KActionCollection( [Null pointer], (nil),
KXMLGUILClient-KActionCollection ): this = 0x88fcf48
kghostview (kdegraphics): KGVConfigDialog::readSettings
kghostview (kdegraphics): KPSWidget::setupWidget()
KCrash: crashing.... crashRecursionCounter = 2


BACKTRACE:


[New Thread 1024 (LWP 31148)]
0x41576079 in wait4 () from /lib/libc.so.6
#0  0x41576079 in wait4 () from /lib/libc.so.6
#1  0x415ee8c4 in __DTOR_END__ () from /lib/libc.so.6
#2  0x41414177 in waitpid () from /lib/libpthread.so.0
#3  0x4076a37c in KCrash::defaultCrashHandler (sig=11) at kcrash.cpp:224
#4  0x41411bc4 in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  QShared::ref (this=0x0)
    at /home/kdetest/qt-x11-free-3.0.2/include/qshared.h:49
#7  0x40e17684 in QGArray::QGArray (this=0xbfffe0ac, a=@0x88cb024)
    at tools/qgarray.cpp:137
#8  0x4077ddb7 in KInstance::instanceName (this=0x88cb018)
    at /home/kdetest/qt-x11-free-3.0.2/include/qmemarray.h:59
#9  0x405a70de in KXMLGUIClient::setXMLFile (this=0x8882b2c, 
    _file=@0xbfffe31c, merge=false, setXMLDoc=true) at
kxmlguiclient.cpp:169
#10 0x41cfb44c in KGVPart::KGVPart (this=0x8882a18, __in_chrg=1, 
    parentWidget=0x80a4b20, parent=0x80a4b20, name=0x40151550 "gvpart", 
    args=@0xbfffe4d8) at kgv_view.cpp:235
#11 0x41d095d6 in KParts::GenericFactory<KGVPart>::createPartObject (
    this=0x88aeff0, parentWidget=0x80a4b20, widgetName=0x40151550
"gvpart", 
    parent=0x80a4b20, name=0x40151550 "gvpart", 
    className=0x4015153b "KParts::ReadOnlyPart", args=@0xbfffe4d8)
    at /home/kdetest/kde-copy/include/kgenericfactory.tcc:142
#12 0x401879ff in KParts::Factory::createPart (this=0x88aeff0, 
    parentWidget=0x80a4b20, widgetName=0x40151550 "gvpart",
parent=0x80a4b20, 
    name=0x40151550 "gvpart", classname=0x4015153b
"KParts::ReadOnlyPart", 
    args=@0xbfffe4d8) at factory.cpp:44
#13 0x40187a88 in KParts::Factory::createObject (this=0x88aeff0, 
    parent=0x80a4b20, name=0x40151550 "gvpart", 
    classname=0x4015153b "KParts::ReadOnlyPart", args=@0xbfffe4d8)
    at factory.cpp:58
#14 0x4077f624 in KLibFactory::create (this=0x88aeff0, parent=0x80a4b20,
    name=0x40151550 "gvpart", classname=0x4015153b
"KParts::ReadOnlyPart", 
    args=@0xbfffe4d8) at klibloader.cpp:83
#15 0x400fa71c in KPrintPreview::initView (this=0xbfffe54c,
factory=0x88aeff0)
    at kprintpreview.cpp:171
#16 0x400fac68 in KPrintPreview::preview (file=@0x8154968,
previewOnly=true, 
    parentId=0) at kprintpreview.cpp:231
#17 0x401046ad in KPrinter::printFiles (this=0xbfffeadc, l=@0xbfffe758, 
    flag=true) at kprinter.cpp:300
#18 0x401040c8 in KPrinter::cmd (this=0xbfffeadc, c=31,
painter=0xbfffe86c, 
    p=0x0) at kprinter.cpp:242
#19 0x40afcde5 in QPainter::end (this=0xbfffe86c)
    at kernel/qpainter_x11.cpp:1235
#20 0x41771173 in KWView::print (this=0x816b7c0, prt=@0xbfffeadc)
    at kwview.cc:1287
#21 0x4005037a in KoMainWindow::slotFilePrintPreview (this=0x8127448)
    at koMainWindow.cc:815
#22 0x40052e89 in KoMainWindow::qt_invoke (this=0x8127448, _id=74, 
    _o=0xbfffebb4) at koMainWindow.moc:157
#23 0x40b8d8b2 in QObject::activate_signal (this=0x813eee8,
clist=0x813f198, 
    o=0xbfffebb4) at kernel/qobject.cpp:2013
#24 0x40b8d671 in QObject::activate_signal (this=0x813eee8, signal=2)
    at kernel/qobject.cpp:1994
#25 0x4050cb59 in KAction::activated (this=0x813eee8) at kaction.moc:156
#26 0x404fddef in KAction::slotActivated (this=0x813eee8) at
kaction.cpp:914
#27 0x4050cd62 in KAction::qt_invoke (this=0x813eee8, _id=14,
_o=0xbfffecd4)
    at kaction.moc:180
#28 0x40b8d98a in QObject::activate_signal (this=0x8151698,
clist=0x8159c00, 
    o=0xbfffecd4) at kernel/qobject.cpp:2023
#29 0x40b8d671 in QObject::activate_signal (this=0x8151698, signal=4)
    at kernel/qobject.cpp:1994
#30 0x40e9bfe9 in QButton::clicked (this=0x8151698)
    at .moc/debug-mt/moc_qbutton.cpp:149
#31 0x40c15378 in QButton::mouseReleaseEvent (this=0x8151698,
e=0xbffff0b4)
    at widgets/qbutton.cpp:771
#32 0x40bc9694 in QWidget::event (this=0x8151698, e=0xbffff0b4)
    at kernel/qwidget.cpp:4132
#33 0x40b345f8 in QApplication::internalNotify (this=0xbffff414, 
    receiver=0x8151698, e=0xbffff0b4) at kernel/qapplication.cpp:2264
#34 0x40b33983 in QApplication::notify (this=0xbffff414,
receiver=0x8151698, 
    e=0xbffff0b4) at kernel/qapplication.cpp:2106
#35 0x406d2235 in KApplication::notify (this=0xbffff414,
receiver=0x8151698, 
    event=0xbffff0b4) at kapplication.cpp:546
#36 0x40fb8f44 in QApplication::sendSpontaneousEvent
(receiver=0x8151698, 
    event=0xbffff0b4) at .moc/debug-mt/../../kernel/qapplication.h:455
#37 0x40ad158d in QETWidget::translateMouseEvent (this=0x8151698, 
    event=0xbffff30c) at kernel/qapplication_x11.cpp:4802
#38 0x40acdd30 in QApplication::x11ProcessEvent (this=0xbffff414, 
    event=0xbffff30c) at kernel/qapplication_x11.cpp:3602
#39 0x40acc899 in QApplication::processNextEvent (this=0xbffff414, 
    canWait=true) at kernel/qapplica[New Thread 1024 (LWP 31148)]
0x41576079 in wait4 () from /lib/libc.so.6
#0  0x41576079 in wait4 () from /lib/libc.so.6
#1  0x415ee8c4 in __DTOR_END__ () from /lib/libc.so.6
#2  0x41414177 in waitpid () from /lib/libpthread.so.0
#3  0x4076a37c in KCrash::defaultCrashHandler (sig=11) at kcrash.cpp:224
#4  0x41411bc4 in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  QShared::ref (this=0x0)
    at /home/kdetest/qt-x11-free-3.0.2/include/qshared.h:49
#7  0x40e17684 in QGArray::QGArray (this=0xbfffe0ac, a=@0x88cb024)
    at tools/qgarray.cpp:137
#8  0x4077ddb7 in KInstance::instanceName (this=0x88cb018)
    at /home/kdetest/qt-x11-free-3.0.2/include/qmemarray.h:59
#9  0x405a70de in KXMLGUIClient::setXMLFile (this=0x8882b2c, 
    _file=@0xbfffe31c, merge=false, setXMLDoc=true) at
kxmlguiclient.cpp:169
#10 0x41cfb44c in KGVPart::KGVPart (this=0x8882a18, __in_chrg=1, 
    parentWidget=0x80a4b20, parent=0x80a4b20, name=0x40151550 "gvpart", 
    args=@0xbfffe4d8) at kgv_view.cpp:235
#11 0x41d095d6 in KParts::GenericFactory<KGVPart>::createPartObject (
    this=0x88aeff0, parentWidget=0x80a4b20, widgetName=0x40151550
"gvpart", 
    parent=0x80a4b20, name=0x40151550 "gvpart", 
    className=0x4015153b "KParts::ReadOnlyPart", args=@0xbfffe4d8)
    at /home/kdetest/kde-copy/include/kgenericfactory.tcc:142
#12 0x401879ff in KParts::Factory::createPart (this=0x88aeff0, 
    parentWidget=0x80a4b20, widgetName=0x40151550 "gvpart",
parent=0x80a4b20, 
    name=0x40151550 "gvpart", classname=0x4015153b
"KParts::ReadOnlyPart", 
    args=@0xbfffe4d8) at factory.cpp:44
#13 0x40187a88 in KParts::Factory::createObject (this=0x88aeff0, 
    parent=0x80a4b20, name=0x40151550 "gvpart", 
    classname=0x4015153b "KParts::ReadOnlyPart", args=@0xbfffe4d8)
    at factory.cpp:58
#14 0x4077f624 in KLibFactory::create (this=0x88aeff0, parent=0x80a4b20,
    name=0x40151550 "gvpart", classname=0x4015153b
"KParts::ReadOnlyPart", 
    args=@0xbfffe4d8) at klibloader.cpp:83
#15 0x400fa71c in KPrintPreview::initView (this=0xbfffe54c,
factory=0x88aeff0)
    at kprintpreview.cpp:171
#16 0x400fac68 in KPrintPreview::preview (file=@0x8154968,
previewOnly=true, 
    parentId=0) at kprintpreview.cpp:231
#17 0x401046ad in KPrinter::printFiles (this=0xbfffeadc, l=@0xbfffe758, 
    flag=true) at kprinter.cpp:300
#18 0x401040c8 in KPrinter::cmd (this=0xbfffeadc, c=31,
painter=0xbfffe86c, 
    p=0x0) at kprinter.cpp:242
#19 0x40afcde5 in QPainter::end (this=0xbfffe86c)
    at kernel/qpainter_x11.cpp:1235
#20 0x41771173 in KWView::print (this=0x816b7c0, prt=@0xbfffeadc)
    at kwview.cc:1287
#21 0x4005037a in KoMainWindow::slotFilePrintPreview (this=0x8127448)
    at koMainWindow.cc:815
#22 0x40052e89 in KoMainWindow::qt_invoke (this=0x8127448, _id=74, 
    _o=0xbfffebb4) at koMainWindow.moc:157
#23 0x40b8d8b2 in QObject::activate_signal (this=0x813eee8,
clist=0x813f198, 
    o=0xbfffebb4) at kernel/qobject.cpp:2013
#24 0x40b8d671 in QObject::activate_signal (this=0x813eee8, signal=2)
    at kernel/qobject.cpp:1994
#25 0x4050cb59 in KAction::activated (this=0x813eee8) at kaction.moc:156
#26 0x404fddef in KAction::slotActivated (this=0x813eee8) at
kaction.cpp:914
#27 0x4050cd62 in KAction::qt_invoke (this=0x813eee8, _id=14,
_o=0xbfffecd4)
    at kaction.moc:180
#28 0x40b8d98a in QObject::activate_signal (this=0x8151698,
clist=0x8159c00, 
    o=0xbfffecd4) at kernel/qobject.cpp:2023
#29 0x40b8d671 in QObject::activate_signal (this=0x8151698, signal=4)
    at kernel/qobject.cpp:1994
#30 0x40e9bfe9 in QButton::clicked (this=0x8151698)
    at .moc/debug-mt/moc_qbutton.cpp:149
#31 0x40c15378 in QButton::mouseReleaseEvent (this=0x8151698,
e=0xbffff0b4)
    at widgets/qbutton.cpp:771
#32 0x40bc9694 in QWidget::event (this=0x8151698, e=0xbffff0b4)
    at kernel/qwidget.cpp:4132
#33 0x40b345f8 in QApplication::internalNotify (this=0xbffff414, 
    receiver=0x8151698, e=0xbffff0b4) at kernel/qapplication.cpp:2264
#34 0x40b33983 in QApplication::notify (this=0xbffff414,
receiver=0x8151698, 
    e=0xbffff0b4) at kernel/qapplication.cpp:2106
#35 0x406d2235 in KApplication::notify (this=0xbffff414,
receiver=0x8151698, 
    event=0xbffff0b4) at kapplication.cpp:546
#36 0x40fb8f44 in QApplication::sendSpontaneousEvent
(receiver=0x8151698, 
    event=0xbffff0b4) at .moc/debug-mt/../../kernel/qapplication.h:455
#37 0x40ad158d in QETWidget::translateMouseEvent (this=0x8151698, 
    event=0xbffff30c) at kernel/qapplication_x11.cpp:4802
#38 0x40acdd30 in QApplication::x11ProcessEvent (this=0xbffff414, 
    event=0xbffff30c) at kernel/qapplication_x11.cpp:3602
#39 0x40acc899 in QApplication::processNextEvent (this=0xbffff414, 
    canWait=true) at kernel/qapplication_x11.cpp:3110
#40 0x40b36974 in QApplication::enter_loop (this=0xbffff414)
    at kernel/qapplication.cpp:3136
#41 0x40acc79b in QApplication::exec (this=0xbffff414)
    at kernel/qapplication_x11.cpp:3066
#42 0x40016e4c in main (argc=1, argv=0xbffff554) at main.cc:43
#43 0x414eb7ee in __libc_start_main () from
/lib/libc.so.6tion_x11.cpp:3110
#40 0x40b36974 in QApplication::enter_loop (this=0xbffff414)
    at kernel/qapplication.cpp:3136
#41 0x40acc79b in QApplication::exec (this=0xbffff414)
    at kernel/qapplication_x11.cpp:3066
#42 0x40016e4c in main (argc=1, argv=0xbffff554) at main.cc:43
#43 0x414eb7ee in __libc_start_main () from /lib/libc.so.6

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic