trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: December 2014

Re: [trinity-users] kdeskto_lock issue

From: "Timothy Pearson" <kb9vqf@...>
Date: Tue, 2 Dec 2014 22:44:55 -0600
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA224

> On Tuesday 02 December 2014 17:57:06 you wrote:
>> > Debian Wheezy, Amd64, Nvidia quadro card, drivers from vender, dual
>> > monitors.
>> >
>> > In my .xsession-errors files I can see numerous entries:
>> > "tdecore] Deleting stale lockfile
>> > /tmp/tde-pabiVcZK3y/kdesktop_lock_lockfile"
>> > This crashes my X session, ~ 1 minute uptime, dumps me back to the
>> login
>> > screen, totaly unworkable.
>> >
>> > I have been working around this issue because it only happens on 2
>> > workstations with the same hardware specs, and drivers from Nvidia.
>> >
>> > I remove  '/opt/trinity/bin/kdesktop_lock', I do not use screensaver
>> or
>> > lock
>> > desktop, this works..until an update replaces the kdesktop_lock
>> > binary...this
>> > will stop eventually.
>> >
>> > I read bugs 2222 & 2230, re kdesktop_lock, I could run a backtrace if
>> > that would help and if someone could give directions on howto.  I will
>> > file a bug
>> > with the backtrace.
>>
>> Well that's strange.  When you mention it crashing your Xorg session
>> does
>> that mean the Xorg server itself crashes (i.e. instantaneous dump back
>> to
>> the command line) or that TDE terminates leaving Xorg still running?
>
> I do not think the x server crashed,I get dropped to the login prompt
> pretty
> quickly, does not seem like enough time to restart the X server also.

You'd be surprised how fast that login prompt shows up after an Xorg
crash. ;-)  However for now we can proceed under the assumption that it
isn't one.

>> kdesktop_lock is spawned from kdesktop, so any debugging would likely
>> involve terminating kdesktop and running kdesktop_lock under gdb from a
>> terminal.  When I have an answer to the above question I'll get back to
>> you on how to debug further.
>
> killed the 'kdesktop' process, ran 'gdb kdesktop_lock' in a terminal,
> output
> below.
>
> pabi@tdewheezy:~$ gdb /opt/trinity/bin/kdesktop_lock
> GNU gdb (GDB) 7.4.1-debian
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /opt/trinity/bin/kdesktop_lock...Reading symbols
> from /usr/lib/debug/opt/trinity/bin/kdesktop_lock...done.
> done.
> (gdb) q

You'll need to do something like this first...
export DISPLAY=:0
then when you are in gdb, to start the program, enter: r <return>

All you did above was load the kdesktop_lock binary into GDB, then exited
GDB. ;-)

Tim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iFUEARELAAYFAlR+lUcACgkQLaxZSoRZrGHKtQDgxleoSloijQzvW+UBQuG0kNaG
VG2ACf2jHawLhQDWIHhBXY+deAFo0F2ghGs1Bb61543bN4zUe5zZ
=SK4D
-----END PGP SIGNATURE-----