Bug 175863 - file manager crashes when getting "Properties" of directory
Summary: file manager crashes when getting "Properties" of directory
Status: RESOLVED DUPLICATE of bug 191567
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: SVN
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 178627 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-23 04:44 UTC by Bryan
Modified: 2009-06-01 04:57 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
KDE Crash Handler backtrace (7.81 KB, text/plain)
2008-11-23 04:46 UTC, Bryan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan 2008-11-23 04:44:57 UTC
Version:            (using KDE 4.1.3)
Compiler:          gcc (Ubuntu 4.3.2-1ubuntu11) 4.3.2
 
OS:                Linux
Installed from:    Ubuntu Packages

I recently upgraded to Kubuntu 8.10 (with KDE4 of course), and everything has been very impressive.  However, one glaring problem I am having is every time I select a directory in a KDE4 file manager (Dolphin, Konqueror, even a file dialog box in Ark) and right click to select "Properties" of the directory, the program crashes with signal 6 (SIGABRT).  Additionally, this crash also happens using the Alt+Enter shortcut, or right clicking on empty space within the window, which by default attempts to retrieve the CWD's properties, leading me to believe it is the underlying action where the problem lies.  As expected, this crash only happens when using applications using the KDE4 libraries.  When I get properties from within Amarok's file manager, or Kaffeine's file dialog box, there is no crash.  On my system, those programs are using KDE 3.5.10 (for now).

I've done a fair amount of searching and no one else seems to be having this problem, so I'm not really sure what is going on.  I installed the kde libraries with debugging symbols so that I could post a more complete backtrace, as originally there were very many lines in the output indicating "No debugging symbols found".  I will add the output as an attachment as it is large.
Comment 1 Bryan 2008-11-23 04:46:48 UTC
Created attachment 28755 [details]
KDE Crash Handler backtrace

An example of the crash as evoked by Dolphin.
Comment 2 Bryan 2008-11-23 04:50:07 UTC
I also meant to point out that retrieving properties of regular files works as expected.  The dialog box pops up without a hitch.  Only directories cause the crash, in case this helps narrow down the code search.
Comment 3 Oliver Putz 2008-11-23 20:06:49 UTC
Hi and thanks for your bugreport. Just a small note: Please paste the backtrace directly into the comments. This makes it easier for developers to find similar bugs.

The attached backtrace was:

Application: Dolphin (dolphin), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb5df16c0 (LWP 15585)]
[KCrash handler]
#6  0xb7f16430 in __kernel_vsyscall ()
#7  0xb667f880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6681248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb745f795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb745f872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb745f915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb41c1400 in ?? () from /usr/lib/kde4/fileshare_propsdlgplugin.so
#13 0xb4183589 in ?? () from /usr/lib/kde4/fileshare_propsdlgplugin.so
#14 0xb4187e3b in ?? () from /usr/lib/kde4/fileshare_propsdlgplugin.so
#15 0xb418824c in ?? () from /usr/lib/kde4/fileshare_propsdlgplugin.so
#16 0xb4181d79 in ?? () from /usr/lib/kde4/fileshare_propsdlgplugin.so
#17 0xb41828c1 in ?? () from /usr/lib/kde4/fileshare_propsdlgplugin.so
#18 0xb781ad50 in KPluginFactory::create (this=0x92edb20, 
    iface=0xb7e290e0 "KPropertiesDialogPlugin", parentWidget=0x0, 
    parent=0x8f2b200, args=@0xbfb153f0, keyword=@0xbfb153e8)
    at /build/buildd/kde4libs-4.1.3/kdecore/util/kpluginfactory.cpp:174
#19 0xb7dca2bc in KPropertiesDialog::KPropertiesDialogPrivate::insertPages (
    this=0x92c3c10)
    at /build/buildd/kde4libs-4.1.3/kdecore/util/kpluginfactory.h:515
#20 0xb7dca702 in KPropertiesDialog::KPropertiesDialogPrivate::init (
    this=0x92c3c10)
    at /build/buildd/kde4libs-4.1.3/kio/kfile/kpropertiesdialog.cpp:346
