Bug 379147

Summary: Kile crashes on quickbuild, pdflatex etc.
Product: [Applications] kile Reporter: gabriel
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi, investigated, triaged
Priority: NOR    
Version First Reported In: 2.1.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description gabriel 2017-04-24 07:13:37 UTC
Application: kile (2.1.3)
KDE Platform Version: 4.14.25
Qt Version: 4.8.6
Operating System: Linux 4.4.49-16-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
- What I was doing when the application crashed:
building a PDF using quickbuild or pdflatex. both lead to the crash in my project.
interestingly, running pdflatex in the project folder manually works fine.
quickbuild in other projects also works.

The crash can be reproduced every time.

-- Backtrace:
Application: Kile (kile), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f62fac7e900 (LWP 21732))]

Thread 3 (Thread 0x7f62e1d48700 (LWP 21770)):
#0  0x00007f62f80d80af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f62f4b6882b in  () at /usr/lib64/libQtScript.so.4
#2  0x00007f62f4b68869 in  () at /usr/lib64/libQtScript.so.4
#3  0x00007f62f80d3734 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f62f693ad3d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f62e47df700 (LWP 21733)):
#0  0x00007f62f693249d in poll () at /lib64/libc.so.6
#1  0x00007f62f2402314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f62f240242c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f62f8497fce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#4  0x00007f62f8469d3f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007f62f846a035 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007f62f836749f in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7  0x00007f62f844b643 in  () at /usr/lib64/libQtCore.so.4
#8  0x00007f62f8369b7f in  () at /usr/lib64/libQtCore.so.4
#9  0x00007f62f80d3734 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f62f693ad3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f62fac7e900 (LWP 21732)):
[KCrash Handler]
#6  0x0000000000558243 in  ()
#7  0x00000000005586b1 in  ()
#8  0x0000000000552ec5 in  ()
#9  0x00007f62f847f0ea in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#10 0x000000000054984a in  ()
#11 0x00007f62f847f0ea in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#12 0x00007f62f83fc7bf in QProcess::finished(int, QProcess::ExitStatus) () at /usr/lib64/libQtCore.so.4
#13 0x00007f62f8400bfa in  () at /usr/lib64/libQtCore.so.4
#14 0x00007f62f8400c5e in  () at /usr/lib64/libQtCore.so.4
#15 0x00007f62f847f0ea in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#16 0x00007f62f84ca02e in QSocketNotifier::activated(int) () at /usr/lib64/libQtCore.so.4
#17 0x00007f62f8487e9b in QSocketNotifier::event(QEvent*) () at /usr/lib64/libQtCore.so.4
#18 0x00007f62f736b6fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#19 0x00007f62f7371c3d in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#20 0x00007f62f8ecce3a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#21 0x00007f62f846b17d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#22 0x00007f62f8498d08 in  () at /usr/lib64/libQtCore.so.4
#23 0x00007f62f2402134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#24 0x00007f62f2402388 in  () at /usr/lib64/libglib-2.0.so.0
#25 0x00007f62f240242c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#26 0x00007f62f8497fce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#27 0x00007f62f7408606 in  () at /usr/lib64/libQtGui.so.4
#28 0x00007f62f8469d3f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#29 0x00007f62f846a035 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#30 0x00007f62f846f489 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#31 0x000000000043a8d2 in  ()
#32 0x00007f62f68716e5 in __libc_start_main () at /lib64/libc.so.6
#33 0x000000000043ccc9 in _start ()

Reported using DrKonqi
Comment 1 Michel Ludwig 2017-11-26 06:40:44 UTC
Can you attach a small test case that demonstrates the problem? Thanks.
Comment 2 gabriel 2017-11-30 15:24:28 UTC
I can not provide a test anymore, because now - 7 months later - I do use newer versions of kile, QT, etc.
In Kile 1.9.60 the project building works also for this project.
Comment 3 gabriel 2017-11-30 15:25:21 UTC
sorry, kile 2.9.60 of course.
Comment 4 Andrew Crouthamel 2018-09-19 14:28:47 UTC
This bug has had its resolution changed, but accidentally has been left in NEEDSINFO status. I am thus closing this bug and setting the status as RESOLVED to reflect the resolution change.