Bug 181148 - Kompare crash on save file.
Summary: Kompare crash on save file.
Status: RESOLVED DUPLICATE of bug 165421
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-18 10:06 UTC by Paweł Prażak
Modified: 2009-01-23 18:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Prażak 2009-01-18 10:06:40 UTC
Version:           3.5.2 (using 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)) "release 78.1", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.7-9-default

Every time when i compare two files, aply some changes and try to save, kompare crash.

Backtrace:

Application: Kompare (kompare), signal SIGSEGV
0x00007fcc024dace1 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7fcc06dd6750 (LWP 20156))]

Thread 2 (Thread 0x7fcbf7142950 (LWP 20157)):
#0  0x00007fcc02505642 in select () from /lib64/libc.so.6
#1  0x00007fcc0324f366 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007fcc03186f72 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fcc02f13070 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fcc0250c0ed in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fcc06dd6750 (LWP 20156)):
[KCrash Handler]
#5  0x00007fcc03e36f88 in QX11Info::screen() const () from /usr/lib64/libQtGui.so.4
#6  0x00007fcc03e3154d in QWidgetPrivate::create_sys(unsigned long, bool, bool) () from /usr/lib64/libQtGui.so.4
#7  0x00007fcc03dfa0fa in QWidget::create(unsigned long, bool, bool) () from /usr/lib64/libQtGui.so.4
#8  0x00007fcc03dfa8ff in QWidget::winId() const () from /usr/lib64/libQtGui.so.4
#9  0x00007fcc05610fc5 in ?? () from /usr/lib64/libkio.so.5
#10 0x00007fcc05601a59 in KIO::NetAccess::filecopyInternal(KUrl const&, KUrl const&, int, QFlags<KIO::JobFlag>, QWidget*, bool) () from /usr/lib64/libkio.so.5
#11 0x00007fcc05602aeb in KIO::NetAccess::upload(QString const&, KUrl const&, QWidget*) () from /usr/lib64/libkio.so.5
#12 0x00007fcc067e4a0d in Diff2::KompareModelList::saveDestination(Diff2::DiffModel*) () from /usr/lib64/libkomparediff2.so.4
#13 0x00007fcc067e52aa in Diff2::KompareModelList::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkomparediff2.so.4
#14 0x00007fcc03283454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#15 0x00007fcc03da4527 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#16 0x00007fcc03da4cf0 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#17 0x00007fcc040b55aa in ?? () from /usr/lib64/libQtGui.so.4
#18 0x00007fcc040b5845 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007fcc0417d08a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007fcc03dfc799 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00007fcc03daa1bd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x00007fcc03db27fa in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x00007fcc04b76afb in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#24 0x00007fcc0326f091 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#25 0x00007fcc03db1b98 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib64/libQtGui.so.4
#26 0x00007fcc03e16049 in ?? () from /usr/lib64/libQtGui.so.4
#27 0x00007fcc03e14a67 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#28 0x00007fcc03e3b204 in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00007fcbfeff90db in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007fcbfeffc8ad in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007fcbfeffca6b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007fcc032974ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#33 0x00007fcc03e3a9af in ?? () from /usr/lib64/libQtGui.so.4
#34 0x00007fcc0326d9a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#35 0x00007fcc0326db2d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#36 0x00007fcc0326fffd in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#37 0x000000000040a31d in _start ()
Comment 1 Paweł Prażak 2009-01-18 10:18:02 UTC
When I try to save patch:

and btw
openSUSE 11.1 x86_64
Qt: 4.4.3
KDE: 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)) "release 78.1"
Plasma Workspace: 0.3


Backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff501bf88 in QX11Info::screen() const () from /usr/lib64/libQtGui.so.4
(gdb)                                                                          
(gdb) bt                                                                       
#0  0x00007ffff501bf88 in QX11Info::screen() const () from /usr/lib64/libQtGui.so.4
#1  0x00007ffff501654d in QWidgetPrivate::create_sys(unsigned long, bool, bool) () from /usr/lib64/libQtGui.so.4
#2  0x00007ffff4fdf0fa in QWidget::create(unsigned long, bool, bool) () from /usr/lib64/libQtGui.so.4           
#3  0x00007ffff4fdf8ff in QWidget::winId() const () from /usr/lib64/libQtGui.so.4                               
#4  0x00007ffff67f5fc5 in ?? () from /usr/lib64/libkio.so.5                                                     
#5  0x00007ffff67e6a59 in KIO::NetAccess::filecopyInternal(KUrl const&, KUrl const&, int, QFlags<KIO::JobFlag>, QWidget*, bool) () from /usr/lib64/libkio.so.5
#6  0x00007ffff67e7aeb in KIO::NetAccess::upload(QString const&, KUrl const&, QWidget*) () from /usr/lib64/libkio.so.5                                        
#7  0x00007ffff79c7247 in Diff2::KompareModelList::slotWriteDiffOutput(bool) () from /usr/lib64/libkomparediff2.so.4                                          
#8  0x00007ffff79ca304 in Diff2::KompareModelList::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkomparediff2.so.4                        
#9  0x00007ffff4468454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4                                                 
#10 0x00007ffff79c274f in ?? () from /usr/lib64/libkomparediff2.so.4                                                                                          
#11 0x00007ffff79c29ca in ?? () from /usr/lib64/libkomparediff2.so.4                                                                                          
#12 0x00007ffff79c2aa6 in ?? () from /usr/lib64/libkomparediff2.so.4                                                                                          
#13 0x00007ffff4468454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4                                                 
#14 0x00007ffff43f0cbf in QProcess::finished(int, QProcess::ExitStatus) () from /usr/lib64/libQtCore.so.4                                                     
#15 0x00007ffff43f6b6b in ?? () from /usr/lib64/libQtCore.so.4                                                                                                
#16 0x00007ffff43f6c21 in QProcess::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtCore.so.4                                             
#17 0x00007ffff4a7945d in KProcess::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdecore.so.5                                            
#18 0x00007ffff79c2a76 in ?? () from /usr/lib64/libkomparediff2.so.4                                                                                          
#19 0x00007ffff4468454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4                                                 
#20 0x00007ffff449f08e in QSocketNotifier::activated(int) () from /usr/lib64/libQtCore.so.4                                                                   
#21 0x00007ffff446dfa3 in QSocketNotifier::event(QEvent*) () from /usr/lib64/libQtCore.so.4                                                                   
#22 0x00007ffff4f8f1bd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4                                              
#23 0x00007ffff4f96f8a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4                                                            
#24 0x00007ffff5d5bafb in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5                                                            
#25 0x00007ffff4454091 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4                                               
#26 0x00007ffff447c769 in ?? () from /usr/lib64/libQtCore.so.4                                                                                                
---Type <return> to continue, or q <return> to quit---                                                                                                        
#27 0x00007ffff01de0db in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0                                                                         
#28 0x00007ffff01e18ad in ?? () from /usr/lib64/libglib-2.0.so.0                                                                                              
#29 0x00007ffff01e1a6b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0                                                                        
#30 0x00007ffff447c4ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4                        
#31 0x00007ffff501f9af in ?? () from /usr/lib64/libQtGui.so.4                                                                                                 
#32 0x00007ffff44529a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4                                  
#33 0x00007ffff4452b2d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4                                           
#34 0x00007ffff4454ffd in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4                                                                          
#35 0x000000000040a31d in _start () 
Comment 2 Paweł Prażak 2009-01-18 10:25:22 UTC
For Save all option