#21 0xb7dca95c in KPropertiesDialog (this=0x8f2b200, _items=@0xbfb15518, 
    parent=0x8dd9ff0)
    at /build/buildd/kde4libs-4.1.3/kio/kfile/kpropertiesdialog.cpp:245
#22 0x08067611 in DolphinMainWindow::properties (this=0x8dd9ff0)
    at /build/buildd/kdebase-4.1.3/apps/dolphin/src/dolphinmainwindow.cpp:366
#23 0x08071d78 in DolphinMainWindow::qt_metacall (this=0x8dd9ff0, 
    _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfb1564c)
    at /build/buildd/kdebase-4.1.3/obj-i486-linux-gnu/apps/dolphin/src/dolphinmainwindow.moc:165
#24 0xb756ca60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb756ce60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb6af25f1 in QAction::triggered () from /usr/lib/libQtGui.so.4
#27 0xb6af2f5f in QAction::activate () from /usr/lib/libQtGui.so.4
#28 0xb6ed04e4 in ?? () from /usr/lib/libQtGui.so.4
#29 0xb6ed0f72 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#30 0xb7afbb95 in KMenu::mouseReleaseEvent (this=0x90c62a0, e=0xbfb15d28)
    at /build/buildd/kde4libs-4.1.3/kdeui/widgets/kmenu.cpp:452
#31 0xb6b509a2 in QWidget::event () from /usr/lib/libQtGui.so.4
#32 0xb6ed3269 in QMenu::event () from /usr/lib/libQtGui.so.4
#33 0xb6af88ec in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#34 0xb6b01121 in QApplication::notify () from /usr/lib/libQtGui.so.4
#35 0xb7a26b2d in KApplication::notify (this=0xbfb17974, receiver=0x90c62a0, 
    event=0xbfb15d28)
    at /build/buildd/kde4libs-4.1.3/kdeui/kernel/kapplication.cpp:311
#36 0xb7557e61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#37 0xb6b003ae in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#38 0xb6b6a91e in ?? () from /usr/lib/libQtGui.so.4
#39 0xb6b69a25 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#40 0xb6b937ea in ?? () from /usr/lib/libQtGui.so.4
#41 0xb61ad6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0xb61b0da3 in ?? () from /usr/lib/libglib-2.0.so.0
#43 0xb61b0f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#44 0xb7582478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#45 0xb6b92ee5 in ?? () from /usr/lib/libQtGui.so.4
#46 0xb755652a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#47 0xb75566ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#48 0xb6ed3031 in QMenu::exec () from /usr/lib/libQtGui.so.4
#49 0x080774bc in DolphinContextMenu::openItemContextMenu (this=0xbfb16658)
    at /build/buildd/kdebase-4.1.3/apps/dolphin/src/dolphincontextmenu.cpp:213
#50 0x08077848 in DolphinContextMenu::open (this=0xbfb16658)
    at /build/buildd/kdebase-4.1.3/apps/dolphin/src/dolphincontextmenu.cpp:97
#51 0x080728e2 in DolphinViewContainer::openContextMenu (this=0x8f79720, 
    item=@0xbfb167d8, url=@0x90545ec)
    at /build/buildd/kdebase-4.1.3/apps/dolphin/src/dolphinviewcontainer.cpp:377
#52 0x08074630 in DolphinViewContainer::qt_metacall (this=0x8f79720, 
    _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfb16778)
    at /build/buildd/kdebase-4.1.3/obj-i486-linux-gnu/apps/dolphin/src/dolphinviewcontainer.moc:113
#53 0xb756ca60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#54 0xb756d7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#55 0xb7ea9fe9 in DolphinView::requestContextMenu (this=0x90551b8, 
    _t1=@0xbfb167d8, _t2=@0x90545ec)
    at /build/buildd/kdebase-4.1.3/obj-i486-linux-gnu/apps/dolphin/src/dolphinview.moc:313
#56 0xb7eab1e0 in DolphinView::openContextMenu (this=0x90551b8, 
    pos=@0xbfb16934)
    at /build/buildd/kdebase-4.1.3/apps/dolphin/src/dolphinview.cpp:791
