I did a trace of the two cases (use a wide window...):
Working case:
[...] - master.pike: 566: 3462ac->compile_file("/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod",dumpmodule.pike()->Handler(),progra.. - master.pike: 373: 3462ac->master_read_file("/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod") - master.pike: 260: 3461d0->Fd() - -: 0: 3461a8->create() - master.pike: 263: 3461a8->open("/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod","r") - master.pike: 262: 3461a8->read() - master.pike: 377: 3462ac->get_predefines() - master.pike: 382: 3462ac->get_default_module() - master.pike:1403: 3462ac->resolv("__default") - master.pike: 382: 3462ac->get_default_module() - master.pike:1403: 3462ac->resolv("__default") - master.pike: 382: 3462ac->resolv("__builtin","/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod",dumpmodule.pike()->Handler()) - master.pike:1478: 3462ac->dirname("/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod") - master.pike:1492: 3462ac->resolv_base("__builtin","/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod",dumpmodule.pike()->Handl.. - master.pike:1417: 3462ac->dirname("/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod") - master.pike:1422: 3462ac->findmodule("/pike/home/marcus/Pike/7.3/build/lib/modules/__builtin",dumpmodule.pike()->Handler()) - master.pike:1422: 3462ac->findmodule("/pike/home/marcus/Pike/7.3/lib/modules/__builtin",dumpmodule.pike()->Handler()) - master.pike: 382: 3462ac->resolv("Array","/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod",dumpmodule.pike()->Handler()) - master.pike:1478: 3462ac->dirname("/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod") - master.pike:1492: 3462ac->resolv_base("Array","/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod",dumpmodule.pike()->Handler()) - master.pike:1417: 3462ac->dirname("/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod") - master.pike:1422: 3462ac->findmodule("/pike/home/marcus/Pike/7.3/build/lib/modules/Array",dumpmodule.pike()->Handler()) [...]
Non-working case:
[...] - master.pike: 566: 3476ec->compile_file("/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod",dumpmodule.pike()->Handler(),progra.. - master.pike: 373: 3476ec->master_read_file("/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod") - master.pike: 260: 347610->Fd() - -: 0: 3475e8->create() - master.pike: 263: 3475e8->open("/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod","r") - master.pike: 262: 3475e8->read() - master.pike: 377: 3476ec->get_predefines() - master.pike: 382: 3476ec->get_default_module() - master.pike:1403: 3476ec->resolv("__default") - master.pike: 382: 3476ec->get_default_module() - master.pike:1403: 3476ec->resolv("__default") - master.pike: 382: 3476ec->resolv("__builtin","/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod",dumpmodule.pike()->Handler()) - master.pike:1478: 3476ec->dirname("/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod") - master.pike: 382: 347688->compile_error("/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod",671,"Recursive module dependency i.. - dumpmodule.pike: 176: 347714->logmsg_long("%s:%d:%s\n","/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod",671,"Recursive module d.. - dumpmodule.pike: 157: 347714->logstart(0) - dumpmodule.pike: 140: 2da8bc->write("#### %s:\n","/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod") - module.pmod:1418: 2da8bc->write("#### %s:\n","/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod") - -: 0: 2daab0->write("#### %s:\n","/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod")
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2002-11-26 17:31: Subject: Image.SSL?
Probably the crucial bit is whether the filename of the module to dump is already present in master()->programs due to dumpmodule.pike using that module.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)