[Bug 199639] New: Integrated KDE file dialog crashes Qt apps [testcase]

David Palacio dpalacio at uninorte.edu.co
Fri Jul 10 03:49:17 BST 2009


https://bugs.kde.org/show_bug.cgi?id=199639

           Summary: Integrated KDE file dialog crashes Qt apps [testcase]
           Product: kde
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: dpalacio at uninorte.edu.co


Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Now Qt apps get integration in the KDE desktop by opening KDE dialogs. But
right now it just crashes the whole application.

Testcase 1:
* Open any Qt application that opens a file/directory dialog.
* Trigger the open file dialog
* Crash

Testcase 2:
* Open Arora
* Open a webpage that offers file upload
  e.g. http://picpaste.com/
* Click on the choose file button
* Crash

Backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f31f08026f0 (LWP 6113)]     
KConfigBase::isGroupImmutable (this=0x0, aGroup=@0x7ffff88205e0) at
/home/kde/src/KDE/kdelibs/kdecore/config/kconfigbase.cpp:96
96          return isGroupImmutableImpl(aGroup.toUtf8());                       
Current language:  auto; currently c++                                          
(gdb) bt                                                                        
#0  KConfigBase::isGroupImmutable (this=0x0, aGroup=@0x7ffff88205e0) at
/home/kde/src/KDE/kdelibs/kdecore/config/kconfigbase.cpp:96
#1  0x00007f31e95aed58 in KConfigGroup (this=<value optimized out>, master=0x0,
_group=@0x7ffff88205e0)                            
    at /home/kde/src/KDE/kdelibs/kdecore/config/kconfiggroup.cpp:554            
#2  0x00007f31e95ed777 in KDebug::registerArea (areaName=@0x7ffff8820690) at
/home/kde/src/KDE/kdelibs/kdecore/io/kdebug.cpp:714   
#3  0x00007f31e96ff767 in kLibraryDebugArea () at
/home/kde/src/KDE/kdelibs/kdecore/util/klibrary.cpp:34                          
#4  0x00007f31e9705e45 in findLibraryInternal (name=<value optimized out>,
cData=@0x1552cb0)                                       
    at /home/kde/src/KDE/kdelibs/kdecore/util/kpluginloader.cpp:90              
#5  0x00007f31e9706609 in KPluginLoader (this=0x7ffff88208b0,
plugin=@0x7ffff88205e0, componentdata=@0x7ffff88205e0, parent=0x1de5e4e)
    at /home/kde/src/KDE/kdelibs/kdecore/util/kpluginloader.cpp:119             
#6  0x00007f31e9dd29d1 in fileModule () at
/home/kde/src/KDE/kdelibs/kio/kfile/kfiledialog.cpp:143                         
#7  0x00007f31e9dd5bf6 in KFileDialog::getExistingDirectory
(startDir=@0x7ffff8820ae0, parent=0x7ffff8823930, caption=@0x7ffff8820f40)
    at /home/kde/src/KDE/kdelibs/kio/kfile/kfiledialog.cpp:560                  
warning: (Internal error: pc 0x7f31e9dd7c46 in read in psymtab, but not in
symtab.)                                                   

warning: (Internal error: pc 0x7f31e9dd7c46 in read in psymtab, but not in
symtab.)

#8  0x00007f31e9dd7c47 in KFileDialogQtOverride::getExistingDirectory
(parent=warning: (Internal error: pc 0x7f31e9dd7bd0 in read in psymtab, but not
in symtab.)                                                                     

warning: (Internal error: pc 0x7f31e9dd7c46 in read in psymtab, but not in
symtab.)

0x7ffff8823930, caption=@0x7ffff8820f40, dir=@0x7ffff8820f30, options=
      {i = -125694976}) at
/home/kde/src/KDE/kdelibs/kio/kfile/kfiledialog.cpp:1061
#9  0x00007f31f0074752 in QFileDialog::getExistingDirectory
(parent=0x7ffff88205e0, caption=@0x7ffff88205e0, dir=@0x7ffff8820f30, options=
      {i = -125694000}) at dialogs/qfiledialog.cpp:1836                         
