GNOME Bugzilla – Bug 615232
Crashes on session startup with transparent background
Last modified: 2014-03-27 18:49:52 UTC
Since version 2.30, gnome-terminal still saves itself correctly when you save the session. However it fails to startup correctly when the session is restored.
How does it fail? Not start at all? Starts, but not the expected number of tabs/windows open? What's the exact command that's started by the session manager, and the contents of the g-t .ini session file it points to?
Also, what was the version it last worked with? Can you try that version but with 2.30's session manager and see if maybe it's the sm that's broken?
(In reply to comment #2) > Also, what was the version it last worked with? It used to work with 2.28.2. I have not checked with the 2.29 series yet. > Can you try that version but > with 2.30's session manager and see if maybe it's the sm that's broken? I’m still running gnome-session 2.28. Given how reliable it is, I would have immediately suspected the session manager if I had upgraded it :) (In reply to comment #1) > How does it fail? Not start at all? Starts, but not the expected number of > tabs/windows open? What's the exact command that's started by the session > manager, and the contents of the g-t .ini session file it points to? It’s a command like this: gnome-terminal --sm-client-id 10c49b99df407282b9127076333845615400000087430022 --sm-client-state-file /home/joss/.config/session-state/gnome-terminal-1270763483.desktop Now that I look closer, it seems that running that same command by hand works (it didn’t the first time I tried, because I forgot to add --disable-factory from another terminal). So this looks more like a crash that only happens if the terminal is started too early in the session. I’ll have a closer look.
I confirm it’s a crash, and it only happens when the background is transparent. Now I just need to find a way to let it spit a backtrace.
Here we are. Program received signal SIGSEGV, Segmentation fault. 0x00007ffff4a62e1b in cairo_xlib_surface_get_width (abstract_surface=0x0) at /tmp/buildd/cairo-1.8.10/src/cairo-xlib-surface.c:2451 2451 /tmp/buildd/cairo-1.8.10/src/cairo-xlib-surface.c: Aucun fichier ou dossier de ce type. in /tmp/buildd/cairo-1.8.10/src/cairo-xlib-surface.c
+ Trace 221294
Thread 1 (Thread 0x7ffff7fc87d0 (LWP 7619))
Created attachment 158264 [details] [review] Don’t crash when there is no background I was just sent this patch in another bug report, and it should precisely fix this crash.
The patch looks like it needs more work to me. Lets see if krh can look into it. Humm, don't have his bugzilla address. ChPe,can you CC krh please.
CCing krh. I already made some fixes to vtebg on master, but it's still not quite right.
Humm, his redhat.com address is bouncing. Pinged him on IRC.
*** Bug 616993 has been marked as a duplicate of this bug. ***