Kile crashes when running latex

Bug #400778 reported by Mander
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kile (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: kile

I hope this is the right way to do this. I have never started a bug report before.

I am running Kile 2.0.81 (although the splash screen says 2.1 beta) on Jaunty, 64 bit. Help->About in Kile says it is using KDE 4.2.2, though at the moment I am just using the default Gnome for Ubuntu. I just re-installed from scratch a few days ago. I also installed all of the debugging packages for Kile (I think).

apt-cache policy kile:
kile:
  Installed: 1:2.1.0~svn942443-0ubuntu4.1
  Candidate: 1:2.1.0~svn942443-0ubuntu4.1
  Version table:
 *** 1:2.1.0~svn942443-0ubuntu4.1 0
        500 http://gb.archive.ubuntu.com jaunty-updates/universe Packages
        100 /var/lib/dpkg/status
     1:2.1.0~svn942443-0ubuntu4 0
        500 http://gb.archive.ubuntu.com jaunty/universe Packages

Anway, Kile keeps crashing when I attempt to run latex, either through a custom shortcut (e.g. alt+2) or through the menus. It begins to compile the DVI, then quits and the program closes.

I started Kile from terminal and this is what it said:
---------------
amandav@amandav-laptop:~$ kile
kile(24497) KStatusBar::removeItem: KStatusBar::removeItem: bad item id: 302
kile(24497) KStatusBar::removeItem: KStatusBar::removeItem: bad item id: 301
kile(24497) KStatusBar::removeItem: KStatusBar::removeItem: bad item id: 303
kile(24497) KStatusBar::removeItem: KStatusBar::removeItem: bad item id: 304
KComboBox::setTrapReturnKey not supported with a non-KLineEdit.
Object::connect: No such signal KileWidget::ProjectView::dropped(QDropEvent*, QTreeWidgetItem*)
Object::connect: (receiver name: 'KileDocument::Manager')
kile(24497) KileDocument::Manager::createDocument: KUrl("file:///media/DATA/AmandaV/Documents/PhD/Writing/TableLandscapeGroups.tex") already has a document!
kile(24497) KileDocument::Manager::createDocument: KUrl("file:///media/DATA/AmandaV/Documents/PhD/Writing/AllOneFilePreamble.tex") already has a document!
kile(24497) KileDocument::Manager::createDocument: KUrl("file:///media/DATA/AmandaV/Documents/PhD/Writing/AllOneFile.tex") already has a document!
KCrash: Application 'kile' crashing...
sock_file=/home/amandav/.kde/socket-amandav-laptop/kdeinit4__0
---------------

At which point, of course, it crashes, giving this message:
The application Kile (kile) crashed and caused the signal 11 (SIGSEGV).
---------------

When I attempt to view the details in the window asking me to submit a bug report, this is what it says:

This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

[Thread debugging using libthread_db enabled]
[New Thread 0x7f4a0b876750 (LWP 24497)]
[New Thread 0x7f49f5575950 (LWP 24498)]
0x00007f4a069dbd21 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 24497)]

Thread 2 (Thread 0x7f49f5575950 (LWP 24498)):
#0 0x00007f4a06a12742 in select () from /lib/libc.so.6
#1 0x00007f4a07583f06 in ?? () from /usr/lib/libQtCore.so.4
#2 0x00007f4a074bc952 in ?? () from /usr/lib/libQtCore.so.4
#3 0x00007f4a043cc3ba in start_thread () from /lib/libpthread.so.0
#4 0x00007f4a06a19fcd in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4a0b876750 (LWP 24497)):
#0 0x00007f4a069dbd21 in nanosleep () from /lib/libc.so.6
#1 0x00007f4a069dbb47 in sleep () from /lib/libc.so.6
#2 0x00007f4a0907cb1f in ?? () from /usr/lib/libkdeui.so.5
#3 0x00007f4a0907d42a in KCrash::defaultCrashHandler () from /usr/lib/libkdeui.so.5
#4 <signal handler called>
#5 0x00007f4a07558e04 in ?? () from /usr/lib/libQtCore.so.4
#6 0x00007f4a0752c5e7 in QAbstractFileEngine::create () from /usr/lib/libQtCore.so.4
#7 0x00007f4a0753faba in ?? () from /usr/lib/libQtCore.so.4
#8 0x00007f4a0752f139 in QDir::isRelativePath () from /usr/lib/libQtCore.so.4
#9 0x000000000060025c in LatexOutputFilter::fileExists (this=0x243a4e0, name=@0x35e3720) at /usr/include/qt4/QtCore/qdir.h:186
#10 0x0000000000600a5e in LatexOutputFilter::flushCurrentItem (this=0x243a4e0) at /build/buildd/kile-2.1.0~svn942443/src/latexoutputfilter.cpp:266
#11 0x0000000000601047 in LatexOutputFilter::detectWarning (this=0x243a4e0, strLine=@0x7fff138aed90, dwCookie=@0x1b98da0) at /build/buildd/kile-2.1.0~svn942443/src/latexoutputfilter.cpp:437
#12 0x0000000000602887 in LatexOutputFilter::parseLine (this=0x243a4e0, strLine=@0x7fff138aed90, dwCookie=<value optimized out>) at /build/buildd/kile-2.1.0~svn942443/src/latexoutputfilter.cpp:569
#13 0x0000000000603d61 in OutputFilter::Run (this=0x243a4e0, logfile=<value optimized out>) at /build/buildd/kile-2.1.0~svn942443/src/outputfilter.cpp:70
#14 0x00000000005ff717 in LatexOutputFilter::Run (this=0x243a4e0, logfile=@0x7fff138aeef0) at /build/buildd/kile-2.1.0~svn942443/src/latexoutputfilter.cpp:612
#15 0x0000000000621a3c in KileTool::LaTeX::filterLogfile (this=0x2b6a130) at /build/buildd/kile-2.1.0~svn942443/src/kilestdtools.cpp:193
#16 0x0000000000624ff5 in KileTool::LaTeX::finish (this=0x1b98cc0, r=56506144) at /build/buildd/kile-2.1.0~svn942443/src/kilestdtools.cpp:177
#17 0x0000000000621023 in KileTool::LaTeX::qt_metacall (this=0x2b6a130, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff138af150)
    at /build/buildd/kile-2.1.0~svn942443/obj-x86_64-linux-gnu/src/kilestdtools.moc:71
