My recent tweaks to the artifact generation to get the identified face on specific things like monsters and gems seem to cause a problem. In the current trunk (r20538), the loading of specific items (I think some sort of readable) segfaults the server. In particular, I seem to be getting it to consistently segfault at the Darcap library, but it has occurred elsewhere.
Making note of the issue here, but I should be able to investigate (and hopefully fix) this tomorrow.
I've reproduced the issue:
It looks like something is going wrong when you call objectgetkeyvalue while calling fix_generated_item on random reading in a bookshelf.
Yeah. It seems to fix it if I ensure there is op->arch before calling object_give_identified_properties. This should fix it even if it is not a book in a bookshelf causing the problem.
Patching via r20539.
Seems to be not segfaulting anywhere. Closing.