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 84895 - yelp crash
yelp crash
Status: RESOLVED FIXED
Product: gtkhtml2
Classification: Deprecated
Component: CSS Parser
unspecified
Other other
: High critical
: ---
Assigned To: Anders Carlsson
Luis Villa
: 85936 87325 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-06-11 17:07 UTC by Laurent Bonnaud
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Similar trace (2.00 KB, text/plain)
2002-06-16 23:16 UTC, Andrew Sobala
  Details
Proposed patch (1.26 KB, patch)
2002-06-20 17:20 UTC, Satyajit Kanungo
none Details | Review

Description Laurent Bonnaud 2002-06-11 17:08:02 UTC
Package: Yelp
Severity: normal
Version: 1.0
Synopsis: yelp crash
Bugzilla-Product: Yelp
Bugzilla-Component: general
BugBuddy-GnomeVersion: 2.0 (2.0.0)

Description:
Description of Problem:
  Segmentation fault

Steps to reproduce the problem:
  Click around in the Gnome 2.0 Guide.

Additional Information:
  Debian package with following dependencies:

Versions of packages yelp depends on:
ii  docbook-xsl                   1.50.0-2   Stylesheets for processing DocBook
ii  gnome-doc-tools               1.0-6      Tools, stylesheets and DTDs for GN
ii  libart-2.0-2                  2.3.8-2    The GNOME 2 canvas widget - runtim
ii  libatk1.0-0                   1.0.2-1    The ATK accessibility library
ii  libbonobo-activation4         1.0.0-1    Bonobo Activation Framework -- run
ii  libbonobo2-0                  2.0.0-1    Bonobo CORBA interfaces library
ii  libbonoboui2-0                2.0.0-1    The Bonobo UI library
ii  libc6                         2.2.5-6    GNU C Library: Shared libraries an
ii  libgail-common                0.13-1     GNOME Accessibility Implementation
ii  libgail13                     0.13-1     GNOME Accessibility Implementation
ii  libgconf2-4                   1.1.11-1   GNOME configuration database syste
ii  libglib2.0-0                  2.0.3-1    The GLib library of C routines
ii  libgnome2-0                   2.0.1-1    The GNOME 2 library - runtime file
ii  libgnome2-bin                 2.0.1-1    Miscellaneous binaries used by GNO
ii  libgnomecanvas2-0             2.0.0-1    A powerful object-oriented display
ii  libgnomeui-0                  2.0.0-1    The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0                1.9.17-2   The GNOME virtual file-system libr
ii  libgtk2.0-0                   2.0.3-1    The GTK+ graphical user interface 
ii  libgtkhtml2-0                 2.0.0-1    HTML rendering/editing library - r
ii  liblinc1                      0.5.0-1    library to simplify creating netwo
ii  liborbit2                     2.4.0-1    Libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0                 1.0.2-1    Layout and rendering of internatio
ii  libpopt0                      1.6.2-7    lib for parsing cmdline parameters
ii  libssl0.9.6                   0.9.6d-1   SSL shared libraries
ii  libxml2                       2.4.22-1   GNOME XML library
ii  libxslt1                      1.0.18-0.1 XSLT processing library
ii  xlibs                         4.1.0-17   X Window System client libraries
ii  zlib1g                        1:1.1.4-1  compression library - runtime




Debugging Information:

Backtrace was generated from '/usr/bin/yelp'

(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New
Thread 1024 (LWP 26302)]
[New Thread 2049 (LWP 26332)]
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
0x4092ca39 in wait4 () from /lib/libc.so.6

