<p dir="auto">For the one who will tag this issue: Affects <strong>Linux</strong> version. Likely is a bug. Causes a crash.</p>
<p dir="auto">I'm not sure where the issue is, but since it's Atom that crashes as a result, I assume I should report it here. If it turns out to be issue somewhere else, I'll take my time to report it in the appropriate place.</p>
<h3 dir="auto">Software involved</h3>
<ol dir="auto">
<li>Firefox Developer Edition 40.0a2 (installed from <a href="https://launchpad.net/~ubuntu-mozilla-daily/+archive/ubuntu/firefox-aurora" rel="nofollow">Firefox Aurora PPA</a> as <code class="notranslate">firefox</code>)</li>
<li>Atom 0.210.0 (installed from <a href="https://launchpad.net/~webupd8team/+archive/ubuntu/atom" rel="nofollow">Webupd8 PPA</a>)</li>
<li>Linux Mint 17.1 Rebecca, XFCE edition, fully updated and with XFCE 4.12</li>
</ol>
<p dir="auto">Not sure if the last one is important, I'll add others to the list or remove the point altogether if the specific Linux distro turns out to be irrelevant.</p>
<h3 dir="auto">Steps to reproduce:</h3>
<ol dir="auto">
<li>Run Firefox and open some tabs</li>
<li>Run Atom in safe mode to isolate the issue (I used <code class="notranslate">atom --safe .</code> from terminal)</li>
<li>Grab one of the Firefox' tabs and drag it over the Atom's window, not releasing the mouse button</li>
</ol>
<p dir="auto"><strong>Result</strong>: Atom crashes, outputting the following into the terminal:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[10718:0622/124154:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
ATTENTION: default value of option force_s3tc_enable overridden by environment.
App load time: 288ms
[10755:0622/124154:INFO:renderer_main.cc(212)] Renderer process started
[10718:0622/124154:INFO:CONSOLE(175)] &quot;Enabled theme 'tomorrow-night-eighties-syntax' is not installed.&quot;, source: /opt/atom/resources/app.asar/src/theme-manager.js (175)
[10718:0622/124155:INFO:CONSOLE(175)] &quot;Enabled theme 'tomorrow-night-eighties-syntax' is not installed.&quot;, source: /opt/atom/resources/app.asar/src/theme-manager.js (175)
[10718:0622/124155:INFO:CONSOLE(175)] &quot;Enabled theme 'tomorrow-night-eighties-syntax' is not installed.&quot;, source: /opt/atom/resources/app.asar/src/theme-manager.js (175)
[10718:0622/124156:INFO:CONSOLE(56)] &quot;Window load time: 1439ms&quot;, source: file:///opt/atom/resources/app.asar/static/index.js (56)
The program 'atom' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAtom (invalid Atom parameter)'.
  (Details: serial 1312 error_code 5 request_code 20 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)"><pre class="notranslate"><code class="notranslate">[10718:0622/124154:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
ATTENTION: default value of option force_s3tc_enable overridden by environment.
App load time: 288ms
[10755:0622/124154:INFO:renderer_main.cc(212)] Renderer process started
[10718:0622/124154:INFO:CONSOLE(175)] "Enabled theme 'tomorrow-night-eighties-syntax' is not installed.", source: /opt/atom/resources/app.asar/src/theme-manager.js (175)
[10718:0622/124155:INFO:CONSOLE(175)] "Enabled theme 'tomorrow-night-eighties-syntax' is not installed.", source: /opt/atom/resources/app.asar/src/theme-manager.js (175)
[10718:0622/124155:INFO:CONSOLE(175)] "Enabled theme 'tomorrow-night-eighties-syntax' is not installed.", source: /opt/atom/resources/app.asar/src/theme-manager.js (175)
[10718:0622/124156:INFO:CONSOLE(56)] "Window load time: 1439ms", source: file:///opt/atom/resources/app.asar/static/index.js (56)
The program 'atom' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAtom (invalid Atom parameter)'.
  (Details: serial 1312 error_code 5 request_code 20 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
</code></pre></div>
<p dir="auto">Atom Version: 0.129.0<br>
Video of me triggering the bug: <a href="http://ara.sh/private/atom-crash.ogv" rel="nofollow">http://ara.sh/private/atom-crash.ogv</a><br>
Reproducible every time.</p>
<p dir="auto">Environment:<br>
Ubuntu 14.04 (all updates installed as of filing this issue)<br>
Unity desktop environment</p>
<p dir="auto">Repro steps:</p>
<ol dir="auto">
<li>Launch atom from the Terminal</li>
<li>Open a Firefox window (or use an existing one)</li>
<li>Drag the Firefox tab anywhere over the Atom window</li>
</ol>
<p dir="auto">Actual behavior:<br>
It crashes</p>
<p dir="auto">Expected behavior:<br>
Not crash :-)</p>
<p dir="auto">Additional Information:<br>
The terminal prints out the following after the crash:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[7950:0920/180947:ERROR:browser_main_loop.cc(161)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[7950:0920/180947:ERROR:browser_main_loop.cc(189)] GTK theme error: Unable to locate theme engine in module_path: &quot;pixmap&quot;,
ATTENTION: default value of option force_s3tc_enable overridden by environment.
App load time: 88ms
[7984:0920/180947:INFO:renderer_main.cc(227)] Renderer process started
[7950:0920/180948:INFO:CONSOLE(18)] &quot;Window load time: 778ms&quot;, source: /opt/atom/resources/app/src/window-bootstrap.js (18)
The program 'atom' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAtom (invalid Atom parameter)'.
  (Details: serial 1360 error_code 5 request_code 20 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)"><pre class="notranslate"><code class="notranslate">[7950:0920/180947:ERROR:browser_main_loop.cc(161)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[7950:0920/180947:ERROR:browser_main_loop.cc(189)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
ATTENTION: default value of option force_s3tc_enable overridden by environment.
App load time: 88ms
[7984:0920/180947:INFO:renderer_main.cc(227)] Renderer process started
[7950:0920/180948:INFO:CONSOLE(18)] "Window load time: 778ms", source: /opt/atom/resources/app/src/window-bootstrap.js (18)
The program 'atom' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAtom (invalid Atom parameter)'.
  (Details: serial 1360 error_code 5 request_code 20 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
</code></pre></div>