#10 0x0000000000413ccf in modifyDialog::browse ()                               
#11 0x000000000047f89e in modifyDialog::qt_metacall ()                          
#12 0x00007f31ef6e7892 in QMetaObject::activate (sender=0x1dd0210,
from_signal_index=<value optimized out>, to_signal_index=4, argv=0x1de5e4e)
    at kernel/qobject.cpp:3120                                                  
#13 0x00007f31ef6ea6be in QSignalMapper::mapped (this=0x0, _t1=0) at
.moc/release-shared/moc_qsignalmapper.cpp:95                             
#14 0x00007f31ef6eaf60 in QSignalMapper::map (this=0x1dd0210, sender=0x1d65a40)
at kernel/qsignalmapper.cpp:266                               
#15 0x00007f31ef6ebb50 in QSignalMapper::qt_metacall (this=0x1dd0210,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,            
    _a=0x7ffff88212b0) at .moc/release-shared/moc_qsignalmapper.cpp:81          
#16 0x00007f31ef6e7892 in QMetaObject::activate (sender=0x1d65a40,
from_signal_index=<value optimized out>, to_signal_index=30, argv=0x1de5e4e)
    at kernel/qobject.cpp:3120                                                  
#17 0x00007f31f01e9a47 in QAbstractButton::clicked (this=0x0, _t1=false) at
.moc/release-shared/moc_qabstractbutton.cpp:200                    
#18 0x00007f31eff44e8b in QAbstractButtonPrivate::emitClicked (this=0x1d6dea0)
at widgets/qabstractbutton.cpp:543                              
#19 0x00007f31eff46b02 in QAbstractButtonPrivate::click (this=0x1d6dea0) at
widgets/qabstractbutton.cpp:536                                    
#20 0x00007f31eff46d55 in QAbstractButton::mouseReleaseEvent (this=0x1d65a40,
e=0x7ffff8821bc0) at widgets/qabstractbutton.cpp:1115            
#21 0x00007f31f001899a in QToolButton::mouseReleaseEvent (this=0x0,
e=0x7ffff88205e0) at widgets/qtoolbutton.cpp:709                           
---Type <return> to continue, or q <return> to quit---
#22 0x00007f31efbf177f in QWidget::event (this=0x1d65a40, event=0x7ffff8821bc0)
at kernel/qwidget.cpp:7521
#23 0x00007f31efba052d in QApplicationPrivate::notify_helper (this=0x14df770,
receiver=0x1d65a40, e=0x7ffff8821bc0) at kernel/qapplication.cpp:4057
#24 0x00007f31efba8f1a in QApplication::notify (this=<value optimized out>,
receiver=0x1d65a40, e=0x7ffff8821bc0) at kernel/qapplication.cpp:3759  
#25 0x00007f31ef6d1e7c in QCoreApplication::notifyInternal
(this=0x7ffff88268a0, receiver=0x1d65a40, event=0x7ffff8821bc0)                 
    at kernel/qcoreapplication.cpp:610                                          
#26 0x00007f31efba8168 in QApplicationPrivate::sendMouseEvent
(receiver=0x1d65a40, event=0x7ffff8821bc0, alienWidget=0x1d65a40,               
    nativeWidget=0x7ffff8823930, buttonDown=<value optimized out>,
lastMouseReceiver=@0x7f31f0609f50)                                              
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216     
#27 0x00007f31efc12039 in QETWidget::translateMouseEvent (this=0x7ffff8823930,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4448    
#28 0x00007f31efc10d7d in QApplication::x11ProcessEvent (this=0x7ffff88268a0,
event=0x7ffff8823590) at kernel/qapplication_x11.cpp:3566            
#29 0x00007f31efc39504 in x11EventSourceDispatch (s=0x14e4640, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146               
#30 0x00007f31ed69d16a in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0                                                       
#31 0x00007f31ed6a0830 in ?? () from /usr/lib/libglib-2.0.so.0                  
#32 0x00007f31ed6a09cc in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0                                                       
#33 0x00007f31ef6fb4ef in QEventDispatcherGlib::processEvents (this=0x14e09e0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#34 0x00007f31efc38caf in QGuiEventDispatcherGlib::processEvents (this=0x0,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#35 0x00007f31ef6d0722 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = -125683584}) at kernel/qeventloop.cpp:149              
#36 0x00007f31ef6d0aed in QEventLoop::exec (this=0x7ffff88238c0, flags={i =
-125683488}) at kernel/qeventloop.cpp:200                              
#37 0x00007f31f006029e in QDialog::exec (this=0x7ffff8823930) at
dialogs/qdialog.cpp:498                                                         
#38 0x000000000045862f in luckyBackupWindow::add ()                             
#39 0x000000000047f4c2 in luckyBackupWindow::qt_metacall ()                     
#40 0x00007f31ef6e7892 in QMetaObject::activate (sender=0x15b6a80,
from_signal_index=<value optimized out>, to_signal_index=30, argv=0x1de5e4e)    
    at kernel/qobject.cpp:3120                                                  