#18 0x00007f4a075bb1f2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0x000000000061609f in KileTool::Launcher::done (this=0x1b98cc0, _t1=0) at /build/buildd/kile-2.1.0~svn942443/obj-x86_64-linux-gnu/src/kilelauncher.moc:126
#20 0x00000000006173a1 in KileTool::ProcessLauncher::slotProcessExited (this=0x295a700, exitCode=0, exitStatus=28937632) at /build/buildd/kile-2.1.0~svn942443/src/kilelauncher.cpp:269
#21 0x0000000000617654 in KileTool::ProcessLauncher::qt_metacall (this=0x295a700, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff138af330)
    at /build/buildd/kile-2.1.0~svn942443/obj-x86_64-linux-gnu/src/kilelauncher.moc:187
#22 0x00007f4a075bb1f2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0x00007f4a07545c5f in QProcess::finished () from /usr/lib/libQtCore.so.4
#24 0x00007f4a0754bb3e in ?? () from /usr/lib/libQtCore.so.4
#25 0x00007f4a0754bbf1 in QProcess::qt_metacall () from /usr/lib/libQtCore.so.4
#26 0x00007f4a07becb0d in KProcess::qt_metacall () from /usr/lib/libkdecore.so.5
#27 0x00007f4a075bb1f2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0x00007f4a075f244e in QSocketNotifier::activated () from /usr/lib/libQtCore.so.4
#29 0x00007f4a075bfe53 in QSocketNotifier::event () from /usr/lib/libQtCore.so.4
#30 0x00007f4a0814e78d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#31 0x00007f4a0815697a in QApplication::notify () from /usr/lib/libQtGui.so.4
#32 0x00007f4a0901726b in KApplication::notify () from /usr/lib/libkdeui.so.5
#33 0x00007f4a075a575c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#34 0x00007f4a075cf0e9 in ?? () from /usr/lib/libQtCore.so.4
#35 0x00007f4a02bff20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0x00007f4a02c028e0 in ?? () from /usr/lib/libglib-2.0.so.0
#37 0x00007f4a02c02a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0x00007f4a075cee8e in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#39 0x00007f4a081e6bef in ?? () from /usr/lib/libQtGui.so.4
#40 0x00007f4a075a4002 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#41 0x00007f4a075a43cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#42 0x00007f4a075a6694 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#43 0x0000000000595a85 in main (argc=1, argv=0x7fff138b0ba8) at /build/buildd/kile-2.1.0~svn942443/src/main.cpp:169
#0 0x00007f4a069dbd21 in nanosleep () from /lib/libc.so.6

Related branches

Revision history for this message
Mander (arwintcher) wrote :

I went back through the list of KDE programs in Synaptic and installed all the debug packages that I thought might be useful. Then I tried this again, and got a (hopefully) more useful output.

Revision history for this message
Thomas Braun (tbraun1234) wrote :

Does it always happen or only in directories with uncommon permissions?

If you know how to use a compiler you might try to use kile 2.1 beta1 from kile.sf.net and see if it fixes the problem.
Although the backtrace is good I don't see anything obvious offending in the code.

Revision history for this message
Mander (arwintcher) wrote :

I can't reproduce this behavior anymore. I installed 1:2.1.0~svn981319beta1-1 (from the Debian repository) in an attempt to fix the issue with missing and forgotten shortcuts, and this issue is now gone.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kile - 1:2.1.0~svn1014763beta2-1ubuntu1

---------------
kile (1:2.1.0~svn1014763beta2-1ubuntu1) karmic; urgency=low

  * Merge from debian unstable, remaining changes:
    - debain/control: Don't suggest kile-i18n
    - debian/kile-doc.install: Install to /usr/share/doc/kde/HTML
  * Fixes (LP: #404879, #403140, #400778)
  * Add debian/patches/kubuntu_01_improved_viewpart_warning.diff to instruct
    how to restore tools config; as an out-dated configuration from pre-KDE4
    is the most likely cause of the embedded viewer failing. (LP: #375913)
  * Add kubuntu_02_disable_embedded_kbibtex.diff. No KBibTex-part is
    available for KDE4 and KBibTex porting does not look to happen anytime
    soon, so disable the Embedded KBibTex option for now. (LP: #376004)

 -- Andreas Wenning <email address hidden> Wed, 26 Aug 2009 01:15:50 +0200

Changed in kile (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.