Bug 167905 - KWord, Krita, Kspread and kpresenter segfault on startup
Summary: KWord, Krita, Kspread and kpresenter segfault on startup
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeui (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 168181 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-31 22:21 UTC by Arthur Bit-Monnot
Modified: 2008-10-19 02:43 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace from crash handler on kword crash (9.24 KB, application/octet-stream)
2008-10-12 15:26 UTC, grego sudikov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Bit-Monnot 2008-07-31 22:21:36 UTC
Version:           trunk (rev 840244) (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.2.3 
OS:                Linux

Kword, Krita, KSpread and Kpresenter crash at startup in a similar way

To reproduce just run one of the applications whithout arguments.



Here are the backtraces for kword, they are almost the same for the other apps :

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5a7a720 (LWP 13957)]        
0xb6a69428 in QSplitter::d_func (this=0x610063) at widgets/qsplitter.h:147
147         Q_DECLARE_PRIVATE(QSplitter)                                  
(gdb) bt                                                                  
#0  0xb6a69428 in QSplitter::d_func (this=0x610063) at widgets/qsplitter.h:147
#1  0xb6a64e7b in QSplitter::sizes (this=0x610063) at widgets/qsplitter.cpp:1576
#2  0xb7d59a6b in KFileWidgetPrivate::updateSplitterSize (this=0x8246fa0)       
    at /home/kde-devel/kde/src/KDE/kdelibs/kfile/kfilewidget.cpp:2104           
#3  0xb7d5b064 in KFileWidget::resizeEvent (this=0x8248008, event=0xbfdadf94)   
    at /home/kde-devel/kde/src/KDE/kdelibs/kfile/kfilewidget.cpp:1637           
#4  0xb668f468 in QWidget::event (this=0x8248008, event=0xbfdadf94) at kernel/qwidget.cpp:7073
#5  0xb663152d in QApplicationPrivate::notify_helper (this=0x805c8b8, receiver=0x8248008, e=0xbfdadf94)
    at kernel/qapplication.cpp:3772                                                                    
#6  0xb6633116 in QApplication::notify (this=0xbfdb01d0, receiver=0x8248008, e=0xbfdadf94) at kernel/qapplication.cpp:3739
#7  0xb74c404b in KApplication::notify (this=0xbfdb01d0, receiver=0x8248008, event=0xbfdadf94)                            
    at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311                                              
#8  0xb700d68a in QCoreApplication::notifyInternal (this=0xbfdb01d0, receiver=0x8248008, event=0xbfdadf94)                
    at kernel/qcoreapplication.cpp:583                                                                                    
#9  0xb79c4e9f in QCoreApplication::sendEvent (receiver=0x8248008, event=0xbfdadf94)                                      
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215                                               
#10 0xb668d46c in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x8221438, recursive=false, disableUpdates=false)  
    at kernel/qwidget.cpp:6058                                                                                            
#11 0xb6692560 in QWidgetPrivate::show_helper (this=0x8221438) at kernel/qwidget.cpp:6109                                 
#12 0xb6692d94 in QWidget::setVisible (this=0x8248008, visible=true) at kernel/qwidget.cpp:6378                           
#13 0xb66762cc in QWidget::show (this=0x8248008) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:470                
#14 0xb66924e9 in QWidgetPrivate::showChildren (this=0x8220c40, spontaneous=false) at kernel/qwidget.cpp:6453             
#15 0xb669258e in QWidgetPrivate::show_helper (this=0x8220c40) at kernel/qwidget.cpp:6115                                 
#16 0xb6692d94 in QWidget::setVisible (this=0x821bca0, visible=true) at kernel/qwidget.cpp:6378                           
---Type <return> to continue, or q <return> to quit---                                                                    
#17 0xb66762cc in QWidget::show (this=0x821bca0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:470                
#18 0xb66924e9 in QWidgetPrivate::showChildren (this=0x81f68e8, spontaneous=false) at kernel/qwidget.cpp:6453             
#19 0xb669258e in QWidgetPrivate::show_helper (this=0x81f68e8) at kernel/qwidget.cpp:6115                                 
#20 0xb6692d94 in QWidget::setVisible (this=0x81fcb28, visible=true) at kernel/qwidget.cpp:6378                           
#21 0xb66762cc in QWidget::show (this=0x81fcb28) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:470                
#22 0xb6a6861d in QSplitter::childEvent (this=0x8051378, c=0xbfdae8d0) at widgets/qsplitter.cpp:1231                      
#23 0xb70207e4 in QObject::event (this=0x8051378, e=0xbfdae8d0) at kernel/qobject.cpp:1120                                
#24 0xb668fce7 in QWidget::event (this=0x8051378, event=0xbfdae8d0) at kernel/qwidget.cpp:7310                            
#25 0xb6a68355 in QSplitter::event (this=0x8051378, e=0xbfdae8d0) at widgets/qsplitter.cpp:1305                           
#26 0xb663152d in QApplicationPrivate::notify_helper (this=0x805c8b8, receiver=0x8051378, e=0xbfdae8d0)                   
    at kernel/qapplication.cpp:3772                                                                                       
#27 0xb6633116 in QApplication::notify (this=0xbfdb01d0, receiver=0x8051378, e=0xbfdae8d0) at kernel/qapplication.cpp:3739
#28 0xb74c404b in KApplication::notify (this=0xbfdb01d0, receiver=0x8051378, event=0xbfdae8d0)                            
    at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311                                              
#29 0xb700d68a in QCoreApplication::notifyInternal (this=0xbfdb01d0, receiver=0x8051378, event=0xbfdae8d0)                
    at kernel/qcoreapplication.cpp:583                                                                                    
#30 0xb79c4e9f in QCoreApplication::sendEvent (receiver=0x8051378, event=0xbfdae8d0)                                      
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215                                               
#31 0xb66837db in QWidget::ensurePolished (this=0x81fcb28) at kernel/qwidget.cpp:8119                                     
#32 0xb6664d77 in QLayout::totalMinimumSize (this=0x81e75a8) at kernel/qlayout.cpp:772                                    
#33 0xb6683f09 in QWidget::minimumSizeHint (this=0x81fcb28) at kernel/qwidget.cpp:6807                                    
#34 0xb6667f08 in qSmartMinSize (w=0x81fcb28) at kernel/qlayoutengine.cpp:385                                             
#35 0xb6a67001 in QSplitterPrivate::setGeo (this=0x81c8798, sls=0x81f2c00, p=262, s=0, allowCollapse=false)               
    at widgets/qsplitter.cpp:662                                                                                          
---Type <return> to continue, or q <return> to quit---                                                                    
#36 0xb6a67d6b in QSplitterPrivate::doResize (this=0x81c8798) at widgets/qsplitter.cpp:502                                
#37 0xb6a67f09 in QSplitter::resizeEvent (this=0x8051378) at widgets/qsplitter.cpp:1093                                   
#38 0xb668f468 in QWidget::event (this=0x8051378, event=0xbfdaf03c) at kernel/qwidget.cpp:7073                            
#39 0xb6a68355 in QSplitter::event (this=0x8051378, e=0xbfdaf03c) at widgets/qsplitter.cpp:1305                           
#40 0xb663152d in QApplicationPrivate::notify_helper (this=0x805c8b8, receiver=0x8051378, e=0xbfdaf03c)                   
    at kernel/qapplication.cpp:3772                                                                                       
#41 0xb6633116 in QApplication::notify (this=0xbfdb01d0, receiver=0x8051378, e=0xbfdaf03c) at kernel/qapplication.cpp:3739
#42 0xb74c404b in KApplication::notify (this=0xbfdb01d0, receiver=0x8051378, event=0xbfdaf03c)                            
    at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311                                              
#43 0xb700d68a in QCoreApplication::notifyInternal (this=0xbfdb01d0, receiver=0x8051378, event=0xbfdaf03c)                
    at kernel/qcoreapplication.cpp:583                                                                                    
#44 0xb79c4e9f in QCoreApplication::sendEvent (receiver=0x8051378, event=0xbfdaf03c)                                      
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215                                               
#45 0xb66cd838 in QWidgetPrivate::setGeometry_sys (this=0x81c8798, x=0, y=76, w=800, h=524, isMove=true)                  
    at kernel/qwidget_x11.cpp:2425                                                                                        
#46 0xb668d91e in QWidget::setGeometry (this=0x8051378, r=@0xbfdaf284) at kernel/qwidget.cpp:5662                         
#47 0xb6aac159 in QWidgetAnimator::animate (this=0x81b3c50, widget=0x8051378, _final_geometry=@0x81b5804, animate=false)  
    at widgets/qwidgetanimator.cpp:143                                                                                    
#48 0xb69f0d53 in QDockAreaLayout::apply (this=0x81b57dc, animate=false) at widgets/qdockarealayout.cpp:2961              
#49 0xb6a1c6fb in QMainWindowLayoutState::apply (this=0x81b5730, animated=false) at widgets/qmainwindowlayout.cpp:235     
#50 0xb6a1c8b3 in QMainWindowLayout::applyState (this=0x81b5720, newState=@0x81b5730, animate=false)                      
    at widgets/qmainwindowlayout.cpp:2116                                                                                 
#51 0xb6a1d58e in QMainWindowLayout::setGeometry (this=0x81b5720, _r=@0xbfdaf3e8) at widgets/qmainwindowlayout.cpp:1656   
#52 0xb6664ff3 in QLayoutPrivate::doResize (this=0x81bcf08, r=@0xbfdaf438) at kernel/qlayout.cpp:636                      
---Type <return> to continue, or q <return> to quit---                                                                    
#53 0xb66654fb in QLayout::activate (this=0x81b5720) at kernel/qlayout.cpp:1208                                           
#54 0xb6665d6a in QLayout::widgetEvent (this=0x81b5720, e=0x81b3cb0) at kernel/qlayout.cpp:707                            
#55 0xb66314ee in QApplicationPrivate::notify_helper (this=0x805c8b8, receiver=0x81b4b50, e=0x81b3cb0)                    
    at kernel/qapplication.cpp:3763                                                                                       
#56 0xb6633116 in QApplication::notify (this=0xbfdb01d0, receiver=0x81b4b50, e=0x81b3cb0) at kernel/qapplication.cpp:3739 
#57 0xb74c404b in KApplication::notify (this=0xbfdb01d0, receiver=0x81b4b50, event=0x81b3cb0)                             
    at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311                                              
#58 0xb700d68a in QCoreApplication::notifyInternal (this=0xbfdb01d0, receiver=0x81b4b50, event=0x81b3cb0)                 
    at kernel/qcoreapplication.cpp:583                                                                                    
#59 0xb79c4e9f in QCoreApplication::sendEvent (receiver=0x81b4b50, event=0x81b3cb0)                                       
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215                                               
#60 0xb700dba2 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x804b778)                  
    at kernel/qcoreapplication.cpp:1195                                                                                   
#61 0xb700dd53 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091     
#62 0xb7a5136c in QCoreApplication::sendPostedEvents ()                                                                   
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220                                               
#63 0xb703d7b3 in postEventSourceDispatch (s=0x805e370) at kernel/qeventdispatcher_glib.cpp:211                           
#64 0xb5ec0bf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0                                               
#65 0xb5ec3e5e in ?? () from /usr/lib/libglib-2.0.so.0                                                                    
#66 0xb5ec43ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0                                              
#67 0xb703cbcc in QEventDispatcherGlib::processEvents (this=0x805c530, flags=@0xbfdafa64)                                 
    at kernel/qeventdispatcher_glib.cpp:325                                                                               
#68 0xb66d9444 in QGuiEventDispatcherGlib::processEvents (this=0x805c530, flags=@0xbfdafa94)                              
    at kernel/qguieventdispatcher_glib.cpp:204                                                                            
---Type <return> to continue, or q <return> to quit---                                                                    
#69 0xb700a54a in QEventLoop::processEvents (this=0xbfdafb08, flags=@0xbfdafad4) at kernel/qeventloop.cpp:149             
#70 0xb700a789 in QEventLoop::exec (this=0xbfdafb08, flags=@0xbfdafb10) at kernel/qeventloop.cpp:196                      
#71 0xb77ec766 in KIO::NetAccess::enter_loop (this=0xbfdafb84)                                                            
    at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/netaccess.cpp:494
#72 0xb77ec981 in KIO::NetAccess::synchronousRunInternal (this=0xbfdafb84, job=0x82743b8, window=0x0, data=0x0,
    finalURL=0x0, metaData=0x0) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/netaccess.cpp:479
