Bug#730177: I can't really understand whats happening.

John Hughes john at calva.com
Fri Jan 3 14:59:07 UTC 2014


On 03/01/14 13:33, John Hughes wrote:
>
>
> (The log message is slightly different because I tried to add a 
> try/catch around the error in fileUtils.js but I obviously did it in 
> the wrong place).


And putting back the original fileUtils.js gets the same behaviour:

gnome-session[2542]: DEBUG(+): GsmAutostartApp: started pid:2599
gnome-session[2542]: DEBUG(+): GsmManager: ending phase APPLICATION
gnome-session[2542]: DEBUG(+): GsmManager: starting phase RUNNING

gnome-session[2542]: DEBUG(+): gsm_xsmp_server_start
gnome-session[2542]: DEBUG(+): GsmPresence: adding idle watch (1) for 300 secs
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/gnome/SessionManager/Presence interface=org.freedesktop.DBus.Properties method=GetAll
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/gnome/SessionManager/Client1 interface=org.freedesktop.DBus.Properties method=GetAll
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
gnome-session[2542]: DEBUG(+): GsmShell: Connected to the shell
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
     JS ERROR: !!!   Exception was: Gio.IOErrorEnum: Permission denied
     JS ERROR: !!!     message = '"Permission denied"'
     JS ERROR: !!!     fileName = '"/usr/share/gnome-shell/js/misc/fileUtils.js"'
     JS ERROR: !!!     lineNumber = '13'
     JS ERROR: !!!     stack = '"0 anonymous("res" = [object GObject_Object], "obj" = [object GObject_Object])@/usr/share/gnome-shell/js/misc/fileUtils.js:13
"'
gnome-session[2542]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
gnome-session[2542]: DEBUG(+): GsmPresence: setting idle: 1
gnome-session[2542]: DEBUG(+): Updating ConsoleKit idle status: 1
gnome-session[2542]: DEBUG(+): GsmPresence: setting idle: 0
gnome-session[2542]: DEBUG(+): Updating ConsoleKit idle status: 0
gnome-session[2542]: DEBUG(+): GsmPresence: setting non-idle status 0
gnome-session[2542]: DEBUG(+): emitting SessionIsActive


Corresponding strace:

2639  lstat("/usr/local/share/gnome-shell/modes", 0x7f1f898fe990) = -1 EACCES (Permission denied)
2639  lstat("/usr/share/gnome-shell/modes", 0x7f1f898fe990) = -1 ENOENT (No such file or directory)
...
2640  openat(AT_FDCWD, "/usr/local/share/gnome-shell/modes", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 EACCES (Permission denied)
...
2599  lseek(2, 12814, SEEK_SET)         = 12814
2599  write(2, "    JS ERROR: !!!   Exception was: Gio.IOErrorEnum: Permission denied", 69) = 69
2599  write(2, "\n", 1)                 = 1
2599  fstat(2, {st_mode=S_IFREG|0644, st_size=12884, ...}) = 0
2599  lseek(2, 12884, SEEK_SET)         = 12884
2599  write(2, "    JS ERROR: !!!     message = '\"Permission denied\"'", 53) = 53
2599  write(2, "\n", 1)                 = 1
2599  fstat(2, {st_mode=S_IFREG|0644, st_size=12938, ...}) = 0
2599  lseek(2, 12938, SEEK_SET)         = 12938
2599  write(2, "    JS ERROR: !!!     fileName = '\"/usr/share/gnome-shell/js/misc/fileUtils.js\"'", 80) = 80
2599  write(2, "\n", 1)                 = 1
2599  fstat(2, {st_mode=S_IFREG|0644, st_size=13019, ...}) = 0
2599  lseek(2, 13019, SEEK_SET)         = 13019
2599  write(2, "    JS ERROR: !!!     lineNumber = '13'", 39) = 39
2599  write(2, "\n", 1)                 = 1
2599  fstat(2, {st_mode=S_IFREG|0644, st_size=13059, ...}) = 0
2599  lseek(2, 13059, SEEK_SET)         = 13059
2599  write(2, "    JS ERROR: !!!     stack = '\"0 anonymous(\"res\" = [object GObject_Object], \"obj\" = [object GObject_Object])@/usr/share/gnome-shell/js/misc/fileUtils.js:13\n\"'", 159) = 159
2599  write(2, "\n", 1)                 = 1
~



More information about the pkg-gnome-maintainers mailing list