-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core Dump When Starting Guake 3.8.0 #1950
Comments
Is it possible to attach your coredump here or via email? Or you may print out the coredump backtrace for us, it will help a lot for us to debug this issue. |
Let me know if there's a particular command you want me to run. I've attached an extract to this comment that was generated using |
If run from terminal have no issue, get this output:
Found that Vte.Terminal.spawn_sync() deprecated and Vte.Terminal.spawn_async() should be used instead. |
Playing around with moving to async was actually already happening on a local branch I have, but it's still very broken and needs work |
|
Have this message ( |
Difference of
Run by desktop file:
|
Oh, I didn't remove the don't reap child flag when I was adding the other one but that'll be a nice little cleanup. _NET_ACTIVE_WINDOW issue is a known different issue at #1857, I did a quick search up for solutions and put it aside at the time. Environment variables are passed in by taking parent env variables, modifying one or two, then passing in manually with the SPAWN_NO_PARENT_ENVV flag. You should find that envv when launched from the terminal reflect your terminal's env, while the one from desktop should reflect the environment of things run from the desktop |
I give up.. Have no ideas and can't find place where it crash Shell.
Also I don't know why it works if run from terminal and don't if run by desktop file. And I don't see crash on autorun on boot (use X11 with LightDM). |
I figured out what the cause was. I have a variant of this added as a hook for Guake on all of my GNOME computers:
I have I removed it for all 3 computers and it no longer core dumps on startup. Sorry; I really should have figured that out sooner... |
@LunaGNUisance do you have issue if restart Guake? |
@vantu5z It core dumps upon restart, but not the first time; I have it set to autostart on login. |
Since this was apparently a local config issue, closing. |
This issue is not solved. And reason is not detected. |
I don't think that |
Alright, I'll try adding a command to my guake startup and get back on what I notice |
Update after using gnome shell for a good while, I did experience some difficulty getting Guake to open on startup when adding it to the startup applications list on gnome tweak tool, but the start guake at login checkbox in Guake's preferences worked for me. Does this also resolve it for you? |
I'm not sure how related this is to the original issue, but on some systems I had difficulty adding it to Startup Applications with GNOME Tweaks, but yes checking "Start Guake at Login" in its preferences worked fine. I stopped adding any hooks upon startup a few days after posting this issue so I don't know if it's been resolved. At my first opportunity, I'll add the checkupdates script as a hook and try some other programs/scripts to see if it's that particular script. |
I can't get hooks to work at all now. I tried various strings in Hooks > On start:
Guake seems to startup fine if you just don't add any hooks. |
I don't have newsboat and it looks like there's some setup to it so I didn't use that but I tested |
|
Ok, so it must have been getting buried because I normally use --verbose to run guake when I'm testing, but I found where the standard output of guake hooks are going, they go to the place that Guake is called, not the current guake terminal. Looks like the feature's just for silent scripts, if desired though I could see if I can get a command autofilled into the current terminal |
When launching Guake, it will load for 20+ seconds, and nothing will happen. Upon trying to open Guake again, the screen freezes and GNOME core dumps for a few seconds, and then the application opens. This only happens on Guake 3.8.0 and not the previous version.
Expected behavior
When opening Guake, it opens without GNOME core dumping.
Actual behavior
Guake takes a long time to open and only opens after GNOME core dumps.
To Reproduce
Open Guake on GNOME. I was able to reproduce this behavior on three different Arch Linux GNOME machines. On the third machine, something slightly different happens; it kicks me out to the display manager, and I have to login again, and then try to open Guake again. It may or may not work the second or third time.
Other Details
I have Guake set to autostart on login, and I have
guake-toggle
set to a keybinding that I use to bring up Guake. Looking at journalctl, there are many lines of "Could not resolve keysm" after GNOME core dumps.Guake behaves as normal after managing to get into the application. Additionally, on two of the machines with the exact same behavior, I have the AppIndicator extension installed, and when launching Guake, the Guake icon in the system tray is black until it core dumps. Not sure how relevant that is, but it's consistent behavior.
$ guake --support
Guake Version: 3.8.0
Vte Version: 0.66.0
Vte Runtime Version: 0.66.0
GTK+ Version: 3.24.30
GDK Backend: <GdkX11.X11Display
Desktop Session: gnome-xorg
Display: :1
RGBA visual: True
Composited: True
The text was updated successfully, but these errors were encountered: