Bug 324281

Summary: synaptiks crashes after launching
Product: [I don't know] kde Reporter: zetrotrack000
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: arthur, cfeck, eviveiro, linuturk, priv, unassigned-bugs
Priority: NOR    
Version: 4.11.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: http://forum.kde.org/viewtopic.php?f=225&t=117257
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on: 323899    
Bug Blocks:    

Description zetrotrack000 2013-08-30 16:10:50 UTC
The problem suddenly starts to appear. When I try to start "synaptiks", kde gives error:
KDEInit could not launch '/usr/bin/synaptiks'
When try to run from terminal, it gives following error:
Segmentation fault (core dumped)
PS: few days ago, after upgrade, the kde stopped loading with error "desktop shell could not load" and I fixed it by removing ~/.kde4/share/apps/plasma directory. 

Reproducible: Always

Steps to Reproduce:
1. Run 'pacman -Syu' to upgrade system
2. Go to 'kickoff Launcher'
3. Run 'synaptiks'
Actual Results:  
kde gives error:
KDEInit could not launch '/usr/bin/synaptiks'

Expected Results:  
Synaptiks should run and allow user to use/change touchpad settings

When go to 'system settings' and run 'touchpad' it crashes, here is the backtrace:

Application: KDE Control Module (kcmshell4), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[KCrash Handler]
#5  0x00007fe0b65af200 in QMetaObject::cast(QObject*) const () from /usr/lib/libQtCore.so.4
#6  0x00007fe0a15fd4e2 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#7  0x00007fe0a15fd650 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#8  0x00007fe0a15e652a in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#9  0x00007fe0b577e00a in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007fe0b5b1b8ee in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007fe0b572f12c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007fe0b57356f0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007fe0b735972a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#14 0x00007fe0b65a8ebd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#15 0x00007fe0b577b3af in QWidget::ensurePolished() const () from /usr/lib/libQtGui.so.4
#16 0x00007fe0b5b20343 in QLabel::minimumSizeHint() const () from /usr/lib/libQtGui.so.4
#17 0x00007fe0b5b20403 in QLabel::sizeHint() const () from /usr/lib/libQtGui.so.4
#18 0x00007fe0b74166ac in KNumInput::layout(bool) () from /usr/lib/libkdeui.so.5
#19 0x00007fe0b741688f in KNumInput::setLabel(QString const&, QFlags<Qt::AlignmentFlag>) () from /usr/lib/libkdeui.so.5
#20 0x00007fe0b74169ba in KDoubleNumInput::setLabel(QString const&, QFlags<Qt::AlignmentFlag>) () from /usr/lib/libkdeui.so.5
#21 0x00007fe09945797f in ?? () from /usr/lib/python2.7/site-packages/PyKDE4/kdeui.so
#22 0x00007fe09c719839 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#23 0x00007fe09c719552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#24 0x00007fe09c71a290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#25 0x00007fe09c719489 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#26 0x00007fe09c719552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#27 0x00007fe09c719552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#28 0x00007fe09c719552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#29 0x00007fe09c719552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#30 0x00007fe09c719552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#31 0x00007fe09c719552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#32 0x00007fe09c719552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#33 0x00007fe09c719552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#34 0x00007fe09c719552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#35 0x00007fe09c719552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#36 0x00007fe09c719552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#37 0x00007fe09c719552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#38 0x00007fe09c719552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#39 0x00007fe09c71a290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#40 0x00007fe09c719489 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#41 0x00007fe09c719552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#42 0x00007fe09c71a290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#43 0x00007fe09c719489 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#44 0x00007fe09c71a290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#45 0x00007fe09c719489 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#46 0x00007fe09c71a290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#47 0x00007fe09c6a9b00 in function_call () from /usr/lib/libpython2.7.so.1.0
#48 0x00007fe09c685c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#49 0x00007fe09c69441d in instancemethod_call () from /usr/lib/libpython2.7.so.1.0
#50 0x00007fe09c685c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#51 0x00007fe09c6d9e57 in slot_tp_init () from /usr/lib/libpython2.7.so.1.0
#52 0x00007fe09c6d8bcf in type_call () from /usr/lib/libpython2.7.so.1.0
#53 0x00007fe09c685c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#54 0x00007fe09c7159e1 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#55 0x00007fe09c71a290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#56 0x00007fe09c6a9b00 in function_call () from /usr/lib/libpython2.7.so.1.0
#57 0x00007fe09c685c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#58 0x00007fe09c69441d in instancemethod_call () from /usr/lib/libpython2.7.so.1.0
#59 0x00007fe09c685c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#60 0x00007fe09c6d9e57 in slot_tp_init () from /usr/lib/libpython2.7.so.1.0
#61 0x00007fe09c6d8bcf in type_call () from /usr/lib/libpython2.7.so.1.0
#62 0x00007fe09c685c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#63 0x00007fe09c7159e1 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#64 0x00007fe09c71a290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#65 0x00007fe09c6a9b00 in function_call () from /usr/lib/libpython2.7.so.1.0
#66 0x00007fe09c685c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#67 0x00007fe09c69441d in instancemethod_call () from /usr/lib/libpython2.7.so.1.0
#68 0x00007fe09c685c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#69 0x00007fe09c6d9e57 in slot_tp_init () from /usr/lib/libpython2.7.so.1.0
#70 0x00007fe09c6d8bcf in type_call () from /usr/lib/libpython2.7.so.1.0
#71 0x00007fe09c685c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#72 0x00007fe09c7159e1 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#73 0x00007fe09c71a290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#74 0x00007fe09c719489 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#75 0x00007fe09c71a290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#76 0x00007fe09c719489 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#77 0x00007fe09c71a290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#78 0x00007fe09c6a9b00 in function_call () from /usr/lib/libpython2.7.so.1.0
#79 0x00007fe09c685c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#80 0x00007fe09c7140d7 in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.7.so.1.0
#81 0x00007fe09c9ffd6d in ?? () from /usr/lib/kde4/kpythonpluginfactory.so
#82 0x00007fe09ca008ae in ?? () from /usr/lib/kde4/kpythonpluginfactory.so
#83 0x00007fe0a6d39d9e in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () from /usr/lib/libkcmutils.so.4
#84 0x00007fe0a6d3efeb in ?? () from /usr/lib/libkcmutils.so.4
#85 0x00007fe0a6d3f705 in KCModuleProxy::realModule() const () from /usr/lib/libkcmutils.so.4
#86 0x00007fe0a6d3fa69 in KCModuleProxy::useRootOnlyMessage() const () from /usr/lib/libkcmutils.so.4
#87 0x00007fe0a6d3ca71 in KCMultiDialog::addModule(KCModuleInfo const&, KPageWidgetItem*, QStringList const&) () from /usr/lib/libkcmutils.so.4
#88 0x00007fe0a1e46bfe in kdemain () from /usr/lib/libkdeinit4_kcmshell4.so
#89 0x0000000000408069 in _start ()
Comment 1 Jekyll Wu 2013-08-31 02:18:11 UTC
>  When try to run from terminal, it gives following error: Segmentation fault (core dumped)

Synaptiks is not developed nor tracked here.  Actually it is hardly maintained nowadays.

Anyway, the crash of systemsettings is probably related with bug 323899.
Comment 2 Eric Viveiros 2013-09-09 21:39:00 UTC
I have this problem using Arch Linux
Comment 3 Eric Viveiros 2013-09-10 17:36:05 UTC
(In reply to comment #2)
> I have this problem using Arch Linux

I just did a system update on arch linux.
sudo pacman -Syu

I also had a problem with kate not launching in the kickoff application launcher which I changed the line:
X-DBUS-StartupType=Unique
to
X-DBUS-StartupType=none
in the file /usr/share/applications/kde4/konsole.desktop

I'm not sure if the second part is need but the problem is now fixed for me.

On a side note when launching synaptiks from konsole I get the following warning message:
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Comment 4 Justin Phelps 2014-03-26 14:47:07 UTC
I'm also affected by this on Kubuntu 13.10.

$ synaptiks
Traceback (most recent call last):
  File "/usr/bin/synaptiks", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2805, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 696, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 594, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pyudev>=0.6

$ synaptikscfg 
Traceback (most recent call last):
  File "/usr/bin/synaptikscfg", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2805, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 696, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 594, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pyudev>=0.6

Let me know what else you need.
Comment 5 Christoph Feck 2014-04-20 15:28:00 UTC
Synaptiks is unmaintained since years. Please try "kcm-touchpad", which ships with Kubuntu 14.04 by default, and should also be available for other distributions. Please ask in a forum of your distribution for packages.