Package: pike7.6
Version: 7.6.33-2
Severity: serious

pike7.6 is failing to build on alpha with the following error:

[...]
/usr/bin/make -Cbuild/linux-2.4.29goedel-alpha documentation
make[1]: Entering directory 
/build/buildd/pike7.6-7.6.33/build/linux-2.4.29goedel-alpha'
/build/buildd/pike7.6-7.6.33/build/linux-2.4.29goedel-alpha/pike 
-DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE 
-m/build/buildd/pike7.6-7.6.33/build/linux-2.4.29goedel-alpha/master.pike -x 
extract_autodoc -q --srcdir=/build/buildd/pike7.6-7.6.33/src \
  --imgsrc=/build/buildd/pike7.6-7.6.33/refdoc/src_images 
--builddir=doc_build/src \
  --imgdir=doc_build/images
[...]
copying from 
[/build/buildd/pike7.6-7.6.33/build/linux-2.4.29goedel-alpha/doc_build/src/modules/Image/image.c82.png]
 to 
[/build/buildd/pike7.6-7.6.33/build/linux-2.4.29goedel-alpha/doc_build/images//predef.Image.Image.tuned_box.4.png]
*** glibc detected *** free(): invalid next size (normal): 0x000000012072aec0 
***
make[1]: *** [autodoc.xml] Aborted
make[1]: Leaving directory 
/build/buildd/pike7.6-7.6.33/build/linux-2.4.29goedel-alpha'
make: *** [build-arch-stamp] Error 2
[...]

A full build log can be found at
<http://buildd.debian.org/fetch.php?&pkg=pike7.6&ver=7.6.33-2&arch=alpha&stamp=1128545698&file=log&as=raw>.

I have build pike7.6 with debugging symbols enabled here in order to get a
backtrace, which looks as follows:

[snip glibc error handling]
#7  0x00000200002b3998 in free () from /lib/libc.so.6.1
#8  0x0000020000ca0838 in my_result_and_clean (cinfo=Variable "cinfo" is not 
available.)
    at 
/home/devel/release/pike7.6-7.6.33/src/modules/_Image_JPEG/image_jpeg.c:290
#9  0x0000020000ca16b8 in image_jpeg_encode (args=2)
    at 
/home/devel/release/pike7.6-7.6.33/src/modules/_Image_JPEG/image_jpeg.c:927
#10 0x00000001200303e0 in low_mega_apply (type=APPLY_SVALUE, args=2, 
arg1=Variable "arg1" is not available.)
    at apply_low.h:214
#11 0x0000000120035f38 in eval_instruction (
    pc=0x1204f0b14 "�\005'\001\034\004�\005~\003\003]\001\b")
    at interpret_functions.h:1956
#12 0x000000012003dad4 in o_catch (
    pc=0x12048f684 "O\"\002'\002\213�)\"\004'\004�R\001E\006��E\005Z<")
    at /home/devel/release/pike7.6-7.6.33/src/interpret.c:2051
#13 0x0000000120034c3c in eval_instruction (pc=0x12048f67f "k\030")
    at interpret_functions.h:1243
#14 0x000000012003cea0 in mega_apply (type=APPLY_STACK, args=5, arg1=0x0, 
    arg2=0x0) at /home/devel/release/pike7.6-7.6.33/src/interpret.c:2006
#15 0x000002000099452c in try_feed (finished=1)
    at /home/devel/release/pike7.6-7.6.33/src/modules/Parser/html.c:2734
#16 0x0000020000994f98 in html_finish (args=Variable "args" is not available.)
    at /home/devel/release/pike7.6-7.6.33/src/modules/Parser/html.c:3936
#17 0x00000001200303e0 in low_mega_apply (type=APPLY_LOW, args=1, arg1=Variable 
"arg1" is not available.)
    at apply_low.h:214
#18 0x000000012003953c in eval_instruction (pc=Variable "pc" is not available.) 
at interpret_functions.h:1961
#19 0x000000012003dad4 in o_catch (
    pc=0x120425549 "2$!\003\"\004��Q\026\a\026\004��c\016")
    at /home/devel/release/pike7.6-7.6.33/src/interpret.c:2051
#20 0x0000000120034c3c in eval_instruction (pc=0x120425544 "kE")
    at interpret_functions.h:1243
#21 0x000000012003cea0 in mega_apply (type=APPLY_LOW, args=2, 
    arg1=0x1203a22d0, arg2=0x69)
    at /home/devel/release/pike7.6-7.6.33/src/interpret.c:2006
#22 0x00000001200caab8 in main (argc=11, argv=0x11ffff7d8)
    at /home/devel/release/pike7.6-7.6.33/src/main.c:841
(gdb)

Unfortunately, the error message in question suggests heap corruption, so
the root of the problem may be nowhere near this part of the code.  It may
be more useful to try to debug this using valgrind on i386 or amd64 than
anything else; if that find the error, though, I don't have any good
suggestions on how to debug this, because there is no valgrind for alpha.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to