You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Crash on Ubuntu when dragging a Firefox window over Atom #3593
Environment:
Ubuntu 14.04 (all updates installed as of filing this issue)
Unity desktop environment
Repro steps:
Launch atom from the Terminal
Open a Firefox window (or use an existing one)
Drag the Firefox tab anywhere over the Atom window
Actual behavior:
It crashes
Expected behavior:
Not crash :-)
Additional Information:
The terminal prints out the following after the crash:
[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.)
Drag the Firefox tab anywhere over the Atom window
Terminal output:
[3440:1004/111601: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.
ATTENTION: default value of option force_s3tc_enable overridden by environment.
App load time: 92ms
[3472:1004/111602:INFO:renderer_main.cc(227)] Renderer process started
[3440:1004/111603:INFO:CONSOLE(11)] "activate linter-clang", source: /home/username/.atom/packages/linter-clang/lib/init.coffee (11)
[3440:1004/111603:INFO:CONSOLE(7)] "activate linter-javac", source: /home/username/.atom/packages/linter-javac/lib/init.coffee (7)
[3440:1004/111603:INFO:CONSOLE(4)] "Linter-Pylint: package loaded, ready to get initialized by AtomLinter.", source: /home/username/.atom/packages/linter-pylint/lib/init.coffee (4)
[3440:1004/111603:INFO:CONSOLE(7)] "activate linter-shellcheck", source: /home/username/.atom/packages/linter-shellcheck/lib/init.coffee (7)
[3440:1004/111603:INFO:CONSOLE(7)] "activate linter-xmllint", source: /home/username/.atom/packages/linter-xmllint/lib/init.coffee (7)
[3440:1004/111605:INFO:CONSOLE(18)] "Window load time: 3359ms", 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 3707 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.)
#0 0x00007fffeff650e0 in _XError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#1 0x00007fffeff621d1 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#2 0x00007fffeff63157 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#3 0x00007fffeff48da6 in XGetWindowProperty ()
from /usr/lib/x86_64-linux-gnu/libX11.so.6
#4 0x00007ffff4b09a3b in ui::GetRawBytesOfProperty(unsigned long, unsigned long, scoped_refptr<base::RefCountedMemory>*, unsigned long*, unsigned long*, unsigned long*) () from /home/zcbenz/codes/atom-shell/out/Debug/libchromiumcontent.so
#5 0x0000000000b9b3ab in views::DesktopDragDropClientAuraX11::X11DragContext::OnSelectionNotify (this=0x1ef103c33000, event=...)
at ../../ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc:271
#6 0x0000000000b9b455 in views::DesktopDragDropClientAuraX11::OnSelectionNotify (this=0x1ef103b0c340, xselection=...)
at ../../ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc:566
#7 0x0000000000b4fd3f in views::DesktopWindowTreeHostX11::DispatchEvent (
this=0x1ef103b0c080, event=@0x7fffffffd828: 0x7fffffffd900)
at ../../ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:1802
#8 0x00007ffff4b1a287 in ui::PlatformEventSource::DispatchEvent(_XEvent*) ()
from /home/zcbenz/codes/atom-shell/out/Debug/libchromiumcontent.so
#9 0x00007ffff4b33b0c in ui::X11EventSource::DispatchEvent(_XEvent*) ()
from /home/zcbenz/codes/atom-shell/out/Debug/libchromiumcontent.so
---Type <return> to continue, or q <return> to quit---
#10 0x00007ffff4b33a5e in ui::X11EventSource::DispatchXEvents() ()
from /home/zcbenz/codes/atom-shell/out/Debug/libchromiumcontent.so
#11 0x00007ffff4b33bbc in ?? ()
from /home/zcbenz/codes/atom-shell/out/Debug/libchromiumcontent.so
#12 0x00007ffff14acd13 in g_main_context_dispatch ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff14ad060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff14ad124 in g_main_context_iteration ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007ffff3ddf5df in base::MessagePumpGlib::Run(base::MessagePump::Delegate*) () from /home/zcbenz/codes/atom-shell/out/Debug/libchromiumcontent.so
#16 0x00007ffff3e46438 in base::RunLoop::Run() ()
from /home/zcbenz/codes/atom-shell/out/Debug/libchromiumcontent.so
#17 0x00007ffff3ea419c in content::BrowserMainLoop::MainMessageLoopRun() ()
from /home/zcbenz/codes/atom-shell/out/Debug/libchromiumcontent.so
#18 0x00007ffff3ea4210 in content::BrowserMainLoop::RunMainMessageLoopParts()
() from /home/zcbenz/codes/atom-shell/out/Debug/libchromiumcontent.so
#19 0x00007ffff3ea696d in ?? ()
from /home/zcbenz/codes/atom-shell/out/Debug/libchromiumcontent.so
#20 0x00007ffff3ea0349 in content::BrowserMain(content::MainFunctionParams const&) () from /home/zcbenz/codes/atom-shell/out/Debug/libchromiumcontent.so
#21 0x00007ffff3dd39ac in ?? ()
from /home/zcbenz/codes/atom-shell/out/Debug/libchromiumcontent.so
---Type <return> to continue, or q <return> to quit---
#22 0x00007ffff3dd1f01 in content::ContentMain(content::ContentMainParams const&) () from /home/zcbenz/codes/atom-shell/out/Debug/libchromiumcontent.so
#23 0x000000000066de90 in main (argc=2, argv=0x7fffffffde18)
at ../../atom/app/atom_main.cc:123
Somehow dragging the tab of firebox triggered a SelectionNotify event, which should only happen on clipboard copy/paste, and I'm not sure why Chromium is not affected.
Atom version 0.158.0
OS: Ubuntu 14.10
Desktop: XFCE 4.10
100% reproducible. Definitely not Unity related. It's really annoying; when you move a tab out to create a new browser window with that tab, you have to be super careful to not move it over the atom window.
Atom: 0.1770
OS: Arch Linux
Desktop: GNOME Shell 3.14.3
Same thing, every time. Note that reproduction has nothing to do with how Atom is started (e.g. by the terminal) it just affects whether you see this error.
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 764 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.)
Just updated this morning and I still experience this error. Firefox 41.0.2, Atom 1.1.0, Node 4.2.1, Linux 4.2.5, NPM 3.3.9.
En/Disabling hardware acceleration does not make a difference.
[6042:1030/081415:ERROR:browser_main_loop.cc(173)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
App load time: 191ms
[6100:1030/081416:ERROR:sandbox_linux.cc(340)] InitializeSandbox() called with multiple threads in process gpu-process
[6042:1030/081416:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6042:1030/081416:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6042:1030/081416:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6042:1030/081416:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6119:1030/081416:INFO:renderer_main.cc(200)] Renderer process started
[6042:1030/081416:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6042:1030/081416:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6042:1030/081416:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6042:1030/081416:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6130:1030/081416:INFO:renderer_main.cc(200)] Renderer process started
[6042:1030/081417:INFO:CONSOLE(46)] "Window load time: 1022ms", source: file:///usr/share/atom/resources/app.asar/static/index.js (46)
[6042:1030/081417:INFO:CONSOLE(46)] "Window load time: 942ms", source: file:///usr/share/atom/resources/app.asar/static/index.js (46)
[6042:1030/081417:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6042:1030/081417:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6042:1030/081417:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6042:1030/081417:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6100:1030/081418:ERROR:gles2_cmd_decoder.cc(11539)] [GroupMarkerNotSet(crbug.com/242999)!:D03810D4C5280000]GL ERROR :GL_INVALID_OPERATION : glTexStorage2DEXT: <- error from previous GL command
[6100:1030/081418:ERROR:gles2_cmd_decoder.cc(11539)] [GroupMarkerNotSet(crbug.com/242999)!:D0047CD4C5280000]GL ERROR :GL_INVALID_OPERATION : glTexStorage2DEXT: <- error from previous GL command
[6042:1030/081418:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6042:1030/081418:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6042:1030/081418:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6042:1030/081418:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
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 928 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.)
Was experiencing this all the time dragging Iceweasel tabs (on Debian 8.1 with Cinnamon).
Upgraded from v1.1.0 to 1.3.2 and the problem seems to have gone away. Huzzah!
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
lee-dohm commentedon Sep 21, 2014
Just for information, on Atom v0.130.0-5cc62b2 and OS X v10.9.5, this does not reproduce.
batjko commentedon Sep 21, 2014
Can't reproduce this on v130 on Elementary OS either, I'm afraid.
arashpayan commentedon Sep 21, 2014
I suspect it's related to running Ubuntu's Unity desktop environment.
arashpayan commentedon Sep 24, 2014
Just tested against v0.130 on Ubuntu and it still occurs.
necavit commentedon Oct 4, 2014
Same behaviour here. Also reproducible every time.
Environment:
Reproducing steps (same as @arashpayan reported):
Terminal output:
zcbenz commentedon Oct 5, 2014
Full stack trace:
Somehow dragging the tab of firebox triggered a
SelectionNotifyevent, which should only happen on clipboard copy/paste, and I'm not sure why Chromium is not affected.ingalls commentedon Dec 18, 2014
I'm currently running
GNOME Shell 3.10.4on Ubuntu without unity installed and can confirm that this error is deeper than just unity.oalexandersson commentedon Jan 8, 2015
Atom version 0.158.0
OS: Ubuntu 14.10
Desktop: XFCE 4.10
100% reproducible. Definitely not Unity related. It's really annoying; when you move a tab out to create a new browser window with that tab, you have to be super careful to not move it over the atom window.
cmtonkinson commentedon Feb 8, 2015
Atom: 0.1770
OS: Arch Linux
Desktop: GNOME Shell 3.14.3
Same thing, every time. Note that reproduction has nothing to do with how Atom is started (e.g. by the terminal) it just affects whether you see this error.
bglass commentedon Feb 25, 2015
Atom version 0.181.0
OS: Ubuntu 14.10
Desktop: KDE 4.14.1
Same behaviour with KDE.
(crash when dragging Firefox Tab over Atom)
notslang commentedon Mar 23, 2015
Just found this on Ubuntu-GNOME 14.10 with Atom v0.187
22 remaining items
winstliu commentedon Oct 4, 2015
Once @zcbenz releases a new version of Electron I'll remove the blocked tag. Hopefully we can get it in #8779 as well 😄.
crsaracco commentedon Oct 5, 2015
Same problem on Arch + Cinnamon.
winstliu commentedon Oct 5, 2015
This will be fixed when #8779 is merged.
shantee commentedon Oct 13, 2015
Same bug on Linux Mint 17.2 + Cinnamon
cmtonkinson commentedon Oct 30, 2015
Just updated this morning and I still experience this error. Firefox 41.0.2, Atom 1.1.0, Node 4.2.1, Linux 4.2.5, NPM 3.3.9.
En/Disabling hardware acceleration does not make a difference.
mnquintana commentedon Oct 30, 2015
@cmtonkinson I think this was fixed for Atom 1.2.0, not 1.1.0 - feel free to try out the 1.2.0 beta if you want to test this fix out for yourself!
cmtonkinson commentedon Oct 30, 2015
Not to be dense, but was the release post incorrect then?
Under the heading Upgrade to Electron 0.34.x near the bottom, it reads:
Note that "pretty" links to this issue (#3593).
xgdgsc commentedon Oct 30, 2015
@cmtonkinson That' s in the "Available now in Atom 1.2.0-beta" section
cmtonkinson commentedon Oct 30, 2015
D'OH!
Obviously that's my bad. Apologies for the noise.
carbsrule commentedon Dec 18, 2015
Was experiencing this all the time dragging Iceweasel tabs (on Debian 8.1 with Cinnamon).
Upgraded from v1.1.0 to 1.3.2 and the problem seems to have gone away. Huzzah!
lock commentedon Jan 18, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!