Bug 173018 - crash when latex document is recompiled with error
Summary: crash when latex document is recompiled with error
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: DVI backend (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-17 10:51 UTC by Frederik Schwarzer
Modified: 2009-01-19 00:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik Schwarzer 2008-10-17 10:51:22 UTC
Version:           0.7.80 (using Devel)
Installed from:    Compiled sources

I had a latex document (as dvi) shown in background while working at it in my editor. When I rebuilt it, there was an error in the document and okular crashed updating the document view.

I do not know if that's a thing that should be handled more gracefully, but since I got the backtrace, I thought I'll send it nevertheless. I hope it helps... somehow.

Application: Okular (okular), signal SIGABRT   
[Current thread is 0 (LWP 14009)]              

Thread 2 (Thread 0xb2ae6b90 (LWP 14010)):
#0  0xb8054424 in __kernel_vsyscall ()   
#1  0xb68c99f1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb7679660 in ?? () from /usr/lib/libQtCore.so.4     
#3  0xb75aa52e in ?? () from /usr/lib/libQtCore.so.4     
#4  0xb75414c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb68d161e in clone () from /lib/i686/cmov/libc.so.6             

Thread 1 (Thread 0xb6176960 (LWP 14009)):
[KCrash Handler]                         
#6  0xb8054424 in __kernel_vsyscall ()   
#7  0xb681c640 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb681e018 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb685f6e3 in ?? () from /lib/i686/cmov/libc.so.6   
#10 0x0868fcd0 in ?? ()                                 
#11 0xb6947ff4 in ?? () from /lib/i686/cmov/libc.so.6   
#12 0xb6947ff4 in ?? () from /lib/i686/cmov/libc.so.6   
#13 0x085ebe88 in ?? ()                                 
#14 0x085ebe88 in ?? ()                                 
#15 0xb692c524 in ?? () from /lib/i686/cmov/libc.so.6                                                                                                         
#16 0xb68619b9 in ?? () from /lib/i686/cmov/libc.so.6
#17 0xb75a4d9d in qFree () from /usr/lib/libQtCore.so.4
#18 0xb6861855 in free () from /lib/i686/cmov/libc.so.6
#19 0xb2bbfe89 in Q3GArray::~Q3GArray () from /usr/lib/libQt3Support.so.4
#20 0xb310a0dc in ~dvifile (this=0x868f798) at /usr/include/qt4/Qt3Support/q3memarray.h:66
#21 0xb30f40f4 in dviRenderer::setFile (this=0x86f8a78, fname=@0xbfe6e0c8, base=@0xbfe6dcc8) at /home/compiler/kde/src/KDE/kdegraphics/okular/generators/dvi/dviRenderer.cpp:481
#22 0xb30f090a in DviGenerator::loadDocument (this=0x8154778, fileName=@0xbfe6e0c8, pagesVector=@0x8193de4) at /home/compiler/kde/src/KDE/kdegraphics/okular/generators/dvi/generator_dvi.cpp:68
#23 0xb475bc14 in Okular::Document::openDocument (this=0x8192df8, docFile=@0xbfe6e0c8, url=@0xbfe6e048, _mime=@0xbfe6e0e8) at /home/compiler/kde/src/KDE/kdegraphics/okular/core/document.cpp:1478
#24 0xb47e4007 in Part::openFile (this=0x8188e70) at /home/compiler/kde/src/KDE/kdegraphics/okular/part.cpp:850
#25 0xb6a86863 in KParts::ReadOnlyPart::openUrl (this=0x8188e70, url=@0xbfe6e1e8) at /home/compiler/kde/src/KDE/kdelibs/kparts/part.cpp:557
#26 0xb47eca5f in Part::slotDoFileDirty (this=0x8188e70) at /home/compiler/kde/src/KDE/kdegraphics/okular/part.cpp:1097
#27 0xb47ed632 in Part::qt_metacall (this=0x8188e70, _c=QMetaObject::InvokeMetaMethod, _id=54, _a=0xbfe6e2b8) at /home/compiler/kde/build/KDE/kdegraphics/okular/part.moc:225
#28 0xb76aebd0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0xb76af952 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#30 0xb76e9857 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#31 0xb76b557e in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#32 0xb76a96af in QObject::event () from /usr/lib/libQtCore.so.4
#33 0xb6be679c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#34 0xb6bee61e in QApplication::notify () from /usr/lib/libQtGui.so.4
#35 0xb7c17e1d in KApplication::notify (this=0xbfe6eb3c, receiver=0x8348670, event=0xbfe6e74c) at /home/compiler/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#36 0xb769a0d1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#37 0xb76c8031 in ?? () from /usr/lib/libQtCore.so.4
#38 0xb76c82cb in QEventDispatcherUNIX::processEvents () from /usr/lib/libQtCore.so.4
#39 0xb6c80ed6 in ?? () from /usr/lib/libQtGui.so.4
#40 0xb769879a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#41 0xb769895a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#42 0xb769b015 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#43 0xb6be6617 in QApplication::exec () from /usr/lib/libQtGui.so.4
#44 0x0804e447 in main (argc=) at /home/compiler/kde/src/KDE/kdegraphics/okular/shell/main.cpp:81
Comment 1 Albert Astals Cid 2009-01-18 22:17:02 UTC
Yes, it's a problem, can you reproduce it always that compiling fails or is something that only happened once?
Comment 2 Frederik Schwarzer 2009-01-18 22:33:15 UTC
It happens every time.
Just rebuild the document, wait for the error and then focus Okular.
Comment 3 Albert Astals Cid 2009-01-18 23:07:55 UTC
Can i get some sample document and instuctions to reproduce? my latex/dvi foo is VERY small
Comment 4 Albert Astals Cid 2009-01-19 00:31:06 UTC
SVN commit 913247 by aacid:

be more resistant against not loading a dvi file correctly
BUGS: 173018


 M  +3 -0      dviFile.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=913247
Comment 5 Albert Astals Cid 2009-01-19 00:31:58 UTC
SVN commit 913248 by aacid:

Backport r913247 | aacid | 2009-01-19 00:30:59 +0100 (Mon, 19 Jan 2009) | 3 lines

be more resistant against not loading a dvi file correctly
BUGS: 173018


 M  +3 -0      dviFile.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=913248