Application: kile (2.1.3) KDE Platform Version: 4.10.00 Qt Version: 4.8.4 Operating System: Linux 3.4.28-2.20-desktop i686 Distribution: "openSUSE 12.2 (i586)" -- Information about the crash: - What I was doing when the application crashed: I made a copy of a file already part of the project I had open via Save as and added the new file to the project. Later when closing the project, this crash occurred. When reopening the project, I noticed that the new file was part of the project as of the Documents and Projects panel, but not the original file any more. I've added that back and now the project closed successfully. Is a file in a project silently replaced by the new one as a project member if I use Save as? -- Backtrace: Application: Kile (kile), signal: Segmentation fault Using host libthread_db library "/lib/libthread_db.so.1". [Current thread is 1 (Thread 0xb3e84a80 (LWP 9447))] Thread 4 (Thread 0xb2401b40 (LWP 9448)): #0 0xb6257e8b in pthread_mutex_lock () from /lib/libpthread.so.0 #1 0xb4801940 in g_mutex_lock (mutex=mutex@entry=0xb1b004e0) at gthread-posix.c:208 #2 0xb47c1c3a in g_main_context_iteration (context=0xb1b004e0, may_block=1) at gmain.c:3206 #3 0xb641c64f in QEventDispatcherGlib::processEvents (this=0xb1b00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #4 0xb63e912c in QEventLoop::processEvents (this=this@entry=0xb2401228, flags=...) at kernel/qeventloop.cpp:149 #5 0xb63e9421 in QEventLoop::exec (this=0xb2401228, flags=...) at kernel/qeventloop.cpp:204 #6 0xb62d4b3c in QThread::exec (this=0x8bcb460) at thread/qthread.cpp:542 #7 0xb63c767d in QInotifyFileSystemWatcherEngine::run (this=0x8bcb460) at io/qfilesystemwatcher_inotify.cpp:256 #8 0xb62d7f48 in QThreadPrivate::start (arg=0x8bcb460) at thread/qthread_unix.cpp:338 #9 0xb6255e32 in start_thread () from /lib/libpthread.so.0 #10 0xb55257ee in clone () from /lib/libc.so.6 Thread 3 (Thread 0xb0702b40 (LWP 9451)): #0 g_private_get_impl (key=0xb4873594 <g_thread_specific_private>) at gthread-posix.c:974 #1 0xb4801eb8 in g_private_get (key=key@entry=0xb4873594 <g_thread_specific_private>) at gthread-posix.c:1003 #2 0xb47e6694 in g_thread_self () at gthread.c:996 #3 0xb47c0bf3 in g_main_context_acquire (context=0xafe004e0) at gmain.c:2619 #4 0xb47c1998 in g_main_context_iterate (context=context@entry=0xafe004e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3096 #5 0xb47c1c51 in g_main_context_iteration (context=0xafe004e0, may_block=1) at gmain.c:3207 #6 0xb641c64f in QEventDispatcherGlib::processEvents (this=0xafe00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #7 0xb63e912c in QEventLoop::processEvents (this=this@entry=0xb0702228, flags=...) at kernel/qeventloop.cpp:149 #8 0xb63e9421 in QEventLoop::exec (this=0xb0702228, flags=...) at kernel/qeventloop.cpp:204 #9 0xb62d4b3c in QThread::exec (this=0x886a060) at thread/qthread.cpp:542 #10 0xb63c767d in QInotifyFileSystemWatcherEngine::run (this=0x886a060) at io/qfilesystemwatcher_inotify.cpp:256 #11 0xb62d7f48 in QThreadPrivate::start (arg=0x886a060) at thread/qthread_unix.cpp:338 #12 0xb6255e32 in start_thread () from /lib/libpthread.so.0 #13 0xb55257ee in clone () from /lib/libc.so.6 Thread 2 (Thread 0xaeb77b40 (LWP 9470)): #0 0xb773c424 in __kernel_vsyscall () #1 0xb6259a4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb4e7c20d in QTWTF::TCMalloc_PageHeap::scavengerThread (this=this@entry=0xb4f8a560 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359 #3 0xb4e7c23f in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb4f8a560 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464 #4 0xb6255e32 in start_thread () from /lib/libpthread.so.0 #5 0xb55257ee in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb3e84a80 (LWP 9447)): [KCrash Handler] #7 0x00000003 in ?? () #8 0x081ded9a in KileDocument::Manager::removeTextDocumentInfo (this=0x8966680, docinfo=0xa3c8108, closingproject=true) at /usr/src/debug/kile-2.1.3/src/kiledocmanager.cpp:504 #9 0x081e76e6 in KileDocument::Manager::projectClose (this=0x8966680, url=...) at /usr/src/debug/kile-2.1.3/src/kiledocmanager.cpp:1846 #10 0x081e92dc in KileDocument::Manager::qt_static_metacall (_o=_o@entry=0x8966680, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=76, _a=0xbfa4ddd8) at /usr/src/debug/kile-2.1.3/build/src/kiledocmanager.moc:322 #11 0xb64029b2 in QMetaObject::activate (sender=0x924e5e8, m=0xb61ad378 <QAction::staticMetaObject>, local_signal_index=1, argv=0xbfa4ddd8) at kernel/qobject.cpp:3548 #12 0xb5831b3d in QAction::triggered (this=this@entry=0x924e5e8, _t1=false) at .moc/release-shared/moc_qaction.cpp:277 #13 0xb5831ddc in QAction::activate (this=this@entry=0x924e5e8, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257 #14 0xb583218c in trigger (this=0x924e5e8) at kernel/qaction.h:218 #15 qt_static_metacall (_a=0xa98b8a0, _id=8, _o=0x924e5e8, _c=<optimized out>) at .moc/release-shared/moc_qaction.cpp:151 #16 QAction::qt_static_metacall (_o=0x924e5e8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xa98b8a0) at .moc/release-shared/moc_qaction.cpp:137 #17 0xb63fc3da in QMetaCallEvent::placeMetaCall (this=0x939a0a0, object=0x924e5e8) at kernel/qobject.cpp:524 #18 0xb640093b in QObject::event (this=0x924e5e8, e=0x939a0a0) at kernel/qobject.cpp:1203 #19 0xb5831eb5 in event (e=<optimized out>, this=<optimized out>) at kernel/qaction.cpp:1187 #20 QAction::event (this=0x924e5e8, e=0xa3c8108) at kernel/qaction.cpp:1172 #21 0xb692a309 in KAction::event (this=0x924e5e8, event=0x939a0a0) at /usr/src/debug/kdelibs-4.10.0/kdeui/actions/kaction.cpp:131 #22 0xb5838b9c in QApplicationPrivate::notify_helper (this=0x8855d60, receiver=0x924e5e8, e=0x939a0a0) at kernel/qapplication.cpp:4562 #23 0xb583d59f in QApplication::notify (this=0x939a0a0, receiver=0x924e5e8, e=0x939a0a0) at kernel/qapplication.cpp:3944 #24 0xb6a22b61 in KApplication::notify (this=0xbfa4e860, receiver=0x924e5e8, event=0x939a0a0) at /usr/src/debug/kdelibs-4.10.0/kdeui/kernel/kapplication.cpp:311 #25 0xb63ea65e in QCoreApplication::notifyInternal (this=0xbfa4e860, receiver=0x924e5e8, event=0x939a0a0) at kernel/qcoreapplication.cpp:946 #26 0xb63ee3ad in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231 #27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8833370) at kernel/qcoreapplication.cpp:1570 #28 0xb63ee62c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1463 #29 0xb641c4b4 in sendPostedEvents () at kernel/qcoreapplication.h:236 #30 postEventSourceDispatch (s=s@entry=0x8853698) at kernel/qeventdispatcher_glib.cpp:279 #31 0xb47c17d3 in g_main_dispatch (context=0x8852d90) at gmain.c:2539 #32 g_main_context_dispatch (context=context@entry=0x8852d90) at gmain.c:3075 #33 0xb47c1b70 in g_main_context_iterate (context=context@entry=0x8852d90, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3146 #34 0xb47c1c51 in g_main_context_iteration (context=0x8852d90, may_block=1) at gmain.c:3207 #35 0xb641c631 in QEventDispatcherGlib::processEvents (this=0x88369b8, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #36 0xb58ea48a in QGuiEventDispatcherGlib::processEvents (this=0x88369b8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #37 0xb63e912c in QEventLoop::processEvents (this=this@entry=0xbfa4e628, flags=...) at kernel/qeventloop.cpp:149 #38 0xb63e9421 in QEventLoop::exec (this=0xbfa4e628, flags=...) at kernel/qeventloop.cpp:204 #39 0xb63ee6da in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218 #40 0xb5836a14 in QApplication::exec () at kernel/qapplication.cpp:3823 #41 0x080768da in main (argc=1, argv=0xbfa4eb24) at /usr/src/debug/kile-2.1.3/src/main.cpp:175 Reported using DrKonqi
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone!
After testing it now, I noticed that indeed "Save as" causes the file in the project to be replaced, i.e. only the new file is included in the project after "Save as". The original file must be added manually again. I could not trigger a crash any more.