#73 0xb77ed252 in KIO::NetAccess::synchronousRun (job=0x82743b8, window=0x0, data=0x0, finalURL=0x0, metaData=0x0)
    at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/netaccess.cpp:273
#74 0xb7d6280d in KFileWidget (this=0x8248008, startDir=@0xbfdafdfc, parent=0x821bca0)
    at /home/kde-devel/kde/src/KDE/kdelibs/kfile/kfilewidget.cpp:459
#75 0xb7ee63c7 in KoExistingDocumentPane (this=0x821bca0, parent=0x81fcb28)
    at /home/kde-devel/kde/src/koffice/libs/main/KoExistingDocumentPane.cpp:43
#76 0xb7ed01b4 in KoOpenPane::initExistingFilesPane (this=0x81fcb28)
    at /home/kde-devel/kde/src/koffice/libs/main/KoOpenPane.cpp:343
#77 0xb7ed133e in KoOpenPane (this=0x81fcb28, parent=0x8051378, componentData=@0xbfdaff9c, templateType=@0x8172830)
    at /home/kde-devel/kde/src/koffice/libs/main/KoOpenPane.cpp:125
#78 0xb7e55a3a in KoDocument::createOpenPane (this=0x816d6c8, parent=0x8051378, componentData=@0xbfdaff9c,
    templateType=@0x8172830) at /home/kde-devel/kde/src/koffice/libs/main/KoDocument.cpp:2757
