Code:
INSERT INTO `starting_items` (`id`, `race`, `class`, `deityid`, `zoneid`, `itemid`, `item_charges`, `gm`, `slot`) VALUES
(1, 0, 0, 0, 0, 9979, 1, 0, 14),
(2, 0, 0, 0, 0, 9990, 20, 0, -1),
(3, 0, 0, 0, 0, 9991, 20, 0, -1),
(5, 0, 1, 0, 0, 9998, 1, 0, 13),
(6, 0, 3, 0, 0, 9998, 1, 0, 13),
(7, 0, 4, 0, 0, 9998, 1, 0, 13),
(8, 0, 5, 0, 0, 9998, 1, 0, 13),
(9, 0, 8, 0, 0, 9998, 1, 0, 13),
(10, 0, 2, 0, 0, 9999, 1, 0, 13),
(11, 0, 6, 0, 0, 9999, 1, 0, 13),
(12, 0, 7, 0, 0, 9999, 1, 0, 13),
(13, 0, 10, 0, 0, 9999, 1, 0, 13),
(14, 0, 9, 0, 0, 9997, 1, 0, 13),
(15, 0, 11, 0, 0, 9997, 1, 0, 13),
(16, 0, 12, 0, 0, 9997, 1, 0, 13),
(17, 0, 13, 0, 0, 9997, 1, 0, 13),
(18, 0, 14, 0, 0, 9997, 1, 0, 13),
(19, 0, 15, 0, 0, 9997, 1, 0, 13),
(20, 0, 16, 0, 0, 55623, 1, 0, 13),
I put a debug line in the server to show the exact item ID it was crashing on. (9979.) It corresponds to the Gloomingdeep Lantern in the items table. Looking at the items table, I don't see anything wrong with the entry, but I'm not sure what to look for.