GNOME Bugzilla – Bug 597265
totem-pl-parser is not reentrant/mt safe
Last modified: 2009-10-04 23:30:27 UTC
Hi, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=547683 for a larger description with backtraces and a complete analysis. Patch for this is at http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=20;filename=make-reentrant.diff;att=1;bug=547683 Short story: ------------------------ line 154 of xmllexer.c is c = lexbuf[lexbuf_pos]; Here are the values of the interesting variables: (gdb) p lexbuf $6 = 0xb3a7e008 <Address 0xb3a7e008 out of bounds> (gdb) p lexbuf_pos $7 = 1659 lexbuf is a private, global variable. If Rhythmbox is trying to parse multiple podcasts simultaneously, this would cause a race condition for this variable.
I should probably note here, that the patch is by Matt Kraai <kraai@ftbfs.org> and not by me. Also I didn't take a closer look yet at the patch :)
Patch is also in bug 572705, so closing this one. *** This bug has been marked as a duplicate of bug 572705 ***