Bug 322996 - kded crashes on kde startup while restoring last session
Summary: kded crashes on kde startup while restoring last session
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Unmaintained
Component: general (show other bugs)
Version: 4.10.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Alex Fiestas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-30 11:57 UTC by Thomas Michalka
Modified: 2013-08-13 19:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
1. Crash on startup of kde (6.65 KB, text/plain)
2013-07-30 11:57 UTC, Thomas Michalka
Details
2. Crash on starting kded4 *manually* (6.60 KB, text/plain)
2013-07-30 11:59 UTC, Thomas Michalka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Michalka 2013-07-30 11:57:01 UTC
Created attachment 81453 [details]
1. Crash on startup of kde

o  After every log in, on every user account:
Application: KDE-Dienst (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb548a740 (LWP 1368))]

Thread 2 (Thread 0xaf947b40 (LWP 1371)):
#0   ..........


o  When trying to manually start kded4:
Application: KDE-Dienst (kded4), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb5467740 (LWP 5643))]

Thread 3 (Thread 0xb0328b40 (LWP 5650)):
#0  ...........
Comment 1 Thomas Michalka 2013-07-30 11:59:33 UTC
Created attachment 81454 [details]
2. Crash on starting kded4 *manually*
Comment 2 Jekyll Wu 2013-07-30 13:10:08 UTC
Please paste backtrace in the comment instead of uploading as attachment. Attachment is unsearchable. 


Thread 1 (Thread 0xb548a740 (LWP 1368)):
[KCrash Handler]
#6  Solid::GenericInterface::property (this=0x0, key=...) at /usr/src/debug/kdelibs-4.10.5/solid/solid/genericinterface.cpp:48
#7  0xb03a73e6 in Wacom::TabletDeamon::deviceAdded(QString const&) () from /usr/lib/kde4/kded_tablet.so
#8  0xb03a8305 in Wacom::TabletDeamon::TabletDeamon(QObject*, QList<QVariant> const&) () from /usr/lib/kde4/kded_tablet.so
#9  0xb03a929a in QObject* KPluginFactory::createInstance<Wacom::TabletDeamon, QObject>(QWidget*, QObject*, QList<QVariant> const&) () from /usr/lib/kde4/kded_tablet.so
#10 0xb70fe474 in KPluginFactory::create (this=0x84476f0, iface=iface@entry=0xb7159220 <qt_meta_stringdata_KDEDModule> "KDEDModule", parentWidget=0x0, parent=parent@entry=0x8396580, args=..., keyword=...) at /usr/src/debug/kdelibs-4.10.5/kdecore/util/kpluginfactory.cpp:203
#11 0xb5063f9a in create<KDEDModule> (args=..., parent=0x8396580, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.5/kdecore/util/kpluginfactory.h:507
#12 Kded::loadModule (this=this@entry=0x8396580, s=..., onDemand=onDemand@entry=false) at /usr/src/debug/kdelibs-4.10.5/kded/kded.cpp:410
#13 0xb50650b2 in Kded::initModules (this=this@entry=0x8396580) at /usr/src/debug/kdelibs-4.10.5/kded/kded.cpp:269
#14 0xb5067ce6 in newInstance (this=0xbf904c0c) at /usr/src/debug/kdelibs-4.10.5/kded/kded.cpp:847
#15 KDEDApplication::newInstance (this=0xbf904c0c) at /usr/src/debug/kdelibs-4.10.5/kded/kded.cpp:804
#16 0xb74f7767 in KUniqueApplicationAdaptor::newInstance (this=this@entry=0x843eee8, asn_id=..., args=...) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kuniqueapplication.cpp:442
Comment 3 Alex Fiestas 2013-07-30 22:10:03 UTC
Wacomtblet is not using solid and it hasn't for a looong while, so this bug must be fixed.

