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 156903 - scrollkeeper crashes with 2.6.15 release
scrollkeeper crashes with 2.6.15 release
Status: VERIFIED FIXED
Product: libxml2
Classification: Platform
Component: general
2.6.15
Other Linux
: Normal major
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2004-10-30 14:23 UTC by Marinus Schraal
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Marinus Schraal 2004-10-30 14:23:01 UTC
'scrollkeeper-update -q -p /var/lib/scrollkeeper' crashes with libxml2-2.6.15
with the following backtrace :

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210769296 (LWP 14607)]
0xb7ec5724 in __xmlRaiseError (schannel=0, channel=0xb7fd7600
<sk_dtd_validation_message>, data=0xbfffd16f, ctx=0xbfffd16f, nod=0x8089e90,
    domain=23, code=504, level=XML_ERR_ERROR, file=0x0, line=0, str1=0x8091d88
"resource", str2=0x8091d88 "resource",
    str3=0xbfffa810 "(creator title contributor date subject format identifier
language relation )", int1=4, int2=4,
    msg=0xb7f7f1b4 "Element %s content does not follow the DTD, expecting %s,
got %s\n") at error.c:458
458     error.c: No such file or directory.
        in error.c
(gdb) t a a bt

Thread 1 (Thread -1210769296 (LWP 14607))

  • #0 __xmlRaiseError
  • #1 xmlErrValidNode
  • #2 xmlValidateOneElement__internal_alias
    at valid.c line 5180
  • #3 xmlValidateElement__internal_alias
    at valid.c line 6110
  • #4 xmlValidateElement__internal_alias
    at valid.c line 6131
  • #5 xmlValidateDtd__internal_alias
    at valid.c line 6342
  • #6 install
    at install.c line 194
  • #7 main
    at update.c line 530


Reverse applying this patch to error.c fixes it :
http://cvs.gnome.org/viewcvs/libxml2/error.c?r1=1.73&r2=1.74 .

I understand this might still be scrollkeeper bug, but since it's unmaintained i
thought it better to file here first.
Comment 1 Egmont Koblinger 2004-10-31 09:54:16 UTC
Exactly the same problem for me. Scrollkeeper was okay up to libxml 2.6.14,
segfaults with 2.6.15 but the patch above fixes the problem.
Comment 2 Daniel Veillard 2004-10-31 11:02:15 UTC
It's fixed in CVS and will go in 2.6.16 probably next week.
Grab a snapshot from ftp://xmlsoft.org/ to verify.

Daniel
Comment 3 Daniel Veillard 2005-01-17 22:47:56 UTC
 This should be closed by release of libxml2-2.6.17,

   thanks,

Daniel