Bug 365848 - Kate seg fault on exit
Summary: Kate seg fault on exit
Status: RESOLVED DUPLICATE of bug 361632
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-07-19 08:43 UTC by Silas Parker
Modified: 2016-07-21 11:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silas Parker 2016-07-19 08:43:57 UTC
Application: kate (15.12.3)

Qt Version: 5.6.1
Frameworks Version: 5.23.0
Operating System: Linux 4.5.7-202.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"

-- Information about the crash:
- What I was doing when the application crashed:
I closed kate and it crashed, this seems to happen every time.

Fedora 23 RPM Versions:
kate-15.12.3-3.fc23.x86_64
kate-plugins-15.12.3-3.fc23.x86_64
kf5-ktexteditor-5.23.0-1.fc23.x86_64
kf5-ktextwidgets-5.23.0-1.fc23.x86_64

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f92a451f8c0 (LWP 628))]

Thread 6 (Thread 0x7f929a3e1700 (LWP 635)):
#0  0x00007f92b2805b1d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f92afcbf272 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7f929a3e0c00) at /usr/include/bits/poll2.h:46
#2  0x00007f92afcbf272 in _xcb_conn_wait (c=c@entry=0x55d9b91c1650, cond=cond@entry=0x55d9b91c1690, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007f92afcc0ee7 in xcb_wait_for_event (c=0x55d9b91c1650) at xcb_in.c:693
#4  0x00007f929d959039 in QXcbEventReader::run() (this=0x55d9b91d4740) at qxcbconnection.cpp:1325
#5  0x00007f92b341000c in QThreadPrivate::start(void*) (arg=0x55d9b91d4740) at thread/qthread_unix.cpp:341
#6  0x00007f92b0f9161a in start_thread (arg=0x7f929a3e1700) at pthread_create.c:334
#7  0x00007f92b281159d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f928e339700 (LWP 636)):
#0  0x00007f92b2805b1d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f92af15e18c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f9288009960, timeout=<optimized out>, context=0x7f9288000990) at gmain.c:4135
#2  0x00007f92af15e18c in g_main_context_iterate (context=context@entry=0x7f9288000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835
#3  0x00007f92af15e29c in g_main_context_iteration (context=0x7f9288000990, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f92b35fab5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f92880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f92b35ab25a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f928e338cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f92b340bbd4 in QThread::exec() (this=this@entry=0x7f92b3873040 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#7  0x00007f92b37ff675 in QDBusConnectionManager::run() (this=0x7f92b3873040 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:189
#8  0x00007f92b341000c in QThreadPrivate::start(void*) (arg=0x7f92b3873040 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#9  0x00007f92b0f9161a in start_thread (arg=0x7f928e339700) at pthread_create.c:334
#10 0x00007f92b281159d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f9286d77700 (LWP 641)):
#0  0x00007f92b2805b1d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f92af15e18c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f92800008c0, timeout=<optimized out>, context=0x55d9b99f6940) at gmain.c:4135
#2  0x00007f92af15e18c in g_main_context_iterate (context=context@entry=0x55d9b99f6940, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835
#3  0x00007f92af15e29c in g_main_context_iteration (context=0x55d9b99f6940, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f92af15e2d9 in glib_worker_main (data=<optimized out>) at gmain.c:5672
#5  0x00007f92af1848e5 in g_thread_proxy (data=0x55d9b9419c50) at gthread.c:778
#6  0x00007f92b0f9161a in start_thread (arg=0x7f9286d77700) at pthread_create.c:334
#7  0x00007f92b281159d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f9286576700 (LWP 642)):
#0  0x00007f92b2805b1d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f92af15e18c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f92780010c0, timeout=<optimized out>, context=0x55d9b9a1a9a0) at gmain.c:4135
#2  0x00007f92af15e18c in g_main_context_iterate (context=0x55d9b9a1a9a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835
#3  0x00007f92af15e512 in g_main_loop_run (loop=0x55d9b9a1a930) at gmain.c:4034
#4  0x00007f929a6c6516 in gdbus_shared_thread_func (user_data=0x55d9b9a1a970) at gdbusprivate.c:246
#5  0x00007f92af1848e5 in g_thread_proxy (data=0x55d9b9419ca0) at gthread.c:778
#6  0x00007f92b0f9161a in start_thread (arg=0x7f9286576700) at pthread_create.c:334
#7  0x00007f92b281159d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f927db2c700 (LWP 643)):
#0  0x00007f92b0f96b20 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f92856f6e43 in radeon_drm_cs_emit_ioctl (mtx=0x55d9b9bf3830, cond=0x55d9b9bf3858) at ../../../../../include/c11/threads_posix.h:159
#2  0x00007f92856f6e43 in radeon_drm_cs_emit_ioctl (sema=0x55d9b9bf3830) at ../../../../../src/gallium/auxiliary/os/os_thread.h:259
#3  0x00007f92856f6e43 in radeon_drm_cs_emit_ioctl (param=param@entry=0x55d9b9bf34e0) at radeon_drm_winsys.c:653
#4  0x00007f92856f6597 in impl_thrd_routine (p=<optimized out>) at ../../../../../include/c11/threads_posix.h:87
#5  0x00007f92b0f9161a in start_thread (arg=0x7f927db2c700) at pthread_create.c:334
#6  0x00007f92b281159d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f92a451f8c0 (LWP 628)):
[KCrash Handler]
#6  0x00007f92b2857624 in __memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:244
#7  0x000055d9b7a14f90 in KateApp::mainWindow(int) (__len=<optimized out>, __src=<optimized out>, __dest=<optimized out>) at /usr/include/bits/string3.h:53
#8  0x000055d9b7a14f90 in KateApp::mainWindow(int) (this=0x7ffcde423e68, src=<optimized out>, to=<optimized out>, from=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:455
#9  0x000055d9b7a14f90 in KateApp::mainWindow(int) (alloc=<optimized out>, this=0x7ffcde423e68) at /usr/include/qt5/QtCore/qlist.h:757
#10 0x000055d9b7a14f90 in KateApp::mainWindow(int) (this=0x7ffcde423e68) at /usr/include/qt5/QtCore/qlist.h:771
#11 0x000055d9b7a14f90 in KateApp::mainWindow(int) (this=0x7ffcde423e68) at /usr/include/qt5/QtCore/qlist.h:159
#12 0x000055d9b7a14f90 in KateApp::mainWindow(int) (i=0, this=0x7ffcde423e68) at /usr/include/qt5/QtCore/qlist.h:519
#13 0x000055d9b7a14f90 in KateApp::mainWindow(int) (this=0x7ffcde423d80, n=n@entry=0) at /usr/src/debug/kate-15.12.3/kate/kateapp.cpp:373
#14 0x000055d9b7a29ada in KatePluginManager::disablePluginGUI(KatePluginInfo*) (this=this@entry=0x7ffcde423e00, item=item@entry=0x55d9b96443b0) at /usr/src/debug/kate-15.12.3/kate/katepluginmanager.cpp:279
#15 0x000055d9b7a29b20 in KatePluginManager::unloadPlugin(KatePluginInfo*) (this=this@entry=0x7ffcde423e00, item=0x55d9b96443b0) at /usr/src/debug/kate-15.12.3/kate/katepluginmanager.cpp:200
#16 0x000055d9b7a29ede in KatePluginManager::unloadAllPlugins() (this=this@entry=0x7ffcde423e00) at /usr/src/debug/kate-15.12.3/kate/katepluginmanager.cpp:156
#17 0x000055d9b7a29f3e in KatePluginManager::~KatePluginManager() (this=0x7ffcde423e00, __in_chrg=<optimized out>) at /usr/src/debug/kate-15.12.3/kate/katepluginmanager.cpp:52
#18 0x000055d9b7a154bf in KateApp::~KateApp() (this=0x7ffcde423d80, __in_chrg=<optimized out>) at /usr/src/debug/kate-15.12.3/kate/kateapp.cpp:65
#19 0x000055d9b7a10953 in main(int, char**) (argc=2, argv=<optimized out>) at /usr/src/debug/kate-15.12.3/kate/main.cpp:428

Reported using DrKonqi
Comment 1 Dominik Haumann 2016-07-21 11:14:06 UTC
Fixed in KDE Applications > 15.12.3

*** This bug has been marked as a duplicate of bug 361632 ***