[Expat-bugs] [ expat-Bugs-594963 ] segmentation fault in function
hash
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 03 Sep 2002 16:57:57 -0700
Bugs item #594963, was opened at 2002-08-14 04:53
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=594963&group_id=10127
Category: None
Group: None
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: segmentation fault in function hash
Initial Comment:
expat 1.95.4 crashed in function lookup -> hash when
used in my program. When used as parseXml -ivt **.T34
outx a memory error follows and a crash. This does not
happend when line <T60> is removed or T34 is changed
to T35 or an other item. GDB tells me it is a
segmentation error. OS is HPUX-11. Compiler is GCC,
Lang is ANSI-C. Can be circumvented by setting
INIT_SIZE to 128 in xmlparse.c but no guaranties.
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-09-03 19:57
Message:
Logged In: YES
user_id=3066
The sample code is a mess, and doesn't compile "out of the
box." (What version of GCC did you use???) Please try to
submit a cleaned-up version that doesn't require special
compiler options or produce lots of spurious warnings.
Is your box a 64-bit platform?
----------------------------------------------------------------------
Comment By: Karl Waclawek (kwaclaw)
Date: 2002-08-16 10:43
Message:
Logged In: YES
user_id=290026
Assigned to Fred. Hope he has time to give it
a quick check.
----------------------------------------------------------------------
Comment By: Karl Waclawek (kwaclaw)
Date: 2002-08-14 09:04
Message:
Logged In: YES
user_id=290026
Roel Dijkema was not able to upload the bug demo.
I did that for him.
Comment: It would be much appreciated if the
demo could be reduced to the bare minimum that
still shows the bug. Otherwise it may take too long
to isolate the problem - since we all would like to use
our limited volunteer time efficiently.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=594963&group_id=10127