GNOME Bugzilla – Bug 743115
crashing application caused terminal to die
Last modified: 2015-01-21 14:50:35 UTC
I'm not sure if this is the terminal's fault, but when supertuxkart (started from terminal) crashed, it took down the terminal as well. Other open terminal tabs were lost. dmesg output: [10678.466897] supertuxkart[2583]: segfault at 0 ip 000000000077807f sp 00007fff7c21e780 error 4 in supertuxkart[400000+b7a000] [10922.997940] traps: gnome-terminal-[1050] trap int3 ip:7fa0503a9ae0 sp:7fffd53d5470 error:0 This is reproducible by trying to Ctrl+V into a supertuxkart beta online log-in and having it crash. Terminating a program with pkill -TRAP does not cause the terminal to crash.
Could you please provide these details: - Your OS, gnome-terminal version, supertuxkart version - Redirect supertuxcart's output or error to devnull, do these still crash? supertuxkart >/dev/null and supertuxkart 2>/dev/null - Try running "script -f" in the terminal and start supertuxkart from within that. Does it still crash? If so, please attach the resulting "typescript" file.
As per https://wiki.gnome.org/Apps/Terminal/ReportingBugs we need at the very least a stack trace here.
I managed to reproduce. It crashes whichever Gtk+ app is the source of copy-paste. Probably a dupe of the recently fixed bug 740613.
@Egmont Koblinger: I just tested with pasting from gedit, it crashes too. You are probably right, no terminal error here and probably a duplicate. I'll tell the supertuxkart people not to worry about the crash. OS is Arch Linux, using Intel's graphics driver. GNOME terminal is 3.14.2. supertuxkart is the 0.8.2 beta. Neither /dev/null nor script helps.
As seen in the other bug (which may not have been fixed after all), supertuxkart is probably using an obsolete X method. Florian, seems that you're already in touch with them, it would be great if you could point them to that bug, and ask them to use a non-deprecated method instead.
I've posted the problem here[1] on the supertuxkart forums. When I have time I'll try if a current git Gtk version fixes the problem on the Gtk side. [1] http://forum.freegamedev.net/viewtopic.php?f=17&t=6045&start=50
Created attachment 295105 [details] backtrace from said function from gdb gedit This is the backtrace when breaking on gdk_x_error in gedit when trying to paste from it.
This post should have come before the attachment: I installed gtk3-git and the problem persists. pkg-config --print-provides tells me gtk+-3.0 = 3.15.4, so I assume it really is the current git version. (gedit:804): Gdk-ERROR **: The program 'gedit' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAtom (invalid Atom parameter)'. (Details: serial 5602 error_code 5 request_code 18 (core protocol) 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 GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) [1] + trace trap (core dumped) gedit Only gedit crashes, not supertuxkart or the terminal. I've uploaded a backtrace from doing what the error message says.
Could you please file these to the other bug? I'm not sure Matthias sees them here. Thanks! I'm closing this one. *** This bug has been marked as a duplicate of bug 740613 ***