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 635670 - Crash in xmlStrEqual__internal_alias (through Ruby bindings)
Crash in xmlStrEqual__internal_alias (through Ruby bindings)
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: general
2.7.7
Other Linux
: Normal major
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2010-11-24 08:00 UTC by Sascha Peilicke
Modified: 2021-07-05 13:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case (156 bytes, application/octet-stream)
2010-11-24 08:00 UTC, Sascha Peilicke
Details
Backtrace (2.00 KB, text/plain)
2010-11-24 08:12 UTC, Sascha Peilicke
Details

Description Sascha Peilicke 2010-11-24 08:00:14 UTC
Created attachment 175145 [details]
Test case

Encountered a crash when using the Ruby bindings. The attached test case depends on the "libxml-ruby" Rubygem.
Comment 1 Sascha Peilicke 2010-11-24 08:02:38 UTC
Backtrace:


Core was generated by `ruby libxml-ruby-segfault1.rb'.
Program terminated with signal 6, Aborted.
  • #0 raise
    from /lib64/libc.so.6
  • #0 raise
    from /lib64/libc.so.6
  • #1 abort
    from /lib64/libc.so.6
  • #2 rb_bug
    at error.c line 213
  • #3 sigsegv
    at signal.c line 634
  • #4 <signal handler called>
  • #5 xmlStrEqual__internal_alias
    at xmlstring.c line 162
  • #6 xmlParseDocument__internal_alias
    at parser.c line 10229
  • #7 rxml_parser_parse
    from /usr/lib64/ruby/gems/1.8/gems/libxml-ruby-1.1.3/lib/libxml_ruby.so
  • #8 rb_call0
    at eval.c line 5928
  • #9 rb_call
    at eval.c line 6176
  • #10 rb_eval
    at eval.c line 3506
  • #11 ruby_exec_internal
    at eval.c line 1654
  • #12 ruby_exec
    at eval.c line 1674
  • #13 ruby_run
    at eval.c line 1684
  • #14 main
    at main.c line 48
  • #5 xmlStrEqual__internal_alias
    at xmlstring.c line 162
157     xmlStrEqual(const xmlChar *str1, const xmlChar *str2) {
158         if (str1 == str2) return(1);
159         if (str1 == NULL) return(0);
160         if (str2 == NULL) return(0);
161         do {
162             if (*str1++ != *str2) return(0);
163         } while (*str2++);
164         return(1);
165     }
166
(gdb)
Comment 2 Sascha Peilicke 2010-11-24 08:12:07 UTC
Created attachment 175147 [details]
Backtrace
Comment 3 GNOME Infrastructure Team 2021-07-05 13:20:34 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/libxml2/-/issues/

Thank you for your understanding and your help.