Re: [greenstone-devel] MGPP (2.71 build problem)

From jens wille
DateMon, 26 Feb 2007 08:51:40 +0100
Subject Re: [greenstone-devel] MGPP (2.71 build problem)
In-Reply-To (20070225230759-GI26080-matai-cs-waikato-ac-nz)
hi john!

John R. McPherson [26.02.2007 00:07]:
> That's interesting. Is it the same collection? Maybe you could
> narrow it down to a certain archive file (ie if the file isn't
> there, it builds ok).
yes, it is, but i don't know if there's a single document, that's
causing this error. note, that it occurred again on the second run.

without knowing what all these numbers actually mean, this is what i
can say (comparing both outputs):

> ---- snip ----
> inverting the text (mgpp_passes -I2)
> ArcPlug: processing
> /usr/local/gsdl/stable/collect/rdk-dev6/archives/archives.inf
> GAPlug: processing Dl1.dir/doc.xml
== (yet this isn't even the largest doc.xml; actually, it's the
second smallest)
> numDocs: 0
==
> numChunkDocs: 0
==
> numDocsInChunk: 9333
== (this is the total number of imported documents)
> numFrags: 166
! 101
> numFragsInChunk: 1983908
! 1983908
> chunkStartFragNum: 0
==
> num: 349833
! 285826
> [num].start: 15506131
! 12555412
> [num].here: 15506173
! 12555454
> [num+1].start: 15506153
! 12555434
> mgpp_passes : Bit buffer overrun
> ---- snip ----

please find attached the last 30 lines of the strace output (without
read and write calls, though, to not have the output file grow too
large)

> Maybe you could build the mg files again with debugging symbols
> (add -g to your CFLAGS environment variable), and then maybe we
> can get a stack trace.
that's what i'll do next, thanks. i just don't know when...
weekend's over now ;-)

cheers
jens


<<attachment>>
Type: text/plain
Filename: buildcol.strace

ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff37c) = -1 EINVAL (Invalid argument)
_llseek(5, 0, 0xbffff3c0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
stat64("/usr/local/gsdl/stable/collect/rdk-dev6/.kill", 0x814bfd8) = -1 ENOENT (No such file or directory)
stat64("/usr/local/gsdl/stable/collect/rdk-dev6/archives/archives.inf", {st_mode=S_IFREG|0644, st_size=2586, ...}) = 0
stat64("/usr/local/gsdl/stable/collect/rdk-dev6/archives/archives.inf", {st_mode=S_IFREG|0644, st_size=2586, ...}) = 0
open("/usr/local/gsdl/stable/collect/rdk-dev6/archives/archives.inf", O_RDONLY|O_LARGEFILE) = 6
ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff3fc) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(6, 0, [0], SEEK_CUR) = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=2586, ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
close(6) = 0
stat64("/usr/local/gsdl/stable/collect/rdk-dev6/.kill", 0x814bfd8) = -1 ENOENT (No such file or directory)
stat64("/usr/local/gsdl/stable/collect/rdk-dev6/archives/Dl1.dir/doc.xml", {st_mode=S_IFREG|0644, st_size=43356959, ...}) = 0
open("/usr/local/gsdl/stable/collect/rdk-dev6/archives/Dl1.dir/doc.xml", O_RDONLY|O_LARGEFILE) = 6
ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff3fc) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(6, 0, [0], SEEK_CUR) = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=43356959, ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
_llseek(6, 143, [143], SEEK_SET) = 0
_llseek(6, 0, [143], SEEK_CUR) = 0
close(6) = 0
open("/usr/local/gsdl/stable/collect/rdk-dev6/archives/Dl1.dir/doc.xml", O_RDONLY|O_LARGEFILE) = 6
ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff3fc) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(6, 0, [0], SEEK_CUR) = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=43356959, ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGPIPE (Broken pipe) @ 0 (0) ---
+++ killed by SIGPIPE +++