https://bugs.kde.org/show_bug.cgi?id=419284
Bug ID: 419284 Summary: KDiff3 crashes when dialogue box cancelled on possibly binary file warning Product: kdiff3 Version: 1.8.x Platform: openSUSE RPMs OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: application Assignee: reeves...@gmail.com Reporter: szots...@gmail.com Target Milestone: --- DrKonqui seems unable to reach the REST API therefore I copy the report here manually. Application: kdiff3 (1.8.1 (64 bit)) Qt Version: 5.14.1 Frameworks Version: 5.67.0 Operating System: Linux 5.5.7-1-default x86_64 Windowing system: X11 Distribution: openSUSE Tumbleweed -- Information about the crash: - What I was doing when the application crashed: 1. Open a three way merge with "--auto" command line option where one of the files is "possibly binary" 2. KDiff3 shows the following statistics: Total number of conflicts: 0 Nr of automatically solved conflicts: 0 Nr of unsolved conflicts: 0 3. KDiff3 will refuse to open them and asks whether I want to continue: Some input files do not seem to be pure text files. Note that the KDiff3 merge was not meant for binary data. Continue at your own risk. 4. It says "The merge result has not been saved." 5. Click on "Cancel" and KDiff3 crashes -- Backtrace: Application: KDiff3 (kdiff3), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". 29 return SYSCALL_CANCEL (poll, fds, nfds, timeout); [Current thread is 1 (Thread 0x7fec933bb800 (LWP 19658))] Thread 3 (Thread 0x7fec88d13700 (LWP 19663)): #0 __GI___libc_read (nbytes=10, buf=0x7fec88d12bde, fd=10) at ../sysdeps/unix/sysv/linux/read.c:26 #1 __GI___libc_read (fd=fd@entry=10, buf=buf@entry=0x7fec88d12bde, nbytes=nbytes@entry=10) at ../sysdeps/unix/sysv/linux/read.c:24 #2 0x00007fec88ebe0f1 in read (__nbytes=10, __buf=0x7fec88d12bde, __fd=10) at /usr/include/bits/unistd.h:44 #3 pa_read (fd=10, buf=buf@entry=0x7fec88d12bde, count=count@entry=10, type=type@entry=0x55e2eac5ef18) at pulsecore/core-util.c:422 #4 0x00007fec88f40a0e in clear_wakeup (m=<optimized out>) at pulse/mainloop.c:782 #5 pa_mainloop_prepare (m=m@entry=0x55e2eac5ee40, timeout=-1) at pulse/mainloop.c:789 #6 0x00007fec88f414b0 in pa_mainloop_iterate (m=0x55e2eac5ee40, block=<optimized out>, retval=0x0) at pulse/mainloop.c:923 #7 0x00007fec88f41570 in pa_mainloop_run (m=0x55e2eac5ee40, retval=retval@entry=0x0) at pulse/mainloop.c:945 #8 0x00007fec88f4f439 in thread (userdata=0x55e2eac5edf0) at pulse/thread-mainloop.c:101 #9 0x00007fec88eebd78 in internal_thread_func (userdata=0x55e2eac7c4c0) at pulsecore/thread-posix.c:81 #10 0x00007fec947d9efa in start_thread (arg=<optimized out>) at pthread_create.c:477 #11 0x00007fec96c973bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7fec8b973700 (LWP 19661)): #0 __GI___libc_read (nbytes=16, buf=0x7fec8b972b50, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26 #1 __GI___libc_read (fd=7, buf=buf@entry=0x7fec8b972b50, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24 #2 0x00007fec93ca620f in read (__nbytes=16, __buf=0x7fec8b972b50, __fd=<optimized out>) at /usr/include/bits/unistd.h:44 #3 g_wakeup_acknowledge (wakeup=0x55e2ea61c1b0) at ../glib/gwakeup.c:210 #4 0x00007fec93c5ee57 in g_main_context_check (context=context@entry=0x7fec84000c20, max_priority=2147483647, fds=fds@entry=0x7fec84004e60, n_fds=n_fds@entry=1) at ../glib/gmain.c:3732 #5 0x00007fec93c5f2a2 in g_main_context_iterate (context=context@entry=0x7fec84000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3951 #6 0x00007fec93c5f41f in g_main_context_iteration (context=0x7fec84000c20, may_block=may_block@entry=1) at ../glib/gmain.c:4015 #7 0x00007fec9556dc6b in QEventDispatcherGlib::processEvents (this=0x7fec84000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #8 0x00007fec95515bfb in QEventLoop::exec (this=this@entry=0x7fec8b972d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136 #9 0x00007fec9534062e in QThread::exec (this=this@entry=0x7fec94b32da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118 #10 0x00007fec94ab0507 in QDBusConnectionManager::run (this=0x7fec94b32da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179 #11 0x00007fec953416f8 in QThreadPrivate::start (arg=0x7fec94b32da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342 #12 0x00007fec947d9efa in start_thread (arg=<optimized out>) at pthread_create.c:477 #13 0x00007fec96c973bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7fec933bb800 (LWP 19658)): [KCrash Handler] #6 MergeResultWindow::MergeEditLine::getString (this=0x10, mrw=mrw@entry=0x55e2eac1dd10) at /usr/src/debug/kdiff3-1.8.1-1.4.x86_64/src/mergeresultwindow.cpp:1661 #7 0x000055e2e88bb1b6 in MergeResultWindow::keyPressEvent (this=0x55e2eac1dd10, e=0x7ffd5ef427c0) at /usr/include/c++/9/ext/aligned_buffer.h:72 #8 0x00007fec96061a85 in QWidget::event (this=0x55e2eac1dd10, event=0x7ffd5ef427c0) at kernel/qwidget.cpp:8690 #9 0x00007fec9601ecaf in QApplicationPrivate::notify_helper (this=this@entry=0x55e2ea53a950, receiver=receiver@entry=0x55e2eac1dd10, e=e@entry=0x7ffd5ef427c0) at kernel/qapplication.cpp:3684 #10 0x00007fec96028519 in QApplication::notify (this=<optimized out>, receiver=0x55e2eac1dd10, e=0x7ffd5ef427c0) at kernel/qapplication.cpp:3046 #11 0x00007fec95517062 in QCoreApplication::notifyInternal2 (receiver=0x55e2eac1dd10, event=0x7ffd5ef427c0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153 #12 0x00007fec9607f6be in QWidgetWindow::event (event=0x7ffd5ef427c0, this=0x55e2eaac0790) at kernel/qwidgetwindow.cpp:288 #13 QWidgetWindow::event (this=0x55e2eaac0790, event=0x7ffd5ef427c0) at kernel/qwidgetwindow.cpp:238 #14 0x00007fec9601ecaf in QApplicationPrivate::notify_helper (this=this@entry=0x55e2ea53a950, receiver=receiver@entry=0x55e2eaac0790, e=e@entry=0x7ffd5ef427c0) at kernel/qapplication.cpp:3684 #15 0x00007fec96027df0 in QApplication::notify (this=0x7ffd5ef42c20, receiver=0x55e2eaac0790, e=0x7ffd5ef427c0) at kernel/qapplication.cpp:3430 #16 0x00007fec95517062 in QCoreApplication::notifyInternal2 (receiver=0x55e2eaac0790, event=0x7ffd5ef427c0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153 #17 0x00007fec9592a9a3 in QGuiApplicationPrivate::processKeyEvent (e=e@entry=0x55e2eacac0d0) at kernel/qguiapplication.cpp:2341 #18 0x00007fec9592fb4b in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x55e2eacac0d0) at kernel/qguiapplication.cpp:1947 #19 0x00007fec9590953b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1163 #20 0x00007fec9150ba6a in xcbSourceDispatch (source=source@entry=0x55e2ea610b80) at qxcbeventdispatcher.cpp:105 #21 0x00007fec93c5f008 in g_main_dispatch (context=0x7fec8c005000) at ../glib/gmain.c:3216 #22 g_main_context_dispatch (context=context@entry=0x7fec8c005000) at ../glib/gmain.c:3881 #23 0x00007fec93c5f390 in g_main_context_iterate (context=context@entry=0x7fec8c005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3954 #24 0x00007fec93c5f41f in g_main_context_iteration (context=0x7fec8c005000, may_block=may_block@entry=1) at ../glib/gmain.c:4015 #25 0x00007fec9556dc4e in QEventDispatcherGlib::processEvents (this=0x55e2ea60d8e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #26 0x00007fec95515bfb in QEventLoop::exec (this=this@entry=0x7ffd5ef42ac0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136 #27 0x00007fec9551d9d2 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:118 #28 0x000055e2e88a178a in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdiff3-1.8.1-1.4.x86_64/src/main.cpp:175 [Inferior 1 (process 19658) detached] Possible duplicates by query: bug 418660, bug 417681, bug 414938, bug 414728, bug 413345. -- You are receiving this mail because: You are watching all bug changes.