| Summary: | Kile crashes right after start | ||
|---|---|---|---|
| Product: | [Applications] kile | Reporter: | Tobias <tobias.preuss> |
| Component: | general | Assignee: | Michel Ludwig <michel.ludwig> |
| Status: | VERIFIED FIXED | ||
| Severity: | crash | CC: | bas |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Tobias
2012-03-19 23:42:24 UTC
Git commit 31fbdf00c7f3e3058d0dde516d2dadf0a3918b5d by Michel Ludwig. Committed on 20/03/2012 at 23:09. Pushed by mludwig into branch 'master'. Protect calls to 'livePreviewManager()' by ifdef's in 'Kile::slotPerformCheck' M +5 -1 src/kile.cpp http://commits.kde.org/kile/31fbdf00c7f3e3058d0dde516d2dadf0a3918b5d I like to confirm that the bugfix works. Thank you Michel. I think this bug might still exist (or might have returned). I was running Kile from source, which used to work perfectly fine (including live preview!). Today, it suddenly stopped working: crash directly after starting it. I removed all of the Kile-related files and directories from $HOME/.kde, but that didn't help. Did a 'git pull' for both kile and okular and recompiled (after cleaning build directories, following http://sourceforge.net/apps/mediawiki/kile/index.php?title=Live_Preview) - still same result. Note that after cleaning my home directory, Kile would ask me whether I'd like to reload the "standard tool list" because of "the switch from KDE3 to KDE4". It doesn't matter whether I click "yes" or "no", result is the same: direct crash. Backtrace is below, almost identical to the original bug report (hence, posted in the same report, rather than creating a new bug report). -- Backtrace: Application: Kile (kile), signal: Segmentation fault [Current thread is 1 (Thread 0x7fdc88397780 (LWP 26789))] Thread 6 (Thread 0x7fdc72032700 (LWP 26790)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fdc8539659b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00000000005ccf6b in KileParser::ParserThread::run (this=0x1eda680) at /opt/kile-livepreview-git/src/kile/src/parser/parserthread.cpp:168 #3 0x00007fdc8539608b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007fdc813b7e9a in start_thread (arg=0x7fdc72032700) at pthread_create.c:308 #5 0x00007fdc83bf174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 5 (Thread 0x7fdc71831700 (LWP 26791)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fdc8539659b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00000000005ccf6b in KileParser::ParserThread::run (this=0x1eda0a0) at /opt/kile-livepreview-git/src/kile/src/parser/parserthread.cpp:168 #3 0x00007fdc8539608b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007fdc813b7e9a in start_thread (arg=0x7fdc71831700) at pthread_create.c:308 #5 0x00007fdc83bf174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 4 (Thread 0x7fdc6bbdf700 (LWP 26792)): #0 0x00007fdc83be5d93 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007fdc7f2e0ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fdc7f2e1124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fdc854c3bbf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007fdc85493402 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #5 0x00007fdc85493657 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00007fdc85393067 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #7 0x00007fdc8547317f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #8 0x00007fdc8539608b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #9 0x00007fdc813b7e9a in start_thread (arg=0x7fdc6bbdf700) at pthread_create.c:308 #10 0x00007fdc83bf174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 3 (Thread 0x7fdc6acf9700 (LWP 26793)): #0 0x00007fdc83be5d93 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007fdc7f2e0ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fdc7f2e1124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fdc854c3bbf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007fdc85493402 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #5 0x00007fdc85493657 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00007fdc85393067 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #7 0x00007fdc8547317f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #8 0x00007fdc8539608b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #9 0x00007fdc813b7e9a in start_thread (arg=0x7fdc6acf9700) at pthread_create.c:308 #10 0x00007fdc83bf174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fdc699f1700 (LWP 26794)): #0 0x00007fdc83beaab3 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007fdc85471621 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007fdc8539608b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x00007fdc813b7e9a in start_thread (arg=0x7fdc699f1700) at pthread_create.c:308 #4 0x00007fdc83bf174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fdc88397780 (LWP 26789)): [KCrash Handler] #6 KileTool::LivePreviewManager::isLivePreviewEnabledForCurrentDocument (this=0x0) at /opt/kile-livepreview-git/src/kile/src/livepreview.cpp:338 #7 0x00000000004c1f07 in Kile::slotPerformCheck (this=0x1ed8bc0) at /opt/kile-livepreview-git/src/kile/src/kile.cpp:2753 #8 0x00000000004caab0 in Kile::Kile (this=0x1ed8bc0, allowRestore=true, parent=0x0, name=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /opt/kile-livepreview-git/src/kile/src/kile.cpp:377 #9 0x000000000043c888 in main (argc=1, argv=0x7ffff1d2c5c8) at /opt/kile-livepreview-git/src/kile/src/main.cpp:149 For some mysterious reason I can no longer reproduce my own bug report, possibly due to an upgrade to KDE 4.8.3. Kile seems to work fine now. I freshly compiled 3a65e8.. and Kile works fine for me. I am still running Ubuntu 10.10. with KDE 4.5.5. |