question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The X11 connection broke (error 1). Did the X11 server die?

See original GitHub issue

Hey, I’m currently using splash via Docker and I’m having my container “randomly” die with an exit code of 137. The only relevant message I can see in the log output is the last line:

The X11 connection broke (error 1). Did the X11 server die?

I’ve also seen this in the dimes output but I think it might be a separate condition:

python3[4064]: segfault at 14 ip 00007f6a449edf84 sp 00007ffd58796f70 error 4 in libQt5WebKit.so.5.5.1[7f6a440a5000+20a9000]

I’d say this happens after I have crawled a couple of hundred pages (it doesn’t seem to be anything specific about an individual page because it crashes randomly). Possibly something running out of memory? Curious if others have seen the same issue or have ideas how I might get more information to help debug.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:14

github_iconTop GitHub Comments

4reactions
jeffcjohnsoncommented, Jun 23, 2017

This may just be coincidence and may not apply to everyone else’s crashing but I noticed that Docker started crashing when I added the following and stopped crashing when I removed it.

splash.images_enabled = false

When it crashed, the output was:

The X11 connection broke (error 1). Did the X11 server die?
4reactions
krsyoungcommented, Jul 13, 2016

Hey @kevinsimper. I unfortunately never made it anywhere in terms of actually fixing the issue. I’m running with Docker so I just set the thing to restart on error … which is ugly but has been working for my use case. Not sure if it is a version or resource issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The X11 connection broke (error 1). Did the X11 server die ...
Today I had two issues. On the first issue my PC hanged without any log at journalctl. I needed to reset it. On...
Read more >
X11 connection broken when using Qt 5.14 - Qt Forum
An error message says "The X11 connection broke (error 1). Did the X11 server die?". The server hasn't died, but the connection did...
Read more >
Can't fully logout from session: The X11 connection broke ...
Mainly I see this: The X11 connection broke (error 1). Did the X11 server die? This is the state of the session after...
Read more >
IPython session on ssh exits when X11 server dies
The X11 connection broke (error 1). Did the X11 server die? And the IPython session is dead, together with all my variables.
Read more >
X11 Connection Broke - INDI Forum
[2020-05-13T05:46:39.561 EDT WARN ][ default] - The X11 connection broke (error 1). Did the X11 server die? [2020-05-13T05:46:40.371 EDT ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found