Backtrace:

Application: Kompare (kompare), signal SIGSEGV
0x00007fabb3baace1 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7fabb84a6750 (LWP 20564))]

Thread 2 (Thread 0x7fababf66950 (LWP 20565)):
#0  0x00007fabb3bd5642 in select () from /lib64/libc.so.6
#1  0x00007fabb491f366 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007fabb4856f72 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fabb45e3070 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fabb3bdc0ed in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fabb84a6750 (LWP 20564)):
[KCrash Handler]
#5  0x00007fabb54c502e in QWidget::palette() const () from /usr/lib64/libQtGui.so.4
#6  0x00007fabb54fe6ff in QWidgetPrivate::updateSystemBackground() () from /usr/lib64/libQtGui.so.4
#7  0x00007fabb54ca1e2 in QWidget::create(unsigned long, bool, bool) () from /usr/lib64/libQtGui.so.4
#8  0x00007fabb54ca8ff in QWidget::winId() const () from /usr/lib64/libQtGui.so.4
#9  0x00007fabb6ce0fc5 in ?? () from /usr/lib64/libkio.so.5
#10 0x00007fabb6cd1a59 in KIO::NetAccess::filecopyInternal(KUrl const&, KUrl const&, int, QFlags<KIO::JobFlag>, QWidget*, bool) () from /usr/lib64/libkio.so.5
#11 0x00007fabb6cd2aeb in KIO::NetAccess::upload(QString const&, KUrl const&, QWidget*) () from /usr/lib64/libkio.so.5
#12 0x00007fabb7eb4a0d in Diff2::KompareModelList::saveDestination(Diff2::DiffModel*) () from /usr/lib64/libkomparediff2.so.4
#13 0x00007fabb7eb5196 in Diff2::KompareModelList::saveAll() () from /usr/lib64/libkomparediff2.so.4
#14 0x00007fabac25293a in ?? () from /usr/lib64/kde4/libkomparepart.so
#15 0x00007fabac252abd in ?? () from /usr/lib64/kde4/libkomparepart.so
#16 0x00007fabb4953454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#17 0x00007fabb5474527 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#18 0x00007fabb5474cf0 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#19 0x00007fabb57855aa in ?? () from /usr/lib64/libQtGui.so.4
#20 0x00007fabb5785845 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00007fabb584d08a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x00007fabb54cc799 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x00007fabb547a1bd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007fabb54827fa in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007fabb6246afb in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#26 0x00007fabb493f091 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#27 0x00007fabb5481b98 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib64/libQtGui.so.4
#28 0x00007fabb54e6049 in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00007fabb54e4a67 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#30 0x00007fabb550b204 in ?? () from /usr/lib64/libQtGui.so.4
#31 0x00007fabb06c90db in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007fabb06cc8ad in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007fabb06cca6b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fabb49674ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#35 0x00007fabb550a9af in ?? () from /usr/lib64/libQtGui.so.4
#36 0x00007fabb493d9a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#37 0x00007fabb493db2d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#38 0x00007fabb493fffd in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#39 0x000000000040a31d in _start ()

Comment 3 Paweł Prażak 2009-01-18 10:33:44 UTC
Sometimes, when I click on Save and Save All just nothing happens and then when I click on the close buttom "Save changes?" dialog appears, then I click save, and it crashes, and crash handler is "Unable to create a valid backtrace"
Comment 4 Paweł Prażak 2009-01-18 10:35:27 UTC
(In reply to comment #3)
> Sometimes, when I click on Save and Save All just nothing happens and then when
> I click on the close buttom "Save changes?" dialog appears, then I click save,
> and it crashes, and crash handler is "Unable to create a valid backtrace"
> 
forgot to mention that in this case it saves file.
Comment 5 Kevin Kofler 2009-01-18 10:39:59 UTC

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