FS#51155 - [lxsession] lxsession-default-apps (from lxsession 1:0.5.2-2) Segmentation Fault

Attached to Project: Community Packages
Opened by Tim (sirarch) - Saturday, 01 October 2016, 16:59 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 01 October 2016, 17:43 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

$ lxsession-default-apps
** Message: main.vala:592: log directory: /home/me/.cache/lxsession-default-apps
** Message: main.vala:593: log path: /home/me/.cache/lxsession-default-apps/run.log
Segmentation fault (core dumped)



Additional info:
* package version(s)
$ pacman -Qo /usr/bin/lxsession-default-apps
/usr/bin/lxsession-default-apps is owned by lxsession 1:0.5.2-2

* config and/or log files etc.
$ cat /home/me/.cache/lxsession-default-apps/run.log
** Message: utils.vala:30: config_path_directory: /home/me/.config/lxsession-default-apps
** Message: desktop-files-backend.vala:171: test config_path: /home/me/.config/lxsession-default-apps/settings.conf
** Message: desktop-files-backend.vala:237: Scanning folder: /usr/share/applications
** Message: desktop-files-backend.vala:287: Start scanning

** Message: desktop-files-backend.vala:265: /usr/share/app-install/desktop doesn't exist. Pass
** Message: desktop-files-backend.vala:209: Signal finish scanning available with mode: write
** Message: desktop-files-backend.vala:189: Signal finish scanning installed with mode: write
** Message: desktop-files-backend.vala:342: Finishing scanning


(lxsession-default-apps:9447): Gtk-WARNING **: Attempting to add a widget with type GtkVBox to a container of type LDefaultAppsMainWindows, but the widget is already inside a container of type GtkWindow, the GTK+ FAQ at http://library.gnome.org/devel/gtk-faq/stable/ explains how to reparent a widget.

** (lxsession-default-apps:9447): WARNING **: dbus-backend.vala:58: Could not connect: Connection refused
** Message: autostart.vala:72: Conf file for autostart: /home/me/.config/lxsession/LXDE/autostart
** Message: autostart.vala:72: Conf file for autostart: /home/me/.config/lxsession/LXDE/autostart
** Message: autostart.vala:72: Conf file for autostart: /home/me/.config/lxsession/LXDE/autostart
** Message: autostart.vala:87: Autostart conf file : /home/me/.config/lxsession/LXDE/autostart
** Message: autostart.vala:100: Autostart line : @lxpanel --profile LXDE
** Message: autostart.vala:100: Autostart line : @pcmanfm --desktop --profile LXDE
** Message: autostart.vala:100: Autostart line : @xscreensaver -no-splash

(lxsession-default-apps:9447): Gtk-WARNING **: Attempting to add a widget with type GtkVBox to a container of type GtkAlignment, but the widget is already inside a container of type GtkAlignment, the GTK+ FAQ at http://library.gnome.org/devel/gtk-faq/stable/ explains how to reparent a widget.



Steps to reproduce:
Run lxsession-default-apps from a terminal and it segfaults right away.

This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 01 October 2016, 17:43 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Configuration issue
Comment by Doug Newgard (Scimmia) - Saturday, 01 October 2016, 17:05 GMT
Are you using dbus-launch anywhere?
Comment by Tim (sirarch) - Saturday, 01 October 2016, 17:11 GMT
I'm guessing no, I'm starting the DE session via a tigervnc server with its default xstartup file:
$ cat ~/.vnc/xstartup
#!/bin/sh

unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
OS=`uname -s`
if [ $OS = 'Linux' ]; then
case "$WINDOWMANAGER" in
*gnome*)
if [ -e /etc/SuSE-release ]; then
PATH=$PATH:/opt/gnome/bin
export PATH
fi
;;
esac
fi

exec startlxde
#exec enlightenment_start

if [ -x /etc/X11/xinit/xinitrc ]; then
exec /etc/X11/xinit/xinitrc
fi
if [ -f /etc/X11/xinit/xinitrc ]; then
exec sh /etc/X11/xinit/xinitrc
fi
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
Comment by Doug Newgard (Scimmia) - Saturday, 01 October 2016, 17:14 GMT
Yeah, stop unsetting DBUS_SESSION_BUS_ADDRESS
Comment by Tim (sirarch) - Saturday, 01 October 2016, 17:24 GMT
Is this the proper way to start the LXDE session from ~/.vnc/xstartup?
exec startlxde
Comment by Doug Newgard (Scimmia) - Saturday, 01 October 2016, 17:27 GMT
I haven't dealt with vnc for a long time, so I can't really say. exec startlxde is a typical way of starting it from xinitrc, though.
Comment by Tim (sirarch) - Saturday, 01 October 2016, 17:37 GMT
Thanks. Commenting out 'unset DBUS_SESSION_BUS_ADDRESS' fixed it.
We can close this issue.

Loading...