GNOME Bugzilla – Bug 635670
Crash in xmlStrEqual__internal_alias (through Ruby bindings)
Last modified: 2021-07-05 13:20:34 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.
Backtrace: Core was generated by `ruby libxml-ruby-segfault1.rb'. Program terminated with signal 6, Aborted.
+ Trace 224804
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)
Created attachment 175147 [details] Backtrace
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.