Hi!

On Fri, 7 Aug 2015, marcel-hollerb...@t-online.de wrote:

What was the last time you build it ? Did efl-1.15 cause the problem or
the entrance update ?

Well, I had entrance running as default display manager for a couple of months 
now, so yesterday I downloaded and installed first the efl-1.15 and 
enlightenment 0.19.8 sources, and then did a recompile on entrance. Of course, 
there have also been a couple of updates for debian 8 in the last few months, 
too.
I switched back to xdm for now since I had not come around to fine tune the 
init script anyway, so it did hang on shutdown for a couple of minutes for some 
reason. Sooo... today I made another make distclean; make; sudo make install 
and then started the test:

/opt/src/entrance# utils/entrance_xephyr.sh INF<7324>:entrance src/daemon/entrance_config.c:82 _users_get() entrance: Updating configuration
INF<7324>:entrance src/daemon/entrance.c:421 main() Welcome
INF<7324>:entrance src/daemon/entrance.c:435 main() session init
INF<7324>:entrance src/daemon/entrance_session.c:52 
_entrance_session_cookie_add() write auth on display :1.0 with file 
/var/run/entrance.auth
INF<7324>:entrance src/daemon/entrance_session.c:465 
_entrance_session_desktops_init() scanning directory: /usr/local/share
INF<7324>:entrance src/daemon/entrance_session.c:515 
_entrance_session_desktops_scan_file() Adding Enlightenment as wm
INF<7324>:entrance src/daemon/entrance_session.c:465 
_entrance_session_desktops_init() scanning directory: /usr/share
INF<7324>:entrance src/daemon/entrance_session.c:515 
_entrance_session_desktops_scan_file() Adding GNOME 3 (JHBuild) as wm
INF<7324>:entrance src/daemon/entrance_session.c:515 
_entrance_session_desktops_scan_file() Adding MATE as wm
INF<7324>:entrance src/daemon/entrance_session.c:515 
_entrance_session_desktops_scan_file() Adding TWM as wm
INF<7324>:entrance src/daemon/entrance.c:189 _entrance_main() starting...
INF<7324>:entrance src/daemon/entrance.c:206 _entrance_main() Exec 
entrance_client: /usr/bin/sudo -u nobody LD_LIBRARY_PATH=/usr/lib 
/usr/lib/entrance/entrance_client -d :1.0 -t default
INF<7324>:entrance src/daemon/entrance.c:448 main() history init
INF<7324>:entrance src/daemon/entrance_history.c:235 _entrance_user_init() scan 
for users
INF<7324>:entrance src/daemon/entrance.c:472 main() action init
INF<7324>:entrance src/daemon/entrance_action.c:205 
_entrance_action_grub2_get() trying to open /boot/grub/grub.cfg
INF<7324>:entrance src/daemon/entrance_action.c:215 
_entrance_action_grub2_get() open /boot/grub/grub.cfg ok
INF<7324>:entrance src/daemon/entrance.c:474 main() server init
ERR<7324>:ecore_con lib/ecore_con/ecore_con_local.c:373 
ecore_con_local_listen() Local socket '/var/tmp/.ecore_service|entrance|42' bind 
failed: Address already in use
ERR<7324>:ecore_con lib/ecore_con/ecore_con_local.c:379 
ecore_con_local_listen() Local socket '/var/tmp/.ecore_service|entrance|42' connect 
test failed: Connection refused
INF<7324>:entrance src/daemon/entrance.c:476 main() starting main loop
ERR<7324>:entrance_client src/daemon/entrance.c:163 _entrance_client_error() 
ERR<7329>:efreet_cache lib/efreet/efreet_cache.c:249 efreet_cache_init() Failed to 
create directory '/nonexistent/.cache/efreet'

ERR<7324>:entrance_client src/daemon/entrance.c:163 _entrance_client_error() 
ERR<7329>:elementary elm_config.c:3353 _elm_config_sub_init() Problem accessing 
Elementary's user configuration directory: /nonexistent/.elementary/config/

X11 connection rejected because of wrong authentication.
ERR<7324>:entrance_client src/daemon/entrance.c:163 _entrance_client_error() 
ERR<7329>:eldbus lib/eldbus/eldbus_core.c:1005 _connection_get() Error connecting to 
bus of type 1. error name: org.freedesktop.DBus.Error.Spawn.ExecFailed error message: 
/usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 
initialization failed.

ERR<7329>: lib/eldbus/eldbus_core.c:1067 eldbus_connection_get() safety check 
failed: conn == NULL
ERR<7329>: eldbus_elementary_colorclass.c:122 elementary_colorclass_proxy_get() 
safety check failed: conn == NULL

INF<7324>:entrance_client src/daemon/entrance.c:182 _entrance_client_data() 
src/bin/entrance_client.c:58 login init
src/bin/entrance_client.c:60 gui init
src/bin/entrance_gui.c:80 Gui init: default

