Bug#686246: gedit: parse error crashes gedit on start

Behrooz Amoozad behrooz0az at gmail.com
Thu Aug 30 14:46:32 UTC 2012


Package: gedit
Version: 3.4.2-1
Severity: normal
Tags: upstream

While editing an XML file, accidentally clicked on the file format option in
the status bar and some random file format selected, gedit crashed instantly,
and cannot open the file anymore.

Program output:
**
GtkSourceView:ERROR:gtksourcecontextengine.c:5487:update_syntax: assertion
failed: (state->context != NULL)
Aborted


The file contents:
------BEGIN-------
<?xml version="1.0" encoding="utf-8"?>
<SqlConnectionInformation>
 <UserName>sa</UserName>
 <Password>sa</Password>
 <Server>behrooz-pc.local</Server>
 <ConnectionProtocol>TcpIp</ConnectionProtocol>
 <ConnectionTimeout>30</ConnectionTimeout>
 <ApplicationName>Esfand</ApplicationName>
 <EncryptConnection>false</EncryptConnection>
 <PacketSize>4096</PacketSize>
 <UseIntegratedSecurity>false</UseIntegratedSecurity>
 <DatabaseName>Esfand</DatabaseName>
</SqlConnectionInformation>
-------END--------

plugins have no effct, double checked.



-- Package-specific info:
Active plugins:
  - 'codecomment'
  -  'terminal'
  -  'bookmarks'
  -  'modelines'
  -  'sort'
  -  'filebrowser'
  -  'changecase'
  -  'docinfo'
  -  'spell'
  -  'time'
  -  'textsize'
  -  'bracketcompletion'

No plugin installed in $HOME.

Module versions:
  - glib                  2.32.3
  - gtk+                  3.4.2
  - gtksourceview         
  - pygobject             
  - enchant               
  - iso-codes             3.38


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: armel
mipsel
i386

Kernel: Linux 3.2.0-3-rt-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (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-3
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.38-1
ii  libatk1.0-0                2.4.0-2
ii  libc6                      2.13-35
ii  libcairo-gobject2          1.12.2-2
ii  libcairo2                  1.12.2-2
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-3
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.5.0-1
ii  libxml2                    2.8.0+dfsg1-5
ii  python                     2.7.3-2
ii  python-gi                  3.2.2-1
ii  python-gi-cairo            3.2.2-1
ii  python2.7                  2.7.3-3

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