issue461: -daemon mode broken unless conkeror window is already open

Priority: bug Status: unread
msg1188 (view) Author: neioarst Date: 2014-02-02.08:20:13
With no existing conkeror windows open, `conkeror -daemon` hangs indefinitely after producing the
following error messages. If I leave it running and start up a conkeror window, the window is completely
blank, and nothing works - it looks like all the initialization broke. However, if I have a running
conkeror window before running `conkeror -daemon`, it runs successfully - I can then close all conkeror
windows and open a new one with much lower latency. I'll also note that `conkeror -batch` always exits
successfully (giving only the glibc warning, which apparently is bogus). So I suspect that `-daemon` is
for some reason not turning off some window-dependent stuff that it should.

`conkeror -v` gives
(process:9935): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed conkeror 1.0pre

The error output of `conkerer -daemon` is

(process:24224): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Console error: [JavaScript Error: "no element found" {file:
"chrome://conkeror-gui/content/minibuffer.xul" line: 1}]
  Category: malformed-xml
Console error: [JavaScript Warning: "Failed to load overlay from
chrome://conkeror-gui/content/minibuffer.xul." {file: "chrome://conkeror-gui/content/conkeror.xul" line: 0}]
  Category: XUL Document
JavaScript error: chrome://conkeror/content/minibuffer.js, line 146: this.input_element is null
System JS : ERROR chrome://conkeror/content/window.js:279
                     TypeError: window.buffers is undefined
Console error: [JavaScript Error: "TypeError: this.input_element is null" {file:
"chrome://conkeror/content/minibuffer.js" line: 146}]
  Category: chrome javascript
Console error: [JavaScript Error: "window.buffers is undefined" {file:
"chrome://conkeror/content/window.js" line: 279}]
  Category: system javascript
Date User Action Args
2014-02-02 08:20:14neioarstcreate