Hello all.
I'm running into an issue with the warc-tools Python libraries under a
64 bit install and I was wondering if anybody could offer suggestions
regarding what was going on.
I checked out the latest warc-tools version from subversion (revision
245) and compiled it on a Centos 5 machine. I did have to tweak the
makefile and add "-fPIC" to the "LARGE FILES" line, as per this
thread:
http://groups.google.com/group/warc-tools/browse_thread/thread/8de6d7f89af30ccd
in order to get it to compile.
After compiling, however, our Python code that had previously worked
on 32 bit machines started to throw segfaults when we attempted to
create a new warc archive. I tried it with the included file2warc.py
script and got the same error.
I ran the script under gdb to try to find the failure point. What
seems to be happening is that it is passing out of bounds addresses to
the bless_WFile() function which throws a segfault in w_strlen() when
the it attempts to read the values.
I've pasted the full gdb backtrace here:
http://pastebin.com/hCQh8bpe
Does anybody have any thoughts as to what might be going on here.
Perhaps an issue with SWIG?
Any help would be greatly appreciated.
Thanks,
Kurt Nordstrom
UNT Libraries
--
You received this message because you are subscribed to the Google Groups "warc-tools" group.
To post to this group, send email to
warc-...@googlegroups.com.
To unsubscribe from this group, send email to
warc-tools+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/warc-tools?hl=en.