SUMMARY Segfault when comparing two directories and their files Unfortunately I cannot provide a stacktrace from gdb as he program behaves differently than without it. Will investigate further and add more details as they come. The error report Dr Konqui is supplied. STEPS TO REPRODUCE 1. I ran kdiff3 folder1 folder2 2. Clicked OK in the comparison report 3. Scrolling on the left panel, where the files are located, produces the segfault (reproducable on my system) OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Linux/KDE Plasma: Operating System: Kubuntu 19.04 KDE Plasma Version: 5.15.4 KDE Frameworks Version: 5.56.0 Qt Version: 5.12.2 Kernel Version: 5.0.0-13-generic OS Type: 64-bit Processors: 4 × Intel® Core™ i5-4200U CPU @ 1.60GHz Memory: 15,6 GiB ADDITIONAL INFORMATION Application: KDiff3 (kdiff3), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f662fccf080 (LWP 11198))] Thread 4 (Thread 0x7f661f753700 (LWP 11203)): #0 0x00007f662458aaeb in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-12.2.so #1 0x00007f662458ba98 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-12.2.so #2 0x00007f662458bdb9 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-12.2.so #3 0x00007f662458c60a in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-12.2.so #4 0x00007f66245ee5e8 in pa_mainloop_dispatch () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #5 0x00007f66245ee8bc in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #6 0x00007f66245ee960 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #7 0x00007f66245fc939 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #8 0x00007f662459c788 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-12.2.so #9 0x00007f6632c15182 in start_thread (arg=<optimized out>) at pthread_create.c:486 #10 0x00007f6633507b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7f661ffff700 (LWP 11201)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562b07361268) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x562b07361218, cond=0x562b07361240) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x562b07361240, mutex=0x562b07361218) at pthread_cond_wait.c:655 #3 0x00007f6624cad36b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #4 0x00007f6624cad0d7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #5 0x00007f6632c15182 in start_thread (arg=<optimized out>) at pthread_create.c:486 #6 0x00007f6633507b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f662cada700 (LWP 11200)): #0 0x00007f66334fb729 in __GI___poll (fds=0x7f6620004e30, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f663225acb6 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f663225addc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f6633bca063 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f6633b755bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f66339c02c6 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f6632f0e565 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #7 0x00007f66339c1612 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f6632c15182 in start_thread (arg=<optimized out>) at pthread_create.c:486 #9 0x00007f6633507b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f662fccf080 (LWP 11198)): [KCrash Handler] #6 0x00007f66346285c0 in QAbstractSlider::value() const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #7 0x0000562b06a22a0a in ?? () #8 0x00007f663457bb58 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #9 0x00007f663453c551 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #10 0x00007f6634545507 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #11 0x00007f6633b768e9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #12 0x00007f663457bb58 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #13 0x00007f66346206ce in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #14 0x00007f6634791e13 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #15 0x00007f66347fa7bb in QTreeView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #16 0x00007f6633b765fb in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #17 0x00007f663453c541 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #18 0x00007f6634545507 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #19 0x00007f6633b768e9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #20 0x00007f6634597cfd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #21 0x00007f6634599593 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #22 0x00007f663453c551 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #23 0x00007f6634543930 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #24 0x00007f6633b768e9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #25 0x00007f6633f48d77 in QGuiApplicationPrivate::processWheelEvent(QWindowSystemInterfacePrivate::WheelEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #26 0x00007f6633f4e065 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #27 0x00007f6633f2805b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #28 0x00007f662f5a367a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #29 0x00007f663225aaae in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #30 0x00007f663225ad48 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #31 0x00007f663225addc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #32 0x00007f6633bca047 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #33 0x00007f6633b755bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #34 0x00007f6633b7d5e2 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #35 0x0000562b069fc932 in ?? () #36 0x00007f6633410b6b in __libc_start_main (main=0x562b069fb810, argc=3, argv=0x7ffd6be18898, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd6be18888) at ../csu/libc-start.c:308 #37 0x0000562b069fcd3a in _start () [Inferior 1 (process 11198) detached]
Looks like its fixed in 1.8 and master. Could you verify this?
I can confirm, sorry to bother you. I couldnt find a report so I did not compile the newest version from source. Thanks for this awesome tool!
Created attachment 120081 [details] attachment-28475-0.html No problem. That's what I'd expect. Now there's a record of it.