Bug 309704

Summary: segfault while creating a new project on a network drive
Product: [Applications] kile Reporter: prolineserver
Component: user interfaceAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED WORKSFORME    
Severity: crash CC: prolineserver
Priority: NOR Keywords: triaged
Version First Reported In: 2.1.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description prolineserver 2012-11-07 15:37:03 UTC
Application: Kile (kile), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd389987780 (LWP 10851))]

Thread 3 (Thread 0x7fd37ef18700 (LWP 10853)):
#0  0x00007fd3934b6303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fd38e84cd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd38e84d1e2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd386af73b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fd38e870645 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd38f113e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fd3934c1cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd374a2b700 (LWP 10854)):
#0  0x00007fd38eb0015d in clock_gettime () from /lib/x86_64-linux-gnu/librt.so.1
#1  0x00007fd394c9e9c4 in do_gettime (frac=0x7fd374a2ab28, sec=0x7fd374a2ab20) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00007fd394d7441d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fd36c001330) at kernel/qeventdispatcher_unix.cpp:343
#4  0x00007fd394d74763 in QTimerInfoList::timerWait (this=0x7fd36c001330, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x00007fd394d732cc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fd374a2ac14) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007fd394d73375 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00007fd38e84c618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fd38e84ccab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fd38e84cea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fd394d73c16 in QEventDispatcherGlib::processEvents (this=0x7fd36c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00007fd394d442bf in QEventLoop::processEvents (this=this@entry=0x7fd374a2add0, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007fd394d44548 in QEventLoop::exec (this=0x7fd374a2add0, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007fd394c45b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#14 0x00007fd394d249af in QInotifyFileSystemWatcherEngine::run (this=0x220f9a0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00007fd394c48aec in QThreadPrivate::start (arg=0x220f9a0) at thread/qthread_unix.cpp:338
#16 0x00007fd38f113e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#17 0x00007fd3934c1cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd389987780 (LWP 10851)):
[KCrash Handler]
#5  0x00000000004f45c4 in ?? ()
#6  0x00000000005732cf in ?? ()
#7  0x00000000005791c7 in ?? ()
#8  0x00000000005783f9 in ?? ()
#9  0x000000000057fe1e in ?? ()
#10 0x00007fd394d5af5f in QMetaObject::activate (sender=0x2ba7ff0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff1143ad80) at kernel/qobject.cpp:3547
#11 0x00007fd393e6ba32 in QAction::triggered (this=this@entry=0x2ba7ff0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#12 0x00007fd393e6bc20 in QAction::activate (this=0x2ba7ff0, event=<optimized out>) at kernel/qaction.cpp:1257
#13 0x00007fd394d5a43e in QObject::event (this=0x2ba7ff0, e=<optimized out>) at kernel/qobject.cpp:1195
#14 0x00007fd393e6bcf1 in event (e=<optimized out>, this=<optimized out>) at kernel/qaction.cpp:1187
#15 QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1172
#16 0x00007fd3956a9867 in KAction::event(QEvent*) () from /usr/lib/libkdeui.so.5
#17 0x00007fd393e71e9c in QApplicationPrivate::notify_helper (this=this@entry=0x1dbf850, receiver=receiver@entry=0x2ba7ff0, e=e@entry=0x2aeb020) at kernel/qapplication.cpp:4562
#18 0x00007fd393e7630a in QApplication::notify (this=0x7fff1143c100, receiver=0x2ba7ff0, e=0x2aeb020) at kernel/qapplication.cpp:4423
#19 0x00007fd3957831d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#20 0x00007fd394d4556e in QCoreApplication::notifyInternal (this=0x7fff1143c100, receiver=receiver@entry=0x2ba7ff0, event=event@entry=0x2aeb020) at kernel/qcoreapplication.cpp:915
#21 0x00007fd394d493f1 in sendEvent (event=0x2aeb020, receiver=0x2ba7ff0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1d8d670) at kernel/qcoreapplication.cpp:1539
#23 0x00007fd394d73a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#24 postEventSourceDispatch (s=0x1dbe0e0) at kernel/qeventdispatcher_glib.cpp:279
#25 0x00007fd38e84cab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fd38e84cde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fd38e84cea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fd394d73bf6 in QEventDispatcherGlib::processEvents (this=0x1d8eb30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#29 0x00007fd393f16c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007fd394d442bf in QEventLoop::processEvents (this=this@entry=0x7fff1143b770, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007fd394d44548 in QEventLoop::exec (this=0x7fff1143b770, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007fd394d49708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#33 0x00000000004cada8 in ?? ()
#34 0x00007fd3933ef76d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#35 0x0000000000436589 in _start ()


Reproducible: Always

Steps to Reproduce:
1. Project-> new project
2. selecting a folder on the network smb://me@server/folder
3. unselecting create a new file
4. OK
5. 
Actual Results:  
Executable: kile PID: 10956 Signal: Segmentation fault (11)


Expected Results:  
a new project should be created

kile(10956)/kdecore (KLibrary) findLibraryInternal: plugins should not have a 'lib' prefix: "libkonsolepart.so"
kile(10956)/konsole Konsole::Session::run: Attempted to re-run an already running session. 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x500012f
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x500013a
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x5000145
KCrash: Application 'kile' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/user/.kde/socket-notebook/kdeinit4__0

[1]+  Stopped                 kile
Comment 1 Michel Ludwig 2013-03-02 20:08:49 UTC
Can you install debug packages for Kile, kdelibs and Qt? This will probably make the crash backtrace more informative.

Note however that creating projects on network drives is not supported (using smb:// URLs). You will have to mount the drive first.
Comment 2 Andrew Crouthamel 2018-09-24 02:06:06 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-10-27 03:41:43 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!