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 320179 - libxml2 aborts with a realloc error
libxml2 aborts with a realloc error
Status: RESOLVED NOTABUG
Product: libxml2
Classification: Platform
Component: general
2.6.22
Other All
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-29 16:04 UTC by Brent Smith (smitten)
Modified: 2006-07-04 16:28 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Brent Smith (smitten) 2005-10-29 16:04:21 UTC
Steps to reproduce:


Stack trace:
*** glibc detected *** realloc(): invalid pointer: 0x0808af28 ***

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/libc.so.6
  • #2 abort
    from /lib/tls/libc.so.6
  • #3 __fsetlocking
    from /lib/tls/libc.so.6
  • #4 mallopt
    from /lib/tls/libc.so.6
  • #5 realloc
    from /lib/tls/libc.so.6
  • #6 xmlStrncat__internal_alias
    at xmlstring.c line 457
  • #7 xmlNodeAddContentLen__internal_alias
    at tree.c line 5286
  • #8 xmlNodeAddContent__internal_alias
    at tree.c line 5326
  • #9 xmlAddChild__internal_alias
    at tree.c line 3168
  • #10 parser_append_given_text
    at yelp-man-parser.c line 1370
  • #11 parser_append_given_text_handle_escapes
    at yelp-man-parser.c line 1320
  • #12 macro_bold_small_italic_handler
    at yelp-man-parser.c line 264
  • #13 parser_handle_linetag
    at yelp-man-parser.c line 657
  • #14 parser_parse_line
    at yelp-man-parser.c line 180
  • #15 macro_tp_handler
    at yelp-man-parser.c line 411
  • #16 parser_handle_linetag
    at yelp-man-parser.c line 657
  • #17 parser_parse_line
    at yelp-man-parser.c line 180
  • #18 yelp_man_parser_parse_file
    at yelp-man-parser.c line 117
  • #19 yelp_man_parser_parse_doc
    at yelp-man-parser.c line 143
  • #20 main
    at test-man-parser.c line 43


Other information:
Comment 1 Daniel Veillard 2005-10-29 19:51:12 UTC
I don't see how this was generated. You call xmlAddChild() but
I have no idea what parent and cur are, what they contain, how they
were created. I really can't process this without further informations.
I would need the value for the pointers of cur->content, cur,
cur->properties, cur->doc, cur->doc->dict in the called xmlNodeAddContentLen()
Back to normal priority and severity untill further informations too.

Daniel
Comment 2 Olav Vitters 2006-07-04 12:02:59 UTC
smitten, add an example code/file please
Comment 3 Brent Smith (smitten) 2006-07-04 16:28:10 UTC
I'm sure this was my fault and I can't reproduce anymore, so I'll close it.