roxen.lists.pike.general

Subject Author Date
Re: Identifier reference index 36 out of range 0..29 (Re: Pike 7.8.306 beta) Stephen R. van den Berg <srb[at]cuci[dot]nl> 22-06-2009
Henrik Grubbstr?m wrote:
>>Identifier reference index 36 out of range 0..29
>>Identifier reference index 36 out of range 0..29

>The error is generated by program.h:CHECK_IDREF_RANGE(), which is used by 
>the PTR_FROM_INT() macro which in turn is used just about everywhere.
>A gdb backtrace should giva a hint about where it goes wrong.

Haven't tried that yet.

However, I did manage to pinpoint the cause of the error on a higher level.
Basically what happens is that the connection cache pool of Roxen's
DBManager is being drained (for unknown reasons, this I'm investigating now),
there is exactly one fresh connection open (to a MySQL database).
And on this one connection I'm doing an INSERT into a nonexisting table.
The resulting MySQL error causes the above effect in Pike (instead of a proper
MySQL error message).
-- 
Sincerely,
           Stephen R. van den Berg.

"Very funny, Mr. Scott. Now beam down my clothes!"