[Bug 994498] Re: Kile crashes when it is closing

Alessandro Menti 994498 at bugs.launchpad.net
Mon Aug 27 08:07:02 UTC 2012


I have published a temporary package in my PPA, in case anyone wants to run a bug-free version until the patch is officially merged in the Ubuntu repositories:
https://launchpad.net/~alessandro-menti/+archive/patch-testing/+packages

(Please note that the package will be removed from my PPA as soon as the
official update is produced).

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/994498

Title:
  Kile crashes when it is closing

Status in kile, latex editor:
  Fix Released
Status in “kile” package in Ubuntu:
  Triaged

Bug description:
  SRU information:
  [Impact]
  The bug affects Kile users that use project files (since Kile makes managing a group of LaTeX files easier, I suppose the "project" functionality is often used, thus, the number of users that experience the problem is not small).

  [Test case]
  1) Open the old version of Kile.
  2) Create a project file by clicking on Project->New Project and choosing a project title, a folder and a name for the main file (choose "Yes" if the program prompts you to add the .tex extension automatically).
  3) Close Kile through File->Quit - the program should crash. The segfault's stack trace should show a call to "QUrl::isEmpty()" at the top, in one of the threads.
  4) Install the updated package.
  5) Perform steps 1), 2) and 3) as above, Kile should not crash anymore and should exit normally instead.

  [Regression potential]
  As the patch changes only the code related to the "Close All Projects" menu (and as the called "projectClose" function stays untouched), there should be little regression potential (the only possibility is that the code does not work in every case, thus making Kile continue to crash or possibly preventing the application from closing).

  [Workaround]
  Close the project manually (via Project->Close Project) before quitting Kile.
  --------------------
  Original description:

  When I close the application it shows this error message:
  Executável: kile PID: 4969 Sinal: Segmentation fault (11)

  When I try to install the debugging packages it says "Could not find debug symbol packages for this application", but here is  the backtrace:
  Application: Kile (kile), signal: Segmentation fault
  Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
  [Current thread is 1 (Thread 0xb3ec6740 (LWP 4969))]

  Thread 5 (Thread 0xb1b74b40 (LWP 4971)):
  #0  0xb775d424 in __kernel_vsyscall ()
  #1  0xb55a4380 in poll () from /lib/i386-linux-gnu/libc.so.6
  #2  0xb4856a3b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
  #3  0xb484906e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
  #4  0xb484952b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
  #5  0xb1b79134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
  #6  0xb486c673 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
  #7  0xb4915d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
  #8  0xb55b2ace in clone () from /lib/i386-linux-gnu/libc.so.6

  Thread 4 (Thread 0xb11ffb40 (LWP 4972)):
  #0  0xb4918c64 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
  #1  0xb55c0634 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
  #2  0xb48883d0 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
  #3  0xb48482a7 in g_main_context_release () from /lib/i386-linux-gnu/libglib-2.0.so.0
  #4  0xb4849018 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
  #5  0xb484952b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
  #6  0xb264b0ea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
  #7  0xb486c673 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
  #8  0xb4915d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
  #9  0xb55b2ace in clone () from /lib/i386-linux-gnu/libc.so.6

  Thread 3 (Thread 0xaed70b40 (LWP 4974)):
  #0  0xb48ffdcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
  #1  0xb638a315 in do_gettime (frac=0xaed6ffb0, sec=0xaed6ffa8) at tools/qelapsedtimer_unix.cpp:123
  #2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
  #3  0xb6474226 in QTimerInfoList::updateCurrentTime (this=0x8e24644) at kernel/qeventdispatcher_unix.cpp:343
  #4  0xb647457a in QTimerInfoList::timerWait (this=0x8e24644, tm=...) at kernel/qeventdispatcher_unix.cpp:450
  #5  0xb6472e23 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xaed700bc) at kernel/qeventdispatcher_glib.cpp:136
  #6  0xb6472ebd in timerSourcePrepare (source=0x8e24610, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
  #7  0xb4848762 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
  #8  0xb4848f6f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
  #9  0xb48491c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
  #10 0xb64738e7 in QEventDispatcherGlib::processEvents (this=0x8e4c5d8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
  #11 0xb643f50d in QEventLoop::processEvents (this=0xaed70240, flags=...) at kernel/qeventloop.cpp:149
  #12 0xb643f7a9 in QEventLoop::exec (this=0xaed70240, flags=...) at kernel/qeventloop.cpp:204
  #13 0xb632894c in QThread::exec (this=0x8e4d128) at thread/qthread.cpp:501
  #14 0xb641cb5d in QInotifyFileSystemWatcherEngine::run (this=0x8e4d128) at io/qfilesystemwatcher_inotify.cpp:248
  #15 0xb632bde0 in QThreadPrivate::start (arg=0x8e4d128) at thread/qthread_unix.cpp:298
  #16 0xb4915d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
  #17 0xb55b2ace in clone () from /lib/i386-linux-gnu/libc.so.6

  Thread 2 (Thread 0xad76eb40 (LWP 5035)):
  #0  0xb775d424 in __kernel_vsyscall ()
  #1  0xb491996b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
  #2  0xb55c03dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
  #3  0xb4f05029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
  #4  0xb4f0506f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
  #5  0xb4915d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
  #6  0xb55b2ace in clone () from /lib/i386-linux-gnu/libc.so.6

  Thread 1 (Thread 0xb3ec6740 (LWP 4969)):
  [KCrash Handler]
  #7  0xb63edd64 in QUrl::isEmpty (this=0x62004a) at io/qurl.cpp:4278
  #8  0x081fd6d0 in ?? ()
  #9  0x081fdbd3 in ?? ()
  #10 0x0811f60b in _start ()

To manage notifications about this bug go to:
https://bugs.launchpad.net/kile/+bug/994498/+subscriptions



More information about the Ubuntu-sponsors mailing list