Thread 1 (Thread 1024 (LWP 26302))

  • #0 wait4
    from /lib/libc.so.6
  • #1 __check_rhosts_file
    from /lib/libc.so.6
  • #2 waitpid
    from /lib/libpthread.so.0
  • #3 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #4 pthread_sighandler
    from /lib/libpthread.so.0
  • #5 sigaction
    from /lib/libc.so.6
  • #6 g_free
    from /usr/lib/libglib-2.0.so.0
  • #7 css_tail_destroy
    from /usr/lib/libgtkhtml-2.so.0
  • #8 css_simple_selector_destroy
    from /usr/lib/libgtkhtml-2.so.0
  • #9 css_matcher_get_style
    from /usr/lib/libgtkhtml-2.so.0
  • #10 css_matcher_get_style
    from /usr/lib/libgtkhtml-2.so.0
  • #11 css_matcher_get_style
    from /usr/lib/libgtkhtml-2.so.0
  • #12 css_matcher_get_style
    from /usr/lib/libgtkhtml-2.so.0
  • #13 css_parser_parse_stylesheet
    from /usr/lib/libgtkhtml-2.so.0
  • #14 css_value_unref
    from /usr/lib/libgtkhtml-2.so.0
  • #15 css_value_unref
    from /usr/lib/libgtkhtml-2.so.0
  • #16 g_cclosure_marshal_VOID__OBJECT
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #21 html_focus_iterator_next_element
    from /usr/lib/libgtkhtml-2.so.0
  • #22 html_focus_iterator_next_element
    from /usr/lib/libgtkhtml-2.so.0
  • #23 htmlParseEntityRef
    from /usr/lib/libxml2.so.2
  • #24 htmlFreeParserCtxt
    from /usr/lib/libxml2.so.2
  • #25 htmlParseChunk
    from /usr/lib/libxml2.so.2
  • #26 html_focus_iterator_next_element
    from /usr/lib/libgtkhtml-2.so.0
  • #27 html_stream_write
    from /usr/lib/libgtkhtml-2.so.0
  • #28 html_document_write_stream
    from /usr/lib/libgtkhtml-2.so.0
  • #29 gtk_widget_grab_focus
  • #30 gtk_widget_grab_focus
  • #31 gtk_widget_grab_focus
  • #32 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #33 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #34 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #35 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #36 gtk_widget_grab_focus
  • #37 g_timeout_add
    from /usr/lib/libglib-2.0.so.0
  • #38 g_get_current_time
    from /usr/lib/libglib-2.0.so.0
  • #39 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #40 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #41 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #42 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #43 gtk_widget_grab_focus
  • #44 __libc_start_main
    from /lib/libc.so.6
  • #0 wait4
    from /lib/libc.so.6




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-06-11 13:08 -------

Reassigning to the default owner of the component, micke@codefactory.se.

Comment 1 Mikael Hallendal 2002-06-11 21:16:43 UTC
this looks like a bug in Gtkhtml2 CSS parser, moving to that module
Comment 2 Andrew Sobala 2002-06-16 23:15:53 UTC
I experienced pretty much the same problem, CVS 15 June.
Comment 3 Andrew Sobala 2002-06-16 23:16:18 UTC
Created attachment 9260 [details]
Similar trace
Comment 4 Andrew Sobala 2002-06-16 23:17:01 UTC
Seems bug-buddy doesn't save all the trace. Sorry about that :(
Comment 5 Satyajit Kanungo 2002-06-18 17:24:32 UTC
Hi Laurent, is it the user guide for gnome2 that you are opening
in yelp. I tried to reproduce the crash, but couldn't :(

Could you give some more steps to reproduce the same. 
Comment 6 Luis Villa 2002-06-19 15:08:55 UTC
Satyajit: latest report says that it is duplicable with the gdmconfig
manual.
Comment 7 Luis Villa 2002-06-19 15:09:08 UTC
*** Bug 85936 has been marked as a duplicate of this bug. ***
Comment 8 Satyajit Kanungo 2002-06-20 06:00:38 UTC
Luis, I am able to reproduce the problem. Well there is no specified
steps to do it. It may crash anytime. I am working on this.
Comment 9 Satyajit Kanungo 2002-06-20 17:19:13 UTC
The bug is in Gtkhtml2 CSS parser only. Added soem initialization
stuff.It works.
 
Comment 10 Satyajit Kanungo 2002-06-20 17:20:44 UTC
Created attachment 9352 [details] [review]
Proposed patch
Comment 11 Mikael Hallendal 2002-06-20 17:31:28 UTC
Ohhh, that's great, adding the PATCH keyword.

Would be nice to get this in, Anders, what do you say?
Comment 12 Satyajit Kanungo 2002-06-20 17:45:44 UTC
Hey Mikael, tested yelp for around 5-6 hours without a break
clicking on all possible links and things work. great mike !!
Comment 13 Luis Villa 2002-07-09 04:01:06 UTC
*** Bug 87325 has been marked as a duplicate of this bug. ***
Comment 14 Mikael Hallendal 2002-08-01 22:12:02 UTC
Hmm .. can't see that this patch does any harm. If it solves the
crashes I'd say this should go in. Andersca what do you say?

 
Comment 15 Mikael Hallendal 2002-08-03 14:45:41 UTC
Commited to CVS, thanks. Closing.