gedit crashes when writing <a href="

Bug #135702 reported by Frédéric Bonifas
22
Affects Status Importance Assigned to Milestone
GtkSourceView
Fix Released
Critical
gtksourceview2 (Ubuntu)
Fix Released
Medium
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.

Revision history for this message
Frédéric Bonifas (fredericbonifas) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug report. Please try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash 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
Revision history for this message
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

Revision history for this message
Frédéric Bonifas (fredericbonifas) wrote :

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

Revision history for this message
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

Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in gedit:
status: Incomplete → Triaged
Revision history for this message
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
Revision history for this message
Craig Duquette (cduquette) wrote :

Same issue here, it's very frusterating.

Revision history for this message
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
Revision history for this message
Grzegorz Galezowski (spectral) wrote :

This fix eliminated the problem in my case.

Thanks!

Revision history for this message
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  
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.