#57 0xb7eaf66d in DolphinView::qt_metacall (this=0x90551b8, 
    _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0xbfb168dc)
    at /build/buildd/kdebase-4.1.3/obj-i486-linux-gnu/apps/dolphin/src/dolphinview.moc:193
#58 0xb756ca60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#59 0xb756d7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#60 0xb7e97f23 in DolphinController::requestContextMenu (this=0x90545e0, 
    _t1=@0xbfb16934)
    at /build/buildd/kdebase-4.1.3/obj-i486-linux-gnu/apps/dolphin/src/dolphincontroller.moc:142
#61 0xb7e97f61 in DolphinController::triggerContextMenuRequest (
    this=0x90545e0, pos=@0xbfb16934)
    at /build/buildd/kdebase-4.1.3/apps/dolphin/src/dolphincontroller.cpp:77
#62 0xb7ea1b94 in DolphinColumnWidget::contextMenuEvent (this=0x9050f00, 
    event=0xbfb170e0)
    at /build/buildd/kdebase-4.1.3/apps/dolphin/src/dolphincolumnwidget.cpp:399
#63 0xb6b50cad in QWidget::event () from /usr/lib/libQtGui.so.4
#64 0xb6e87f53 in QFrame::event () from /usr/lib/libQtGui.so.4
#65 0xb6f1e75f in QAbstractScrollArea::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#66 0xb6fc9c4f in QAbstractItemView::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#67 0xb6f20d05 in ?? () from /usr/lib/libQtGui.so.4
#68 0xb755704a in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
   from /usr/lib/libQtCore.so.4
#69 0xb6af88ca in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#70 0xb6b00c95 in QApplication::notify () from /usr/lib/libQtGui.so.4
#71 0xb7a26b2d in KApplication::notify (this=0xbfb17974, receiver=0x904f570, 
    event=0xbfb170e0)
    at /build/buildd/kde4libs-4.1.3/kdeui/kernel/kapplication.cpp:311
#72 0xb7557e61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#73 0xb6b038ae in QCoreApplication::sendSpontaneousEvent ()
   from /usr/lib/libQtGui.so.4
#74 0xb6b6ae7f in ?? () from /usr/lib/libQtGui.so.4
#75 0xb6b69a25 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#76 0xb6b937ea in ?? () from /usr/lib/libQtGui.so.4
#77 0xb61ad6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#78 0xb61b0da3 in ?? () from /usr/lib/libglib-2.0.so.0
#79 0xb61b0f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#80 0xb7582478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#81 0xb6b92ee5 in ?? () from /usr/lib/libQtGui.so.4
#82 0xb755652a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#83 0xb75566ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#84 0xb7558da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#85 0xb6af8767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#86 0x0808522f in main (argc=6, argv=0xbfb17b24)
    at /build/buildd/kdebase-4.1.3/apps/dolphin/src/main.cpp:94
#0  0xb7f16430 in __kernel_vsyscall ()
Comment 4 Peter Penz 2008-12-05 15:28:51 UTC
I'm clueless honestly speaking what might be the root cause of this crash and cannot reproduce it... I've set David Faure to CC.
Comment 5 David Faure 2008-12-05 17:20:42 UTC
Same as 176876 I think, which has more debug symbols.

*** This bug has been marked as a duplicate of bug 176876 ***
Comment 6 David Faure 2009-01-08 02:57:56 UTC
My bad, it was unrelated to 176876 since this one is about the filesharing code.
Comment 7 David Faure 2009-01-08 02:58:09 UTC
*** Bug 178627 has been marked as a duplicate of this bug. ***
Comment 8 David Faure 2009-01-08 02:59:36 UTC
Comment pasted from 176876:

"In /etc/security/fileshare.conf, SHARINGMODE was set to "advanced", however "simple" seems to be required. After I've changed this line in fileshare.conf the properties dialog appears
again."

To be investigated...
Comment 9 Christoph Feck 2009-06-01 04:57:39 UTC

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