Bug 340812

Summary: Crash attempting to remove user login icon
Product: [Applications] systemsettings Reporter: Brian <bdfordjr2>
Component: kcm_useraccountAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: alexandernst, kde
Priority: NOR    
Version: 5.1.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Brian 2014-11-10 09:10:58 UTC
Partial copy/paste from the crash report text file since it wouldn't submit:

-- Information about the crash:
- What I was doing when the application crashed: I was attempting to remove a custom user icon image when I got a message saying that system settings failed to delete the icon, followed by the crash. Apparently I can change the image to one of the default included ones, but attempting to remove the image gets the crash.

Reproducible: Always

Steps to Reproduce:
1. Change the user icon in Account Details and apply.
2. Now go back and select remove image and apply.
3. You should get this message: "Could not delete file /home/[User]/.face.icon."
4. Crashasaurus-rex appears and devours systemsettings

Actual Results:  
Crashed as usual. Though I was curious enough to just go to the directory and delete face.icon myself, and it seems to have done the trick. It seems like it's just systemsettings that fails to do it and has a meltdown.

Expected Results:  
It should have deleted the user icon image (face.icon, apparently).

Copy/Pasted from the crash report text file since it wouldn't submit:

Application: systemsettings5 (5.1.0)
 (Compiled from sources)
Qt Version: 5.3.2
Operating System: Linux 3.17.2-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed: I was attempting to remove a custom user icon image when I got a message saying that system settings failed to delete the icon, followed by the crash. Apparently I can change the image to one of the default included ones, but attempting to remove the image gets the crash.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5f796df7c0 (LWP 681))]

Thread 2 (Thread 0x7f5f65c4f700 (LWP 682)):
#0  0x00007f5f754b95bd in poll () from /usr/lib/libc.so.6
#1  0x00007f5f73d9c9f2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f5f73d9e56f in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007f5f685e0b49 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so
#4  0x00007f5f75b293be in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f5f725fe314 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f5f754c23ed in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f5f796df7c0 (LWP 681)):
[KCrash Handler]
#5  0x00007f5f75d246dc in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /usr/lib/libQt5Core.so.5
#6  0x00007f5f6fc483da in KDialogJobUiDelegate::Private::next() () from /usr/lib/libKF5JobWidgets.so.5
#7  0x00007f5f75d452da in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#8  0x00007f5f77136f4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#9  0x00007f5f7713c36e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007f5f75d1570b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#11 0x00007f5f75d176d3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#12 0x00007f5f75d6cd43 in ?? () from /usr/lib/libQt5Core.so.5
#13 0x00007f5f720e1a1d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0x00007f5f720e1d08 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007f5f720e1dbc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0x00007f5f75d6d137 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#17 0x00007f5f75d13132 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#18 0x00007f5f75d1aaec in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#19 0x000000000040e77c in main ()

Report to https://bugs.kde.org/
Comment 1 Brian 2014-11-10 09:34:50 UTC
It seems that manually deleting face.icon from the home folder doesn't remove the user icon, either.
Comment 2 David Edmundson 2014-12-22 19:02:05 UTC
I can reproduce this, thanks
Comment 3 Alexander Nestorov 2015-02-08 23:04:21 UTC

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