After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 516005 - Hang while open a XML file
Hang while open a XML file
Status: RESOLVED DUPLICATE of bug 114337
Product: gtksourceview
Classification: Platform
Component: General
2.1.x
Other Linux
: Normal critical
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-12 13:04 UTC by Pedro Villavicencio
Modified: 2008-06-20 01:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Pedro Villavicencio 2008-02-12 13:04:50 UTC
This bug has been reported here:

https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/154931


http://launchpadlibrarian.net/10626123/log-gentime-1-2-3-4.witsml

"opening the file with Gedit never displays anything, Gedit becomes unresponsive, CPU goes to 99%, and after a time I just have to kill gedit.

The problem seems to be the lack of line endings in the file. I can open the file in gedit, only if I first process and save the file using Oxygen XML, which asks me if I want to save it formatted with line endings.
"

Trace as follow:

"Thread 1 (Thread 0xb6b649a0 (LWP 13810)):
  • #0 IA__g_utf8_pointer_to_offset
    at /build/buildd/glib2.0-2.15.5/glib/gutf8.c line 350
  • #1 regex_fetch_pos
    at gtksourcecontextengine.c line 2786
  • #2 apply_sub_patterns
    at gtksourcecontextengine.c line 2877
  • #3 analyze_line
    at gtksourcecontextengine.c line 3953
  • #4 update_syntax
    at gtksourcecontextengine.c line 5460
  • #5 idle_worker
    at gtksourcecontextengine.c line 2048
  • #6 g_idle_dispatch
    at /build/buildd/glib2.0-2.15.5/glib/gmain.c line 4142
  • #7 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.15.5/glib/gmain.c line 2064
  • #8 g_main_context_iterate
    at /build/buildd/glib2.0-2.15.5/glib/gmain.c line 2697
  • #9 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.15.5/glib/gmain.c line 2905
  • #10 IA__gtk_main
    at /build/buildd/gtk+2.0-2.12.7/gtk/gtkmain.c line 1163
  • #11 main

Comment 1 Yevgen Muntyan 2008-06-20 01:26:12 UTC

*** This bug has been marked as a duplicate of 114337 ***