trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: June 2018

Re: [trinity-users] starting trinity fails with segfault of dcopserver

From: Slávek Banko <slavek.banko@...>
Date: Mon, 4 Jun 2018 17:51:45 +0200
Dne po 4. června 2018 Stefan Krusche napsal(a):
> Good day everyone,
>
> I can't seem to get a trinity session started on a freshly installed
> Devuan/ascii system.
>
> System information:
> $ uname -a
> Linux rubians 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07)
> x86_64 GNU/Linux
>
> TDE is from preliminary stable builds:
> $ /opt//trinity/bin/tde-config --version
> Qt: 3.5.0
> TDE: R14.0.5 [DEVELOPMENT]
> tde-config: 1.0
>
> TDE's display manager tdm seems to run fine, but after trying to login
> the xserver crashes, restarts and brings me back to the login screen.
>
> Xorg.log doesn't show any errors (EE), only a couple of warnings (WW),
> and slim/xfce starts well, so the problem does not *seem* to be with
> my xorg installation/configuration.
>
> Apparently the fatal error for tdm (taken from /var/log/tdm.log; see
> below) seems to be:
>
> XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server
> ":0" after 10630 requests (10630 known processed) with 12 events
> remaining.
>
> At the same time the kernel reports segfaults of xsetroot, dcopserver
> and drkonqi:
>
> # /var/log/kern.log:
>
> xsetroot[13335]: segfault at 0 ip           (null) sp 00007ffc3e25b728
> error 14 in xsetroot[5565ab996000+3000] dcopserver[13348]: segfault at
> 0 ip           (null) sp 00007ffe62f8bfb8 error 14 in
> tdeinit[561ca05e9000+f000] drkonqi[13349]: segfault at 0 ip          
> (null) sp 00007ffdc6e1ef78 error 14 in drkonqi[556e1e321000+2c000]
> drkonqi[13357]: segfault at 0 ip           (null) sp 00007ffd3ae13258
> error 14 in drkonqi[559954651000+2c000] drkonqi[13358]: segfault at 0
> ip           (null) sp 00007ffcd2440b98 error 14 in
> drkonqi[563d84b6a000+2c000] drkonqi[13364]: segfault at 0 ip          
> (null) sp 00007ffd8ee79d38 error 14 in drkonqi[55fc873bf000+2c000]
> drkonqi[13366]: segfault at 0 ip           (null) sp 00007ffe42274928
> error 14 in drkonqi[5574adb0e000+2c000] dcopserver[13373]: segfault at
> 0 ip           (null) sp 00007ffd4592dcc8 error 14 in
> tdeinit[564c11c4d000+f000] drkonqi[13375]: segfault at 0 ip          
> (null) sp 00007ffc4ab0fa98 error 14 in drkonqi[55e870384000+2c000]
>
> TDE's start script /opt/trinity/bin/starttde also reports segmentation
> fault and crashes of a couple of TDE programs. Main reason for failure
> seems to be that dcopserver can't be started (all marked with "<----").
>
> I'm stuck and don't know how to find out the root of the problem. I'm
> probably missing something here. Any hints and advice much appreciated.
>
> Kind regards,
> Stefan
>
> # ~/.xsession-errors:
> Xsession: X session started for stekru at Mo 4. Jun 14:18:34 CEST 2018
> localuser:stekru being added to access control list
> OpenGL version: 3.
> dbus-update-activation-environment: systemd --user not found, ignoring
> --systemd argument dbus-update-activation-environment: setting
> LANG=de_DE.UTF-8
> dbus-update-activation-environment: setting DISPLAY=:0
> dbus-update-activation-environment: setting DM_CONTROL=/var/run/xdmctl
> dbus-update-activation-environment: setting USER=stekru
> dbus-update-activation-environment: setting DESKTOP_SESSION=default
> dbus-update-activation-environment: setting PWD=/home/stekru
> dbus-update-activation-environment: setting HOME=/home/stekru
> dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=default
> dbus-update-activation-environment: setting SHELL=/bin/bash
> dbus-update-activation-environment: setting XDG_SESSION_CLASS=greeter
> dbus-update-activation-environment: setting
> GPG_AGENT_INFO=/home/stekru/.gnupg/S.gpg-agent:0:1
> dbus-update-activation-environment: setting SHLVL=1
> dbus-update-activation-environment: setting LOGNAME=stekru
> dbus-update-activation-environment: setting
> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-m8Bl3WHlj4,guid=f71782
>d11eadbaab970c8e625b152e1a dbus-update-activation-environment: setting
> XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=cla
>ssic dbus-update-activation-environment: setting
> PATH=/home/stekru/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/ga
>mes:/usr/games dbus-update-activation-environment: setting
> XDG_SESSION_COOKIE=a7b74f329b75f62a6e0210685b106cef-1528114714.71029-12
>50134074 dbus-update-activation-environment: setting
> _=/usr/bin/dbus-update-activation-environment [starttde] Starting
> starttde.
> [starttde] This script is /usr/bin/x-session-manager
> [starttde] TDE version is R14.0.5 [DEVELOPMENT]
> [starttde] TDE base directory is /opt/trinity
> [starttde] TDEHOME is not set.
> [starttde] Set TDEHOME to /home/stekru/.trinity.
> [starttde] Setting TDEROOTHOME to /root/.trinity.
> [starttde] XDG_DATA_DIRS:
> /opt/trinity/share:/usr/local/share:/usr/share [starttde] TDEDIR:
> /opt/trinity
> [starttde] TDEDIRS:
> Segmentation fault                                                    
> <---- [starttde] Starting Trinity...
> [starttde] Trinity hardware control dbus daemon running.
> [tdeinit] Pipe closed unexpectedly: No such file or directory         
> <---- [tdeinit] DCOPServer could not be started, aborting.             
>      <---- [kcrash] TDECrash: Application 'kdetcompmgr' crashing...
> [kcrash] Warning: socket connection failed: : Verbindungsaufbau
> abgelehnt [kcrash] TDECrash cannot reach tdeinit, launching directly.
> [starttde] Running kpersonalizer...
> [kcrash] TDECrash: Application 'twin' crashing...
> [kcrash] Warning: socket connection failed: : Verbindungsaufbau
> abgelehnt [kcrash] TDECrash cannot reach tdeinit, launching directly.
> [kcrash] TDECrash: Application 'kpersonalizer' crashing...
> [kcrash] Warning: socket connection failed: : Verbindungsaufbau
> abgelehnt [kcrash] TDECrash cannot reach tdeinit, launching directly.
> call failed
> [kcrash] TDECrash: Application 'tdeinit_displayconfig' crashing...
> [kcrash] Warning: socket connection failed: : Verbindungsaufbau
> abgelehnt [kcrash] TDECrash cannot reach tdeinit, launching directly.
> [kcrash] TDECrash: Application 'ksplash' crashing...
> [kcrash] Warning: socket connection failed: : Verbindungsaufbau
> abgelehnt [kcrash] TDECrash cannot reach tdeinit, launching directly.
> [starttde] TDE_FULL_SESSION: true
> [starttde] TDE_SESSION_UID: 1000
> [tdeinit] Pipe closed unexpectedly: No such file or directory
> [tdeinit] DCOPServer could not be started, aborting.
> [starttde] tdeinit started successfully.
> [kcrash] TDECrash: Application 'tdeinit_phase1' crashing...
> [kcrash] Warning: socket connection failed: : Verbindungsaufbau
> abgelehnt [kcrash] TDECrash cannot reach tdeinit, launching directly.
> ERROR: Couldn't attach to DCOP server!
> [starttde] Shutting down Trinity...
> [tdeinit wrapper] Warning: socket connection failed: : Connection
> refused [tdeinit wrapper] Error: Can't contact tdeinit!
> [starttde] Running Trinity shutdown scripts...
> [starttde] Trinity shutdown complete.
>
> # /var/log/tdm.log:
>
> X.Org X Server 1.19.2
> Release Date: 2017-03-02
> X Protocol Version 11, Revision 0
> Build Operating System: Linux 4.9.0-4-amd64 x86_64 Debian
> Current Operating System: Linux rubians 4.9.0-6-amd64 #1 SMP Debian
> 4.9.88-1+deb9u1 (2018-05-07) x86_64 Kernel command line:
> BOOT_IMAGE=/vmlinuz-4.9.0-6-amd64 root=/dev/mapper/ssd--vg-ssd--root1
> ro quiet Build Date: 16 October 2017  08:19:45AM
> xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support)
> Current version of pixman: 0.34.0
>         Before reporting problems, check http://wiki.x.org
>         to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (==) default setting,
>         (++) from command line, (!!) notice, (II) informational,
>         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun  4 13:27:28 2018
> (==) Using config file: "/etc/X11/xorg.conf"
> (==) Using system config directory "/usr/share/X11/xorg.conf.d"
> [FIXME] UNCLASSIFIED DEVICE name: hdaudioC0D0 type: (null) subsystem:
> hdaudio driver: snd_hda_codec_realtek [Node Path: (null)] [Syspath:
> /sys/devices/pci0000:00/0000:00:1b.0/hdaudioC0D0] [8086:293e]
> [tdekbdledsync] Found 1 keyboard(s)
> [tdekbdledsync] Syncing keyboard: (AT Translated Set 2 keyboard)
> /usr/bin/iceauth:  creating new authority file
> /tmp/1033582353/.ICEauthority
>
> # --- before / after login attempt ---
>
> tdecore (TDEAccel): WARNING: TDEGlobalAccelPrivate::grabKey( Alt+Plus,
> true, "Walk Through Windows of Same Application (Reverse)" ): Tried to
> grab key requiring ISO_Level3_Shift (AltGr) sequence. XIO:  fatal IO
> error 11 (Resource temporarily unavailable) on X server ":0" after
> 10630 requests (10630 known processed) with 12 events remaining.
> [FIXME] UNCLASSIFIED DEVICE name: hdaudioC0D0 type: (null) subsystem:
> hdaudio driver: snd_hda_codec_realtek [Node Path: (null)] [Syspath:
> /sys/devices/pci0000:00/0000:00:1b.0/hdaudioC0D0] [8086:293e]
> [tdekbdledsync] Found 1 keyboard(s)
> [tdekbdledsync] Syncing keyboard: (AT Translated Set 2 keyboard)
> /usr/bin/iceauth:  creating new authority file
> /tmp/1333720498/.ICEauthority
>

It's just my modest estimate:

  apt purge kgtk-qt3-trinity

Cheers
-- 
Slávek