INF<7324>:entrance_client src/daemon/entrance.c:182 _entrance_client_data() 
src/bin/entrance_client.c:62 conf init
src/bin/entrance_conf.c:203 conf init
src/bin/entrance_conf_main.c:346 conf main init
src/bin/entrance_conf_user.c:485 conf user init
src/bin/entrance_conf_theme.c:187 conf theme init
src/bin/entrance_client.c:64 connect init

INF<7324>:entrance src/daemon/entrance_server.c:18 _entrance_server_add() 
server client connected
INF<7324>:entrance src/daemon/entrance_server.c:19 _entrance_server_add() 
Sending users
INF<7324>:entrance src/daemon/entrance_server.c:24 _entrance_server_add() 
Sending actions
INF<7324>:entrance src/daemon/entrance_server.c:30 _entrance_server_add() 
Sending xsessions
INF<7324>:entrance src/daemon/entrance_server.c:37 _entrance_server_add() 
Sending custom settings is enabled
utils/entrance_xephyr.sh: line 31:  7324 Segmentation fault      entrance -x











I checked the /var/tmp/.ecore_service|entrance|42 socket file, it was recent 
and removed it after verifying that no entrance process was still running, 
starting again brought

/opt/src/entrance# utils/entrance_xephyr.sh INF<7416>:entrance src/daemon/entrance.c:421 main() Welcome
INF<7416>:entrance src/daemon/entrance.c:435 main() session init
INF<7416>:entrance src/daemon/entrance_session.c:52 
_entrance_session_cookie_add() write auth on display :1.0 with file 
/var/run/entrance.auth
INF<7416>:entrance src/daemon/entrance_session.c:465 
_entrance_session_desktops_init() scanning directory: /usr/local/share
INF<7416>:entrance src/daemon/entrance_session.c:515 
_entrance_session_desktops_scan_file() Adding Enlightenment as wm
INF<7416>:entrance src/daemon/entrance_session.c:465 
_entrance_session_desktops_init() scanning directory: /usr/share
INF<7416>:entrance src/daemon/entrance_session.c:515 
_entrance_session_desktops_scan_file() Adding GNOME 3 (JHBuild) as wm
INF<7416>:entrance src/daemon/entrance_session.c:515 
_entrance_session_desktops_scan_file() Adding MATE as wm
INF<7416>:entrance src/daemon/entrance_session.c:515 
_entrance_session_desktops_scan_file() Adding TWM as wm
INF<7416>:entrance src/daemon/entrance.c:189 _entrance_main() starting...
INF<7416>:entrance src/daemon/entrance.c:206 _entrance_main() Exec 
entrance_client: /usr/bin/sudo -u nobody LD_LIBRARY_PATH=/usr/lib 
/usr/lib/entrance/entrance_client -d :1.0 -t default
INF<7416>:entrance src/daemon/entrance.c:448 main() history init
INF<7416>:entrance src/daemon/entrance_history.c:235 _entrance_user_init() scan 
for users
INF<7416>:entrance src/daemon/entrance.c:472 main() action init
INF<7416>:entrance src/daemon/entrance_action.c:205 
_entrance_action_grub2_get() trying to open /boot/grub/grub.cfg
INF<7416>:entrance src/daemon/entrance_action.c:215 
_entrance_action_grub2_get() open /boot/grub/grub.cfg ok
INF<7416>:entrance src/daemon/entrance.c:474 main() server init
INF<7416>:entrance src/daemon/entrance.c:476 main() starting main loop
ERR<7416>:entrance_client src/daemon/entrance.c:163 _entrance_client_error() 
ERR<7421>:efreet_cache lib/efreet/efreet_cache.c:249 efreet_cache_init() Failed to 
create directory '/nonexistent/.cache/efreet'

ERR<7416>:entrance_client src/daemon/entrance.c:163 _entrance_client_error() 
ERR<7421>:elementary elm_config.c:3353 _elm_config_sub_init() Problem accessing 
Elementary's user configuration directory: /nonexistent/.elementary/config/

X11 connection rejected because of wrong authentication.
INF<7416>:entrance_client src/daemon/entrance.c:182 _entrance_client_data() 
src/bin/entrance_client.c:58 login init
src/bin/entrance_client.c:60 gui init
src/bin/entrance_gui.c:80 Gui init: default

ERR<7416>:entrance_client src/daemon/entrance.c:163 _entrance_client_error() 
ERR<7421>:eldbus lib/eldbus/eldbus_core.c:1005 _connection_get() Error connecting to 
bus of type 1. error name: org.freedesktop.DBus.Error.Spawn.ExecFailed error message: 
/usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 
initialization failed.

ERR<7421>: lib/eldbus/eldbus_core.c:1067 eldbus_connection_get() safety check 
failed: conn == NULL
ERR<7421>: eldbus_elementary_colorclass.c:122 elementary_colorclass_proxy_get() 
safety check failed: conn == NULL

