GNOME Bugzilla – Bug 595612
libxslt 1.1.25 cause infinite loop in doc parsing on KDE 4.x meinproc4
Last modified: 2009-09-21 15:11:38 UTC
KDE 4.x uses a utility called meinproc4 to process all documentation based on xsl templates. Current release make the processing enter in infinite loop, stopping compilation as well. Works fine with 1.1.24 and lower versions. Current backtrace: (gdb) bt
+ Trace 217673
68 } 69 } else if ( !xmlStrcmp( cur->name, (const xmlChar *) "entry") ) 70 parseEntry( list, cur, base ); 71 72 cur = cur->next; 73 } 74 75 } 76 77 int main(int argc, char **argv) {
Created attachment 143463 [details] Full gdb symbol output
Created attachment 143464 [details] Real full backtrace
Reverting http://git.gnome.org/cgit/libxslt/commit/?id=b1c52a885d7d2c2b4db9e9cde97456f626093b7d (+ http://git.gnome.org/cgit/libxslt/commit/?id=8619ab630e705805cafa4ba24c94b6c1311d0e01 which depends on it) makes the freeze go away.
Teuf, can you retry with current libxslt git head, especially with the following patch included: http://git.gnome.org/cgit/libxslt/patch/?id=2e8defa7ccef2f76fb1cbfe9e9673d8e4b6cf1d6 thanks ! Daniel
Re-tried my test case (build kdelibs4) with libxstl 1.1.25 + this patch and the build goes to the end (ie no deadlock with meinproc4) so this patch works for me.
Okay, FIXED then ! thanks ! Daniel