#79 0xb7e56254 in KoDocument::showStartUpWidget (this=0x816d6c8, parent=0x81b4b50, alwaysShow=false)
    at /home/kde-devel/kde/src/koffice/libs/main/KoDocument.cpp:2713
#80 0xb437ffc0 in KWDocument::showStartUpWidget (this=0x816d6c8, parent=0x81b4b50, alwaysShow=false)
    at /home/kde-devel/kde/src/koffice/kword/part/KWDocument.cpp:594
#81 0xb7e88475 in KoApplication::start (this=0xbfdb01d0) at /home/kde-devel/kde/src/koffice/libs/main/KoApplication.cpp:151
#82 0xb7efdd29 in kdemain (argc=1, argv=0xbfdb02c4) at /home/kde-devel/kde/src/koffice/kword/part/main.cpp:34


And here is the end of the debug output (still for kword) :
....
....
kword(13957)/koffice (lib flake) KoShapeRegistry::init: Inserting factory "KoPathShape"  for QPair("urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","line")  with priority  0  into factoryMap making  1  entries.                                       
kword(13957)/koffice (lib flake) KoShapeRegistry::init: Inserting factory "KoPathShape"  for QPair("urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","polyline")  with priority  0  into factoryMap making  1  entries.                                   
kword(13957)/koffice (lib flake) KoShapeRegistry::init: Inserting factory "KoPathShape"  for QPair("urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","polygon")  with priority  0  into factoryMap making  1  entries.                                    
kword(13957)/koffice (lib flake) KoShapeRegistry::init: Inserting factory "KoEnhancedPathShape"  for QPair("urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","custom-shape")  with priority  1  into factoryMap making  2  entries.                       
kword(13957)/koffice (lib komain) KoDocument::readNativeService: "kwordpart.desktop"  found.                                  
kword(13957)/koffice (lib komain) KoDocument::readNativeService: "kwordpart.desktop"  found.                                  
kword(13957)/koffice (lib komain) KoDocument::readNativeService: "kwordpart.desktop"  found.                                  
kword(13957)/koffice (filter manager) KoFilterEntry::query: KoFilterEntry::query( ""  )                                       
kword(13957)/kio (KDirWatch) KDirWatchPrivate::KDirWatchPrivate: Available methods:  ("Stat", "INotify")                      
kword(13957)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/home/kde-devel/.local/share//user-places.xbel" NotExisting for "" ["KDirWatch-1"]                                                                                                     
kword(13957)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                               
kword(13957)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/kde-devel/.local/share" for "/home/kde-devel/.local/share//user-places.xbel" [""]                                                                                                 
kword(13957)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                               
kword(13957)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring                           
kword(13957)/kio (bookmarks) KBookmarkManager::KBookmarkManager: starting KDirWatch for  "/home/kde-devel/.local/share//user-places.xbel"                                                                                                                   
kword(13957)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("trash:/")                               
kword(13957)/kio (KDirLister) KDirLister::stop:                                                                               
kword(13957)/kio (KIOJob) KIO::stat: stat KUrl("file:///home/kde-devel/")  

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5a7a720 (LWP 13957)]        
0xb6a69428 in QSplitter::d_func (this=0x610063) at widgets/qsplitter.h:147
147         Q_DECLARE_PRIVATE(QSplitter)
Comment 1 Dominik Tritscher 2008-08-03 12:15:34 UTC
*** Bug 168181 has been marked as a duplicate of this bug. ***
Comment 2 grego sudikov 2008-10-12 15:26:10 UTC
Created attachment 27828 [details]
backtrace from crash handler on kword crash
Comment 3 grego sudikov 2008-10-12 15:29:04 UTC
Comment on attachment 27828 [details]
backtrace from crash handler on kword crash

KWord executed from terminal
kde-devel@nocnik:~$ kword
kword(868)/kdeui (KAction) KActionCollection::setComponentData: this does not work on a KActionCollection containing actions!
kword(868): Attempt to use QAction "file_export_pdf" with KXMLGUIFactory!
kword(868): Shortcut for KAction  "view_closeallviews" "&Close All Views" set with QShortcut::setShortcut()! See KAction documentation.
kword(868)/koffice (filter manager) KoFilterManager::filterAvailable: The library  ""  does not offer a check_ ""  function.
Comment 4 Thomas Zander 2008-10-12 17:26:43 UTC
reading the backtrace, the crash happens on show of the KFileWidget, which is part of kdelibs.
Comment 5 Thomas Zander 2008-10-12 20:51:18 UTC
*** Bug 172678 has been marked as a duplicate of this bug. ***
Comment 6 Rafael Fernández López 2008-10-18 17:39:51 UTC
This bug was fixed some time ago. However I am not sure if bug #172678 is a dupe of this one. I'd say that isn't... but I will checkout KOffice to debug this problem. We'll see...