#41 0x00007f31f01e9a47 in QAbstractButton::clicked (this=0x0, _t1=false) at
.moc/release-shared/moc_qabstractbutton.cpp:200                        
#42 0x00007f31eff44e8b in QAbstractButtonPrivate::emitClicked (this=0x16052a0)
at widgets/qabstractbutton.cpp:543                                  
#43 0x00007f31eff46b02 in QAbstractButtonPrivate::click (this=0x16052a0) at
widgets/qabstractbutton.cpp:536                                        
#44 0x00007f31eff46d55 in QAbstractButton::mouseReleaseEvent (this=0x15b6a80,
e=0x7ffff8824890) at widgets/qabstractbutton.cpp:1115                
#45 0x00007f31efbf177f in QWidget::event (this=0x15b6a80, event=0x7ffff8824890)
at kernel/qwidget.cpp:7521                                         
#46 0x00007f31efba052d in QApplicationPrivate::notify_helper (this=0x14df770,
receiver=0x15b6a80, e=0x7ffff8824890) at kernel/qapplication.cpp:4057
#47 0x00007f31efba8f1a in QApplication::notify (this=<value optimized out>,
receiver=0x15b6a80, e=0x7ffff8824890) at kernel/qapplication.cpp:3759  
#48 0x00007f31ef6d1e7c in QCoreApplication::notifyInternal
(this=0x7ffff88268a0, receiver=0x15b6a80, event=0x7ffff8824890)                 
---Type <return> to continue, or q <return> to quit---                          
    at kernel/qcoreapplication.cpp:610                                          
#49 0x00007f31efba8168 in QApplicationPrivate::sendMouseEvent
(receiver=0x15b6a80, event=0x7ffff8824890, alienWidget=0x15b6a80,               
    nativeWidget=0x7ffff88265f0, buttonDown=<value optimized out>,
lastMouseReceiver=@0x7f31f0609f50)                                              
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216     
#50 0x00007f31efc12039 in QETWidget::translateMouseEvent (this=0x7ffff88265f0,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4448    
#51 0x00007f31efc10d7d in QApplication::x11ProcessEvent (this=0x7ffff88268a0,
event=0x7ffff8826260) at kernel/qapplication_x11.cpp:3566            
#52 0x00007f31efc39504 in x11EventSourceDispatch (s=0x14e4640, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146               
#53 0x00007f31ed69d16a in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0                                                       
#54 0x00007f31ed6a0830 in ?? () from /usr/lib/libglib-2.0.so.0                  
#55 0x00007f31ed6a09cc in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0                                                       
#56 0x00007f31ef6fb4ef in QEventDispatcherGlib::processEvents (this=0x14e09e0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#57 0x00007f31efc38caf in QGuiEventDispatcherGlib::processEvents (this=0x0,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#58 0x00007f31ef6d0722 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = -125672112}) at kernel/qeventloop.cpp:149              
#59 0x00007f31ef6d0aed in QEventLoop::exec (this=0x7ffff8826590, flags={i =
-125672032}) at kernel/qeventloop.cpp:200                              
#60 0x00007f31ef6d2db4 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888                                                 
#61 0x000000000045f480 in main ()

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



More information about the Unassigned-bugs mailing list