Looks like a typical case of attempting to run a non valgrinded pike with valgrind.
/ Henrik Grubbström (Lysator)
Previous text:
2003-08-12 19:34: Subject: valgrind-20030725
The valgrind home page claim that their latest valgrind, valgrind-20030725 is better than anything seen so far. Unfortunately it doesn't work with Pike in a strange way...
[nilsson@mahoro linux-2.4.18-27.8.0-i686]$ pike -DNOT_INSTALLED -mmaster.pike Pike v7.5 release 9 running Hilfe v3.5 (Incremental Pike Frontend) Terminal closed. [nilsson@mahoro linux-2.4.18-27.8.0-i686]$ valgrind pike -DNOT_INSTALLED -mmaster.pike ==5705== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==5705== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward. ==5705== Using valgrind-20030725, a program supervision framework for x86-linux. ==5705== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward. ==5705== Estimated CPU clock rate is 1539 MHz ==5705== For more details, rerun with: -v ==5705== master.pike:342: Bad type in assignment. master.pike:342: Expected: mapping(string:multiset(string)) master.pike:342: Got : int(-1..-1) master.pike:518: Illegal program identifier (type: int). master.pike:520: Illegal program identifier (type: int). master.pike:525: Illegal program identifier (type: int). master.pike:544: Illegal program identifier (type: int). master.pike:557: Illegal program identifier (type: int). master.pike:816: Illegal program identifier (type: int). master.pike:1095: Class definition failed. master.pike:1202: Must return a value for a non-void function. master.pike:1263: Class definition failed. master.pike:1265: Class definition failed. There's no master to handle the error. Dumping it raw: object(src/errors.h:125) ==5705== ==5705== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 1 from 1) ==5705== malloc/free: in use at exit: 503990 bytes in 335 blocks. ==5705== malloc/free: 3275 allocs, 2940 frees, 3767741 bytes allocated. ==5705== For a detailed leak analysis, rerun with: --leak-check=yes ==5705== For counts of detected errors, rerun with: -v
Has anyone any idea on what is going on?
/ Martin Nilsson (ja till euro, nej till cent)