Bug#675249: gedit: Crashes with too high column number given
Dawid Toton
d0 at wp.pl
Wed May 30 18:13:28 UTC 2012
Package: gedit
Version: 3.4.2-1
Severity: important
Dear Maintainer,
To reproduce:
echo four >/tmp/four
gedit /tmp/four +1:6
Outcome:
A crash with
(gedit:26206): Gtk-ERROR **: Char offset 5 is off the end of the line
Trace/breakpoint trap
and data loss (changes in all open files in all gedit windows are lost).
My expectation:
The offset shuold be clamped the same way gedit does it for line number.
What led to the situation:
I call gedit with line numbers and column numbers taken from compiler
error
messages. It is normal for column numbers to get bit outdated, so I expect
gedit to cope with them in any case.
-- Package-specific info:
Active plugins:
- 'filebrowser'
- 'spell'
- 'controlyourtabs'
- 'trailsave'
Plugins in $HOME:
- controlyourtabs
- trailingspaces
- trailsave
Module versions:
- glib 2.32.3
- gtk+
- gtksourceview
- pygobject
- enchant
- iso-codes 3.35
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gedit depends on:
ii gedit-common 3.4.2-1
ii gir1.2-atk-1.0 2.4.0-2
ii gir1.2-freedesktop 1.32.1-1
ii gir1.2-gdkpixbuf-2.0 2.26.1-1
ii gir1.2-glib-2.0 1.32.1-1
ii gir1.2-gtk-3.0 3.4.2-1
ii gir1.2-gtksource-3.0 3.4.2-1
ii gir1.2-pango-1.0 1.30.0-1
ii gir1.2-peas-1.0 1.4.0-2
ii gsettings-desktop-schemas 3.4.2-1
ii iso-codes 3.35-1
ii libatk1.0-0 2.4.0-2
ii libc6 2.13-32
ii libcairo-gobject2 1.12.2-1
ii libcairo2 1.12.2-1
ii libenchant1c2a 1.6.0-7
ii libffi5 3.0.10-3
ii libgdk-pixbuf2.0-0 2.26.1-1
ii libgirepository-1.0-1 1.32.1-1
ii libglib2.0-0 2.32.3-1
ii libgtk-3-0 3.4.2-1
ii libgtksourceview-3.0-0 3.4.2-1
ii libice6 2:1.0.8-2
ii libpango1.0-0 1.30.0-1
ii libpeas-1.0-0 1.4.0-2
ii libsm6 2:1.2.1-2
ii libx11-6 2:1.4.99.901-2
ii libxml2 2.7.8.dfsg-9.1
ii python 2.7.2-10
ii python-gi 3.2.2-1
ii python-gi-cairo 3.2.2-1
ii python2.7 2.7.3~rc2-2.1
Versions of packages gedit recommends:
ii yelp 3.4.2-1
ii zenity 3.4.0-2
Versions of packages gedit suggests:
ii gedit-plugins 3.4.0-1
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list