Bug 179794 - crash trying to share a folder using samba
Summary: crash trying to share a folder using samba
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_fileshare (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-06 11:37 UTC by Nadav Kavalerchik
Modified: 2009-05-09 16:57 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 Nadav Kavalerchik 2009-01-06 11:37:34 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

as root i right click a folder and press properties
then, Share (tab) and "share this folder" button
sharing dialog opens (kcmshell4) i press the "add" 
button... crash.

here is the debug log:
Application: KDE Control Module (kcmshell4), signal SIGABRT
0x00007f6cad7ecfc0 in nanosleep () from /lib/libc.so.6
[Current thread is 1 (Thread 0x7f6cadd946f0 (LWP 6399))]

Thread 1 (Thread 0x7f6cadd946f0 (LWP 6399)):
[KCrash Handler]
#5  0x00007f6cad780ed5 in raise () from /lib/libc.so.6
#6  0x00007f6cad7823f3 in abort () from /lib/libc.so.6
#7  0x00007f6cac4155a5 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#8  0x00007f6cac4156e7 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#9  0x00007f6ca365ab18 in ?? () from /usr/lib/kde4/kcm_fileshare.so
#10 0x00007f6ca365fcac in ?? () from /usr/lib/kde4/kcm_fileshare.so
#11 0x00007f6ca36605bc in ?? () from /usr/lib/kde4/kcm_fileshare.so
#12 0x00007f6ca36649e2 in ?? () from /usr/lib/kde4/kcm_fileshare.so
#13 0x00007f6ca3664d9e in ?? () from /usr/lib/kde4/kcm_fileshare.so
#14 0x00007f6ca362132e in ?? () from /usr/lib/kde4/kcm_fileshare.so
#15 0x00007f6ca36213ac in ?? () from /usr/lib/kde4/kcm_fileshare.so
#16 0x00007f6ca36216a4 in ?? () from /usr/lib/kde4/kcm_fileshare.so
#17 0x00007f6ca36211a4 in ?? () from /usr/lib/kde4/kcm_fileshare.so
#18 0x00007f6cac5196e4 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#19 0x00007f6cabfaef37 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4
#20 0x00007f6cabd3321b in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007f6cabd34de2 in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007f6cabd35035 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007f6caba7c139 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x00007f6caba29a5d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0x00007f6caba3204a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0x00007f6cad100f6b in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#27 0x00007f6cac505391 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#28 0x00007f6caba313e8 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4
#29 0x00007f6caba95939 in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007f6caba9482f in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#31 0x00007f6cababbcb4 in ?? () from /usr/lib/libQtGui.so.4
#32 0x00007f6ca89f278b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0x00007f6ca89f5f5d in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x00007f6ca89f611b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0x00007f6cac52d71f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x00007f6cababb47f in ?? () from /usr/lib/libQtGui.so.4
#37 0x00007f6cac503cb2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0x00007f6cac503e3d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0x00007f6cabe418f5 in QDialog::exec() () from /usr/lib/libQtGui.so.4
#40 0x00007f6cadaa9a9f in kdemain () from /usr/lib/libkdeinit4_kcmshell4.so
#41 0x00007f6cad76d1a6 in __libc_start_main () from /lib/libc.so.6
#42 0x0000000000400629 in _start ()
Comment 1 Dario Andres 2009-01-06 11:43:37 UTC
If you can reproduce the crash at will, can you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
Comment 2 Nadav Kavalerchik 2009-01-06 16:50:07 UTC
i hope i understood you correctly...
i installed all the *-dbg i could find and reproduced this crash again:

Application: KDE Control Module (kcmshell4), signal SIGABRT
0x00007f9065b2afc0 in __nanosleep_nocancel () from /lib/libc.so.6
[Current thread is 1 (Thread 0x7f90660d26f0 (LWP 8891))]

Thread 1 (Thread 0x7f90660d26f0 (LWP 8891)):
[KCrash Handler]
#5  0x00007f9065abeed5 in raise () from /lib/libc.so.6
#6  0x00007f9065ac03f3 in abort () from /lib/libc.so.6
#7  0x00007f90647535a5 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2102
#8  0x00007f90647536e7 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2303
#9  0x00007f905b999b18 in NFSFile::getEntryByPath (this=0x1a94340, path=<value optimized out>) at /usr/include/qt4/QtCore/qstring.h:830
#10 0x00007f905b99ecac in PropertiesPage::loadNFSEntry (this=0x1a68aa0) at ../../../filesharing/advanced/propsdlgplugin/propertiespage.cpp:368
#11 0x00007f905b99f5bc in PropertiesPage::loadNFS (this=0x1a68aa0) at ../../../filesharing/advanced/propsdlgplugin/propertiespage.cpp:363
#12 0x00007f905b9a39e2 in PropertiesPage::load (this=0x22bb) at ../../../filesharing/advanced/propsdlgplugin/propertiespage.cpp:122
#13 0x00007f905b9a3d9e in PropertiesPage (this=0x1a68aa0, parent=<value optimized out>, items=<value optimized out>, enterUrl=<value optimized out>)
    at ../../../filesharing/advanced/propsdlgplugin/propertiespage.cpp:94
#14 0x00007f905b96032e in PropertiesPageDlg (this=0x19712e0, parent=<value optimized out>, files=
    {<QList<KFileItem>> = {{p = {static shared_null = {ref = {_q_value = 2852}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fff6e201b70}, d = 0x7fff6e201b70}}, <No data fields>}) at ../../../filesharing/simple/fileshare.cpp:371
#15 0x00007f905b9603ac in KFileShareConfig::showShareDialog (this=0x191d1a0, files=<value optimized out>) at ../../../filesharing/simple/fileshare.cpp:391
#16 0x00007f905b9606a4 in KFileShareConfig::addShareBtnClicked (this=0x191d1a0) at ../../../filesharing/simple/fileshare.cpp:355
#17 0x00007f905b9601a4 in KFileShareConfig::qt_metacall (this=0x191d1a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./fileshare.moc:76
#18 0x00007f90648576e4 in QMetaObject::activate (sender=0x1963f10, from_signal_index=<value optimized out>, to_signal_index=30, argv=0xffffffffffffffff) at kernel/qobject.cpp:3031
#19 0x00007f90642ecf37 in QAbstractButton::clicked (this=0x22bb, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:185
#20 0x00007f906407121b in QAbstractButtonPrivate::emitClicked (this=0x19645b0) at widgets/qabstractbutton.cpp:538
#21 0x00007f9064072de2 in QAbstractButtonPrivate::click (this=0x19645b0) at widgets/qabstractbutton.cpp:531
#22 0x00007f9064073035 in QAbstractButton::mouseReleaseEvent (this=0x1963f10, e=0x7fff6e202610) at widgets/qabstractbutton.cpp:1110
#23 0x00007f9063dba139 in QWidget::event (this=0x1963f10, event=0x7fff6e202610) at kernel/qwidget.cpp:7163
#24 0x00007f9063d67a5d in QApplicationPrivate::notify_helper (this=0x15a6bb0, receiver=0x1963f10, e=0x7fff6e202610) at kernel/qapplication.cpp:3803
#25 0x00007f9063d7004a in QApplication::notify (this=<value optimized out>, receiver=0x1963f10, e=0x7fff6e202610) at kernel/qapplication.cpp:3528
#26 0x00007f906543ef6b in KApplication::notify (this=0x7fff6e203480, receiver=0x1963f10, event=0x7fff6e202610) at ../../kdeui/kernel/kapplication.cpp:307
#27 0x00007f9064843391 in QCoreApplication::notifyInternal (this=0x7fff6e203480, receiver=0x1963f10, event=0x7fff6e202610) at kernel/qcoreapplication.cpp:587
#28 0x00007f9063d6f3e8 in QApplicationPrivate::sendMouseEvent (receiver=0x1963f10, event=0x7fff6e202610, alienWidget=0x1963f10, nativeWidget=0x16955c0, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f90646ed0e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#29 0x00007f9063dd3939 in QETWidget::translateMouseEvent (this=0x16955c0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4044
#30 0x00007f9063dd282f in QApplication::x11ProcessEvent (this=0x13b, event=0x7fff6e202ed0) at kernel/qapplication_x11.cpp:3162
#31 0x00007f9063df9cb4 in x11EventSourceDispatch (s=0x15aa3a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#32 0x00007f9060d3078b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0x00007f9060d33f5d in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x00007f9060d3411b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0x00007f906486b71f in QEventDispatcherGlib::processEvents (this=0x15a6ad0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#36 0x00007f9063df947f in QGuiEventDispatcherGlib::processEvents (this=0x22bb, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198
#37 0x00007f9064841cb2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1847603648}) at kernel/qeventloop.cpp:143
#38 0x00007f9064841e3d in QEventLoop::exec (this=0x7fff6e203200, flags={i = 1847603744}) at kernel/qeventloop.cpp:194
#39 0x00007f906417f8f5 in QDialog::exec (this=0x16955c0) at dialogs/qdialog.cpp:447
#40 0x00007f9065de7a9f in kdemain (_argc=2, _argv=0x7fff6e203b98) at ../../kcmshell/main.cpp:275
#41 0x00007f9065aab1a6 in __libc_start_main () from /lib/libc.so.6
#42 0x0000000000400629 in _start ()

Comment 3 Christoph Feck 2009-05-09 16:57:43 UTC
This has been fixed in r904401 by mlaurent.

WebSVN link: http://websvn.kde.org/?view=rev&revision=904401