[Bug 169692] unapply difference button is crashing kompare if no difference is applied

Kushal Das kushaldas at gmail.com
Mon Aug 25 08:20:55 CEST 2008


http://bugs.kde.org/show_bug.cgi?id=169692


Kushal Das kushaldas gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kushaldas at gmail.com




--- Comment #2 from Kushal Das <kushaldas gmail com>  2008-08-25 08:20:52 ---
Hope the below helps:


[kdas at d80 ~]$ gdb kompare
GNU gdb Fedora (6.8-17.fc9)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.           
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"   
and "show warranty" for details.                                             
This GDB was configured as "i386-redhat-linux-gnu"...                        
(gdb) run                                                                    
Starting program: /usr/bin/kompare                                           
[Thread debugging using libthread_db enabled]                                
[New Thread 0xb7edc770 (LWP 8671)]                                           
[New Thread 0xb6641b90 (LWP 8674)]                                           
Detaching after fork from child process 8675.                                

Program received signal SIGSEGV, Segmentation fault.
0x0027561d in Diff2::KompareModelList::slotActionUnApplyDifference (this=<value
optimized out>)
    at /usr/src/debug/kdesdk-4.1.0/kompare/libdiff2/komparemodellist.cpp:1420   
1420            if ( m_selectedDifference->applied() )                          
Missing separate debuginfos, use: debuginfo-install OpenEXR.i386 acl.i386
attr.i386 bzip2.i386 dbus.i386 e2fsprogs.i386 expat.i386 fontconfig.i386
freetype.i386 gamin.i386 gcc.i386 glib2.i386 glibc.i686 ilmbase.i386
jasper.i386 kdebase-runtime.i386 kdelibs.i386 keyutils.i386 krb5.i386 lcms.i386
libICE.i386 libSM.i386 libX11.i386 libXau.i386 libXcursor.i386 libXdmcp.i386
libXext.i386 libXfixes.i386 libXft.i386 libXi.i386 libXinerama.i386 libXpm.i386
libXrandr.i386 libXrender.i386 libXtst.i386 libcap.i386 libjpeg.i386
libmng.i386 libpng.i386 libselinux.i386 libtiff.i386 libxcb.i386 libxml2.i386
openssl.i686 qt.i386 scim-bridge.i386 strigi.i386 zlib.i386                     
(gdb) thread apply all bt                                                       

Thread 2 (Thread 0xb6641b90 (LWP 8674)):
#0  0x00110416 in __kernel_vsyscall ()  
#1  0x00b97671 in select () from /lib/libc.so.6
#2  0x04d94ac7 in ?? () from /usr/lib/libQtCore.so.4
#3  0x04cc5232 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00c6432f in start_thread () from /lib/libpthread.so.0
#5  0x00b9f20e in clone () from /lib/libc.so.6             

Thread 1 (Thread 0xb7edc770 (LWP 8671)):
#0  0x0027561d in Diff2::KompareModelList::slotActionUnApplyDifference
(this=<value optimized out>)
    at /usr/src/debug/kdesdk-4.1.0/kompare/libdiff2/komparemodellist.cpp:1420   
#1  0x00279ffd in Diff2::KompareModelList::qt_metacall (this=<value optimized
out>, _c=<value optimized out>, _id=<value optimized out>,
    _a=<value optimized out>) at
/usr/src/debug/kdesdk-4.1.0/i386-redhat-linux-gnu/kompare/libdiff2/komparemodellist.moc:147
#2  0x04dca3e0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#3  0x04dca7e0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#4  0x052d5031 in QAction::triggered () from /usr/lib/libQtGui.so.4
#5  0x052d599f in QAction::activate () from /usr/lib/libQtGui.so.4
#6  0x056f9432 in QToolButton::nextCheckState () from /usr/lib/libQtGui.so.4
#7  0x0561cd63 in ?? () from /usr/lib/libQtGui.so.4
#8  0x0561d036 in QAbstractButton::mouseReleaseEvent () from
/usr/lib/libQtGui.so.4
#9  0x056f992c in QToolButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#10 0x053330c2 in QWidget::event () from /usr/lib/libQtGui.so.4
#11 0x0561b05e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#12 0x056f93f4 in QToolButton::event () from /usr/lib/libQtGui.so.4
#13 0x052db30c in QApplicationPrivate::notify_helper () from
/usr/lib/libQtGui.so.4
#14 0x052e3b21 in QApplication::notify () from /usr/lib/libQtGui.so.4
#15 0x07422ddd in KApplication::notify () from /usr/lib/libkdeui.so.5
#16 0x04db5731 in QCoreApplication::notifyInternal () from
/usr/lib/libQtCore.so.4
#17 0x052e2dae in QApplicationPrivate::sendMouseEvent () from
/usr/lib/libQtGui.so.4
#18 0x0534ce16 in ?? () from /usr/lib/libQtGui.so.4
#19 0x0534c185 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#20 0x053746cc in ?? () from /usr/lib/libQtGui.so.4
#21 0x005aa0d8 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0x005ad783 in ?? () from /lib/libglib-2.0.so.0
#23 0x005ad941 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0x04ddfea8 in QEventDispatcherGlib::processEvents () from
/usr/lib/libQtCore.so.4
#25 0x05373d95 in ?? () from /usr/lib/libQtGui.so.4
#26 0x04db3e1a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#27 0x04db3fda in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#28 0x04db6685 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#29 0x052db187 in QApplication::exec () from /usr/lib/libQtGui.so.4
#30 0x0804fb3d in main (argc=1, argv=0xbfc06604) at
/usr/src/debug/kdesdk-4.1.0/kompare/main.cpp:231


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kompare-devel mailing list