Bug 55652

Summary: kdvi crashes when viewing a .dvi file twice
Product: kdvi Reporter: Jens <jens-bugs.kde.org>
Component: generalAssignee: Stefan Kebekus <kebekus>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jens 2003-03-07 17:31:23 UTC
Version:            (using KDE 3.1.9)
Compiler:          gcc version 3.2.3 20030210 (Debian prerelease)
OS:          Linux (i686) release 2.4.19-jb-preempt-w4l

Hi,

I click on a dvi file in konqueror, it loads fine, I browse around it for a bit, click "Back" (to get back to the directory).
Then I again click on the same dvi file. Konq loads the plugin, builds the widget (ie. displays the embeeded dvi viewer's sidebar with page numbers etc), but crashes just before starting to render:

0x40fc8a39 in wait4 () from /lib/libc.so.6
#0  0x40fc8a39 in wait4 () from /lib/libc.so.6
#1  0x4103bbc0 in sys_sigabbrev () from /lib/libc.so.6
#2  0x40df9061 in waitpid () from /lib/libpthread.so.0
#3  0x4060706b in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4
#4  0x40f55898 in sigaction () from /lib/libc.so.6
#5  0x404a8d0a in KTipDialog::nextTip() () from /usr/lib/libkdeui.so.4
#6  0x404a8971 in KTipDialog::showTip(QWidget*, QString const&, bool) ()
   from /usr/lib/libkdeui.so.4
#7  0x417a8288 in KDVIMultiPage::showTipOnStart() ()
   from /usr/lib/kde3/kdvipart.so
#8  0x417a890b in KDVIMultiPage::qt_invoke(int, QUObject*) ()
   from /usr/lib/kde3/kdvipart.so
#9  0x4095c21a in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
#10 0x40bc4256 in QSignal::signal(QVariant const&) ()
   from /usr/lib/libqt-mt.so.3
#11 0x409725b9 in QSignal::activate() () from /usr/lib/libqt-mt.so.3
#12 0x40978707 in QSingleShotTimer::event(QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#13 0x40908236 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#14 0x40907e77 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#15 0x405a1270 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdecore.so.4
#16 0x408e649b in QEventLoop::activateTimers() () from /usr/lib/libqt-mt.so.3
#17 0x408c73ed in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/libqt-mt.so.3
#18 0x409197f7 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
#19 0x409196b4 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
#20 0x40908430 in QApplication::exec() () from /usr/lib/libqt-mt.so.3
#21 0x4126e166 in main () from /usr/lib/konqueror.so
#22 0x0804c9f7 in strcpy ()
#23 0x0804d4bb in strcpy ()
#24 0x0804d932 in strcpy ()
#25 0x0804e501 in strcpy ()
#26 0x40f449f1 in __libc_start_main () from /lib/libc.so.6


This is 100% reproducable. I can send you the dvi file in question if you want, but it happens with EVERY dvi file I tried until now.
Comment 1 Laurent Montel 2003-05-13 20:49:39 UTC
Subject: Re: kdvi crashes when viewing a .dvi file twice

Thank you for your bug report.
The bug that you reported has been identified and has been fixed in the
latest development (CVS) version of KDE. The bug report will be closed.