Bug#909328: gnome-terminal: Crashes when using 'set lines=999' in Vim editor

2018-09-22 Thread Egmont Koblinger
Hello,

I also tried and couldn't reproduce the problem.

It's probably a race condition as gnome-terminal asks to be of size
999x999, and the window manager rejects it and forces a smaller one.

How do you exactly set the size from vim? Do you put these lines in vimrc,
or you type these commands interactively, etc., how exactly? I'm asking
because let's say whether the two dimensions are modified in a single step
or in two consecutive steps might make a difference.

What's your display server (X vs. Wayland), what graphical desktop and
window manager do you use? I'm asking because potentially all of them
behaves somewhat differently.

Does vim's startup always crash gnome-terminal for you? If not then
approximately how often?

A backtrace would indeed be great, I'd add to Bernhard's response that
libvte-2.91-0 should also be compiled with debug symbols, since the crash
is most likely inside vte.

Thanks,
egmont


Bug#909328: gnome-terminal: Crashes when using 'set lines=999' in Vim editor

2018-09-21 Thread Jeremy Bicha
On Fri, Sep 21, 2018 at 2:18 PM Leon van Velzen
 wrote:
> Used common option 'set lines=999' and 'set columns=999' in the Vim editor as 
> a
> trick to make the terminal full screen. This worked in other terminals but I
> noticed it made all instances of gnome terminal crash.

In GNOME Terminal > Preferences, you can set the initial terminal size.

Thanks,
Jeremy Bicha



Bug#909328: gnome-terminal: Crashes when using 'set lines=999' in Vim editor

2018-09-21 Thread Leon van Velzen
Package: gnome-terminal
Version: 3.30.0-1
Severity: normal
Tags: upstream

Dear Maintainer,

   * What led up to the situation?

Used common option 'set lines=999' and 'set columns=999' in the Vim editor as a
trick to make the terminal full screen. This worked in other terminals but I
noticed it made all instances of gnome terminal crash.

   * What was the outcome of this action?

A crash of all terminal instances, not just the one running Vim.

   * What outcome did you expect instead?

That the terminals stayed alive, Vim kept running and the terminal would resize
to the full size of the screen.



Thanks for all the software, it's a joy to use Gnome.



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-terminal depends on:
ii  dbus-user-session [default-dbus-session-bus]  1.12.10-1
ii  dbus-x11 [dbus-session-bus]   1.12.10-1
ii  dconf-gsettings-backend [gsettings-backend]   0.30.0-1
ii  gnome-terminal-data   3.30.0-1
ii  gsettings-desktop-schemas 3.28.0-1
ii  libatk1.0-0   2.30.0-1
ii  libc6 2.27-6
ii  libdconf1 0.30.0-1
ii  libglib2.0-0  2.58.0-4
ii  libgtk-3-03.24.0-3
ii  libpango-1.0-01.42.4-3
ii  libuuid1  2.32.1-0.1
ii  libvte-2.91-0 0.54.0-1
ii  libx11-6  2:1.6.6-1

Versions of packages gnome-terminal recommends:
ii  gvfs   1.38.0-2
ii  nautilus-extension-gnome-terminal  3.30.0-1
ii  yelp   3.30.0-1

gnome-terminal suggests no packages.

-- no debconf information