gedit crashes when writing <a href="

Bug #135702 reported by Frédéric Bonifas on 2007-08-29
Affects Status Importance Assigned to Milestone
Fix Released
gtksourceview2 (Ubuntu)
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gedit

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.

Sebastien Bacher (seb128) wrote :

Thanks for your bug report. Please try to obtain a backtrace and attach the file to the bug report. This will greatly help us in tracking down your problem. Adding this line works fine here on gutsy

Changed in gedit:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Gerry (gerrydm) wrote :

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

This is exactly the same for me and the backtrace is also not successful.

gerard67 (mathieu-petit) wrote :

Exactly same behaviour for me when editing a "alt" tag .. gedit process consumes all CPU, eventually freezing the whole gnome session, just mouse moves and crtl+alt+backspace allows to restart the session .. once the session is re-opened, I have to kill the CPU-consuming gedit process

Sebastien Bacher (seb128) wrote :
Changed in gedit:
status: Incomplete → Triaged
Sebastien Bacher (seb128) wrote :

The bug has been fixed upstream now

Changed in gtksourceview2:
status: Triaged → Fix Committed
Changed in gtksourceview:
status: Unknown → Fix Released
Craig Duquette (cduquette) wrote :

Same issue here, it's very frusterating.

Fernando Ribeiro (ipsec) wrote :

gtksourceview2 (2.0.0-0ubuntu1) gutsy; urgency=low

  * New upstream release

  [Aron Sisak]
    - Improvements many lang files
    - Removed SourceMarker API
    - Misc bugfixes (LP: #135702)
    - Updated translations

 -- Fernando Ribeiro <email address hidden> Mon, 17 Sep 2007 10:40:09 -0300

Changed in gtksourceview2:
status: Fix Committed → Fix Released
Grzegorz Galezowski (spectral) wrote :

This fix eliminated the problem in my case.


Saivann Carignan (oxmosys) wrote :

Fixed for me too, thanks!

Changed in gtksourceview:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.