[Bug 182792] Kompare crashes on comparing every file pair (Qt4.5)

Jaroslav Reznik jreznik at redhat.com
Mon Feb 9 14:58:03 CET 2009


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





--- Comment #10 from Jaroslav Reznik <jreznik redhat com>  2009-02-09 14:58:01 ---
Created an attachment (id=31146)
 --> (http://bugs.kde.org/attachment.cgi?id=31146)
Valgrind log (--tool=memcheck --num-callers=30)

Current qt-copy, valgrind log in attachment, debug log:
kompare(17060) main: Arg Count =  0                                             
kompare(17060)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open
ksycoca from  "/var/tmp/kdecache-kde-devel/ksycoca4"
kompare(17060)/kdecore (trader) KMimeTypeTrader::query: query for mimeType 
"text/x-patch" ,  "Kompare/ViewPart"  : returning  1  offers
kompare(17060)/kompare (shell) KompareShell::KompareShell: One kservicetype
checked...                                                  
kompare(17060)/kompare (shell) KompareShell::KompareShell: "Kompare/ViewPart"   
kompare(17060)/kompare (shell) KompareShell::KompareShell:
"KParts/ReadWritePart"                                                       
kompare(17060)/kompare (shell) KompareShell::KompareShell:
"KParts/ReadOnlyPart"                                                        
kompare(17060)/kompare (shell) KompareShell::KompareShell: "text/x-patch"       
kompare(17060)/kdecore (KLibLoader) findLibraryInternal: plugins should not
have a 'lib' prefix: "libkomparepart.so"                    
kompare(17060)/kompare (list view) KompareListView::setSpaces:
tabToNumberOfSpaces:  4                                                  
kompare(17060)/kompare (list view) KompareListView::setSpaces:
tabToNumberOfSpaces:  4                                                  
kompare(17060)/kparts KParts::ReadWritePart::setModified:
ReadWritePart::setModified(  false )                                          
kompare(17060)/kdecore (KLibLoader) findLibraryInternal: plugins should not
have a 'lib' prefix: "libkomparenavtreepart.so"             
kompare(17060) KomparePart::setEncoding: Encoding:  "default"                   
kompare(17060) Diff2::KompareModelList::setEncoding: TextCodec:  0x9a09e40      
kompare(17060)/kdecore (KMimeType) KMimeTypeFactory::parseMagic: Now parsing 
"/usr/share/mime/magic"                                   
kompare(17060)/kdecore (KMimeType) KMimeTypeFactory::parseMagic: Now parsing 
"/usr/local/share/mime/magic"                             
kompare(17060)/kdecore (KMimeType) KMimeTypeFactory::parseMagic: Now parsing 
"/home/kde-devel/kde/share/mime/magic"                    
kompare(17060)/kompare (libs) Diff2::KompareModelList::compare: Mimetype source
    :  "text/x-csrc"                                    
kompare(17060)/kompare (libs) Diff2::KompareModelList::compare: Mimetype
destination:  "text/x-csrc"                                    
kompare(17060)/kompare (libs) Diff2::KompareModelList::compare: Comparing
source with destination                                       
kompare(17060)/kompare (nav view) KompareNavTreePart::slotModelsChanged: Models
( 0x0 ) have changed... scanning the models...          
kompare(17060)/kompare (libs) KompareProcess::writeCommandLine: Using the first
diff in the path...                                     
kompare(17060)/kompare (libs) KompareProcess::start: ""diff" "-U" "3" "-H" "-d"
"-r" "-N" "--" "/home/kde-devel/Documents/articlelistview.cpp"
"/home/kde-devel/Documents/articlelistview(2).cpp" "                            
kompare(17060)/kompare (libs) KompareProcess::slotFinished: Exited with exit
code :  1                                                                       
kompare(17060)/kompare (libs) Diff2::KompareModelList::parseDiffOutput:
KompareModelList::parseDiffOutput                                               
kompare(17060)/kompare (libs) Diff2::Parser::determineGenerator: We'll assume
it is a diff Diff                                                               
kompare(17060)/kompare (libs) Diff2::Parser::parse: Cleaned up  0  line(s) of
crap from the diff...                                                           
kompare(17060)/kompare (libs) Diff2::Parser::parse: It is a diff generated
diff...                                                                         
kompare(17060)/kompare (libs) Diff2::DiffParser::determineFormat: Determining
the format of the diff Diff                                                     
kompare(17060)/kompare (libs) Diff2::DiffParser::determineFormat: "---
/home/kde-devel/Documents/articlelistview.cpp    2009-02-09 14:35:00.000000000
+0100                         
"                                                                               
kompare(17060)/kompare (libs) Diff2::DiffParser::determineFormat: Difflines are
from a Unified diff...                                                          
kompare(17060)/kompare (libs) Diff2::DiffParser::determineFormat: Determining
the format of the diff Diff
kompare(17060)/kompare (libs) Diff2::DiffParser::determineFormat: "---
/home/kde-devel/Documents/articlelistview.cpp    2009-02-09 14:35:00.000000000
+0100
"
kompare(17060)/kompare (libs) Diff2::DiffParser::determineFormat: Difflines are
from a Unified diff...
kompare(17060)/kompare (libs) Diff2::DiffModel::splitSourceInPathAndFileName:
"/home/kde-devel/Documents/articlelistview.cpp"  was split into 
"/home/kde-devel/Documents/"  and  "articlelistview.cpp"
kompare(17060)/kompare (libs)
Diff2::DiffModel::splitDestinationInPathAndFileName:
"/home/kde-devel/Documents/articlelistview(2).cpp"  was split into 
"/home/kde-devel/Documents/" and  "articlelistview(2).cpp"
kompare(17060)/kompare (libs) Diff2::Parser::parse: Modelcount:  1
kompare(17060)/kompare (libs) Diff2::Parser::parse: Hunkcount:   6
kompare(17060)/kompare (libs) Diff2::Parser::parse: Diffcount:   11
kompare(17060)/kompare (libs) Diff2::KompareModelList::firstModel:
KompareModelList::firstModel()
kompare(17060)/kompare (libs) Diff2::KompareModelList::firstModel: m_modelIndex
=  0
kompare(17060)/kompare (libs) Diff2::KompareModelList::parseDiffOutput: Ok
there are differences...
kompare(17060)/kompare (libs) Diff2::DiffModel::firstDifference:
DiffModel::firstDifference()
kompare(17060)/kompare (libs) Diff2::DiffModel::firstDifference: m_diffIndex = 
0
kompare(17060)/kompare (shell) KompareShell::slotUpdateStatusBar:
KompareShell::updateStatusBar()
kompare(17060) Diff2::KompareModelList::slotDiffProcessFinished: Blend this
crap please and do not give me any conflicts...
kompare(17060) Diff2::KompareModelList::blendOriginalIntoModelList: Hurrah we
are blending...
kompare(17060) Diff2::KompareModelList::blendOriginalIntoModelList: Blend File
kompare(17060)/kompare (libs)
Diff2::KompareModelList::blendOriginalIntoModelList: Reading from: 
"/home/kde-devel/Documents/articlelistview.cpp"
kompare(17060) Diff2::KompareModelList::readFile: Codec =  0x9a09e40
kompare(17060)/kompare (libs) Diff2::KompareModelList::blendFile: Hunks in
hunklist:  6
kompare(17060)/kompare (libs) Diff2::KompareModelList::firstModel:
KompareModelList::firstModel()
kompare(17060)/kompare (libs) Diff2::KompareModelList::firstModel: m_modelIndex
=  0
kompare(17060)/kompare (libs) Diff2::DiffModel::firstDifference:
DiffModel::firstDifference()
kompare(17060)/kompare (libs) Diff2::DiffModel::firstDifference: m_diffIndex = 
0
kompare(17060) Diff2::KompareModelList::blendOriginalIntoModelList: End of
Blend File
kompare(17060)/kompare (libs) Diff2::KompareModelList::hasPrevModel:
KompareModelList::hasPrevModel()
kompare(17060)/kompare (libs) Diff2::KompareModelList::hasNextModel:
KompareModelList::hasNextModel()
kompare(17060)/kompare (libs) Diff2::KompareModelList::hasPrevModel:
KompareModelList::hasPrevModel()
kompare(17060) Diff2::KompareModelList::show: KompareModelList::Show Number of
models =  1
kompare(17060)/kompare (nav view) KompareNavTreePart::slotModelsChanged: Models
( 0x1149d608 ) have changed... scanning the models...
kompare(17060)/kompare (nav view) KompareNavTreePart::buildTreeInMemory:
BuildTreeInMemory called
kompare(17060)/kompare (nav view) KompareNavTreePart::buildTreeInMemory:
srcPath  =  "/home/kde-devel/Documents/"
kompare(17060)/kompare (nav view) KompareNavTreePart::buildTreeInMemory:
destPath =  "/home/kde-devel/Documents/"
kompare(17060)/kompare (nav view) KompareNavTreePart::slotSetSelection:
KompareNavTreePart::slotSetSelection model =  Diff2::DiffModel(0x113c61f8) ,
diff =  0x111db728
kompare(17060)/kompare (nav view) KompareNavTreePart::setSelectedDir: Manually
setting selection in srcdirtree with currentDir =  0xf210260
kompare(17060)/kompare (nav view) KompareNavTreePart::setSelectedDir: Manually
setting selection in destdirtree with currentDir =  0x110ad860
kompare(17060)/kompare (nav view) KompareNavTreePart::setSelectedFile: Manually
setting selection in filelist
kompare(17060)/kompare (nav view) KompareNavTreePart::setSelectedDifference:
Manually setting selection in changeslist to  0xf20fb00
kompare(17060)/kompare (list view) KompareListView::slotSetSelection:
KompareListView::slotSetSelection( const DiffModel* model, const Difference*
diff )
kompare(17060)/kompare (list view) KompareListView::slotSetSelection:
KompareListView::slotSetSelection( const Difference* diff )
kompare(17060)/kompare (list view) KompareListView::setSelectedDifference:
KompareListView::setSelectedDifference( 0x111db728 ,  true )
kompare(17060)/kompare (list view) KompareListViewDiffItem::setSelected:
KompareListViewDiffItem::setSelected(  true  )
kompare(17060)/kompare (list view) KompareListView::slotSetSelection:
KompareListView::slotSetSelection( const DiffModel* model, const Difference*
diff )
kompare(17060)/kompare (list view) KompareListView::slotSetSelection:
KompareListView::slotSetSelection( const Difference* diff )
kompare(17060)/kompare (list view) KompareListView::setSelectedDifference:
KompareListView::setSelectedDifference( 0x111db728 ,  true )
kompare(17060)/kompare (list view) KompareListViewDiffItem::setSelected:
KompareListViewDiffItem::setSelected(  true  )
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kompare path = <unknown> pid = 17060


-- 
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