Adding the two authors in CC, just to be sure.
Comment 4 Jörg Ehrichs 2013-08-09 16:18:45 UTC
(In reply to comment #3)
> Wacomtblet is not using solid and it hasn't for a looong while, so this bug
> must be fixed.
> 
> Adding the two authors in CC, just to be sure.

So resolved fixed is not the propper status for this then.
But I will have a look into KScreen/Solid integration that we postponed since a while now
Comment 5 Alexander Maret-Huskinson 2013-08-09 16:56:08 UTC
You are using an old version of the Wacom KCM. The method TabletDeamon::deviceAdded() was removed quite a while ago. Can you please check the latest version and report back if it works for you. You can find a link to the OpenSuSE RPMs on our project page.

Also, can you please disable the WacomTablet daemon in the KDE service manager and check if the crashes still occur. Just to make sure it is really us who are causing the crashes.
Comment 6 Thomas Michalka 2013-08-13 11:00:22 UTC
Hi Alexander,


Alexander Maret-Huskinson schrieb:
> https://bugs.kde.org/show_bug.cgi?id=322996
> 
> --- Comment #5 from Alexander Maret-Huskinson <alex@maret.de> ---
> You are using an old version of the Wacom KCM. The method
> TabletDeamon::deviceAdded() was removed quite a while ago. Can you please check
> the latest version and report back if it works for you. You can find a link to
> the OpenSuSE RPMs on our project page.

I've got the latest version of _all_ RPM-packages of openSUSE 12.3 by an
update a few days ago (after problem reporting) and the segmentation
fault is still there.


> Also, can you please disable the WacomTablet daemon in the KDE service manager

I'm not quite sure how to do this. In _KDE3_ on another computer I could
find a Service Manager in the _Control Center_ under "KDE-Komponenten"
--> "Diensteverwaltung" (engl.: "KDE Components" --> "Service Manager"?
/1/), but in _KDE4_ _System Settings_ I can't find the corresponding
location.

But there is an Icon "Tablet" in the settings category below all others,
in German called "Nicht zuzuordnen" (engl.: "Not  assigned" or "Not
assignable"? /1/).
There I find the message:

"DBus connection to the kded deamon /2/ not available!"

and:

"Please start the wacom tablet deamon /2/ an try again.
The deamon /2/ is responsible for tablet detection and profile support."

There is obviously nothing to set in that category.

> and check if the crashes still occur. Just to make sure it is really us who are
> causing the crashes.

Right. I'll do this once I know where and will report the results again.

Just to not forget:

$ ps aux grep kded
USER       PID %CPU %MEM    VSZ   RSS TTY STAT START   TIME COMMAND
thomas    3355  0.1  0.8  92476  8348 ?   Sl   11:29   0:02 kdeinit4:
kded4 [kdeinit]


Bye for now!

Tom


/1/
I have set German as my language, so my re-translations into English may
not match the English originals but I hope you will recognize them however.

/2/
Wrong spelling! How to tell the translators?
Correct spelling: daemon or demon.
Comment 7 Alexander Maret-Huskinson 2013-08-13 16:48:40 UTC
(In reply to comment #6)
> I've got the latest version of _all_ RPM-packages of openSUSE 12.3 by an
> update a few days ago (after problem reporting) and the segmentation
> fault is still there.

AFAIK OpenSuse does not ship the latest version of the wacom-table kcm. You can get the latest version for OpenSuse by following the link on our project page: https://projects.kde.org/projects/extragear/base/wacomtablet

On the other hand, if you do not have a Wacom tablet device, you might also consider uninstalling the wacom kcm or permanently disable it in your launch configuration (see below).

 
 
> > Also, can you please disable the WacomTablet daemon in the KDE service manager
> 
> I'm not quite sure how to do this. In _KDE3_ on another computer I could
> find a Service Manager in the _Control Center_ under "KDE-Komponenten"
> --> "Diensteverwaltung" (engl.: "KDE Components" --> "Service Manager"?
> /1/), but in _KDE4_ _System Settings_ I can't find the corresponding
> location.

You can find the service manager by clicking on:

KDE Kontrollzentrum -> Starten und Beenden -> Diensteverwaltung -> KDE-Dienste beim Start

Make sure you disable the Wacom-Tablet service and apply the changes, so it will not be launched on startup.


> > and check if the crashes still occur. Just to make sure it is really us who are
> > causing the crashes.
> 
> Right. I'll do this once I know where and will report the results again.

Great, please let us know if your system still crashes even if the Wacom tablet service is disabled.
 
> Just to not forget:
> 
> $ ps aux grep kded
> USER       PID %CPU %MEM    VSZ   RSS TTY STAT START   TIME COMMAND
> thomas    3355  0.1  0.8  92476  8348 ?   Sl   11:29   0:02 kdeinit4:
> kded4 [kdeinit]

That's ok, you need the kded because it manages all KDE background services.
Comment 8 Thomas Michalka 2013-08-13 19:04:40 UTC
Am 13.08.2013 18:48, schrieb Alexander Maret-Huskinson:
> https://bugs.kde.org/show_bug.cgi?id=322996
> 
> --- Comment #7 from Alexander Maret-Huskinson <alex@maret.de> --- (In
> reply to comment #6)
>> [...]
> 
> 
> 
>>> Also, can you please disable the WacomTablet daemon in the KDE
>>> service manager
>> 
>> I'm not quite sure how to do this. In _KDE3_ on another computer I
>> could find a Service Manager in the _Control Center_ under
>> "KDE-Komponenten" --> "Diensteverwaltung" (engl.: "KDE Components"
>> --> "Service Manager"? /1/), but in _KDE4_ _System Settings_ I
>> can't find the corresponding location.
> 
> You can find the service manager by clicking on:
> 
> KDE Kontrollzentrum -> Starten und Beenden -> Diensteverwaltung ->
> KDE-Dienste beim Start
> 
> Make sure you disable the Wacom-Tablet service and apply the changes,
> so it will not be launched on startup.

Ok, done for all users.

>>> and check if the crashes still occur. Just to make sure it is
>>> really us who are causing the crashes.

Ok, done for now with two users.


> Great, please let us know if your system still crashes even if the
> Wacom tablet service is disabled.

Now there's no crash message during kde startup :-)


>> Just to not forget:
>> 
>> $ ps aux grep kded USER       PID %CPU %MEM    VSZ   RSS TTY STAT
>> START   TIME COMMAND thomas    3355  0.1  0.8  92476  8348 ?   Sl
>> 11:29   0:02 kdeinit4: kded4 [kdeinit]
> 
> That's ok, you need the kded because it manages all KDE background
> services.

I just wanted to say that the kded seems to run anyway after firstly
crashing on kde startup. But without service for wacom tablets this
misbehavior belongs to the past :-)


Thanks for the efficient dialog!


Bye, Tom