enters infinite loop on entering certain date formats

Bug #638749 reported by Alexander E. Patrakov
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Fix Released
Undecided
Timothy Arceri
gedit
Fix Released
High
gedit (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: gedit

To reproduce:

Start gedit in the ru_RU.utf8 locale (this is important! in this locale %p yields an empty string, in the C or en_US.utf8 locale it doesn't and thus the bug is not reproducible).

Choose Правка > Вставить дату и время... (Edit > Insert Date and Time...) from the menu.

Choose the Использовать другой формат (Use custom format) option.

Try to enter %p in the provided box.

Once you do so, gedit starts consuming 100% CPU and compiz dims its window. At this point, you don't have any other option except to kill gedit.

Instead, gedit should process the provided date format and yield nothing.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gedit 2.30.3-0ubuntu0.1
ProcVersionSignature: Ubuntu 2.6.32-24.42-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic x86_64
Architecture: amd64
Date: Wed Sep 15 14:22:40 2010
ProcEnviron:
 PATH=(custom, user)
 LANG=ru_RU.utf8
 SHELL=/bin/bash
SourcePackage: gedit

Revision history for this message
Alexander E. Patrakov (patrakov-gmail) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at http://www.ubuntu.com/download to know how to install that version. Thanks in advance and sorry for the late response.

Changed in gedit (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Alexander E. Patrakov (patrakov-gmail) wrote :

I am not a user of Ubuntu anymore, thus cannot test the version in Ubuntu. However, the bug is so simple that you should really test it yourself. And it does exist in version 2.30.4 in Gentoo.

Revision history for this message
Alexander E. Patrakov (patrakov-gmail) wrote :

The same bug also exists in gedit 3.0.6 in Gentoo

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. The issue is an upstream one and it would be nice if somebody having it could send the bug the to the people writting the software (https://wiki.ubuntu.com/Bugs/Upstream/GNOME)

Changed in gedit (Ubuntu):
status: Incomplete → New
Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Confirmed in gedit 3.3.3 - now it crashes in settings dialog, however apport cannot process this crash

Changed in gedit (Ubuntu):
status: New → Incomplete
status: Incomplete → Confirmed
Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at https://bugzilla.gnome.org/show_bug.cgi?id=671438

Changed in gedit (Ubuntu):
status: Confirmed → Triaged
Changed in gedit:
importance: Unknown → High
status: Unknown → New
Changed in hundredpapercuts:
milestone: none → gedit
Revision history for this message
Timothy Arceri (t-fridey) wrote :

I've attached a patch that should fix this upstream however I could not reproduce the bug on my system so its untested. Is someone with this issue able to apply the patch and test that it works?

Changed in hundredpapercuts:
assignee: nobody → Timothy Arceri (t-fridey)
status: New → In Progress
Changed in gedit (Ubuntu):
status: Triaged → Fix Committed
Changed in hundredpapercuts:
status: In Progress → Fix Committed
Changed in gedit:
status: New → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Jeremy Bícha (jbicha) wrote :

This was fixed in gedit 3.8 which is available in Ubuntu 13.10 "Saucy Salamander" Alpha.

Changed in gedit (Ubuntu):
status: Fix Committed → Fix Released
Changed in hundredpapercuts:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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