INF<7416>:entrance_client src/daemon/entrance.c:182 _entrance_client_data() 
src/bin/entrance_client.c:62 conf init
src/bin/entrance_conf.c:203 conf init
src/bin/entrance_conf_main.c:346 conf main init
src/bin/entrance_conf_user.c:485 conf user init
src/bin/entrance_conf_theme.c:187 conf theme init
src/bin/entrance_client.c:64 connect init

INF<7416>:entrance_client src/daemon/entrance.c:182 _entrance_client_data() 
src/bin/entrance_connect.c:212 client server init ok

INF<7416>:entrance src/daemon/entrance_server.c:18 _entrance_server_add() 
server client connected
INF<7416>:entrance src/daemon/entrance_server.c:19 _entrance_server_add() 
Sending users
INF<7416>:entrance src/daemon/entrance_server.c:24 _entrance_server_add() 
Sending actions
INF<7416>:entrance src/daemon/entrance_server.c:30 _entrance_server_add() 
Sending xsessions
INF<7416>:entrance src/daemon/entrance_server.c:37 _entrance_server_add() 
Sending custom settings is enabled
utils/entrance_xephyr.sh: line 31:  7416 Segmentation fault      entrance -x








The errors for /nonexistent is probably because the 'nobody' user does not really have a 
home directory, and the "X11 connection rejected because of wrong 
authentication" looks like a major problem, but the segfault at the end does not 
look too good at all. I have added a screenshot from the Xephyr display, which looks 
exactly what I got when running it as display manager.






PS: I have changed the entrance -x line in the utils/entrance-xephyr.sh script 
to
gdb entrance -ex "run -x" and got the following output at the end:


Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106     ../sysdeps/x86_64/strlen.S: No such file or directory.

(gdb) bt
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00007ffff773132d in eet_data_put_string (src=<optimized out>, 
size_ret=size_ret@entry=0x7fffffffe58c, ed=0x0) at lib/eet/eet_data.c:867
#2  0x00007ffff77313d0 in eet_data_put_string (ed=0x0, src=<optimized out>, 
size_ret=0x7fffffffe58c) at lib/eet/eet_data.c:875
#3  0x00007ffff773273c in eet_data_put_type (size_ret=<optimized out>, src=<optimized out>, 
type=<optimized out>, ed=<optimized out>)
    at lib/eet/eet_data.c:1432
#4  eet_data_put_unknown (ed=0x0, edd=0x7fffffffe58c, ede=0x654240, 
ds=0x635340, data_in=0x7fffffffe740) at lib/eet/eet_data.c:4779
#5  0x00007ffff77320e3 in _eet_data_descriptor_encode (ed=0x0, edd=0x6540b0, 
data_in=0x7fffffffe738, size_ret=0x7fffffffe624) at lib/eet/eet_data.c:5153
#6  0x00007ffff77326ab in eet_data_put_union (ed=0x0, edd=0x7fffffffe58c, 
ede=0x654390, ds=0x16, data_in=0x7fffffffe740) at lib/eet/eet_data.c:4124
#7  0x00007ffff77320e3 in _eet_data_descriptor_encode (ed=ed@entry=0x0, 
edd=0x652b30, data_in=data_in@entry=0x7fffffffe730,
    size_ret=size_ret@entry=0x7fffffffe6d4) at lib/eet/eet_data.c:5153
#8  0x00007ffff7737bd9 in eet_data_descriptor_encode_cipher (edd=<optimized 
out>, data_in=data_in@entry=0x7fffffffe730,
    cipher_key=cipher_key@entry=0x0, size_ret=size_ret@entry=0x7fffffffe70c) at 
lib/eet/eet_data.c:5259
#9  0x00007ffff772f8b3 in eet_connection_send (conn=0x6543d0, edd=<optimized 
out>, data_in=data_in@entry=0x7fffffffe730,
    cipher_key=cipher_key@entry=0x0) at lib/eet/eet_connection.c:175
#10 0x00000000004051d8 in entrance_event_send (data=data@entry=0x7fffffffe730) 
at src/event/entrance_event.c:393
#11 0x0000000000406fd6 in _entrance_server_add (data=<optimized out>, type=<optimized 
out>, event=<optimized out>) at src/daemon/entrance_server.c:42
#12 0x00007ffff70a4d25 in _ecore_call_handler_cb (event=<optimized out>, type=<optimized 
out>, data=<optimized out>, func=<optimized out>)
    at lib/ecore/ecore_private.h:390
#13 _ecore_event_call () at lib/ecore/ecore_events.c:565
#14 0x00007ffff70ac678 in _ecore_main_loop_iterate_internal 
(once_only=once_only@entry=0) at lib/ecore/ecore_main.c:1927
#15 0x00007ffff70ac857 in ecore_main_loop_begin () at lib/ecore/ecore_main.c:983
#16 0x0000000000403a99 in main (argc=<optimized out>, argv=<optimized out>) at 
src/daemon/entrance.c:477


So... Not quite sure what is happening there, looks like some invalid string 
pointer problem to me... So eet should probalby do better checks there on its 
input parameters before doing string operations..

--
peter kollner <pe...@asgalon.net>
------------------------------------------------------------------------------
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to