As the summary says gdb segfaults when the gnome-terminal is resized and the "layout asm" feature is being used at the same time. Use case in the gnome-terminal: $ gdb GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". For bug reporting instructions, please see: <http://bugs.launchpad.net/gdb-linaro/>. (gdb) file ~/Desktop/test Reading symbols from /home/andreas/Desktop/test...done. (gdb) layout asm (gdb) Now do the following: 1. Resize the terminal window 2. Press <Enter> 3. Resize the terminal window 4. Press <Enter> And bang segfault. This also happens with the latest: GNU gdb (GDB) 7.6.50.20130403-cvs
My system information (uname -a) is Linux andreas-laptop 3.0.0-32-generic-pae #51-Ubuntu SMP Thu Mar 21 16:09:48 UTC 2013 i686 i686 i386 GNU/Linux
I can reproduce this using version 7.4.1-debian from Debian 7 wheezy x86: [~]$ gdb -v GNU gdb (GDB) 7.4.1-debian ... This GDB was configured as "i486-linux-gnu". ... I can NOT reproduce this using 7.7.1-0ubuntu5~14.04.2 from Ubuntu 14.04 x86_64: $ gdb -v GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 ... This GDB was configured as "x86_64-linux-gnu". ... I can NOT reproduce this using the most recent Git commit ade90bdeb78ccaeb294e34af04751f2f649a324f on Ubuntu 14.04 x86_64: $ gdb -v GNU gdb (GDB) 7.10.50.20150915-cvs ... This GDB was configured as "x86_64-pc-linux-gnu". ...
Thanks. I'm closing this. I believe this was addressed in 7.10; setting milestone accordingly.