GNOME Bugzilla – Bug 473123
gedit crashes when writing <a href="
Last modified: 2007-09-03 14:32:52 UTC
The bug has been opened on https://bugs.launchpad.net/bugs/135702 "... I am running gedit 2.19.91 whith gutsy gibbon. When trying to write "<a href=" at line 105 of the attached file, the gedit screen becomes white and do not answer. http://launchpadlibrarian.net/9051007/osm.html osm.html (3.3 KiB, text/html) ... I experienced this behavior earlier when editing HTML files. I can reproduce the behavior when opening the provided osm.html file and adding <a href=" to line 105. To reproduce: - Open a gedit window - Copy the source code into the editor - Enable HTML syntax coloring - Scroll to line 105 - Add <a href=" After typing the ", gedit starts eating all the available RAM and causes my machine to start swapping. I tried to get a backtrace by using gdb, but I was not successful (it said "no stack" when I entered "backtrace full", and I'm not familiarized with the gdb). Used packages: [gerry@djax ~ ] dpkg -l | grep gedit ii gedit 2.19.91-0ubuntu1 official text editor of the GNOME desktop en ii gedit-common 2.19.91-0ubuntu1 official text editor of the GNOME desktop en ii gedit-dbgsym 2.19.91-0ubuntu1 debug symbols for package gedit ..."
2007-09-03 Yevgen Muntyan <muntyan@tamu.edu> * gtksourceview/gtksourcecontextengine.c (container_context_starts_here): Make sure it does not go into an infinite loop in case of zero-length match. Fixes #473123.